bibirez
If you can give me a day or two, I can update the template to at least work with the C2 runtime, or possibly with the native C3-tween behaviour instead, getting rid of all third-party plugins.
No, you generally need to use 'Compare two values', where the first is var = "text1" | var = "text2" and the second is just 1.
This is a common mistake. You need:
If var = "text1" | var = "text2"
It's in the original post.
Your values are backwards. correct/asked
Add extra brackets after round and after 100.
round((x/y)*100)
construct.net/en/tutorials/sprite-fonts-how-what-when-389
You can add "trigger once while true" to your current condition, also.
Your Else understanding is fine - triggers are the things people stumble with. My rule is to ALWAYS have triggers at the top (or possibly in a group), and decode any standard logic inside the trigger.
Your logic is backwards. On-pressed is a trigger - it's always best to have triggers at the very top level, since they occur outside of the regular event loop. Just check for on-pressed first, and then decode your variable.
Develop games in your browser. Powerful, performant & highly capable.
Plinkie beat me, but here's the basics. For a circular board, give each square a sequence ID (start at 0), and use the Modulo (%) operator to deal with the wrap-around. My sample has a die of 4, and 10 squares (event 5).
blackhornettechnologies.com/Construct3Stuff/Samples/LesleyBeth_CircularBoard.zip
Your C2 project is your source code.
construct.net/en/forum/construct-2/beginners-questions-19/source-code-79990
Member since 28 May, 2012