Swipe to control camera

JGary321JGary321 Member Posts: 1,246
edited November -1 in Working with GS (Mac)
I was thinking on how to solve this problem & figured I might want some input from Mods/Others.

I want to be able to "swipe" to the left & have my camera for the scene to move right.
And the swipe to the right & have it move left. As in most iPhone games.

I start off with having an invisible actor that you could move that would control the camera. But trying to get the swipe down has me stumped. Any help?

-JGary

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    That's a great idea JG - I'll have a think about it, as I'd like to put that in my games too ;)

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • JGary321JGary321 Member Posts: 1,246
    Yea, I currently have this:

    I have an invisible button on the left & right side.

    Under actor INSTANCE (already in the scene) I edit the Camera Origin to Camera Origin + 450. So it's serviceable now. It just switches to the next screen over.

    (I know screen size is 480, but I wanted some overlap)
  • JGary321JGary321 Member Posts: 1,246
    bump?
Sign In or Register to comment.