I am teachin gabout historical video games and wanted students to experience Death Race
https://arcade.makecode.com/S64151-32101-14131-13168
How can I make the tombstones into walls so it creates a maze as you are playing like the original game?
3 Likes
@ArboTeach you’ll want to use a tilemap. Given the size of your sprites, an 8x8 tilemap would probably work better (add the arcade-tile-util extension to your project for that).
Then, you can write some code like this:
The first line there is so that the tombstone gets aligned with the tile grid on the map.
The second line turns it into a wall
1 Like
Thanks I assumed a time nap was necessary but want sure how to pace the wall at the exact location of the collision
the goblins now leave the screen
https://arcade.makecode.com/S26446-69107-32243-40500