Need help.

Talk about making games.

Need help.

Postby Warchief » Wed Feb 15, 2006 9:00 pm

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 :?:
dont show
Warchief
 
Posts: 2
Joined: Wed Feb 15, 2006 7:42 pm
Location: dont show
Score: 0 Give a positive score

Postby Diana Kennedy » Wed Feb 15, 2006 9:49 pm

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?
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby The achievement » Wed Feb 15, 2006 11:48 pm

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;
User avatar
The achievement
 
Posts: 220
Joined: Sun Feb 12, 2006 11:01 pm
Location: United States,Massachusetts
Score: 0 Give a positive score

Postby Warchief » Thu Feb 16, 2006 1:02 pm

Thanks that worked! :D
and Diana Kennedy my plan is to make the bullet fly away from the gun.

Thanks.
dont show
Warchief
 
Posts: 2
Joined: Wed Feb 15, 2006 7:42 pm
Location: dont show
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest