mystazsea I thought about using instance variables and the On created event which looks like the only way to do it. However the example I gave wasn't really concrete enough.
The sprites are blocks and there can be say 5 sizes (32x32, 32x64, 64x64, 128x32, and 128x64). Given a level I want to spawn a random number of each types. I thought I could create a single block (32x32) then spawn it and size it based on say a "blocksize" instance variable (which would be 0-4).
For example:
Level 1: 3@1, 2wvn@3
This would produce 3 blocks sized to 32x64 and 2 blocks sized to 128x32.
To set it up I use System => On start of layout and set the instance variable (blocksize) to 1 then spawned 3 objects then set it to 3 and spawned another 2 objects.
Then I setup block On created with a condition when blocksize == 1 and the action to set the size of the block to 32x64.
This didn't work as everything created is still the original size.
Without having to create a different sprite for each size I'm not sure how I can do this.
Why is setting the size on each instance dynamically so hard? I'm sure I'm doing something wrong here.
Thanks.