I’ve been developing a game in makecode arcade for quite some time now, and recently hit a major roadblock for the game because of a single bug ruining the level design’s functionality: The “Place (Sprite) on top of random (Tile)” block is not working.
In my game, i use the block to teleport the player character to it’s spawn point at the beginning of a section(tilemap), but ever since i overhauled the level loading function, it stopped working entirely.
I would share a link to the original project, however i don’t wanna spoil my game in a help thread so i painted over the actual art to share it: https://makecode.com/_i4dMfcJMoLk7
To notice the bug, You need to take the following routes:
- Works as intended;
- Works as intended, though i think that’s just because 1’s exit coincides with 2’s entrance;
- If the last object you went to was the right one you appear at the wall;
- If the last object you went to was the right one you appear at the right part with the coin and can’t move on due to the camera;
- Depending where you went last you either appear on top of the clouds or by the bottom wall, neither intended behaviors (You’re supposed to show up at the T level entrance)
As for if it’s an extension that’s causing this, the game uses so many it could be any of them so i’ll just list all of them:
Timers;
Color Fading;
pxt-button-combos;
arcade-tile-util;
arcade-text;
character-animations;
arcade-premium-life;
ColorBlock;
pxt-sound-effects;
arcade-mini-menu.
Also for some reason i have both a “Tile Util” and “Tilemaps” Tab, so i probably missed one.
Does anyone have an idea what could be causing this?