Copy tilemap from game to game

I have 2 students creating code on their own Chromebooks. Student 1 creating level 1 of a game and student 2 creating level 2 of same game on their own Chromebooks. Then they are copying the JavaScript lines of code from level 2 and pasting them into the Level 1 JavaScript lines of code. This has worked great for most students but today a student mentioned to me that the tilemap didn’t copy. I was afraid I’d run into this type of issue. Is there any way for students to copy and paste tilemaps from one Makecode Arcade game to another? The rest seems to copy just fine. Hoping someone can help! I can share links to both levels of this particular game if that will help tomorrow when I see them again in class.

3 Likes

I’m pretty sure this is possible using the sprite pack generator and/or extensions…but I wasn’t able to get it to work tonight in order to write down the steps.

Maybe @richard has a better answer?

4 Likes

If you go into the asset editor and go into the menu where you draw the tilemap, you can select it and use the copy shortcut! Then you can paste it into another game, but the problem is that that only works on the same computer.

3 Likes

You can hack that to work on someone else’s computer by pasting the result into a group doc and having the other person copy from there and paste it into their tile editor…but that’s tedious if they’ve created lots of custom tiles. Still, it’s better than nothing!

2 Likes

I got it to work! Thanks so much for your help and quick replies!
@KIKIvsIT and @randomuser

4 Likes

as @randomuser mentioned, copy + paste from within the tilemap editor is the right thing to do here! it should copy the tiles/walls/map all at once.

4 Likes

I dont understand. can some one make a video or something cuz i dont get it.

3 Likes

Welcome! I don’t really know how to make those kinds of videos, but I can try to explain in more detail:

  • Go to the project you want to get the tilemap from
  • Click on it to start editing it (This is where you would have your colors on the left and you could draw)
  • Use the selection tool to select the entire tilemap- I don’t really know what the selection tool button looks like, but there is only like 8 buttons so usually I just press them all until I find the selection one
  • Press “Control” (might be ‘ctrl’ on the keyboard" and the letter “C” at the same time to copy it
  • Go to the game you want to get the tilemap to
  • Make a new tilemap of the same size as the one you are copying
  • Go to edit that tilemap
  • Press “Control” and the letter “V” at the same time to paste it
    And… that should be it!
4 Likes

thanks so much!!!

3 Likes

Np, i’m glad it helped! :smiley:

2 Likes

when will this be a feature?

2 Likes

what else can this be done with?

2 Likes

It should work with images as well!

2 Likes

im able to die happy now.(i’m joking btw) can it also be done with music?