So I'm having some trouble with making a HUD for my game. I'm trying to go for a retro look, so I'm creating my sprites at tiny sizes and then setting the game to Fullscreen Scale mode and point sampling, while also having my window size set at 320x240. This works pretty swell for everything except putting the HUD at the bottom of the screen.
As the window's height grows larger, the HUD elements on the bottom of the screen go further and further down off the screen. They don't want to stay on. I've got my HUD layer set to Parallax 0, 0, and I've tried giving both of the HUD objects the Anchor behavior, and I also have it programmed to set the object positions to "window height - hud obj height", but to no avail. Putting the layer's Scale to 0 keeps the HUD onscreen, but obviously doesn't scale it along with the rest of the game and so does me no good.
Another thing I've noticed is that everything is lined up perfectly as long as the height is at the default 240 height and greater than the default 320 width, but any smaller and the positioning and scaling get thrown way off. Setting the browser into fullscreen mode changes nothing.
Any HUD elements in the top left of the screen with the Anchor behavior seem to work fine for whatever reason, as evidenced by the text displaying the current window height in the following capx.
I don't know if this is a bug or not, but it's certainly cramping my style, especially since the HUD would look real awkward on the top of the screen.
Problem Capx!
http://dl.dropbox.com/u/20459682/hud_trouble.capx