How do I keep my event sheet clean

Get help using Construct 2

Post » Thu May 29, 2014 9:07 pm

I am looking for general advice (a good practise) about how to implement a scoring/points system in your event sheet.

For example:
- make a "scoring" group and insert here all (if possible) events that have to do with accumulating points?
- afer each event that blows up a spaceship or jumps on an enemy place the events: show score + add points to score?
B
27
S
6
G
7
Posts: 678
Reputation: 5,651

Post » Thu May 29, 2014 11:42 pm

I personally recommand using a variable to keep track of the score, and using a function to add points to the score (this function could also take care of refreshing the score display, and even the high score display if needed), and also to make the score goes up not with direct numbers but with variables (instance variables or local variables) and constants if possible, so you can edit quickly how you handle the score.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, Yahoo [Bot] and 24 guests