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.

2D All the way! / help with side scrolling

Author
Message
Fa1con
16
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 23rd Aug 2007 21:59
ok so before i had about 1500 lines for my guy and like 15 enemies
and i was having all of my enemies start off the screen at different locations then come to a certain point so they would fly past me. but that was like 15 lines of code for each one.
so i was wondering if anyone could help me be able to "fly"(2d space shooter by the way) and just position the enemies somewhere else and not have nearly as much ass my code because i know theres an easier way i just dont know it

thanks.
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd Aug 2007 23:44 Edited at: 23rd Aug 2007 23:45
is every one working on a space shooter????
what i did was position sprites(ships) off screen and kept them moving so when they got on screen it have the effect of scrolling...
Fa1con
16
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 24th Aug 2007 00:02
yeh windows killer thats a good idea but i am still a bit new to DB and some things im still unsure of. do you think you could give me a quick idea. if not no problem. thanks

Login to post a reply

Server time is: 2024-05-27 03:40:41
Your offset time is: 2024-05-27 03:40:41