# Survival game help

**URL:** <https://forum.makecode.com/t/survival-game-help/40087>\
**Category:** Help\
**Tags:** game, survival\
**Created:** [October 29, 2025, 5:26pm UTC](https://forum.makecode.com/t/survival-game-help/40087 "2025-10-29T17:26:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![headcrab\_games](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@headcrab\_games](https://forum.makecode.com/u/headcrab_games)\
**Post date:** [October 29, 2025, 5:26pm UTC](https://forum.makecode.com/t/survival-game-help/40087/1 "2025-10-29T17:26:35Z")

</div>

Hello, my friend scrapped his old project and is letting me work on it, I need help with making multiple trees spawn at one time and only have the one the “axe“ hits and not all, also if any of you can add an inventory system that I tried to do, please do, if not, I’ll just have the inventory managed by variables

---

<div class="post-metadata">

**Author:** ![Iro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iro/32/34749_2.png) [@Iro](https://forum.makecode.com/u/Iro)\
**Post date:** [October 29, 2025, 5:40pm UTC](https://forum.makecode.com/t/survival-game-help/40087/2 "2025-10-29T17:40:01Z")

</div>

There is an inventory extension, but Makecode online stuff (other than this of course) is down. here is the link tho: [https://github.com/UnsignedArduino/Inventory](https://github.com/UnsignedArduino/Inventory)

---

<div class="post-metadata">

**Author:** ![headcrab\_games](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@headcrab\_games](https://forum.makecode.com/u/headcrab_games)\
**Post date:** [October 29, 2025, 7:15pm UTC](https://forum.makecode.com/t/survival-game-help/40087/3 "2025-10-29T19:15:18Z")

</div>

I do believe I used that, I still dont understand though…

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [October 29, 2025, 9:15pm UTC](https://forum.makecode.com/t/survival-game-help/40087/4 "2025-10-29T21:15:32Z")

</div>

> [@Inventory extension](https://forum.makecode.com/t/inventory-extension/8662/35):
>
> I added the blocks to change numbers, so you don’t need super long blocks for it! I also updated the example: (works slightly better and uses more functions for cleaner code - you can use this for the [Simulation Mini Jam](https://forum.makecode.com/t/announcement-makecode-arcade-mini-game-jam-2-simulation-jam/14492) possibly!)

this might be helpful  
if you’re still stuck feel free to share the code, would be helpful

---

<div class="post-metadata">

**Author:** ![headcrab\_games](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@headcrab\_games](https://forum.makecode.com/u/headcrab_games)\
**Post date:** [October 31, 2025, 2:48am UTC](https://forum.makecode.com/t/survival-game-help/40087/5 "2025-10-31T02:48:21Z")

</div>

whoops, I forgot to add it lol, here it is [“Survival: Ver 0.1”](https://arcade.makecode.com/S36236-18153-71614-62722)

---

<div class="post-metadata">

**Author:** ![headcrab\_games](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@headcrab\_games](https://forum.makecode.com/u/headcrab_games)\
**Post date:** [October 31, 2025, 2:48am UTC](https://forum.makecode.com/t/survival-game-help/40087/6 "2025-10-31T02:48:24Z")

</div>

also, I am taking heavy inspiration from d”on’t starve together”

---

<div class="post-metadata">

**Author:** ![moopmakers](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/moopmakers/32/31257_2.png) [@moopmakers](https://forum.makecode.com/u/moopmakers)\
**Post date:** [October 31, 2025, 6:12pm UTC](https://forum.makecode.com/t/survival-game-help/40087/7 "2025-10-31T18:12:28Z")

</div>

I can make art for you

---

<div class="post-metadata">

**Author:** ![headcrab\_games](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@headcrab\_games](https://forum.makecode.com/u/headcrab_games)\
**Post date:** [November 3, 2025, 6:48pm UTC](https://forum.makecode.com/t/survival-game-help/40087/8 "2025-11-03T18:48:07Z")

</div>

im trash at art, that would help alot
