I need help for the new game jam, my baking game's tile map wont work

My game’s tile map wont show even though I made them the same size, (background and tile map) and Im trying to participate in the Cozy Game Jam… here’s the link Baking game

3 Likes

You making the tilemap as big as the background resolution IS the issue ironically :grin:

To fix this, you can either make your tilemap smaller OR change the resolution of your game via javascript to fit your tilemap (not recommended because you’ll have to make your sprites, backgrounds and text much much bigger).

If you want an explanation to why tilemap size is different from background size:

Tilemaps (as the name suggests) contain tiles. Each tile is 16x16 pixels. So a tileMAP of size 16x16 is actually in tiles not pixels. In pixels, it would be 256x256. In your case, you made the tilemap to be even bigger! The closest size you can give a tilemap to match the background size is, I believe, is 10x7 or 10x8 tiles.

2 Likes

If you wanted to, you could try using the arcade-tile-util extension to make a “8x8 tilemap” which makes the tiles all 8x8 instead of 16x16. Because the default screen size is 160x120, a 20x15 tilemap with 8x8 tiles would perfectly fit the screen!

2 Likes

OHHHH, Im a beginner and started in Oct and haven’t really touched makecode for a bit, and Im still quite new to most things thanks.

2 Likes

Glad it helped! Good luck and happy coding :grin:

1 Like

Great thoughtful reply :slight_smile:

1 Like

Thank you!

1 Like

Uhm so I gave up on the baking game

2 Likes

Awweee womp womp :confused:
Are you trying out a new idea then?

1 Like

honestly I prob wont do it cus I’m working on a Collab with someone :smiling_face_with_tear:

2 Likes

That’s unfortunate!
No shame in that however. Focusing on one project at a time is a better strategy in my opinion!

1 Like