User Tag List

Results 1 to 3 of 3

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

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Aug 2011
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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!

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    May 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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)

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    alperoz49's Avatar
    Join Date
    Feb 2014
    Location
    Turkey
    Posts
    52
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ahiru View Post
    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 ?

Similar Threads

  1. Built in Platform Movement broken?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th February 2012, 02:39 PM
  2. Bounce on enemies using built-in platform movement
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 22nd November 2010, 10:14 PM
  3. Built in Platform movement Enemies
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd March 2010, 12:33 PM
  4. MMF2 built in platform movement question
    By Triclyde in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th September 2009, 10:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •