Log In  

Cart #fidiyuzeme-2 | 2023-04-19 | Code ▽ | Embed ▽ | No License
10


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
P#121793 2022-12-04 04:39 ( Edited 2023-04-19 20:29)

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.

P#121794 2022-12-04 06:04 ( Edited 2022-12-04 06:09)

I think that having a "not completed" best time would be a nice feature, thanks for your suggestion! :)
As for the finish line bug, I do plan to fix that soon.

P#121798 2022-12-04 11:44
3

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.

P#121799 2022-12-04 14:51

I'll try implementing those soon, thanks for your support @dw817!

P#121800 2022-12-04 15:09
2

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,

You can, and often should, reverse your current movement. If you are travelling right, point left and bring yourself to a stop before going up and down.

But once you get the feel for it, it's faster to drift around corners where you let the momentum carry you in a curve. I'd dearly like to see a Tool-Assisted Speedrun of this game.

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.

P#121974 2022-12-07 10:56
1

Wow. I was convinced that passing over the one-way blocks also accelerated the car to the right, increasing the risk of crashing at the start of each new lap. But looking at the source, that seems to be a figment of my imagination.

P#121975 2022-12-07 11:14
1

Honestly laughed a lot while playing this. I love the ridiculous mechanics.

P#122578 2022-12-17 01:32

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)

P#123743 2023-01-05 15:43 ( Edited 2023-01-05 15:44)
2

Very good game @tredI9100! I even took the liberty of improving it a bit. The game now saves the best time in persistent data and I changed the structure of your code a bit, but overall, the game works the same.

It may not look like it, but I spent several hours on it.

Cart #screenracermod-6 | 2023-07-16 | Code ▽ | Embed ▽ | No License
2

hope you enjoy!

Use it as you'd like. And I'd like really like if you'd at least credit me.

P#131821 2023-07-10 23:51 ( Edited 2023-07-16 15:17)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 10:16:18 | 0.038s | Q:37