Scaling help needed

I am working on a game, but when I cannot figure out how to scale multiple projectiles at once. If possible, I would like a systematic approach to this rather than creating a lot of sprites.
Link to the game: https://makecode.com/_E5v0JChrXLK1

1 Like

The simplest approch would be naming all of the projectiles something different then making that scale code for them individually

@Terminator the “on created sprite of kind” block is perfect for this. The code in that block will run once every time a projectile is created. Use it like so:

image

Note that instead of using the projectile variable in that event, I dragged the “sprite” variable out of the top of the event block.

4 Likes

Thanks :smiley:

1 Like