Use WASD or arrow keys to move. But be careful, when you move, you keep moving until you hit a wall or spikes. There's no stopping! If you run directly into a spike, you get sent back to the current level's spawn point. There are only three levels at the moment, but I'm working on more.
--- CREDITS --- I got some inspiration from the mobile app Tomb of the Mask, by Playgendary, but all scripts and textures are by me. --- EXPLANATION --- This part explains how the project works. This project uses a list-based mapping system, and there are clones of walls and spikes positioned all around the map. In a clone's script, it checks, based on its position and the current level, what it should look like, by looking at the mapData list. When the player is moving, it checks the map tile in the direction its moving, and if its clear, moves in that direction. To form the "trail", every time the player moves, a part of the trail is made, a clone. This clone then turns in the direction of the player, and slowly gets smaller, creating a trail effect. Progressing through levels just simply checks if you are at the end of current level, and if so changes the level and tells the "trail" to start again at the spawn point of the new level. For further detail, click on the "See inside" button. This will take you to the inside of the project, and tell you how I made it. There are some comments in there to help understand what's going on.