Camera Moving on Scene
carlblanchet
Member Posts: 755
Hey!
So I have a scene with dimensions of 320 wide and 22000 high, and what I want to do is have the camera slowly move from 0 to 22000 once a timer is started with the click of a button, and have that timer slightly increase the camera's movement's speed every "unknown #" of seconds. How would I do that?
Please & Thank You!!
So I have a scene with dimensions of 320 wide and 22000 high, and what I want to do is have the camera slowly move from 0 to 22000 once a timer is started with the click of a button, and have that timer slightly increase the camera's movement's speed every "unknown #" of seconds. How would I do that?
Please & Thank You!!
Best Answers
-
fadamion Posts: 309Create an actor make it invisible if you want then attach the camera to it, then a move to behavior and set the x to 22000 set the speed how fast you want. Thats the fast way but there are a ton of ways to do this. o ya put it in a rule for if touch is pressed.
-
MotherHoose Posts: 2,456@carlblanchet … for a smooth increasing speedUp …
on small cameraActor:
… place in center of scene
… click the cameraIcon in sceneEditor … and drag the trackingArea to smallSize
1. add attribute: … index type … durationTime … set to initial speed (ex: 120)
2. add controlCamera behavior
3. add:
Rule: when
Attribute: game.start is true (changed by your start/play button)
Attribute; self.Position.Y < 21700
Interpolate: self.durationTime To: lower number for speeding up (ex: 40)
--Duration: set to what you want (ex: 180 for 3 second change speed iteration from 120 to 40)
Interpolate: self.Position.Y To: 21700
--Duration: self.durationTime
… when camera works as you like: uncheck this actor's Graphics: Visible
MH