# Tile map vs Screen games

**URL:** <https://forum.makecode.com/t/tile-map-vs-screen-games/3822>\
**Category:** Game Design\
**Created:** [October 9, 2020, 7:26am UTC](https://forum.makecode.com/t/tile-map-vs-screen-games/3822 "2020-10-09T07:26:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [October 9, 2020, 2:18pm UTC](https://forum.makecode.com/t/tile-map-vs-screen-games/3822/8 "2020-10-09T14:18:10Z")

</div>

It would be great if you could decorate a screen, similar to how the colour-coded-tilemap extension works. That way sprites can leave the screen, and you can have them destroy themselves.

When using a tile map in this game, there are four sprites where sprites 1, 3, 4 can overlap (i.e kill the player) and sprite 2. cannot.

Top to bottom

1. can overlap, but cannot leave screen.
2. is a ghost, so it does not overlap, but CAN leave the screen
3. is set destroy outside screen, but stays there until the player moves left
4. can overlap, but when it destroys itself, it is within the boundaries of the game.

It is not a big deal, but you might notice that the ghost sprite leaves outside the game, while the bottom sprite leaves within the game.

For a tile map, I would be great if a sprite, that is set to ‘auto destroy’ itself (i.e. outside the realm of the screen), that might occur when it hits the boundary of the tile map. I understand when @jwunderl mentions in [Enemy Defeat](https://forum.makecode.com/t/enemy-defeat/3177/15) how this works.

> **[Single screen, enemy can move through wall but still overlap](https://arcade.makecode.com/97885-38887-83847-00479)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

_[View the full topic](https://forum.makecode.com/t/tile-map-vs-screen-games/3822)._
