I have been stressing out because I can’t really code my game link is https://arcade.makecode.com/S55131-61430-44837-68574 but I want to see ur guys work and so it’ll give ideas
1 Like
Welcome to the forums, PotatoDaniel!
Your code looks fine except you never declare “mySprite” in your code so as soon as you start the game, it crashes because mySprite doesnt exist!!!
Add a “set mySprite to (sprite)” block in your menu function or somewhere before you start using the “mySprite” variable and you should be good!
Hope this helped!! ![]()
1 Like
One problem is that mySprite isn’t created when you try to set the player’s image, leading to the game failing. One thing you could do is store the image in a variable then set the player image to it later.