# Zoom in and out of a tilemap?

**URL:** https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048
**Category:** Arcade
**Created:** [May 11, 2020, 6:35pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048 "2020-05-11T18:35:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [May 11, 2020, 6:35pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/1 "2020-05-11T18:35:22Z")

</div>

We are in the midst of rebuilding a lunar lander type game. Is there some clever hack to zoom in/out of a tilemap? For example by swapping a tilemap 16x16 to 8x8?

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 11, 2020, 7:39pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/2 "2020-05-11T19:39:37Z")

</div>

No, but Daryl made a minimap extension

---

<div class="post-metadata">

### Author: ![darzu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/darzu/32/1882_2.png) [@darzu](https://forum.makecode.com/u/darzu)
#### Post date: [May 11, 2020, 8:57pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/3 "2020-05-11T20:57:37Z")

</div>

> **[darzu/arcade-minimap](https://github.com/darzu/arcade-minimap)**
>
> Contribute to darzu/arcade-minimap development by creating an account on GitHub.

a couple samples here: [Minimap extension beta](https://forum.makecode.com/t/minimap-extension-beta/1709/4)

This lets your render the whole tilemap at 1/2, 1/4, 1/8, 1/16, or 1/32 scale as an image

You can also render sprites onto that shrunken version at independent 1/2, 1/4, 1/8, 1/16, or 1/32 scale

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [May 11, 2020, 9:41pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/4 "2020-05-11T21:41:23Z")

</div>

Is there a way to author a 8x8 tilemap in blocks? I haven’t found it. The minimap might just work for this game though. We’ll try it out.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 11, 2020, 9:41pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/5 "2020-05-11T21:41:51Z")

</div>

Nope. It’s on the to-do list

---

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [May 11, 2020, 9:42pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/6 "2020-05-11T21:42:22Z")

</div>

And in typescript? I might just do a quick digression in TypeScript land to unlock this one 🙂

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 11, 2020, 9:44pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/7 "2020-05-11T21:44:27Z")

</div>

You can go to TS and come back and it _should_ work, but last time I tried it I remember it being buggy

---

<div class="post-metadata">

### Author: ![darzu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/darzu/32/1882_2.png) [@darzu](https://forum.makecode.com/u/darzu)
#### Post date: [May 11, 2020, 9:53pm UTC](https://forum.makecode.com/t/zoom-in-and-out-of-a-tilemap/2048/8 "2020-05-11T21:53:26Z")

</div>

The tile gallery will be wierd, right?
