Help with Global Objects

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.
  • Hello, I'm making my first game, and it's 95% complete. I'm just having some issues with global objects.

    For the record, I made some global counters and it works fine.

    Here's what I want:

    The Table of Contents page displays an image, supposedly of the player character, and this is the only time you see what you look like in the entire game. You can change your gender, skin color from dark or light, and sexuality from gay or straight (I'm parodying a friend who says that its incredibly important to give customizable options in any game, even my impossibly simple one.)

    To replicate this, I made four global objects; white_male, white_female, black_male, and black_female. They just sit on top of each other and when the player clicks the customization buttons the proper object becomes visible while the others turn invisible. (i.e. "If the player clicks the 'Male' button and white_female is visible, make white_female invisible and white_male visible. Repeat 4 times for each permutation). The sexuality buttons do nothing because you can't see that on a person's face.

    (I also provided an Edit Box for you to type your name into, but I can't find any way to 'freeze' what you type so after you hit the 'Done' button it stops being editable. I tried messing around with 'become read-only' but it didn't help. Tried to use a Microsoft Forms 2.0 Text Box that displayed whatever was in the Edit Box, didn't work either. Help with that would be nice too.)

    However, whenever the player leaves the screen and comes back to it, it forgets the changes the player made; so when you return to this screen it defaults back to "they are all invisible until you click a button." How do I make the player's chosen name and appearance remain even when the player switches slides?

  • You could store each change in a global value. for example, if you change your skin color, then you could have the global value be 0 if dark is selected, and 1 if light is selected. You can do the same thing with the other options as well, just store them in a different global value. Then, when the frame is started, you can have the game check the global values to see what it needs to make visible and invisible. By the way, welcome to the forums! If you want to, you can register a product Please login to see this link.. After you do that, you can get an avatar, a signature, and access to the owner's lounge for any products you register.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • I would find the easiest way to do something would be to have a party of several different characters, each with different abilities which could change the way the game is played, and give each one a couple of different color schemes of the same outfit (there is a "swap color" feature in the event editor) which would introduce an element of customization or strategy without too much difficulty. And how can you determine by physical appearance if somebody is gay or straight? This seems slightly derogatory, perhaps...?

    Game Designing is all creative -- and its imagination should never know any bounds

    Allistair N. Fraser
    Creator of the Aspy perspective


    Visit my Blog at
    Please login to see this link.

  • I would find the easiest way to do something would be to have a party of several different characters, each with different abilities which could change the way the game is played, and give each one a couple of different color schemes of the same outfit (there is a "swap color" feature in the event editor) which would introduce an element of customization or strategy without too much difficulty. And how can you determine by physical appearance if somebody is gay or straight? This seems slightly derogatory, perhaps...?


    He explained his reasons. By the way, what you are requesting (a party of multiple characters) is a complete overhaul of how it works now, which would make him only around 50% done instead of 95% done. So no. Just. No.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • Quote

    and sexuality from gay or straight (I'm parodying a friend who says that its incredibly important to give customizable options in any game, even my impossibly simple one.)


    Your idea is very likely to be inappropriate, even if you don't have any bad intentions. People can't read your mind, so they'll probably think that your parody implies that sexuality is an insignificant choice or topic in games. To offer the choice of sexual preference as part of customizing a character can be interesting if it is serious and has a meaning in the game (though the choice should usually not be a bit flip since it's gradual in real life) and I would love to see more of this in games. However, if your reason to add this is to parody insignificant choices, trust me, you don't want to make that choice about something as important as sexual orientation. To parody insignificant choices, pick something that is actually insignificant. Maybe the character's favorite food or color.

    Edited 31 times, last by Nifflas (May 27, 2013 at 10:01 PM).

Participate now!

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