I have an app that I need to port, but I was having problems, so I tried to make a bare bones HTML5 project. I have attached it as a zip file. However even this bare bones project does not work for me. So I feel I must be doing something very basic wrong. But I just don’t know what.
The project contains only a build.settings main.lua.
build.settings:
settings = { orientation = { default = "portrait", supported = { "portrait", }, }, }
main.lua:
display.newCircle(display.actualContentWidth\*0.5,display.actualContentHeight\*0.5,50)
This draws a white circle in the center of the screen. That is all.
I build HTML5 with both options unchecked (I also tried with Include Standard Resources check, makes no difference), the error I get is:
exception thrown: TypeError: cannot read property ‘length’ of null
Followed by several other errors. See attached.
I can see this is working for loads of other people, so what am I doing wrong?