# Making minecraft in makecode

**URL:** <https://forum.makecode.com/t/making-minecraft-in-makecode/8701>\
**Category:** Arcade\
**Created:** [June 12, 2021, 3:30am UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701 "2021-06-12T03:30:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [June 12, 2021, 3:30am UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/1 "2021-06-12T03:30:38Z")

</div>

I want to make a game like minecraft in 2d for makecode. Anybody want to help?

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 13, 2021, 5:17am UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/2 "2021-06-13T05:17:30Z")

</div>

There already are simlar games, i can link you some later

---

<div class="post-metadata">

**Author:** ![Nome\_muito\_criativo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nome_muito_criativo/32/5636_2.png) [@Nome\_muito\_criativo](https://forum.makecode.com/u/Nome_muito_criativo)\
**Post date:** [June 14, 2021, 4:45pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/3 "2021-06-14T16:45:56Z")

</div>

You could make it in 3D, with heavy optimization.

---

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [June 14, 2021, 5:46pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/4 "2021-06-14T17:46:27Z")

</div>

That would be very helpful!

---

<div class="post-metadata">

**Author:** ![CoolSwords4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/coolswords4/32/9222_2.png) [@CoolSwords4](https://forum.makecode.com/u/CoolSwords4)\
**Post date:** [June 14, 2021, 5:46pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/5 "2021-06-14T17:46:31Z")

</div>

Yeah, that would be extremely hard to pull off though.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 16, 2021, 9:06pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/6 "2021-06-16T21:06:00Z")

</div>

Not possible. Due to the hardware limitations, coding anything in 3d except for moving around is too heavy to handle.

---

<div class="post-metadata">

**Author:** ![Nome\_muito\_criativo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nome_muito_criativo/32/5636_2.png) [@Nome\_muito\_criativo](https://forum.makecode.com/u/Nome_muito_criativo)\
**Post date:** [June 17, 2021, 3:57pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/7 "2021-06-17T15:57:09Z")

</div>

Well I think it could be possible, speed would be the biggest constraint but MakeCode is actually really fast.  
My mode 7 project for example, loops through every pixel of the screen doing 22 operations for each of the 19200 pixels, and yet runs at 50 FPS (constrained by the simulator).  
Doing some maths we get 21.120.000 instructions per second, 21 MIPS.  
By comparison the PS1/PSX calculated 66.000.000 instructions per second, 66 MIPS, only 3 times faster.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 17, 2021, 6:37pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/8 "2021-06-17T18:37:27Z")

</div>

Well, I guess that counts then, but it would still be hard to code, don’t you think?

---

<div class="post-metadata">

**Author:** ![Nome\_muito\_criativo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nome_muito_criativo/32/5636_2.png) [@Nome\_muito\_criativo](https://forum.makecode.com/u/Nome_muito_criativo)\
**Post date:** [June 18, 2021, 4:23pm UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/9 "2021-06-18T16:23:58Z")

</div>

Yeah, it would, but basically you just need to do some trig to rotate a few points in 3D, sort them by distance, divide x and y by z to get 2D screen coordinates, done.

---

<div class="post-metadata">

**Author:** ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)\
**Post date:** [July 6, 2021, 2:56am UTC](https://forum.makecode.com/t/making-minecraft-in-makecode/8701/10 "2021-07-06T02:56:17Z")

</div>

> [@CoolSwords4](#):
>
> 2D

2D

> **[Minecraft](https://arcade.makecode.com/88116-89920-02382-43645)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Free with Procedural Generation (random land generation), Health Regeneration,  
and poisonous water (it damages your energy, then your health)
