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.

DarkBASIC Professional Discussion / Paintball shooting code

Author
Message
meteora12318
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location: usa
Posted: 16th May 2004 00:05
Im working on a 2d paintball game. You move around using the arrow keys and shoot either forward , to the right, or to the left using the wsad keys. Im wondering how i could make it so that when you press the w key a paintball (sprite) will come out in the corresponding keys direction(w = forward, a = left d = right) and will allow for multiple paintballs moving at a time, such as you can press the w key 5 times to shoot 5 in that direction and will all be displayed on the screen at once. also some code to make it so that it will dissapear when it goes off the screen would be useful.( i would be able to make it dissapear when it hits the bunker with some modification) Any help would be appreciated

no signature in this
KC27
21
Years of Service
User Offline
Joined: 18th Mar 2004
Location:
Posted: 16th May 2004 00:15
Copycat (J/K....good luck, I am making a 3D paintballing game

Login to post a reply

Server time is: 2025-06-18 04:56:33
Your offset time is: 2025-06-18 04:56:33