limit object appearance

0 favourites
  • 11 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hello, I want an object appears only once on the same level. For example, the player takes an object, but if we repeat the same level and not leave that object. Anyone know how to do? thx <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Oh , you need to set the object to global , in your object settings ... and then , when the object would be destroyed , it would be destroyed for all the game !

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'll try it:P I'm doing a little something more for a punctuation level ... for example destroy an object level "total score" = 100 for I have something like this: every tick -> text "Score:" & Score

    But I want to make a total sum all the text of all levels eg Level 1: 100 points + Level 2: 300 points + Level 3: 200 points ... and add that total: 600. I tried things but nothing <img src="smileys/smiley7.gif" border="0" align="middle" /> <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Anyone know how to fix this? <img src="smileys/smiley26.gif" border="0" align="middle" />

  • I would suggest using a global variable to record the level scores. This way you can set up some kind of high score for each level.

    For the sum you would set up one final variable that adds them all up.

    Example. Variable = (Level1HS + Level2HS + Level3HS etc etc) In this case Level1HS refers to Level 1's High Score variable that you would have stored.

  • Richard Stennett

    I have a single variable called Score, with only one me okay? or I have to create more variables depending on the levels you have? The term "+" can be used?

    in Set Text function in it? not if I know it :(

  • Help meeee <img src="smileys/smiley19.gif" border="0" align="middle" />

  • cesarzevil

    You would need to create more variables to use my idea.

    Yes the term + can be used as long as your working with numbers.

  • Richard Stennett

    Not exactly what I have put, better explicate Please

  • cesarzevil

    You need a variable for every level. Once you have all the variables set up you can add them together into one overall variable.

  • Does not work :( any tutorial where I can do?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)