Increment Camera Origin On Touch
ZackGS
Member Posts: 313
Hey guys.
I am trying to move the camera's origin on a button press.
This in theory is so simple to do but just wont work.
Basically i have a button. With the following rules :
on pressed :
increase origin = true
if origin == true
change attribute > camera.origin.x > camera.origin.x + 1
Any ideas why it wont work?
I am trying to move the camera's origin on a button press.
This in theory is so simple to do but just wont work.
Basically i have a button. With the following rules :
on pressed :
increase origin = true
if origin == true
change attribute > camera.origin.x > camera.origin.x + 1
Any ideas why it wont work?
Comments
its like a canon game so the scroll behavior is just used to see all the targets in the scene which is 960px wide