How do I get the enemy array to not show

I started making this game to show my class arrays. How do I get the array to not show inteh middle of the screen?
https://makecode.com/_b7z5Vd6bAf28

1 Like

Hello! I think the problem was that you had sprites inside the array!
So I put the set sprite img: random from array! So not the picture is random and not the sprite! Also I set the set array on the start!

Hope this helps!

1 Like

Instead of making 4 sprites every 500 ms and only using one of them, I would just make an array of bogey images and then pick a random image to use as a sprite. Here is the fix:

I’ve also make the stars autodestroy too.

Thanks that is what I was looking for.
I wish there were more tutorials for the higher level coding.

1 Like