Function not working correctly!

Hey! Back again, For some reason when i call the function for the 3rd scene in my harry potter game it wont work, I wanna know if i coded this incorrectly. Help much appreitcated!

Link: https://arcade.makecode.com/S45877-67163-35431-13651

@richard may i have some help? ive been struggling with this still for a few weeks

Im no richard but i can help!

image
Your calling the 3rd part BEFORE you clear everything So it creates the 3rd part then destroys it! all you gotta do is move it past the “destroy Shade” part and it works!
image
ALSO you have to add a light source Due to your Lighting Extension
just add this to the end and it should work

1 Like

Secondary unrelated notes

I like the Sprites
recreating the book/movie is a neat idea

Last thing as any coder should know

if there is a problem there is a 99.999% chance its the coders fault not the engine or software

1 Like