Game Development Community

shooting problem

by Connor Brown · in General Game Discussion · 03/08/2009 (8:18 pm) · 3 replies

I'm totally new at making games and I just recently found a behavior that makes your thing shoot in the example behaviors thing but I can't make anything into a projectile. Can someone tell me why that's happening and how I can fix it?

#1
03/10/2009 (1:59 pm)
I too am trying to use this particular bit of code and ran into a snag. I was able to get it to work for my 'ship' (making a shooter here), but have been unable to do the same for a turret object that I am mounting to the top of the ship (the turret always faces the mouse).

If you don't have the object that you want to shoot somewhere in the level, it won't work. Try dropping one in somewhere and either hiding it behind something or just moving it offscreen.
#2
03/24/2009 (11:52 am)
weird I can't get it to set an object as a projectile. Wait do I need to put some code on an object so it's recongnized as a projectile or something? (and should I have thought of that before?)
#3
04/12/2009 (4:47 pm)
Okay I think I've solved this problem thx.