A simple racing game, arrow keys to change the car's direction.
The car cannot be stopped, like in Snake, and it explodes even if you slightly brush up against the wall.
You have to do 3 laps without crashing to win, post your times below!
If you find any bugs, then please let me know.
Changes in 1.1:
- Updated graphics slightly
- The number 3 on the lap indicator now turns green upon winning
- Added another row of one-way blocks to the finish line
Known issues for 1.1:
- Code is still a mess, 1.2 will likely prompt a full rewrite of the code if I ever make it
Known issues for 1.0:
- The number 3 on the lap indicator does not turn green when you finish the race
- You can reverse out of the finish line and go back onto it as long as you have not crossed onto the one-way blocks, and it still counts as a lap
This is surprisingly hard, but fun!
I’m not sure when it happened, but after a while I noticed it said my best time was 1029 seconds, and I hadn’t (and still haven’t) beat the game. I just took a quick look at the code and saw that the best time is set to the integer limit, then being divided by 30 when displayed. I’m guessing this is just a test thing you forgot to remove?
Edit: I guess this is actually just setting the time absurdly high if you haven’t beat the game yet. Maybe you could add some other way of telling if the person has beat the game? Or set it as a value externally and at first set it to a string that says “not completed” or something.
Also using the finish line bug I did it in 49 seconds, you could do a check to see if they have crossed over a one way block to count the next lap.
Good game, @tredI9100. Gold star work.
It is hard enough to complete one circuit let alone multiple. I would have an onboard timer that starts at zero and the object of the game is to make a single circuit in the minimal amount of time.
Optional to have other circuit tracks, perhaps some easier and harder than the current model.
This feels like the combination of Flappy Bird and Kerbal Space Program turned into a 2D racer, and I couldn't stop playing it until I got this. Gold star.
For players finding it impossible to even get around the first bend,
I still often wipe out on the first corner, but once I get around the first lap, it feels like I get in zone and can do no wrong... sometimes.
Also, neat use of the map tiles to include the version number and your avatar.
I found a feature like thing, idk if this a bug but if you spam direction then it gonna work faster (im about speed if what)
[Please log in to post a comment]