# Big setback

**URL:** <https://forum.makecode.com/t/big-setback/29017>\
**Category:** Help\
**Created:** [May 30, 2024, 5:25am UTC](https://forum.makecode.com/t/big-setback/29017 "2024-05-30T05:25:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [May 30, 2024, 5:25am UTC](https://forum.makecode.com/t/big-setback/29017/1 "2024-05-30T05:25:35Z")

</div>

I cannot switch back to blocks after inputting one line of code to java because it’s “too big” when it was just fine when my game was bigger

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d665f163313b95e8f87a2836bd230c7682c5299c.png)

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [May 30, 2024, 5:06pm UTC](https://forum.makecode.com/t/big-setback/29017/2 "2024-05-30T17:06:43Z")

</div>

Yeah… this is a very common problem… I would “discard and go to blocks” and try finding a way to implement your Java code using blocks. I always make a copy of any projects before converting away from blocks because, well, exactly this reason. It’s definitely an issue that’s being worked on, but so far it looks like it’s gonna take a while to find and fix these sort of bugs/issues (I have actually noticed that things like this happen a lot less than they did when I started. Idk though, might just be me.) I think that translating code in one language (blocks/pygame) into the syntax of another (especially Java cause Java is just a weird language in general) is always going to be a difficult and buggy venture. Good luck with the rest of your project! If something isn’t working, such as the “discard and go to blocks” feature, I would try copy/pasting the Java code into a new project and trying again. Sometimes that works, sometimes it doesn’t. Good luck!

---

<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:** [May 30, 2024, 5:06pm UTC](https://forum.makecode.com/t/big-setback/29017/3 "2024-05-30T17:06:58Z")

</div>

If you have any backups saved, you could revert to those, but I assume this is the only copy : ( 🫂

---

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [May 31, 2024, 12:54pm UTC](https://forum.makecode.com/t/big-setback/29017/4 "2024-05-31T12:54:14Z")

</div>

I have almost everything for my game finished but I need to increase the resolution and that I can only do with java

---

<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:** [May 31, 2024, 12:58pm UTC](https://forum.makecode.com/t/big-setback/29017/5 "2024-05-31T12:58:59Z")

</div>

> [@WoofWoof](#):
>
> I have actually noticed that things like this happen a lot less than they did when I started.

I’ve think they’ve increased the limit before and are planning to remove the limit entirely soon - @richard is that true or did I just hallucinate some PR / issue 🤣

---

<div class="post-metadata">

**Author:** ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)\
**Post date:** [May 31, 2024, 1:00pm UTC](https://forum.makecode.com/t/big-setback/29017/6 "2024-05-31T13:00:16Z")

</div>

Just so you know if there are any blocks that were not attached to anything and grey take up space. Also different blocks take up different amounts of space especially extensions. A common extension that takes up a lot of code space is the ray casting extension. Let’s say you have another project with more lines this project could take more space because of using more blocks that take up more space. Instead instead of less blocks that take up more space.

---

<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:** [May 31, 2024, 4:18pm UTC](https://forum.makecode.com/t/big-setback/29017/7 "2024-05-31T16:18:13Z")

</div>

@UnsignedArduino yes, the limit is going away.

@Harmanuary give me a link to your game and i’ll send you back a version with the blocks restored

---

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [May 31, 2024, 9:59pm UTC](https://forum.makecode.com/t/big-setback/29017/8 "2024-05-31T21:59:38Z")

</div>

> **[ScarsShot V20 (experimental release 1)](https://arcade.makecode.com/S82470-90213-05392-09197)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

here you go

---

<div class="post-metadata">

**Author:** ![Harmanuary](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/harmanuary/32/21855_2.png) [@Harmanuary](https://forum.makecode.com/u/Harmanuary)\
**Post date:** [June 5, 2024, 5:03pm UTC](https://forum.makecode.com/t/big-setback/29017/9 "2024-06-05T17:03:28Z")

</div>

did the link not send right?

---

<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:** [June 5, 2024, 5:41pm UTC](https://forum.makecode.com/t/big-setback/29017/10 "2024-06-05T17:41:53Z")

</div>

@Harmanuary ack, sorry! slipped my mind! here you go:

> **[ScarsShot V20 (experimental release 1)](https://arcade.makecode.com/88734-33272-06972-03314)**
>
> Made with ❤️ in MakeCode.
