Image Sprite Creation Through Code Blocks

Can I create new image sprite instances on a canvas through the code blocks?

Use this:

This demo uses the Dynamic Components extension by Yusuf Cihan

This extension should allow for using heading/speed etc.

You could use CompCreator but you would need to use a clock timer for movement with balls and imagesprites

No you cannot create new image sprite instances on a Canvas through the code Blocks.

Tim suggested two ways to do that using extensions.

Another way to possibly display "more" sprites is to create more sprites than your app needs and set their visible condition to false for some of them / Set visible to true when the 'additional' sprites are needed. This doesn't create new sprites; it makes use of sprites you have previously hidden and it might be what you can do in your app to avoid using an extension in your Project.

1 Like