Please help with jumping and Control camera !!
aalzanki
Member Posts: 283
Hi....
I'm working on this game...
http://www.mediafire.com/?mdhtfzlk3it
1)When i press the jump button which is space and keep my hand on it the ball won't keep jumping.
Try to keep you hand on the space button and see what happen, this is the first problem.
2)I have my actor control camera moving upward but i want the ball to control the camera too and I don't want the ball to go back down if it controls the camera (I have gravity)
So please help
Thanks and sorry for my bad English
I'm working on this game...
http://www.mediafire.com/?mdhtfzlk3it
1)When i press the jump button which is space and keep my hand on it the ball won't keep jumping.
Try to keep you hand on the space button and see what happen, this is the first problem.
2)I have my actor control camera moving upward but i want the ball to control the camera too and I don't want the ball to go back down if it controls the camera (I have gravity)
So please help
Thanks and sorry for my bad English
Comments
Example:
make a game attribute called "cameraControllerID"
Set it to 1
Then in your jumping man actor, make a rule:
when cameraControllerID = 1
control camera
Then in your ball actor add the rule:
when cameraControllerID = 2
control camera
Then set up rules to change the "cameraControllerID" to 1 or 2 whenever you want the camera to switch focus.
I think this will work...I've never tried it...but it should work for you.