Look at the Animated Spritefont effects sample, in Advanced Examples, on the Start page.
This will get you one decimal place.
Add Tween behaviour and tween (one property) Opacity to 100 over X seconds. Just set the sprite's Opacity to 0 before.
Develop games in your browser. Powerful, performant & highly capable.
(Took too long). Here's a variation. You need a local variable, so you start counting at zero each time. (Or make sure to reset your sum-counter to zero).
CoinSum_619_RM.zip
You can use any of the rbg expressions, but do be careful - you have to use the correct values:
construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions
rgbEx actually is only 0 to 100.
Get rid of the quotes:
choose(rgbEx(4, 0, 255), rgbEx(199, 199, 199), rgbEx(255, 0, 0) )
It looks like you are referencing two different objects. The condition is Enemy_, but the action is Enemy - those are not the same thing.
Either change one or the other, or you have to pick Enemy based on the UID on Enemy_ (assuming a Family is involved - the screen shot is a bit small to see any details).
That caught me by surprise too, but it's the Text object trying to interpret BBcodes - there is a property to turn that off! Or, use a Text Input object, which lets you copy the text anyway, which is what I did.
The easiest way to get the format is to create the array example in C3 first, and use AsJSON to see what it looks like. This is what I get:
{"c2array":true,"size":[2,1,1],"data":[[["cat"]],[["dog"]]]}
An alternative is to return the total and set it back to the global passed in.
FunctionReturningTotal_MUTAJON.zip
This page should have two buttons at the top, for monthly and yearly:
construct.net/en/make-games/buy-construct-3/personal-plans
int(random(1,3)) will give you the numbers 1 & 2.
Member since 28 May, 2012