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 / Duplicating objects like bullets?

Author
Message
Person99
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Good question
Posted: 25th Apr 2007 02:19
Lets say I want a red sphere to be a laser. I make the red sphere as object 7.

How can I get it, to when I press a button (Lets say Control), for the program to just make a new laser?

Or, how can I get the program to make a spawn point continuously respawn enemies every 25 seconds?

Any help would be great.

The Person99 awards go to: 1. Jack the Ripper for hardest crime scenes. 2. Peter Petrelli for most powers. 3. Superman for longest flight. 4. "The Doctor" for best time travel machine.
MartinS
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Rochester, NY
Posted: 19th May 2007 22:04 Edited at: 19th May 2007 22:10
I don't know if you wanted any, but here's some code for a simple bullet system. I didn't comment it all that much, but if you work your way through it, it isn't complicated.


Hope that helps!
G2L

EDIT: we both joined on "Thu Dec 15th 2005"

Person99
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Good question
Posted: 20th May 2007 03:54
I thought this thread didn't exist... It didn't exist in the My Threads area or anything. This is really odd.

Thanks for your help, Games 2 Live, but I have already found an answer on the newer thread.

Could a mod could please lock this?

Who will die first?

Login to post a reply

Server time is: 2024-11-25 17:58:50
Your offset time is: 2024-11-25 17:58:50