I've been looking all over the code archives, but I can't find anything like what I'm looking for. I'm trying to grasp how to make multiple objects spawn and have the same rules.
Does anyone have some really simple, working, code that does something like fire multiple rockets or bullets that blow up at a certain time? Anything that has to do with creating more than one object, and having the same rules for each created object.
Scouse was kind enough to give me something near to what I want, but it included some hard function (that I don't know yet) and doesn't run.
I'm not going to use the code for one of my games. I need it for learning purposes.
If anyone can help with this, thanks!
Does anyone have some really simple, working, code that does something like fire multiple rockets or bullets that blow up at a certain time? Anything that has to do with creating more than one object, and having the same rules for each created object.
Scouse was kind enough to give me something near to what I want, but it included some hard function (that I don't know yet) and doesn't run.
I'm not going to use the code for one of my games. I need it for learning purposes.
If anyone can help with this, thanks!