Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Screen Bounds

Author
Message
Cas
13
Years of Service
User Offline
Joined: 12th Nov 2010
Location:
Posted: 1st Dec 2010 19:55
Hi, how would I go about setting up my game (a scrolling flight "sim") so that my main object cannot go off the screen? However, I don't want the enemies to have this restriction.

Any help is welcome

Thanks.
DeadTomGC
14
Years of Service
User Offline
Joined: 11th Aug 2010
Location: LU
Posted: 1st Dec 2010 21:02 Edited at: 1st Dec 2010 21:02
Man, you keep changing your game design...

Ok. You can use this.


It is the basic idea. Exactly what the code will be depends on what exactly you want to do in the game.

uuhh... yah...

Login to post a reply

Server time is: 2024-09-28 14:06:41
Your offset time is: 2024-09-28 14:06:41