Log In  


Cart #classic_racer-2 | 2022-06-24 | Code ▽ | Embed ▽ | No License
4

Cart #classic_racer-1 | 2022-06-23 | Code ▽ | Embed ▽ | No License
4


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!

4


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 !


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!


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


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?


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.


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...


I beat my top score and got a 409!


Ooh I love it! Reminds me of the Brick Game 9999 in 1 stuff (you'll know what I mean if you grew up in the 90s :D )
Do you have more stuff from that? Like the battle tanks game and the brickbreaker, tetris and snake games? Or any other reco from the Pico8 library?



[Please log in to post a comment]