• 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!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Drawing background to the screen 1:1 (ignoring views) possible?

S

Soulie

Guest
Hi all,

I have a tiled background that I want to draw 1:1 to the screen itself.

At the moment I update the background tiles' x and y co-ordinates to the view own co-ordinates to make the background look static. The problem is there's some glitching sometimes when the background doesn't perfectly match the view's co-ordinates.
So I'm wondering if anyone knows a better way?

I noticed that Draw GUI draws to the screen 1:1 but it's for the GUI, so it draws on top of everything else. So I guess it wouldn't work for a background.

Anyone have any ideas on what to do?

Many thanks,
 
S

Soulie

Guest
Well that was simple and works great!

Is there any performance difference between drawing room tiles and drawing backgrounds?
 
Top