The Daily Click ::. Forums ::. Klik Coding Help ::. Shooting problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
8th December, 2003 at 11:01:44 -

is there another ay of a gun coding that isn't just normal shooting?
i tried creating bouncing ball objects as bullets and changing there direction (didn't go too well)
any ideas?

Im saying this because the shooting in TGF keeps getting stff up (i say shoot 3 objects it shoots 1!"

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
8th December, 2003 at 11:27:36 -

If I remember right, TGF doesn't like more than one object being fired if you're using a default Shooting animation. I found it was best to use a User Animation instead. Of course, MMF doesn't have this problem.
Don't know why the bouncing ball idea didn't work, I've used that before a few times. Just have the event for the user pressing the fire button, and have the bullet object be created at the player's action point, then have the bullet object's direction change to the player's direction. All in one event. Using bouncing ball objects as bullets give more freedom to control the bullets.

Image Edited by the Author.

 
Image

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
10th December, 2003 at 07:27:02 -

i have mmf now so... thanks?

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation
   

Post Reply



 



Advertisement

Worth A Click