I'm trying to create a HUD in the upper side of the screen with 3 different objects on it. Imagine: health, combo and coins.
The thing is, if I create the object in a specific X or Y it goes away when changing the resolution. I tried to create them with this but doesn't work:
Create object "health" at: window.width/2 (middle one)
Create object "combo" at: window.width/2-(window.width/3) (left one)
But when It shows completely off because window.width takes the browser window and not the window size I wrote in the layout options. I tried every single full screen mode and nothing.
So: the object is created based on window width (1920 because of my monitor resolution) but the game is 720p.