hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Character Movement

    Scheduled Pinned Locked Moved Help and Support
    2 Posts 2 Posters 505 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      Flame Games
      last edited by

      Hi everyone,
      This is my first time attempting a side scroller, so a lot of you may already know the answer to this question. How can I move my character side to side when I press a button, instead of using a joystick?
      Cheers,
      Evolution

      1 Reply Last reply Reply Quote 0
      • Andrey GhostA Offline
        Andrey Ghost
        last edited by Andrey Ghost

        Hello, @Evolution
        I know 2 ways: using velocity and using timers+move by
        1_1503777645715_IMG_0096.PNG
        0_1503777645714_IMG_0095.PNG
        My velocity behaviors had a bug when character stops if you touched 2 buttons at same time and then released only one, but this can be easily fixed with «Behaviors on/off»
        0_1503777687995_IMG_0094.PNG
        Simply timer and move by.. Behaviors on/off required for proper work without any glitches.
        P.S. It's hard to see behavior off connections on this screenshot (sorry, my butterfingers), but it's simple: turn off right timer when character moves left and turn off left timer when character moves right.
        I can send the project by e-mail if ya want.
        Hope this helps! :-)

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post