Page 1 of 1

Need help.

PostPosted: Wed Feb 15, 2006 9:00 pm
by Warchief
Hi i am a beginer of game making and also a newbie of this forum.
Can somebody tell me how to make an object shoot.
I want to make a kid shoot a bullet.
the kid's Actor name is PLAYER and the bullet is named BULLET.
Please tell me. Program: Game Editor :?:

PostPosted: Wed Feb 15, 2006 9:49 pm
by Diana Kennedy
There are a lot of possibilities. One is : mouse boutton down event on the kid, creates actor bullet. The bullet then follows a certain path (with very view frames) and at the end of the path ->destroy actor.

Or you can make the bullet follw the target with a script.

But before we go into deep, You should tell us, what exactly you plan to do. Is t really a bullet that flies away from the gun? Or hust a gun-firing effect?

PostPosted: Wed Feb 15, 2006 11:48 pm
by The achievement
Thats pretty easy, all you have to do is right click on the actor you want to shoot with, go to add event, and mouse down event, then add action, script editor, and type in this code x=x-5; or x=x+5;

PostPosted: Thu Feb 16, 2006 1:02 pm
by Warchief
Thanks that worked! :D
and Diana Kennedy my plan is to make the bullet fly away from the gun.

Thanks.