Game Salad Auto Movement

Hey Guys,
I will be forever gratefull to the person who can help me out with this problem.
Basically I have an actor (My Charactor), this character must auto move down at a certain angle, but when you take spacebar he must fly up untill you let go (this must use energy aswell, like an energy bar. soon as you let go of spacebar there is short delay and character must fall again. Then if you use up all your energy and your character falls he must collide with the ground and die.
What I have done so far:
I have put in a flight animation for when you push spacebar. I managed to get the character to fall down. But it keeps falling and dissapears. Also i got it to do a flight animation and move up slightly when i push spacebar, but it pushes down again straight afterwards and dissapears throguh bottom of the screen. Not sure how i do all this?
I understand the layers and i have a background image a ground image so the character can collide in and obviously the character itself. Also i need the screen to keep moving right as you fly. My scene is width: 4800 height 320.
I know this is quite a big thing to ask. I would really appreciate some help if possible. Been frustred with this for hours now. Peace
I will be forever gratefull to the person who can help me out with this problem.
Basically I have an actor (My Charactor), this character must auto move down at a certain angle, but when you take spacebar he must fly up untill you let go (this must use energy aswell, like an energy bar. soon as you let go of spacebar there is short delay and character must fall again. Then if you use up all your energy and your character falls he must collide with the ground and die.
What I have done so far:
I have put in a flight animation for when you push spacebar. I managed to get the character to fall down. But it keeps falling and dissapears. Also i got it to do a flight animation and move up slightly when i push spacebar, but it pushes down again straight afterwards and dissapears throguh bottom of the screen. Not sure how i do all this?
I understand the layers and i have a background image a ground image so the character can collide in and obviously the character itself. Also i need the screen to keep moving right as you fly. My scene is width: 4800 height 320.
I know this is quite a big thing to ask. I would really appreciate some help if possible. Been frustred with this for hours now. Peace
