Xenonic's Forum Posts

  • 2 posts
  • Thanks alot. That solution seems simple but it works perfectly. Guess sometimes you don't see the most practical things too quickly. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everybody,

    I am new to the whole construct-thing but I'm having loads of fun making my game and have already had quite some succes doing so.

    However now I can't seem to find an option to reset gvars. What i basically want to do:

    Player's spaceship dies once its gvar 'Shields' reches zero or below. Game switches to game over screen, now when I press the 'Resume' button I'd like the gvar 'SHields' to be reset to its initial value. Is there a way to do this?

    And if there is: Is there a way to alter a gvar's default value too?

    Situation: Starting Shield gvar is 4. Player buys upgrade for his shields, so gvar should be defaulted to 5 and after game over it needs to reset to 5 as opposed to 4 now.

    I hope people can decipher what I mean. <img src="smileys/smiley5.gif" border="0" align="middle" />

    Thanks in advance for any help!

  • 2 posts