projectile from sprite
Fires a sprite of kind Projectile from another sprite, with a speed across and down. It is destroyed when it leaves the screen. Sprites.
let projectile = sprites.createProjectileFromSprite(img`
. 2 .
2 4 2
. 2 .
`, mySprite, 0, -100)