DaffyRabbit

Warper
Member
Joined
Feb 16, 2020
Messages
3
Reaction score
0
First Language
Ukrainian
Primarily Uses
RMMV
Good day. I'm trying to export game to Android, but some filenames and file calls are cased differently (example: img/parallax/tree.png and img/parallax/Tree.png). Everything works on the computer, but on the mobile it "Failed to load". I renamed all img files and folders to lowercase and added path = path.toLowerCase(); in the LoadNormalBitmap function. On PC everything is fine, but on Android "htmlimageelement provided is in the 'broken' state". Does anyone know how to solve this problem?
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,010
Reaction score
8,898
First Language
English
Primarily Uses
RMMV
I Googled that error message, and it indicates that it happens when you try to draw an image before it's loaded into memory.

It could be an error in code in a plugin that's not using the standard loading procedures. Or it could be that your parallax images are too large to run on a mobile device.
 

DaffyRabbit

Warper
Member
Joined
Feb 16, 2020
Messages
3
Reaction score
0
First Language
Ukrainian
Primarily Uses
RMMV
I Googled that error message, and it indicates that it happens when you try to draw an image before it's loaded into memory.

It could be an error in code in a plugin that's not using the standard loading procedures. Or it could be that your parallax images are too large to run on a mobile device.
I know about it, but why if I load the game without changing the case, everything works fine? toLowerCase very slow function?
 

Latest Threads

Latest Posts

Latest Profile Posts

Eliza-sprite-v2.png

New sprite for Eliza. On the positive side she looks really pretty now. On the negative side she's a giant so I would need to redo the tileset if I want to use this sprite and probably need a plugin to not make her sprite look akward on the save file...
Using Avery's icon list I made a balloon icon of a sleeping person in a bed. That way when you can use a Inn it will appear over the innkeeper's head. If I use the 'zzz' balloon it looks like it is saying the Innkeeper is asleep.
Presenting the minigame nobody asked for, yet everybody needs in their life - I mean, I'm assuming. It's pretty funny. To me, at least.
Watermelon hunting!
Watermelon.png
You find watermelon hidden around a town and smash them to pieces! You get watermelon slices - and sometimes rare ones appear that have been stuffed with items! :kaopride:It's got a great music track too
Art Tutorials be like.
BeforeAfter.png
I've got a font working + some temporary face sets for the characters. I still need to change the window box though but I'll do that later.

Forum statistics

Threads
134,776
Messages
1,250,495
Members
177,551
Latest member
cat1234
Top