HTML5 problem...

Crovaxus17

  • Posts: 72
So I've been having a problem with running my game on html5 (I am not a subscriber, so I only have the html5 beta on 3.4). After only a couple of scenes into the game,  I get a blank black screen. When I run logs I get this sort of thing (many lines of it):

Level:     ERROR
When:      2018-10-12 19:36:12:068
From:      stencyl.sw.editors.snippet.designer.codebuilder.xml.XMLParser

Can't load definition: set-val-78-2

Level:     ERROR
When:      2018-10-12 19:36:12:068
From:      stencyl.sw.editors.snippet.designer.codebuilder.xml.XMLParser

Can't load definition: get-val-78-2

Level:     ERROR
When:      2018-10-12 19:36:12:059
From:      stencyl.sw.editors.snippet.designer.codebuilder.xml.XMLParser

Can't load definition: get-game-val-85

Level:     WARN
When:      2018-10-12 19:36:08:357
From:      stencyl.sw.util.Util

Could not parse "". Defaulting to: 0.0. stencyl.core.engine.snippet.IVariable.getRealValue (line: 251)

I am not sure if these errors are causing the problem since the game is not actually crashing or anything, but they are the only problem I can find. Any ideas what I am doing wrong?

merrak

  • *
  • Posts: 2192
Does the browser's debug console reveal any other error messages?

Crovaxus17

  • Posts: 72
Not that I can see. But it is a LOT of code, and I am not sure what I am looking for. There is nothing that is obviously marked "error"...

merrak

  • *
  • Posts: 2192
If you have a playable HTML5 version uploaded somewhere, I'll take a look at the browser debug console. Some of the errors you mentioned look like ones I remember seeing in 3.4 that can be ignored.

Crovaxus17

  • Posts: 72
Unfortunately, I cannot make a working html5 version. I also get an error when I try to make an executable in html5 :(