vGoliath's Recent Forum Activity

  • When I first started designing within C2, this was my favorite YouTuber for learning the basics of the engine. This is a video that will recap what you are trying to do:

    Hope this helps!

  • Try Construct 3

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

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

    This is my first post on the Scirra forums. I started developing in C2 over a month ago and have not needed to post anything as this community shares so much good content that it was never necessary! Kudos to everyone!

    I have finally not been able to find any useful information regarding the start and end of layout conditions and how they work/are triggered. Here are my issues:

    -"On start of layout" condition seems to trigger before my layout even starts, as though C2 is attempting to prepare the next layout ahead of time. An example of this can be seen if attempting to save data to local storage on start of layout. Here's the example: Game is played in arena. On player "hp" <= 0, add 50 to "experience" variable, go to game over layout. Now on the game over "Start of layout" condition, update local storage to reflect new experience level. What happens is that the local storage will have been updated before 50 would be added to experience, thus no new information is updated to the local storage. Another really simple example of this is attempting to have a countdown start "on start of layout". You will notice your countdown is one second ahead of time (should start at e.g. 90 but is actually already at 89).

    -"On end of layout" condition does not trigger when I leave the layout. The only way I have found to trigger this condition is to restart the layout before I leave it for another layout. What causes a layout to be considered as "ended"???

    Thank you for your help ahead of time!

    Ryan

vGoliath's avatar

vGoliath

Member since 8 Jul, 2017

None one is following vGoliath yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies