# Minimap test

**URL:** https://forum.makecode.com/t/minimap-test/5117
**Category:** Help
**Created:** [December 18, 2020, 1:42am UTC](https://forum.makecode.com/t/minimap-test/5117 "2020-12-18T01:42:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)
#### Post date: [December 18, 2020, 1:42am UTC](https://forum.makecode.com/t/minimap-test/5117/1 "2020-12-18T01:42:18Z")

</div>

> **[minimap test](https://arcade.makecode.com/32431-00544-74253-52117)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

The dude in the corner should fall, but he doesn’t. Why?

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [December 18, 2020, 4:45pm UTC](https://forum.makecode.com/t/minimap-test/5117/2 "2020-12-18T16:45:27Z")

</div>

Technically he is falling, except that he is not showing it. On update, you need to keep deleting the old drawing and creating a new one. Hope this helps 😀

---

<div class="post-metadata">

### Author: ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)
#### Post date: [December 18, 2020, 5:06pm UTC](https://forum.makecode.com/t/minimap-test/5117/3 "2020-12-18T17:06:34Z")

</div>

I think I already am doing that… if not, can you edit the project and show me?

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [December 18, 2020, 5:37pm UTC](https://forum.makecode.com/t/minimap-test/5117/4 "2020-12-18T17:37:54Z")

</div>

Reviexing the code, it has to do something with the canvas width. It was showing the falling, but it was behind the last image. Now all that is needed is to detach the person from the background

---

<div class="post-metadata">

### Author: ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)
#### Post date: [December 18, 2020, 5:52pm UTC](https://forum.makecode.com/t/minimap-test/5117/5 "2020-12-18T17:52:22Z")

</div>

> **[minimap test](https://arcade.makecode.com/56879-18691-62246-38059)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I got it somewhat working… what is going on?

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [December 18, 2020, 6:20pm UTC](https://forum.makecode.com/t/minimap-test/5117/6 "2020-12-18T18:20:57Z")

</div>

Now i’m blank, sorry 😐

---

<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: [December 18, 2020, 9:39pm UTC](https://forum.makecode.com/t/minimap-test/5117/7 "2020-12-18T21:39:04Z")

</div>

Hmm you’ve definitely found a bug! ([https://github.com/microsoft/pxt-arcade/issues/2744](https://github.com/microsoft/pxt-arcade/issues/2744))

If you change the “on game update” intervals to 200ms, it works but it is a little jerky:

> **[minimap test](https://arcade.makecode.com/64833-27747-33360-25233)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Likely part of the problem is that 100ms is too fast for a minimap update at a size like that.

The minimap extension wasn’t designed to provide a smooth movement animation, it was more intended to be a HUD element like a little radar or treasure map.

Hopefully soon we can make an extension that’s better designed for real-time smooth updates like this.
