I'm used to coding in C# and for my latest game, I want to check whether the player has won or not after each turn. Normally I would consider creating a method to do this (and which could be called from a number of places) but I'm not sure how this might be implemented within Construct 2? I know how to create simple events but they seem a bit too simple - or I'm probably missing something - on how to check that three counters are lined up (for example)?
Thanks for any help.
Call the function with parameters to specify either the 3 counters or 1 counter with that you can easily get the other lined up counters.
Methods are nearly the same than functions.
Develop games in your browser. Powerful, performant & highly capable.