How Can I Create An Advanced Movement Effect

Discussion in 'How Can I...?' started by alexsafayan, Nov 13, 2016.

  1. alexsafayan

    alexsafayan Boxer

    Joined:
    Oct 14, 2016
    Messages:
    73
    Likes Received:
    14
    Hey all,

    I've been working on a game where you can tap the left side of the screen to go left, and right to go right.

    How do I make it so when you tap left (or right), it moves only a specific number of pixels left?
     
  2. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    In `Advanced Movement` you have timeout (after how many seconds to stop the `Advanced Movement`) sync that with your game .
     
  3. alexsafayan

    alexsafayan Boxer

    Joined:
    Oct 14, 2016
    Messages:
    73
    Likes Received:
    14
    Yes I tried that but when you hold down, it keeps going ;(
     
  4. alexsafayan

    alexsafayan Boxer

    Joined:
    Oct 14, 2016
    Messages:
    73
    Likes Received:
    14
    Oops, nevermind! It works at the moment, hopefully I can edit this to my liking!
     
  5. blad300

    blad300 Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    515
    Likes Received:
    276
    I told you here to use TIMEOUT :)
     

Share This Page