User Tag List

Results 1 to 8 of 8

Thread: steering by click, no by arrows

  1. #1
    Clicker 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)

    Join Date
    Apr 2017
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    steering by click, no by arrows

    Hi,

    I'm steering my object using left and right arrow

    I want to steer left when I click and hold on the left side of screen
    and steer right on click on the right side of screen.

    How can I done it?

    I tried combine pointer in zone and repeat while pressing
    and tried move object by set direction and start movement
    but it isn't work

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Hey, what movement do you use and what kind of movement do you want? Is the object only supposed to go left and right?
    The built-in movements are not very customizable, so you'd most likely want to create your own.

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF 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)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,062
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    repeat while left mouse button is down
    + Xpos of mouse < frame width/2

    = left


    ...


    repeat while left mouse button is down
    + Xpos of mouse > frame width/2

    = Right

    you may want to tweak the (frame width/2) perhaps (frame width /2 )*0.75
    to null the middle of the screen

    * for the Xpos condition - use (compare 2 values)


    DONT FORGET - to add [negated] repeat while mouse down to stop steering...

  4. #4
    Clicker 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)

    Join Date
    Apr 2017
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Popcorn, yes, my creature can move only left and right

    danjo it is exactly what I want but.... how to do LEFT / RIGHT action?
    how to press steering button?

    in Player1 column I've got only:
    Socore
    Number of lives
    Player Control ->
    ->ignore control
    -> restore control
    -> set input device
    -> set key
    set player name

    I tried do action on the object SetDirection and Move->Start but it doesn't work

  5. #5
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    845
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Do you use ball movement? Platform movement? 8 dir? It's impossble to say without know how your game actually works.

  6. #6
    Clicker 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)

    Join Date
    Apr 2017
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using 8 dir with 2 directions enabled (left and right)

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleFirefly 3D Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,554
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    Here's an example using the 8 Directions, hope it helps. Very simple coding, nothing fancy yet effective

    Car Example AEnever.mfa

  8. #8
    Clicker 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)

    Join Date
    Apr 2017
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hahaha it was so easy, thanks aenever
    I missed set speed / acceleration

Similar Threads

  1. Moving Direction Arrows?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th March 2012, 03:02 PM
  2. WASD insted of arrows?
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th May 2008, 09:30 PM
  3. Anyone with a force feedback steering wheel?
    By z33z in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th January 2008, 12:48 PM
  4. Arrows Disppearing
    By drnebula in forum File Archive
    Replies: 3
    Last Post: 2nd July 2006, 10:34 PM

Posting Permissions

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