# Is there any way to make infinit worlds

**URL:** <https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261>\
**Category:** Help\
**Created:** [November 14, 2023, 5:32pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261 "2023-11-14T17:32:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [November 14, 2023, 5:32pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/1 "2023-11-14T17:32:27Z")

</div>

im makeing a survival game were you need to build a base and try to survive the the night but i want it to also be a advencher game so i am wondering if there is a way to make infinit worlds

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [November 15, 2023, 5:36pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/2 "2023-11-15T17:36:20Z")

</div>

not that i know, hey @richard why tilemaps have a limit?

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [November 15, 2023, 5:42pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/3 "2023-11-15T17:42:48Z")

</div>

Yes, a few ways! You could randomly generate each world.

---

<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:** [November 15, 2023, 5:49pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/4 "2023-11-15T17:49:47Z")

</div>

Typical way is to use the same-sized tilemap as a “chunk” and switch the tilemaps out when you try to exit the tilemap. If you want it to be infinite, then you can look at something like [this](https://forum.makecode.com/t/procedural-generation/5383). 🙂

---

<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:** [November 15, 2023, 6:18pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/5 "2023-11-15T18:18:06Z")

</div>

@Mega0star01 memory mostly

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [November 16, 2023, 9:26pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/6 "2023-11-16T21:26:07Z")

</div>

oh yeah i forgot srry.

---

<div class="post-metadata">

**Author:** ![ciyox](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@ciyox](https://forum.makecode.com/u/ciyox)\
**Post date:** [November 16, 2023, 9:35pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/7 "2023-11-16T21:35:21Z")

</div>

Maybe if you repeat the worlds automatically that way will be boring after a few games.

---

<div class="post-metadata">

**Author:** ![kaleb3335](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kaleb3335/32/16382_2.png) [@kaleb3335](https://forum.makecode.com/u/kaleb3335)\
**Post date:** [November 16, 2023, 9:49pm UTC](https://forum.makecode.com/t/is-there-any-way-to-make-infinit-worlds/24261/8 "2023-11-16T21:49:54Z")

</div>

thanks for your help
