Sai_Smaran
(Sai Smaran )
August 24, 2021, 5:12pm
#1
Hello guys,
I want a dynamic component that can create image sprites on its own. I come from scratch and I want to clone a sprite. https://scratch.mit.edu/projects/475864338/
If you have an extension then please paste the link of it.
dora_paz
(Dora)
August 24, 2021, 5:13pm
#2
Welcome to the community. You could try creating sprites dynamically using
Dynamic Components Extension
that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
Sai_Smaran
(Sai Smaran )
August 25, 2021, 5:31am
#5
Thank You.
This was exactly what i was looking for.
1 Like