How to control built in platform movement with custom onscreen buttons?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • How to control built in platform movement with custom onscreen buttons?

    I have few platform games and I want to upgrade them with virtual keypad so that they can be played on android based tablets. The problem is that I do not see a way to connect my virtual keypad to built in movements. (you can only read joystick object but not set joystick states).

    The same problem arises in iOS export module. There, you do have onscreen joystick option, but controls are too sensitive for climbing the ladder. There is also no way (that I know) to limit the movement in 4 direction only. You can set joystick mask but once you enable left, right up and down you are having again the problem of falling off the ladder. Best solution would be custom virtual keypad ...

    Please help!

  • easiest thing is to use the Player Movement Object, just make actives as the directional and buttons, and "upon clicking" or "tapping" (since this thread is not on iOS/android exports, I'm not getting into multi-touch details) set the PMO to read it as a input.

    examples:
    - User clicks on active object(->) = PMO: "User is holding right input key"
    - User clicks on active object(jump button) = PMO: "Jump"

    EDIT: if you wish to use your own platform engine, just make them like this:
    - User clicks on the "right" arrow = (your player object) Set X position to X(your player object) + 5 (or whatever, remember to use fast loops)

  • easiest thing is to use the Player Movement Object, just make actives as the directional and buttons, and "upon clicking" or "tapping" (since this thread is not on iOS/android exports, I'm not getting into multi-touch details) set the PMO to read it as a input.

    examples:
    - User clicks on active object(->) = PMO: "User is holding right input key"
    - User clicks on active object(jump button) = PMO: "Jump"

    EDIT: if you wish to use your own platform engine, just make them like this:
    - User clicks on the "right" arrow = (your player object) Set X position to X(your player object) + 5 (or whatever, remember to use fast loops)

    Hi, it has been long time since the last post but I used the same method but everytime it gets closer to window edge it stuck and going upwards through the window edge. It simple does not stop. Any idea ?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!