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.
  • Hi, got a question about layers.

    I'm trying to organize my game to easily lock or turn invisible backgrounds, platforms and such. However I dont want it to mess up with the code.
    Is there a way to make objects affect all layers ?
    Otherwise is there a way to have the create object by default on another layer than the one at the bottom of the list ? (My layer at the bottom is the background layer, I dont want created objects to ever go there)

    Thanks

    My game developement blog Please login to see this link.

  • You can create objects on whatever layer you want.

    You can move objects to any layer at any time.

    By moving an object to a layer, testing for collisions, and then moving back to it's original layer, you can test for collisions of a layer 1 object to a layer 2 object,

  • Thanks for the quick reply Chris.
    Hmm those are still actions to do on each objects. I was hoping for a property on the layer, too bad.

    My game developement blog Please login to see this link.

  • You can move objects from layer to layer based on their fixed value. Run a loop to add all the fixed values of the objects you want to move to a list or an array. Then run another loop to move all objects with the fixed values in your list to whatever layer you want them. Get creative Blob! :)

  • Ohhh, layers are new for me. I hadn't thought of the fact they could be reassigned to any value... But yeah, art and game design are my areas, and despite me I have issues finding coding tricks sadly.
    Thanks Chris ! :)

    My game developement blog Please login to see this link.

  • Sorry, I explained that poorly.

    Every object in your game has a unique fixed value. Something like 66536 for example. What I was trying to say was you could run a loop to retrieve all the fixed values of objects you might want to move between layers and then store those in list or an array. Then when it's time to move them, just run another loop moving all objects with fixed values matching to the ones in your list.

    But as always, there is an unlimited number of ways to solve every problem and this way might not work best for you.

    What kind of art do you make?

  • It's all good, I see from one of Nivram's tutorial how to use the separate IDs ( I knew how to get them but not how to use them properly ). It should be OK anyway, I just needed to put all the actives in the layer !

    I'm a texture artist for a 3D animation company (but taking 3 months off to make my game, so you'll see me around more for a few weeks).
    I occasionally do digital illustration for fun otherwise Please login to see this link.

    My game is full pixel art though, in 320x240 :)
    Please login to see this link.

    My game developement blog Please login to see this link.

Participate now!

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