User Tag List

Results 1 to 4 of 4

Thread: Programming Jumping and Gravity in Fusion 2.5?

  1. #1
    Clicker Fusion 2.5

    Join Date
    Jun 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Programming Jumping and Gravity in Fusion 2.5?

    So I'm currently building a bare-bones functioning game that involves simple platforming. Quite literally a box moving left and right and jumping. I know there's an option to assign platforming movement to an active object, but I honestly would be more comfortable and would feel more in control if I programmed the movement myself.
    So instead I'm opting for simply adding or subtracting from the X and Y coordinates of the player object while the left and right arrow keys are held down for side-scrolling movement.
    However, I have yet to figure out how to use this same method for jumping and gravity. I know being able to jump would be running an event that occurs after hitting a certain key, which takes in the current Y-coordinate of the player and runs it through a parabolic formula. And then gravity would simply be constantly subtracting from (or I guess in Fusion's case, adding to) the current Y-value of the player object while the frame is running. So the question simply is where and how do I implement these things in order to create jumping and gravity. I figure there's a correct syntax for a parabolic formula when creating an event after "jump" is pressed, but for the life of me I can't figure it out. As for gravity, I'm completely lost.

    Thanks and appreciation in advance.

  2. #2
    Clicker Fusion 2.5 DeveloperiOS 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)
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Clickteam has a custom platform movement tutorial on their site: http://www.clickteam.com/custom-platform-movement.html

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export ModuleInstall 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)
    piscesdreams's Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    1,085
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    There is the Platform Movement Object which is very, very good. And easy to use.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Jun 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Sumo View Post
    Clickteam has a custom platform movement tutorial on their site: http://www.clickteam.com/custom-platform-movement.html

    Thank you so much! This really clears up everything for me.

Similar Threads

  1. Replies: 9
    Last Post: 19th April 2014, 06:57 PM
  2. Fusion 2.5 Object Gravity Question
    By scottige in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 12th December 2013, 07:16 PM
  3. How to add gravity jumping using PMO object
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th May 2013, 11:31 PM
  4. Platform Movement Object, reverse gravity/jumping?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th October 2012, 06:08 PM
  5. Some Programming help, please
    By JoeText1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd October 2008, 09:39 PM

Tags for this Thread

Posting Permissions

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