# Help my best game wont convert to blocks!

**URL:** <https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565>\
**Category:** Arcade\
**Created:** [November 7, 2024, 5:00pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565 "2024-11-07T17:00:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [November 7, 2024, 5:00pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/1 "2024-11-07T17:00:41Z")

</div>

[@moderators](https://forum.makecode.com/groups/moderators) Well my best game that I have come back to work on, has a problem  
It is around 2750 lines in JS but it doesn’t convert. Richard has helped me convert a game back to blocks before but any help is necessary. Thanks!!!

> **[Core](https://arcade.makecode.com/20657-08283-78142-48670)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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 7, 2024, 5:14pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/2 "2024-11-07T17:14:38Z")

</div>

> **[Core](https://arcade.makecode.com/45225-46993-36829-89073)**
>
> Made with ❤️ in MakeCode.

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [January 13, 2025, 4:47am UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/3 "2025-01-13T04:47:05Z")

</div>

@richard So when I try to load into this it reset all of my tile maps and tiles and I’m sure you can guess… I kinda need those so could you help me out?

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [January 13, 2025, 6:15pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/4 "2025-01-13T18:15:54Z")

</div>

Does it contain ~~over 9843234875027582375892 blocks~~ a TON of code?  
To much code prevents the switch to blocks because of how game crashing potential it has.

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [January 14, 2025, 6:29pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/5 "2025-01-14T18:29:40Z")

</div>

Yeah it has a lot of code _ **COUGH COUGH** _ 2700 lines _ **COUGH COUGH** _

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [January 14, 2025, 11:08pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/6 "2025-01-14T23:08:20Z")

</div>

Try finding methods to cut down on code.  
If you use similar code in separate areas, use a function!  
They can REALLY help you save blocks.

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [January 15, 2025, 5:11pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/7 "2025-01-15T17:11:47Z")

</div>

I do use functions it just that there has to be like 12 different enemies and each have there specific code

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [January 15, 2025, 5:35pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/8 "2025-01-15T17:35:59Z")

</div>

_@platformermaster grabs a Pokéball from his back pocket._

@plaformermaster: _@richard I choose you!_

_a relatively large pigeon in a suit flies out of Pokéball shouting “RICCHHHHAAAAAARRRRDDDDDDD!!!”_

_@platfrormermaster turns his attention down to his project, Core, placing the Pokéball back into his pocket, then flinging his finger to point at his Poképroject._

@platformermaster: _USE **JAVASCRIPT CONVERT**!_

_@richard’s ability is a sought after ability across the Makalos Arcade region, as it reforms the very structure of a Poképroject into a much more understandable and editable state. This effect lasts infinite turns, unless a counterattack is played either by the Poképroject or the creator of the Poképroject. This ability is present in other Pokémon such as the legendary Pokémon @jwunderl or @KIKIvsIT, but it is more prominent in the rather common @richard, seen across the Makalos Arcade region._

_@richard launches a dark blue beam at the Poképroject, and within seconds, the Poképroject appears more understandable, and easier to deal with in future battles._

(why did I do this lol)

---

<div class="post-metadata">

**Author:** ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)\
**Post date:** [January 15, 2025, 6:52pm UTC](https://forum.makecode.com/t/help-my-best-game-wont-convert-to-blocks/31565/9 "2025-01-15T18:52:51Z")

</div>

THIS IS A WORK OF ART!!!  
but I do need help!
