User Tag List

Results 1 to 3 of 3

Thread: Programming my own movement system?

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2018
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Programming my own movement system?

    Hello! I'm trying to program a top-down RPG game and am trying to simulate sliding on ice.
    An easy way to do this is by decreasing both acceleration and deceleration, so the character has trouble gaining traction and has more success in maintaining their momentum.

    I am using the standard "8 directional" movement type.

    Unfortunately, the major issues with this method is when changing direction the player has no resistance. Once reaching top speed they will
    They will snap to the face the direction pressed and using the speed they gained beforehand to move in the new direction without any resistance. This also means it isn't possible to slide diagonally, as releasing both keys required for the direction on the EXACT same frame is incredibly difficult

    Is there any way I could program inertia/momentum? Would it be more efficient to program my own movement system?

    I'm more than willing to program my own, and would much prefer if I did! Are there any pointers on how I'd achieve this? What about collision? I'll need to do more than just tell the object to "STOP".

    TLDR;
    The given 8 directional movement type is too basic and confusing to use, I want to make my OWN movement system thing. Any tips before I make an attempt?


    Gif of what the heck's going on:
    3.gif

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    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
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Try using the 8 directional physics movement. That will be probably closer to what you want.

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2018
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't believe I didn't think of that...
    Thanks! I'll give that a shot

Similar Threads

  1. bug o bad programming?
    By mnovoa in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 6th August 2012, 06:02 PM
  2. Active System Box doesn't work with Drag & Drop movement on iOS device - Beta6
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 7th May 2012, 07:05 AM
  3. So the platform movement system is buggy?
    By Songbird in forum The Games Factory 2 - Technical Support
    Replies: 6
    Last Post: 11th December 2009, 05:45 PM
  4. Help with programming ..... I am
    By Digitalmayhem in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 15th February 2009, 10:29 PM
  5. Custom Movement and Collision System
    By Random in forum File Archive
    Replies: 11
    Last Post: 23rd August 2006, 07:05 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
  •