Using Swipe [Touch] Gestures to change screens

0 favourites
  • 3 posts
From the Asset Store
Easy Gestures
$10.99 USD
Easily add touch gesture recognition to your mobile game
  • Hiya all,

    It feels like I’m a brand new user to Construct after not being here for 13yrs 😬, so much has changed! Anyhoo, hope I can source help with this.

    I’m looking to bring my existing progress of my game from Unity 3D over to Construct.

    Would anyone here have experience with Swipe Gestures? In I'm similar fashion with games such as Clash Royale for example. This is what I currently have working in Unity. I'm not even sure where to begin and would appreciate any guidance to getting my 1st task complete.

    Thx for any help

    video.wixstatic.com/video/fe7ecc_457e2cf4f3144a92b058d195a4266c72/480p/mp4/file.mp4

  • I'd probably do something along the lines of drag and drop. I would make all of the screen backgrounds into one sprite (BS1) and pin all of the other sprites to it. then create a very large invisible sprite (IS1) with the drag and drop behavior centered in the viewport

    On IS1 drop

    if BS1 x is between 2 values

    BS1 move to appropriate position

    wait for previous

    set IS1 position to original position

    this should create the illusion that there has been a swipe when in reality you just moved an object

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thx for the reply! I'll definitely try.

    Here's something I came up with trying out GDevelop, this works, but your explanation is what I'm after.

    This is an example in Unreal Engine that works beautifully, but it's UE and comes with a heavy overhead

    youtube.com/watch

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)