# 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:** 1\
**Showing post:** 5

<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

---

_[View the full topic](https://forum.makecode.com/t/how-a-blue-ladybug-earns-world-domination-devlog/46349)._
