You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxef...@googlegroups.com
Hi!
I'm fairly new to game programming and just recently returned to Haxeflixel. I've got a couple of questions that I'd like to be answered.
You can choose what gameWidth/gameHeight your game should have -
is this where i decide the width of the monitor? Because when i go fullscreen(window mode) The game scales but the sides turn into black bars and the whole screen is not being used as can be seen in this photo: http://i.imgur.com/YobB1gu.png How do i solve this?
Are there any other things to take into consideration regarding window width,height, resolution and all these sort of settings? As i said, I'm fairly new but I'd like to get a grip of all these things before i start with the actual game.
Note that the black side-bars do not show when the game start with its initial widow size (800/480)
Gama11
unread,
Jul 28, 2015, 3:31:15 PM7/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxef...@googlegroups.com, lj2...@student.lnu.se, lj2...@student.lnu.se
The black bars are caused by the default ScaleMode, RatioScaleMode, which makes sure everything is scaled up as much as possible while keeping the aspect ratio. Try playing around with others such as StageSizeScaleMode.