Page 2 of 2

Re: Don't running game html5, it stops at 100%

PostPosted: Fri 12 Jan 2018, 18:24
by Lizard-13
Check this commit: Fix Text Entry crash on HTML5
It just overwrites two functions as empty to avoid the crash, the error is already fixed for the next version. Add the same code to your exported game, the file to edit should be located at:
Code: Select allGame_Folder/Extensions/TextEntryObject/textentryruntimeobject.js

Re: Don't running game html5, it stops at 100%

PostPosted: Fri 12 Jan 2018, 21:36
by Angelica De Leon
I already found the problem, I was exporting the wrong project (a project that I used as an example). I am already running my project and everything is fine.

Thanks for your help :D

Re: Don't running game html5, it stops at 100%

PostPosted: Sat 13 Jan 2018, 09:25
by AnimatedG
Hmmm...

Uncaught TypeError: Cannot set property 'zOrder' of undefined

at gdjs.LayerPixiRenderer.addRendererObject (layer-pixi-renderer.js:73)

I'm not sure but from the error message, it seems like you have an object 'pixi' and it's zorder is undefined hence it's looping and not starting

Re: Don't running game html5, it stops at 100%

PostPosted: Sat 13 Jan 2018, 14:51
by Lizard-13
Check the commit above, Text Entry objects have no renderable objects (they are invisible), but anyway GD tries to change a property ('zOrder', and then 'layer' IIRC) of this undefined render object ;)