You probably need a For Each for the Is NOT moving event so you only interact with the one object.
v1.11 released.
v1.10 released.
The object has a UID. Store that and then Pick by UID.
The trick is the math has to work. The SpiteFont plugin reads a row then drops to the next row. There can't be much space left on the right, or the plugin will try to draw it. So my algorithm has to optimize for the width first, then the height. That's the down side of optimizing for power-of-two.
Do 'Save as single file' and post the CAPX file.
Develop games in your browser. Powerful, performant & highly capable.
How to "upgrade" an object to a family
RandomFunctionFamilySample.capx
Families take care of the different objects. This just randomly picks an instance, from a timeout, and calls the function which picks the appropriate Text object by UID, and sets the text to the value passed into the function.
FloodFillBasics.capx
So how are you determining when to call the function?
You've got the basics. Determining which Text object you want and passing in the UID, to be picked, will do what you need.
add:
On start of layout > ScoreText - Set text to Score
Sounds like you need to also set the ScoreText in 'On start of layout'. The score is still good, but the text object is being reset.
Member since 28 May, 2012