# Camera jitter due to tilemap?

**URL:** https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542
**Category:** Help
**Created:** [March 6, 2026, 8:34pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542 "2026-03-06T20:34:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Solek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/solek/32/29692_2.png) [@Solek](https://forum.makecode.com/u/Solek)
#### Post date: [March 6, 2026, 8:34pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/1 "2026-03-06T20:34:41Z")

</div>

> **[Master Blaster](https://arcade.makecode.com/S22728-58412-68301-25409)**
>
> platform concept

ive started making a character for a platformer. i have been testing out movement, and now testing building tilemaps.

if i move on flat tilemaps, it jitters a little, but as soon as some tilemaps appear that are not level with the ground the camera goes crazy. i have seen some issues say that character needs to be an even number of pixels in width but this does not help either. please help.

---

<div class="post-metadata">

### Author: ![BitBot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bitbot/32/33272_2.png) [@BitBot](https://forum.makecode.com/u/BitBot)
#### Post date: [March 7, 2026, 7:34pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/2 "2026-03-07T19:34:23Z")

</div>

Here, this should work! I’ve added a hitbox!

> **[Master Blaster](https://arcade.makecode.com/S86356-61830-22479-56458)**
>
> platform concept

---

<div class="post-metadata">

### Author: ![BLADEr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blader/32/16422_2.png) [@BLADEr](https://forum.makecode.com/u/BLADEr)
#### Post date: [March 7, 2026, 7:45pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/3 "2026-03-07T19:45:14Z")

</div>

In the animation, there’s a big gap that’s causing the sprite to fall down:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/8/a8788fb824d7be9b0fde6146e881898c690d0018.png)

This has happened to me too. An easy way to fix this is to keep some pixels still “touching” the ground.

Hope this was helpful!

---

<div class="post-metadata">

### Author: ![Solek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/solek/32/29692_2.png) [@Solek](https://forum.makecode.com/u/Solek)
#### Post date: [March 7, 2026, 7:47pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/4 "2026-03-07T19:47:39Z")

</div>

I found the issue. It was because in part of my run cycle no part of my sprite was touching the bottom of the editor, so the camera would jump on that part while i was running. Hope that helps somebody else too

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [March 7, 2026, 7:54pm UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/5 "2026-03-07T19:54:58Z")

</div>

This is happening because one of your animations frames is causing your character to be momentarily not touching the ground, causing them to start falling. Then, when the next frame happens, the character has become clipped into the tilemap floor and so it gets ejected out, causing the glitchy motion. You simply can’t tell this is happening when all the tiles are the same, but as soon as other tiles appear you can tell that the character is getting repeatedly teleported backwards every time the animation loops.

You can fix this by having an invisible hitbox sprite that doesn’t move controlling everything and teleporting another sprite to its location in an On Game Update loop and running the animations on the teleported sprite. You can turn a sprite invisible while keeping its hitbox by turning on the sprite flag “invisible”, and remember to make the animation sprite “ghost through walls” so it doesn’t clip weird on tilemap walls.

---

<div class="post-metadata">

### Author: ![Solek](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/solek/32/29692_2.png) [@Solek](https://forum.makecode.com/u/Solek)
#### Post date: [March 8, 2026, 1:08am UTC](https://forum.makecode.com/t/camera-jitter-due-to-tilemap/42542/6 "2026-03-08T01:08:04Z")

</div>

thanks guys, I discovered what the issue was just before I went to bed but had to wait for post approval to write it on here 😆 cant believe it was so simple, this had me stumped for a whole day
