# How a blue ladybug earns world domination devlog

**URL:** <https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349>\
**Category:** Arcade\
**Created:** [October 6, 2026, 10:00pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349 "2026-10-06T22:00:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PizzaBoi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pizzaboi/32/35875_2.png) [@PizzaBoi](https://forum.makecode.com/u/PizzaBoi)\
**Post date:** [October 6, 2026, 10:00pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/1 "2026-10-06T22:00:53Z")

</div>

for the critter jam i am making a game (which will be my second game on the forums) with a little help from @TheEarth called “how a blue ladybug earns world domination" is about a blue ladybug solving Sokoban puzzles, here it [Is](https://arcade.makecode.com/67861-84406-83446-26006) and could someone help me, when i put the ball on the button and move it again the button disappears.

---

<div class="post-metadata">

**Author:** ![PizzaBoi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pizzaboi/32/35875_2.png) [@PizzaBoi](https://forum.makecode.com/u/PizzaBoi)\
**Post date:** [October 8, 2026, 4:00am UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/2 "2026-10-08T04:00:49Z")

</div>

someone please help whenever i go back to a level or restart a level the door doesn’t open 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [October 8, 2026, 5:42pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/3 "2026-10-08T17:42:55Z")

</div>

I can’t check rn I’ll come back to you on that one tommorow

---

<div class="post-metadata">

**Author:** ![PizzaBoi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pizzaboi/32/35875_2.png) [@PizzaBoi](https://forum.makecode.com/u/PizzaBoi)\
**Post date:** [October 10, 2026, 2:57am UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/4 "2026-10-10T02:57:09Z")

</div>

here is update [ladybug](https://arcade.makecode.com/S30296-00479-78710-80979), added 10 levels. @ADM_F maybe you could help me? you made a sokoban before right? could you pleaaaaase help me if I get the ball in the button and then move it again the button disappears

---

<div class="post-metadata">

**Author:** ![ADM\_F](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/adm_f/32/19808_2.png) [@ADM\_F](https://forum.makecode.com/u/ADM_F)\
**Post date:** [October 11, 2026, 9:57pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/5 "2026-10-11T21:57:45Z")

</div>

Just this once

> **[ladybug ADM\_F Fixin](https://arcade.makecode.com/S50187-26632-68864-95174)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Ive fixed the Exit door Code

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/9/b9fcbc7eb35a4efa53578416a899980a2a6efd3a.png)

We only need to check if every “button” is gone whenever we push a block so i placed this at the bottom of that function

this code reads:  
if there are no “buttons” left (a length of zero total spaces with buttons)  
then replace all locked doors with the opened ones

i also replaced the 4 diffrent doors with just this one lock as ive never liked repeating similar code just for visuals  
you _can_ just copy this again 3 times for the other doors but im not doing that (keep the for element inside the same boolean you dont need to copy that)

ive also compacted the level select

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/f/6fc896df58bf06fa3577b6aaed5773830da432f5.png)

insted of copy and pasting the same template with diffrent values we can just refrence the current value we selected and offset it by that  
I always found it fun that settings are strings

converting intagers and floats to strings and vise versa is quite useful

I changed how levels are setup aswell

Firstly on the tilemap side

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/7/a7e9ae41601b08404c4e85658fba47309f7bda40.png)

ive added a ladybug tile that the player will start on its a lot easier in my opinion then hardcoding it each time

as for setting up new levels. . .

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/9/89be349e76725d00bf11e1bf09a50e6c457701a5.png)

it may seem like alot but lets break it down

We start by starting O:  
then because we were able to enter the level lets unlock it with a setting  
after that we need to set the tilemap  
we can achive this with you guessed it ARRAYS  
Please learn em ive made a topic about it in the past

> [@Learning the advanced tab in Makecode Arcade](https://forum.makecode.com/t/learning-the-advanced-tab-in-makecode-arcade/34163):
>
> Hello Fish here, I’m here to talk about the advanced tab in Makecode! while you can code some cool stuff without it using it can take your games to another level (mostly Functions and arrays) this isn’t meant to be a end all be all for everything here but more so a starters guide to using these blocks play_button Arraysplay_button Functionsplay_button Images and Animationsplay_button Text and Console In short arrays are AWESOME and if you didn’t know how to use them i hope you do now it can be so useful to keep info i…

after that we need to set the background color to what we want for the area we are in  
and finaly place our player on our starting point

ive also created some Comments inside the Game to explain further

---

<div class="post-metadata">

**Author:** ![ADM\_F](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/adm_f/32/19808_2.png) [@ADM\_F](https://forum.makecode.com/u/ADM_F)\
**Post date:** [October 11, 2026, 9:58pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/6 "2026-10-11T21:58:09Z")

</div>

i may have used the wrong version of the game for my updates and if so  
Sorry!

you should be able to stich them together but if there is any takeaway

arrays are the best thing since sliced bread  
learn em use em and you can take any amount of coding know how you have and take it way further

---

<div class="post-metadata">

**Author:** ![PizzaBoi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pizzaboi/32/35875_2.png) [@PizzaBoi](https://forum.makecode.com/u/PizzaBoi)\
**Post date:** [October 13, 2026, 9:46pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/7 "2026-10-13T21:46:51Z")

</div>

thanks! but when i put the ball on the button and move it again then the button disappears! can you please try to fix that? and so it works for other tiles too?

---

<div class="post-metadata">

**Author:** ![ADM\_F](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/adm_f/32/19808_2.png) [@ADM\_F](https://forum.makecode.com/u/ADM_F)\
**Post date:** [October 15, 2026, 8:24pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/8 "2026-10-15T20:24:13Z")

</div>

It Disappears because you are using tiles as your “boxes” and i believe i outlined that in a comment

I would _ **GREATLY** _ recommend using sprites instead of tiles as it would be way easier then trying to make tiles work for everything.

While forcing sprites to act as walls is pretty annoying to start it is very useful in more complicated puzzles.

Lastly  
I believe in your coding ability to solve that yourself!

---

<div class="post-metadata">

**Author:** ![PizzaBoi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pizzaboi/32/35875_2.png) [@PizzaBoi](https://forum.makecode.com/u/PizzaBoi)\
**Post date:** [October 15, 2026, 8:31pm UTC](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349/9 "2026-10-15T20:31:23Z")

</div>

Thanks ill try but i think i dont have the the ability to do it
