Most effective way to switch characters

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.
  • In my game i'll be having a total of 4 playable characters, 1 main character and 3 to switch back and forth between when finding them. Using internal flags works great but when i try using alterable values i can't switch back to the main character. The problem i run in to is when using internal flags you just have the on and off function, that's why i tried the alterable value approach, activating and deactivating groups when they are at a certain number. Does anyone know of any other approaches to this that would be more effective or simple?

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • - 1 alt val that holds the number of the active player,
    - when a key is pressed, add 1 to your alt val (make sure to limit this value or make it 1 if its bigger than 3) then you activate a group that will make the current alt val the playable character, then you disable the group.

    You give little details, so adjust to your needs. :D

  • Lol sorry about that :) i've tried what you have mentioned, basically the way i have each group set up is that each has its own "character switch" value number. Example, main player is 0, second player is 1, etc. Each have their own value added to each group. I have an event set for when you press Spacebar and the "character switch" equals 0 - add 1 to the alt value. This will deactivate the default group and activate the next players set. This should work but for some reason im not having any luck, that's why i was hoping there was another alternative to doing what im trying to go for.

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • Protip: When you press the button and add one to the value, replace the add one with Set Value to (Value + 1) mod Number_of_Characters and it will cycle back to the first one when you get to the end (as long as your first character is 0)

    For a list of my achievements, hit up Please login to see this link..com/
    Unless you want to party, then go to Please login to see this link.

Participate now!

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