Hello,
My son has started using MakeCode to make his own game. He is collecting coins, which he has placed on his tilemap. On loading, he sets up the sprites with the and places them. This is fine in the simulator, but he runs out of memory on the PyBadge.
I have removed maybe half of the coin locations from the tilemap, but it’s still running out of memory. Is there a way to load the coins when they would appear on the screen? Or to load the coins in a part of the tilemap at a time?
1 Like
I checked out your code, your tilemap is huge! Way too many coin sprites for one tilemap:
179 sprites! That’ll overload a pybadge. Try having Super_plate_man travel to different (smaller) tilemaps. I hope this helps!
1 Like
I know how long it takes to make a tilemap that big, so if you still want to use it, you could make the coins tiles instead of sprites!