User Tag List

Results 1 to 3 of 3

Thread: A little problem with controls.

  1. #1
    Clicker

    Fusion 2.5 Developer
    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)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    A little problem with controls.

    Hey community!

    So yeah, movement in my game is very simple. I only need to move right and left. So I choosed platform movement, and have only two initial directions.
    But I need to make my character turn front and back. So I did two animations for these, and upon pressing arrow up and down it plays the animation.
    Works well, so no problem here.

    But then the problem is that if I keep holding walk button to right for example, and tilt arrow up and keep holding the walk button. My character plays the animation where he looks up, but keeps sliding to the right.
    It looks really dump.

    I have set that upon pressing the right arrow, it changes to basic walk animation. It works but not when I slide around.
    So I need a way to fix this. Was thinkin if I could allow only one arrow key to be pressed at time. Could avoid this that way.

    Any idea how to get around this?

    Thanks!

    - Jesse

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    961
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could set up an event line with multiple conditions:

    (Negate) [Active Object] is stopped.
    [Active Object] is facing direction [Up or Down]
    Upon pressing key "Left"
    ---> Change direction of animation to [Left]

    And same again but for right -- this would change the direction to what it should be if the game detects the character if facing Up or Down and change accordingly depending on if the left or right key is pressed.

  3. #3
    Clicker

    Fusion 2.5 Developer
    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)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'll give that a shot, thanks man!

    EDIT: Can't get it to work. It just went funny. I'm most likely doing something wrong.
    I'll keep trying!

Similar Threads

  1. Problem with touch controls and premade Platform Movement
    By Matriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th June 2013, 09:16 AM
  2. PC vs IOS controls
    By GameMaker2019 in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 4th March 2013, 02:01 PM
  3. Configure controls (custom controls)
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th June 2010, 11:47 AM
  4. Controls
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th December 2006, 03:25 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
  •