Its shorthand for:
if Self.State ="Out"
then Transition = 0
else Transition = 100
System->Compare two values
Score%10
= Equal to
0
You'll probably want a Trigger once also.
Via Copy as text:
+ System: Score%10 = 0
+ System: Trigger once
-> (no actions)
You don't need float().
Develop games in your browser. Powerful, performant & highly capable.
blackhornettechnologies.com/Construct3Stuff/Samples/vaffle_DeadZoneSample.zip
This isn't perfect, but the basic idea is to use a bounding box that has ScrollTo, instead of the player. The player pushes the box on either side, at the edges. This particular example gets a bit convoluted due to the mirroring, and I didn't add lerp for Y scrolling, but this should be a start.
Sorry, I can't help with SpriteFont+. It isn't necessary. I've documented the manual workaround in the original post.
Try a different text editor. I really have no idea what is wrong.
OhhBaby
It looks like an extra carriage-return got in there. Just backspace so it one single line.
0 is still a score. It's up to you what happens if the score is 0.
The easiest thing to do is to let C2 do all the work. Switch your data around and use a second array that you can call Sort on. Then just pick the top three.
blackhornettechnologies.com/Construct2Stuff/lappi357_TopThreeScores.capx
blackhornettechnologies.com/Construct3Stuff/Samples/SQUITTERcz_ScrollToSample.zip
Another option. One-liner.
blackhornettechnologies.com/Construct3Stuff/Samples/RandomFrame0to4.zip
construct.net/en/make-games/addons/187/smart-random
It displays 1 because you don't do anything when it can't pick any. Add an Else, and set to 0.
construct.net/en
PickedCount
Member since 28 May, 2012