• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Drawing over black bars

M

mysterydip

Guest
Hi all,

I have a mobile project that is set to 'maintain aspect ratio', so I have black bars on the side on various devices. I read through this blog post: http://www.yoyogames.com/blog/65 and I've got some code in my game, but I'm not seeing the results I want. I suspect I'm confusing terminology from the article with what I think it should do, but it's not jiving with what I see on devices.

I have display_set_gui_maximise per the article, then I'm looking at application_get_position() and the associated array to formulate where the bars start and end. Is there a simple function or variable to say where the bars start and end that I don't know about?

Thanks in advance :duck:
 
Top