User Tag List

Results 1 to 3 of 3

Thread: when logging X Y cords, Character starts off up in the air before falling down

  1. #1
    Clicker Fusion 2.5 (Steam)
    Finni_roverfield's Avatar
    Join Date
    Jul 2022
    Location
    Canada
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    when logging X Y cords, Character starts off up in the air before falling down

    Guten tag again and its been a while! I've started game dev again and I have a problem.

    So ive been making this Side scrolling adventure game, I followed this one Post on how to Change rooms for your game (EX. you go into one room and you come out in the same position) and one tip was to have a global value log your X Y Cord.
    However when i start the frame, my character starts up in the air then falls back down to the spawn point.

    Capture.PNG

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 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)
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    South Africa
    Posts
    1,254
    Mentioned
    199 Post(s)
    Tagged
    0 Thread(s)
    It's probably because the character is created up in the air and then moved to the correct position.

    You can solve this in two ways:

    1. Change the setting to make the character invisible on start, and then make it visible in your start of frame event after you've moved it to the right position.

    2. Don't automatically create the character (i.e. place it in your frame), create it at the correct coordinates at the start of frame.

  3. #3
    Clicker Fusion 2.5 Mac
    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)

    Join Date
    Jan 2015
    Location
    Australia
    Posts
    345
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    When you say 'at the start of the frame' do you mean the first time you launch the game, or every time you switch frames?

    If it's just at the start then it's likely that your "Ex" and "Why" values are both set to 0 - so the event that's meant to reposition the player does it at the beginning while the variables haven't changed. You could

    - set the values in the editor to the original X/Y coordinates of the player
    - OR add a condition so that the reposition doesn't happening if "Ex" and "Why" are both equal to 0

Similar Threads

  1. Replies: 2
    Last Post: 12th February 2015, 08:45 AM
  2. Character flashes between falling and stopped animation when landing on platform.
    By TourGuideNixon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th December 2013, 12:00 AM
  3. Saving and logging out
    By Evilized79 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 16th July 2011, 11:11 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
  •