Hello community,
I’m making a sailing game. I’m trying to let the player choose different skins of boats at the beginning. I know that there is a way to make the actual sprites appear, but I kind of want to surprise the player. Also it’s a bit annoying to do it that way. Anyhow, I’m having an error with my code here:
It lies in the first show player choices block. The game works fine (the boat doesn’t spawn with an image though, due to it not being defined) without this block, but with the block it’s giving me a “sim error: failed cast on null.” Please help ASAP!
Thanks,
DatCaptainNemo
project link: https://arcade.makecode.com/S15609-42312-11259-01967

