Help with Changing images based on the level

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Method one
    Animation frames

    Pros:
    - Best option for single frame animations

    Cons:
    - Only useable with single frame animationsPreparation:Use only one animation and add the different level frames to the animation.

    Events:
    Start of frame: Force animation frame

    If all levels have unique graphics, you can use a calculation to set the animation frame, else you need to set up events to select which animation frame to force the active object to display.


    Method two
    Animations

    Pros:
    - Good for multi-frame animations
    - Need only one event

    Cons:
    - Takes longer time to set up
    - Takes up much memory when there are many levels
    - Might need several eventsPreparation:
    Create a new animation for each level

    Events:
    Start of frame: Set animation

    If all levels have unique graphics, you can use a calculation to set the animation, else you need to set up events to select which animation for the active object to play


    Method three
    Qualifiers

    Pros:
    - Good when levels are loaded from a file
    - Takes up little memory
    - Needs only one event

    Cons:
    - Takes the longest time to set up
    - Fills up the workspace with objects (you might want to group them)
    - Needs a level editor or dummy objects

    Preparation:
    Create a new active object for each animation
    Give all objects the same qualifier
    Objects should not be created from start
    If you don't intend to create a leveleditor, place dummy objects that will be replaced by events according to the level

    Events:
    Start of frame: Create object by name

    You can have an ini file that has the names of the objects for each level, or simply name the objects according to their level number like Object A Level 1, Object A Level 2 etc...
    If done right, you should be able to pull this off using only one event.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!