I can’t interact with the blocks in my game

Hi everyone, I’m working on a school project to make an arcade game.

I went into Javascript to try and add something, and when I pressed blocks again, I got this weird message about insufficient code details. I thought that the extra details would just not transfer onto block code, but when I got to block code, all of the icons for tiles, tilemaps, sprites and backgrounds were gone. Instead, they were replaced with JavaScript code for each of them. And when I went in to add the assets again, there were no assets and I couldn’t move any of my blocks around, interact with them, or even copy them onto a different copy of the game.

Does anyone know if this can be fixed, and how I might do so? This is my first coding project and I’m pretty worried I’ve just lost alot of work.

Here is a link to my code - https://arcade.makecode.com/S34457-93112-08212-21331

Thanks in advance.

2 Likes

strange. this has happened to me before. was your code very large? or am I a bit late on this post?

Looks like all your assets got corrupted or something… I’m kinda scared to mess with your project because I remember seeing something about one project effecting others, but I’ll do it anyways. It looks like all your assets lost their file names, and some, though not all, lost their images… this is super weird. Unfortunately, I can’t find your missing assets in the files anywhere, so they are most definitely completely gone. But! Here is a chance for a small bug fix!

@richard , when I open this project in the editor and click on the tilemap block as if I intended to edit it, instead of entering editing mode, it grabs the tilemap.
This isn’t really a problem because… well… there’s no tilemap file linked to it, so I suppose it makes sense.
The bug I would like fixed, however, is whatever is preventing me from putting down this glitched tilemap block (not really the block. What I’m grabbing is the tilemap pill-shaped thing inside the block).
When I click on it, it attaches to my cursor like a normal block, but I can’t release it or even delete it. If I exit the project and open another one, it seems that my cursor keeps this glitched state and it prevents me from clicking any of the blocks in the project. It even shows the red trash can when I hover over the tabs area, but nothing happens when I click. Closing Makecode and opening it again fixes this issue.
This seems like it might be an easy fix (easier than fixing the asset deletion problem at least!) I’m going to see if I can replicate this bug on my home computer and if it works I will upload a screen recording of the problem.

Thank you so much!