Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » shooting clones
- coolisme1
-
3 posts
shooting clones
how do i make the projectiles shot from my clones spawn were the clones are currently instead of their original starting location.
also how do i delete my clones location which is saved to a list when the clone is deleted.
also how do i delete my clones location which is saved to a list when the clone is deleted.
- coolisme1
-
3 posts
shooting clones
this is the project its a mess but if u need to see it to fix it this is it
https://scratch.mit.edu/projects/240612433/
https://scratch.mit.edu/projects/240612433/
- UltraGamer_Studios
-
96 posts
shooting clones
It would be difficult to make bullets shoot from clones. If I were you, I would make a timer. Every 1/(Number of clones), a bullet will be cloned. It will go the location of a random clone (you can use the aforementioned list for this) and point towards the player sprite.
For deleting the location of each clone, I would just ignore that. You can add a “delete all of …” at the beginning of your project, that way every time the project is started, the data is reset. I don't think it would matter if it gets too long during a game if it resets after.
For deleting the location of each clone, I would just ignore that. You can add a “delete all of …” at the beginning of your project, that way every time the project is started, the data is reset. I don't think it would matter if it gets too long during a game if it resets after.
- Discussion Forums
- » Help with Scripts
-
» shooting clones