# Velocity Glitch? Actually: My usage of tilemaps

**URL:** <https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866>\
**Category:** Help\
**Created:** [April 28, 2020, 10:39pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866 "2020-04-28T22:39:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 28, 2020, 10:39pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/1 "2020-04-28T22:39:17Z")

</div>

Hello there,

I hope you are well.

I was making a storyline for my game, and at the end of the introduction animation, where the players walk are supposed to walk off the screen, they don’t. I tried to replicate the problem but I could not do it.

Any ideas why this may be happening?

Here is the link: [https://makecode.com/\_FTR6tR3mPUe7](https://makecode.com/_FTR6tR3mPUe7) (Can’t seem to figure out how to make the block with the game preview, etc.)  
Here is the save file:  
 ![arcade-Velocity-problems](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/a68e5c07a6a92e46ea69bc9393694fa86f1f7c08.png)

I will (try to figure out how to) upload a `.gif` soon of it happening.

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [April 28, 2020, 10:48pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/2 "2020-04-28T22:48:40Z")

</div>

Tilemaps constrain sprites (anything outside the tilemap acts as a wall). If you want them to move offscreen, you need to set them as Ghost sprites so they ignore walls.

---

<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:** [April 28, 2020, 10:55pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/3 "2020-04-28T22:55:46Z")

</div>

@UnsignedArduino if you are on Windows, I personally recommend [https://www.screentogif.com/](https://www.screentogif.com/) for recording gifs. It’s not a Microsoft thing, but it’s the best tool I’ve found!

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 28, 2020, 10:56pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/4 "2020-04-28T22:56:33Z")

</div>

Ah, that makes sense! Thank you so much!

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [April 28, 2020, 10:58pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/5 "2020-04-28T22:58:00Z")

</div>

@richard, I used a screen recorder and converted the gif online. It is definitely a long process. I will try screentogif. Thank you for the suggestion!

Well, I might as well show the result:

![ezgif.com-crop](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/6af9be605b38874ad2e2009fea7d6c91d1d00280.gif)

---

<div class="post-metadata">

**Author:** ![magma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/magma/32/919_2.png) [@magma](https://forum.makecode.com/u/magma)\
**Post date:** [May 1, 2020, 6:09am UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/6 "2020-05-01T06:09:05Z")

</div>

Easy solution. Add a column on the tilemap.

 ![Screen Shot 2020-05-01 at 08.07.18](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/aa5c44a04dcc9becaf8ca2c8da4450b6c7a3248c.png)

I want to see how the story continue…

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 1, 2020, 5:55pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866/7 "2020-05-01T17:55:36Z")

</div>

I just set them to ghost as @jwunderl says.  
That means my game is working if you want to see the story continue. 🙂  
And you can follow updates in my Github repository if you really want to but you might get spammed at the rate I am committing changes. 😉

> **[UnsignedArduino/The-Land-of-Stories-with-Hansel-and-Gretel](https://github.com/UnsignedArduino/The-Land-of-Stories-with-Hansel-and-Gretel)**
>
> Journey through medieval Germany to save Hansel and Gretel in this action-packed adventure in MakeCode Arcade - UnsignedArduino/The-Land-of-Stories-with-Hansel-and-Gretel
