User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Active Object animation replacement?

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    412
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    I would recommend you use global values - when anything happens set a value rather than all the negated conditions.

    For example morph is active set global.morph = 1

    Then when down arrow is pressed
    + global.morph = 1
    change animation to crouch down

    If the player overlaps a ladder set global.climb = 1

    then when up arrow is pressed
    + global.climb = 1
    change animation to ladder climb

    when up arrow is pressed
    + global.climb = 0
    change animation to jump


    I would also recommend that you only have one character. When something is happening and you don't have enough animations you can at that point replace it with a new character.

    Create Character B at location Character A then delete Character A and when Character B is done create character A again.

    Again if you want different uniforms and you've used values you can have:

    global.uniform = 1
    create character C from Character A

    global.uniform = 2
    create character D from Character A

    etc.

    Having two characters run like that is going to create problems for you.

  2. #12
    Clicker Fusion 2.5
    TheHandwovenBox's Avatar
    Join Date
    Mar 2018
    Location
    Kentucky, USA
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, I was trying to avoid global values because I planned the game to have 3 save files, and I thought global values applied to all frames, I've never really made a game that has saving or files before, so I;m not 100% sure how some of this stuff works.

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    412
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    Global values do apply to all frames and you can reset them at the start of frame. But they will help you to save the game rather than hinder you.

    You can save every global value that you want to use in an ini file at the end of a level or frame and then load them on the start of a frame or level and the player can carry on where they left off.

    What you're doing in your game would be a lot more difficult to save.

  4. #14
    Clicker Fusion 2.5
    TheHandwovenBox's Avatar
    Join Date
    Mar 2018
    Location
    Kentucky, USA
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well that doesn't sound very good, seems like I'll have to start from scratch

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Replies: 4
    Last Post: 14th November 2018, 03:38 AM
  2. Replies: 1
    Last Post: 4th November 2018, 11:22 PM
  3. Replies: 2
    Last Post: 14th March 2018, 10:21 AM
  4. Active Object Colour Replacement?
    By Colonial_Settler in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 9th July 2013, 10:58 AM
  5. Active object for playing animation
    By LeGauche in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th September 2011, 01:52 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
  •