Hi,
There seems to be a problem when placing text field objects in HTML5
It simply does not obey the x and y positions
The build is perfect with iOS and Android, but when building to HTML5 … text fields shifts down in y position…
You just hard code a value and substract it from the original value to position it how you want
When you set width and height to the default 320X480 it works fine, but if you change it to something like 1080X1920 it simply shifts
What is happening?
I have attached a sample code … keep in mind to change config.lua between the 2 dimensions
HTML5_TextField_Position.zip (67.2 KB)
Actually I just noticed something else, i modified config.lua to be 1280X1920 and it worked fine, as if the ratio has always to be 320/480 which is 0.66667