# Levels

**URL:** https://forum.makecode.com/t/levels/7370
**Category:** Help
**Created:** [April 14, 2021, 4:09pm UTC](https://forum.makecode.com/t/levels/7370 "2021-04-14T16:09:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Local\_momo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/local_momo/32/3598_2.png) [@Local\_momo](https://forum.makecode.com/u/Local_momo)
#### Post date: [April 14, 2021, 4:09pm UTC](https://forum.makecode.com/t/levels/7370/1 "2021-04-14T16:09:56Z")

</div>

is it possible to make auto generated levels?

---

<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 14, 2021, 4:31pm UTC](https://forum.makecode.com/t/levels/7370/2 "2021-04-14T16:31:58Z")

</div>

Yes, it would actually be pretty easy. The hard part is that you have to make sure the level can be playable. In my ( **SHAMELESS SELF PROMOTION** ) [Crossy Roads 3](https://forum.makecode.com/t/crossy-roads-3/7348/8), each map is different. But I’ve made basically no effort to ensure that the level is playable, so there may be a hit and miss. For platformer games, you could probably do something like this:

1. Make a starting platform for the player.
2. Now place some blocks for the player to walk on
3. Leave a gap
4. Choose whether to move the next platforms higher or lower or not.
5. Go back to step 2 until you hit the end
6. Place an ending platform.

---

<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 14, 2021, 4:33pm UTC](https://forum.makecode.com/t/levels/7370/3 "2021-04-14T16:33:59Z")

</div>

We did a livestream showing one way to do this!

> [@Arcade Advanced Stream #83 - A very boring dungeon](https://forum.makecode.com/t/arcade-advanced-stream-83-a-very-boring-dungeon/3052):
>
> Join @livcheerful, @darzu, @shakao, and I as we build a game that lets us draw out a dungeon and turn it into a series of tilemaps! We had some technical difficulties during this stream, so apologies for the audio, meeting ui popups, and missing video. Watch the full stream here: [https://youtu.be/aiw1X870CwQ](https://youtu.be/aiw1X870CwQ) The starter code is here: And the finished code is here: The MakeCode Arcade Advanced stream takes place weekdays at 1:00PM PST on [twitch.tv/msmakecode](http://twitch.tv/msmakecode)

The strategy was based on what I did for my game [Dungeon](https://forum.makecode.com/t/dungeon/1906)

---

<div class="post-metadata">

### Author: ![Local\_momo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/local_momo/32/3598_2.png) [@Local\_momo](https://forum.makecode.com/u/Local_momo)
#### Post date: [April 14, 2021, 5:31pm UTC](https://forum.makecode.com/t/levels/7370/4 "2021-04-14T17:31:07Z")

</div>

but what code would I run to do that?

---

<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 14, 2021, 6:03pm UTC](https://forum.makecode.com/t/levels/7370/5 "2021-04-14T18:03:56Z")

</div>

Do you have a game that you would like to auto-generate levels for?

---

<div class="post-metadata">

### Author: ![lascap](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lascap/32/6283_2.png) [@lascap](https://forum.makecode.com/u/lascap)
#### Post date: [December 12, 2022, 7:20pm UTC](https://forum.makecode.com/t/levels/7370/6 "2022-12-12T19:20:53Z")

</div>

could I have some help with this too
