Counter uses the number of another counter from other frame.

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.
  • So i'm doing a rpg, in which there's a character selection.

    when you choose a character, it changes the number of a counter to something. in my case its 7.
    so you start the game, and there's a counter that uses the same number saved previously, which is 7.
    so, if counter is equal 7: make the character you selected appear in it.
    what i'm doing is VERY specific so i'm trying to explain the best way.
    TL;DR:

    How to make a counter from one frame use the current number of a counter of another frame?


    i tried using files, but some serious problems happened.

  • use a global value

    Please login to see this link., Please login to see this link.
    Discord: Please login to see this link., Please login to see this link., Please login to see this link.

  • This is how to make the counters sync the value with Global Objects. NOTE: this will not save the data on the computer, so it is lost when you close the app.

    1. Go to Application Properties and create a new Global Value from the Values tab. (I named mine "count")
    2. make this condition on all the frames: Always: Set Counter to Count.

    I have attached an example.
    Example controls:
    left mouseclick to add
    right mouseclick to switch frames
    middle mouseclick to subtract.

    You can use the Debugger to see the global value and the frame number.

  • could you upload an MFA to show what you are doing?

    Please login to see this link., Please login to see this link.
    Discord: Please login to see this link., Please login to see this link., Please login to see this link.

Participate now!

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