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 / EASY WAY TO DO BULLETS

Author
Message
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Feb 2005 19:10
i had an idea to animate the bullets in a modelling program. (going forward). then all you have to do is write play object insted of loads of code plus, you can choose loads easier with a modeler program the positions of wher the bullet starts.
P Schnell
20
Years of Service
User Offline
Joined: 13th Feb 2005
Location:
Posted: 16th Feb 2005 20:15
Unfortunately, you would have to write a lot of code to make sure the bullet stops animating when it hits a surface.

Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 16th Feb 2005 21:59
and what is the difference between these:

play object bullet
and
move object bullet, 100

it would still be as much code

AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 16th Feb 2005 22:21
as it plays the the object will reset once the animation has stoped
P Schnell
20
Years of Service
User Offline
Joined: 13th Feb 2005
Location:
Posted: 17th Feb 2005 06:10
Quote: " as it plays the the object will reset once the animation has stoped"

Say what?

I was saying you would have no way to tell when the bullet hits someone or something.

blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 23rd Feb 2005 01:47
In theory, shouldn't collision still work?

However, this isn't that complex - move object works FINE, and if you made an animated bullet I'm pretty sure the file size would be larger than the normal one.

Mr Blanky - This Time, It's Personal
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Feb 2005 03:04
owell i am using coded bullets not animation just a random idea
Jimmy
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 23rd Feb 2005 03:05
I get most of my random ideas from the toilet, how about you?


Well we all shine on, like the moon, and the stars, and the sun.
AlexI
20
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 23rd Feb 2005 03:37
Monsieur Mort
20
Years of Service
User Offline
Joined: 12th Feb 2005
Location:
Posted: 23rd Feb 2005 06:50
I get them just as I'm falling asleep, and by the time I'm waking up all that's left is a neat-idea-shaped hole in my mind.

Why do you sink I ave zees outRAGEOUS accente?!
Surge
20
Years of Service
User Offline
Joined: 2nd Apr 2005
Location: Orange Park Florida
Posted: 2nd Apr 2005 12:16
If you want to make good shooting graphins like in 1 person shooting games you could have a certain distance that a weapon can shoot, when you fire draw an invisible line and if it detects object then it hits, that way some weapons shoot farther than others. Than just animate bullets coming out the side of the gun. Thas how they do like the 007 games. You should try and put this into code.

Login to post a reply

Server time is: 2025-05-23 19:02:38
Your offset time is: 2025-05-23 19:02:38