Story:
You are a square box who is stuck in a two-dimensional level. You realize you have a special ability. You can travel through both directions of time.
Generally, people travel forwards in time. If you look at a clock you would see its hands move clockwise. Imagine you could go backwards in time. The power you have is like a time machine which takes you through time to a place. You could stare at a clock and watch its hands move anti-clockwise. This is the power you are gifted with.
Controls:
Use the arrow keys to move.
Objectives:
Collect as many coins as you can in the 40 second time frame you are given. You can invert the direction through which you travel through time in this time frame and get more time. This is done by collecting the blue powerups. This also allows you to collect coins which were collected in the future but BEWARE, interacting with your past self will end the game.
Credits:
I would like to thank
@zekrom1407 for the publishing a text engine
https://scratch.mit.edu/projects/301649823/ which I could use for this project.
Code Notes:
If you look at the source code there are some seemingly weird choices I have made. Some of these are:
- Using a list to convert letters into numbers for the leaderboard. This is used (over the variable with all letters) because of its speed.
- Having the message "threaded-inversion-filter" broadcasted to fill all the inversions lists. This is done because otherwise the loop would have to run 400 times which is slow on scratch. In the method I used, there are 20 such loops and each loop runs 20 times. This ends up having 400 loops run but at 1/20th of the speed.
Notes:
This game is easy to make once you understand the concept of time reversal. I encourage you to remix this project. You could make new levels, better artwork or even different game mechanics.
I hope you have as much fun playing this game as I had making it.
- Keshuook