Camera control?
http_gamesalad
Member Posts: 1,340
I just want to know is it possible to take camera control of an actor? I have Camera Control set on a main actor but when the actor dies it's supposed to interpolate upwards (which works perfect ) but I don't want the camera to follow you as you're going up. Is there a way to turn of this control?
Comments
You could add a new boolean attribute called playerAlive, and create your camera control in a rule that says 'when playerAlive is true, control camera'. When the player dies change playerAlive to false.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Okay this is what I have
when game.PlayerAlive true
Do: Control Camera
Else
If actor collides with enemy
Change attribute to game.PlayerAlive to false
for some reason it's not working. I've had a problem understanding how booleans work. Would you mind explaining it again?
@jamie_c
btw your videos on youtube are really great I think I subscribed to your websites
wait never mind I got it to work thanks so much bro ! @jamie_c
Great, glad you got it!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page