I dont know if you guys are friends over at PSPU, but i have gone to them with questions, and they have yet to answer me. So, I hope that you guys can help me! Now, I need to know how to create a bullet system. I already made it so that no matter where the plane is, the bullet will always apear to the front. But i need it to travel across the screen. I am making a game, which i will make a new topic some time from now, but I need this first. Also, if anyone out there, think they are an excelent coder, and can program an a.i. or help, the bullet system, or you can just code really well pm me!
oh, and if you mean multiple bullets at 1 time, I've actually been wondering that for a while.
I mean, how do you have X number of objects AND collision detection....
youresam wrote:use a for command for a set # of objects
oh, and if you mean multiple bullets at 1 time, I've actually been wondering that for a while.
I mean, how do you have X number of objects AND collision detection....
That's actually rather easy.
Keep the objects in an array or table, and have the collision tested every tick.