User Tag List

Results 1 to 3 of 3

Thread: Retaining Inertia for Racing

  1. #1
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Retaining Inertia for Racing

    Hello Fusion forum,

    Recently ive been trying my hand at a combat racing game that is supposed to have very simple but intuitive controls.

    My main inspiration for how I wish the racing to feel is Kirby Air Ride and its innovative one button gameplay. Steering and acceleration is handled automatically, as the player is required to press a button that sends them into a "charge" mode and allows them to make sharp turns as they charge it up and are boosted when they release.

    https://www.youtube.com/watch?v=cOASOQWMWPg&t=222s

    Here is an example of what im talking about.

    Im having trouble identifying how one would go about creating a similar system, Ive used both the Box2D Race Car and the 8-Direction movement to attempt to achieve a similar effect, but ive yet to find something satisfying. I would attach what ive done sof ar but there seems to be something wrong with the attachment system. If anyone has any ideas on how to get this down I would be greatly appreciative, thank you.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone have any idea?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Okay, you need to stop looking at it in terms of speed, and in terms of velocity differences instead
    When a key is pressed, it adds to the existing velocity list
    And the velocity list is summed and applied per frame, Always
    e.g. user presses forward, current direction + current speed set in list item
    they release, that list item needs to have its speed lowered until it hits zero, at which point it can be deleted from list
    Which implies you need three things in a velocity list: first, the identifier of the velocity (e.g. "user forward"), the direction, and the speed in that direction
    Acceleration would be handled by the trigger of that velocity event - in the example above, user releases forward, if item "user forward" in list, "user forward" speed needs decreasing, how fast you do that is your deceleration

Similar Threads

  1. A global object retaining its frame
    By UltraHammer in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th April 2013, 06:23 AM
  2. Smooth 8 direction movement with inertia
    By Random in forum File Archive
    Replies: 3
    Last Post: 5th May 2008, 04:58 PM
  3. Inertia - 360° enemies
    By Random in forum File Archive
    Replies: 22
    Last Post: 28th January 2008, 10:17 AM
  4. Spacey/Gravity Physics, Inertia, etc
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th February 2007, 02:48 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
  •