Idea for a new block: Create a new object.
Comes with two object variables: Object Index and Total Cloned Objects. Both of these are identical to their clone counterparts, but with objects
Essentially, it acts similar to create a clone but functions differently with clones, where any clones created by the new object are bound to that object, not the original object.
This means that any “original object” variables will get the data from the new object instead of the original if that clone needs it.
This would be useful for making games like plants vs zombies or tower defense games like Bloons, since it would let you make towers that can use clones to create projectiles, and you wouldn’t need to individually code each tower, or have a limited amount of them.
- Needs Changes/Additional work (reply)