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.

Newcomers DBPro Corner / 2d shooter question

Author
Message
Stone
22
Years of Service
User Offline
Joined: 17th Nov 2002
Location:
Posted: 17th Feb 2003 02:11
I'm trying to make a 2d shooter game like space invaders but how do i exactly make bullets then move and check if those bullets collide with an alien. I'm using sprites for my player ship and enemy ship but I just can't figure out the bullets, can anyone help me? Thanks.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 17th Feb 2003 02:56
I made a similar game you should be able to figure it out from this code.

You will need
sprite x
sprite y
sprite collision

look at the control_gun: and control_bullet: in this code



Stone
22
Years of Service
User Offline
Joined: 17th Nov 2002
Location:
Posted: 18th Feb 2003 21:01
Thanks D_D, that helped out a lot!!!!

Login to post a reply

Server time is: 2024-11-24 01:54:01
Your offset time is: 2024-11-24 01:54:01