Arcade-overworld extension

Hey folks!

One question I get a lot on these forums is how to make it so that your character can move between adjacent tilemaps. This is actually tricky to do properly in arcade, so I thought I’d make an extension to make it easier (and add a few fancy features while I’m at it). Presenting: riknoll/arcade-overworld!

overworld-demo

This extension is for making games that consist of a bunch of interconnected tilemaps in a grid, much like in the classic 2D Zelda games. You simply create a double array of tilemaps, set the player sprite, and arcade-overworld handles the rest!

As shown in the demo GIF above, you can also animate the transitions between tilemaps. Currently you can use either a scrolling transition or fading the screen in/out, but I might add more later!

For sample code, details on how the extension works, and more information, check out the link below:

Also, please note that the “set overworld” block is currently a little buggy in the toolbox. This is due to a bug in Arcade and will be fixed in the next release! For now, you need to drag the arguments into the overworld array from the “Shadows” section of the toolbox flyout.

Let me know if you have any feedback or questions!

27 Likes

I don’t think overworld would fit for this extension as a name.


Oh no! You have to rely on a Wikipedia page to get your point across!

(What I said above was a joke)

Anyway

I thought of Minecraft when I heard that term, but I guess this fits too.

Cool extension though.

5 Likes

@RedSprite https://en.wikipedia.org/wiki/Overworld

4 Likes

could you post a demo of it @richard

3 Likes

Can you please explain to us how each block works?

2 Likes

Wow this is a very useful extension, thanks! :smiley:

1 Like

The Legend Of Zelda: Makecode is now possible

1 Like

FLORR IO 2023 is possible now :slight_smile:

1 Like

If I made a top down goat miner 3 using this extension would you play it?

1 Like

how do I fix the black screen during the transition

@MeatballDev please share your code

just pushed an update to fix this issue! here is your project with the fixed version: https://makecode.com/_FY1ah46FCemR

new version also added help docs for all of the blocks, just right click on the block and select “help”

also added a new block that lets you set the z-index where the scroll animation happens. useful if you have some HUD that you want to not be affected by the scroll!

2 Likes

The link is blocked for me, will It be a listed extension in the actual site?

I would

1 Like

Wow, this is amazing, I made a weird system for this before but it had no transition. Thanks! I hope Unsigned Arduino adds this to awesome arcade.

1 Like

@Danny_Devention you should still be able to add it on the site if you paste it into the search box in the extensions page. i do plan to make this an official microsoft extension at some point but i want people to try it out first and give feedback (and also use it in some stream games)

1 Like

for some reason when I use edit one of the 3 all three in the column change to that one tilemap so please fix that glitch

1 Like

I have a question, Will My game lag if I connect a ton of tilemaps? so basically, If I have 50 maps will it affect the performance?

I don’t think so since they are being loaded at the same time so no

1 Like