Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
how would i make a jetpack motion in my fps?
Old
Spartan 117
Junior Member
 
Spartan 117's Avatar
 
Status: Offline
Posts: 5
Join Date: May 2013
Exclamation how would i make a jetpack motion in my fps? - 06-02-2013, 11:54 AM

Im trying to make the jetpack motion like in halo reach with the jetpack. i want it be like this

when a key is pressed the camera moves up and then when the key is let go the camera falls back down to the ground.

i need fora fps game
thanks in advance
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 06-02-2013, 12:28 PM

Make a new "when key is typed" event, then right-click it to change it to a "while key is pressed" event. This will let you put the upward motion in the "During" part of the event, and the downward motion in the "After" part.


(')>
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 06-02-2013, 01:50 PM

Here's an example world. It shows how to get a character moving up as long as the J key is held, and when it is released, falling to the ground.

The falling can also be interrupted by pressing the J key again.
Attached Files
File Type: a2w Jetpack.a2w (490.3 KB, 5 views)


(')>
   
Reply With Quote
Old
Brettlee
Junior Member
 
Status: Offline
Posts: 14
Join Date: May 2013
Location: New York
Default 07-05-2013, 07:19 AM

I think i am having the same problem..let's see what happens in this thread...
   
Reply With Quote
Old
AliceMaster00
Senior Member
 
AliceMaster00's Avatar
 
Status: Offline
Posts: 167
Join Date: Oct 2011
Location: You know that gap between the bottom of your dresser and the floor? Yeah, there.
Question 07-30-2013, 06:45 PM

Quote:
Originally Posted by x2495iiii View Post
Here's an example world. It shows how to get a character moving up as long as the J key is held, and when it is released, falling to the ground.

The falling can also be interrupted by pressing the J key again.
No need to continue this thread any longer, the question has been answered.
(completely unnecessary), only thing left is for the one who asked the question to say "thanks x" or "thanks for trying, but it didn't help", btw if the answer x gave you didn't help, your either drunk or you made a mistake.


What a piece of work is a man? How noble in reason, how infinite in faculties, in form and in motion, how express and admirable how like an angel! What apprehension oh how like a god! The beauty of thee world, the paragon of animals, and yet- to me, what is this quintessence o' dust? Man delights, not me. Nor woman either, nor woman either.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.