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

    Lock object movement on X or Y axis

    Scheduled Pinned Locked Moved Comments & Feedback
    suggestion
    16 Posts 3 Posters 2.5k 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.
    • D Offline
      Deeeds @Kamdroid
      last edited by

      @Kamdroid
      DOH. Don't know ....

      1 Reply Last reply Reply Quote 0
      • Aidan_FireA Offline
        Aidan_Fire @Kamdroid
        last edited by

        @Kamdroid So your player is a physics object right? I don’t know how well it would work, but you could try running a 0 second timer with Set Velocity, leaving Y as current and X as 0. Haven’t tried it, it might not work. It would depend on the controls of the player and what the player is doing exactly.

        KamdroidK 1 Reply Last reply Reply Quote 0
        • KamdroidK Offline
          Kamdroid @Aidan_Fire
          last edited by

          @Aidan-Oxley Thanks, this works. I was thinking of doing this but got mixed up with apply force, and thought this wouldn’t work.

          I will use this for now, but I feel inefficient, as directly talking to the physics engines to do this would yield less of a performance impact.

          Aidan_FireA 1 Reply Last reply Reply Quote 0
          • Aidan_FireA Offline
            Aidan_Fire @Kamdroid
            last edited by

            @Kamdroid Nice! I guess with efficiency, I’d just wanna make sure that the FPS is always at 60.

            1 Reply Last reply Reply Quote 0
            • KamdroidK Offline
              Kamdroid
              last edited by

              By the way, this is the game I was talking about, which I just released now!

              https://www.hyperpad.com/projects/aubjkay_/versions/bounce-tap

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                Deeeds @Kamdroid
                last edited by

                @Kamdroid WELL DONE!!!

                KamdroidK 1 Reply Last reply Reply Quote 0
                • KamdroidK Offline
                  Kamdroid @Deeeds
                  last edited by

                  @Deeeds Thank you. Do you get any stutter while playing?

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    Deeeds @Kamdroid
                    last edited by

                    @Kamdroid Haven't played it yet. I was congratulating you on getting finished. That's rare!

                    KamdroidK 1 Reply Last reply Reply Quote 0
                    • KamdroidK Offline
                      Kamdroid @Deeeds
                      last edited by

                      @Deeeds Oh, haha. I always get projects done if I’m happy with how the quality of the game and gameplay will be.

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        Deeeds @Kamdroid
                        last edited by

                        @Kamdroid Again, WELL DONE! I'll get to it soon. Promise. Sorry I haven't had a chance yet.... fighting with spawning and "relationships" in hyperPad's worlds without them.

                        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