User Tag List

Results 1 to 2 of 2

Thread: Can you help me to make 8 Direction Movement + Jumps

  1. #1
    No Products Registered

    Join Date
    Feb 2018
    Posts
    20
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Can you help me to make 8 Direction Movement + Jumps

    Can you help me to make 8 Direction Movement with jumping? In fact it will only use only left and right directions, just I can't do gravity and my own variables to make to character jump.

    I newbie here =(

  2. #2
    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,037
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    many ways to do this, just a simple one would be...
    you need 2 actives:
    1= shadow (this will be the 8 dir moving obiect)
    2= character image - this will be the animated character - it just follows the ground shadow.

    you make a marker ( or shadow ) as the 8 direction moving object. you then always position the character on that shadow. when you jump, you do an up and down Y positional change with the character.

    so:
    always set character's X position to the shadow's X position
    always set character's Y position to the shadow's Y position + jump variable

    if player presses jump button; set the jump variable to -5 (example) and set a flag ON (to say you are jumping)

    If Jumping Flag is ON; add 1 to jump variable
    if jump variable = 5; then set jumping flag to OFF : set the jump variable to 0 << this will end any downward momentum

    * i use -5 and 5 as an example of the jump height - this value could be anything, but make them both the same +/- number value.

Similar Threads

  1. Replies: 3
    Last Post: 17th April 2017, 06:42 PM
  2. Trouble With Fastloop Movement Jumps
    By Deaval in forum Fusion 2.5
    Replies: 4
    Last Post: 6th June 2015, 01:59 PM
  3. How can i make a character bounce off a enemy he jumps on?
    By gamebuilder in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 21st February 2013, 03:00 PM
  4. Jumps in the wrong direction. Cant figure this one out :/
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th July 2012, 08:06 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
  •