I'm working on a game set to full screen (scaled), which works great under normak conditions, BUT if I press alt+Enter to make the brower to go into total full screen mode, the wondow size changes and some things loose their apropriate position.
Is there a way to detect when someone changes the browsers screen mode via alt-enter or a menu and auto correct things as it clearly did when starting up?
This is NOT going from non-"full screen" to "full screen". These are two varients of "full screen"
You should position things every tick, or with the Anchor behavior (which positions every tick) - presumably you're just positioning stuff once on startup which breaks when the window size changes.
How would I position a Sprite at the top visible Y coordinate?
Develop games in your browser. Powerful, performant & highly capable.
Use anchor to the top.
Alternatively, for more control, set position to:
scrolly + windowheight - sprite.height/2 - buffer
buffer is the distance from the top of the screen.
Hmmm. Id use anchor to top..but it doesnt seem like theres a way to turn off anchoring versus one side or the other. Why can't i JUST anchor to top?