Log In  

Cart #classic_racer-2 | 2022-06-24 | Code ▽ | Embed ▽ | No License
3
Cart #classic_racer-1 | 2022-06-23 | Code ▽ | Embed ▽ | No License
3

This is my first game with the pico8. I gotta say I am loving it! After my day to day job this puts the fun back into programming!

I used to play this little racing game on a 10 in 1 handheld device. Seemed simple enough to make. So after doing the nerdy teachers fruit catcher tutorial I used their "engine" to make this little game. It is definitely not optimized but it's working!

To play, simply press left or right to move the car. It's instantaneous like the original. Unlike the original there is no speed cap, so get your reflexes ready!

My high score is only 392, and only because I'd get into a rhythm and steer right into a car! Try and beat my score?

Updated to include bonus point stars! They only appear after level 10. Will you ignore them? Or go for gold!

P#113552 2022-06-23 22:08 ( Edited 2022-06-24 23:30)

:: dw817

Good, @CamdyCorn, but I would not have the cars just disappear at the bottom. You can see at the top they appear off-screen and then on-screen.

Suggest when they reach the bottom they do not vanish but you still get one point with the audio as they are still on the screen and at the bottom yet still slide off-screen just as they slid on-screen. Gold star work nonetheless !

P#113557 2022-06-23 23:47 ( Edited 2022-06-23 23:49)

I agree @dw817, the cars disappearing was a limit of the fruit catcher "engine". I tried for a solution but ultimately just kept it. I'm glad you liked my game otherwise!

P#113563 2022-06-24 01:07
:: dw817
1

Since you tried for a solution and could not find one, @CamdyCorn. Here is my code that does it. Note I created a new element in your FRUITS array (which are your cars).

See what you think ! :)

Cart #classic_racer_mod-0 | 2022-06-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#113564 2022-06-24 01:56

Hey cool! Thanks @dw817, that actually helps me understand that whole fruit "magic" going on. If I update this game would you mind if I implemented that?

P#113566 2022-06-24 02:15 ( Edited 2022-06-24 02:21)
:: dw817

Absolutely, @CamdyCorn. Glad to help. :) You might even visually flash the car as it gains a single point. You have many programming options in Pico-8 regarding the palette accessed via RGB().

If you're not sure how to do that, I can write that as well in demonstration.

Ah, my top score is 142.

P#113568 2022-06-24 02:25 ( Edited 2022-06-24 03:48)
1

Nice balance. By level 20 I thought I was at the limit of my reflexes, but I survived until level 31. I'm not sure how. By this point the background stripes were "strobing" so they almost appeared stationary...

P#113575 2022-06-24 10:36

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-08-12 06:16:32 | 0.033s | Q:31