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 Discussion / multiple bullets

Author
Message
mido
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 5th Jan 2006 15:45
i want to make an FPS game but i dont know how to shoot multiple bullets like using a machine gun

M25
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 5th Jan 2006 22:17 Edited at: 5th Jan 2006 22:19
Please use forum search before asking questions, this has been answered countless times before

make a small object, move it say a thousand times (check for collision between each movement) and after a thousand moves, delete it - DO NOT sync between bullet movements



One of the countless times this question has been asked previously...
And there are many other threads asking this as well

...maybe one day I'll finish a project
Xarshi
19
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 5th Jan 2006 23:38
or,this is just a thing i did,make it so when the bullets are created you do this:

you do not have to use six,but im not sure how much they will be randomly placed each second.the charx is the camera position x and the others with the corresponding coordinate plane. the range is how far you want it to go,and the rnd() is how randomly it will be placed.

HARK!
mido
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 6th Jan 2006 01:12
thanx
and sorry for posting, i'm new to the forum

M25
Xarshi
19
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 6th Jan 2006 22:09
why are you sorry for posting?

HARK!
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 6th Jan 2006 22:15
Dude, this thread is perfectly acceptable! Just as long as you are not asking for us to code your entire gamme!


Hippopotomonstrosesquippedaliophobia-Fear of long words

Login to post a reply

Server time is: 2025-05-23 02:14:35
Your offset time is: 2025-05-23 02:14:35