Why won’t other code work?
-
So, when I load up my map from the editor and paste it into the code, all other code doesn’t work!!
Like in the picture it’s all fine but when I start the program the music doesn’t play. But if I remove the map then it does play. How do I fix this? -
Hi! I think you should include your code in just one loop/repeat. In case you need more than one loop, make sure to create an exit condition (break).
-
Your code will never go past line 8, since you have a never-ending loop from line 5 to line 8. Put the drawMap command in your main loop instead.
-
Ah thanks guys! I’m a beginner so im having trouble, but this will surely help!
-
Here's a brief over view of a game loop, id recommend checking out the Fuze official videos but you might also find this beneficial.
https://fuzearena.com/forum/topic/1831/user-video-tutorials/7?_=1680558006130