Create a Fun Block Game With MakeCode Arcade
by rocky rippy in Living > Video Games
1326 Views, 4 Favorites, 0 Comments
Create a Fun Block Game With MakeCode Arcade
![introduction.png](/proxy/?url=https://content.instructables.com/FUU/R550/KJVFOGS5/FUUR550KJVFOGS5.png&filename=introduction.png)
Hi guys,
I'm going to teach you how to make a epic block game that's really simple to create. Now, I'm only a year 4 student and this is my first instructables challenge ever. Even so, I have the hobby of creating block games and I hope you enjoy it. I wish everyone good luck in the competition.
Supplies
You will need another device (phone, tablet, laptop) The final thing you need is commitment. Good luck!
Open Up MakeCode
![instructables p1.png](/proxy/?url=https://content.instructables.com/F3F/YYY1/KIBPJMU8/F3FYYY1KIBPJMU8.png&filename=instructables p1.png)
You can press on tutorials if you wan to learn how to make different games after. You should be on makecode arcade after you type in makecode arcade and click microsoft MakeCode arcade or click this link. You will need to press on new project and you should have a page that looks like this...
Get Some Blocks
![instructables p2.png](/proxy/?url=https://content.instructables.com/F3B/HPD7/KIBPJNEX/F3BHPD7KIBPJNEX.png&filename=instructables p2.png)
![insructables p3.png](/proxy/?url=https://content.instructables.com/FZV/58S3/KIBPJNFT/FZV58S3KIBPJNFT.png&filename=insructables p3.png)
For your first block you will drag a mysprite onto the start and press on the blank box after mysprite and fill it in with either one of your character designs or press gallery to choose someone else's design.
Set the Background
![instructables p4.png](/proxy/?url=https://content.instructables.com/FGI/U2VM/KIBPJNKY/FGIU2VMKIBPJNKY.png&filename=instructables p4.png)
Next, you'll need to go onto scene and scroll down until you see set tilemap to.select that and put it under your sprite and again click on the blank box.
Design Tile Map
![instuctbles p5.png](/proxy/?url=https://content.instructables.com/FFJ/P7DB/KJ8KMC3R/FFJP7DBKJ8KMC3R.png&filename=instuctbles p5.png)
Now you must design the tile map a little bit like mine on the picture. The dungeon tile is the walls and you will need to find the wall tool. If your computer mouse is on it it will say, 'draw walls'. click on that and go over the dungeon tiles and the tiles will turn transparent red. The forest tile is the floor. The brick tile is tiles that make you lose and the crowd tile is the winning tile.
Control Your Player
![instructables p6.png](/proxy/?url=https://content.instructables.com/FI3/2HXA/KJBFHZKU/FI32HXAKJBFHZKU.png&filename=instructables p6.png)
You must now click on the button that says 'controller' and bring out the block that says 'control my sprite with buttons and click the plus.
Make the Camera Move
![instructables p7.png](/proxy/?url=https://content.instructables.com/FN6/CNKU/KJBFI0IZ/FN6CNKUKJBFI0IZ.png&filename=instructables p7.png)
You will again click on scene and scroll down until you see a block that says 'camera follow sprite my sprite' to make the camera follow you around the tile map.
Start Making Your Win and Lose Tiles
![instructables p9.png](/proxy/?url=https://content.instructables.com/FJ6/I689/KJBFJ4MP/FJ6I689KJBFJ4MP.png&filename=instructables p9.png)
![instructables p8.png](/proxy/?url=https://content.instructables.com/F36/BZQN/KJBFJ4MG/F36BZQNKJBFJ4MG.png&filename=instructables p8.png)
Go on 'scene' another time and scroll down until you see an event called 'a sprite kind of player overlaps (there is a blank square) at location'. (You will need 2 of the events) Click on the blank square on one of the events and select the wall tile. Turn to the other event, click on the blank square and select the crowd tile.
Win or Lose
![instructables p10.png](/proxy/?url=https://content.instructables.com/FXL/4PRE/KJBFJ4YG/FXL4PREKJBFJ4YG.png&filename=instructables p10.png)
For your step you'll need to click on a purple button called 'game' and collect the block called 'game over lose' and put it in the event with the wall tile. Get another one of the game bocks, put it in the event with the crowd tile and click the lose so it becomes 'win'.
The Final Step
![instructables p11.png](/proxy/?url=https://content.instructables.com/FN1/573F/KJBFJ57B/FN1573FKJBFJ57B.png&filename=instructables p11.png)
For you final step you'll have to go on scene one last time to get 'place mysprite on top of random (a blank square) click on the blank square and select the forest tile with no grass to complete your game.
Name Your Game
![instructables p12.png](/proxy/?url=https://content.instructables.com/FJI/FEIG/KJBFJ5B2/FJIFEIGKJBFJ5B2.png&filename=instructables p12.png)
just think of a name for your game and mine is 'difficulty'.