Keypad Racer
The racetrack loops: it is neverending.
A turn-based racing game; recreation of a pen-and-paper game I enjoyed back at school.
It supports multiple players sharing a keyboard. Bring your friends and have fun!
Install:
python -m pip install -r requirements.txt
Run:
python game.py
There's a tutorial, but it doesn't tell you about the title screen:
- When holding a button with the mouse, press a key to change the keyboard mapping.
- Press a player key to pick a color.
---
Issues
Linux: ModernGL for Python 3.9 doesn't have published wheels, so pip install might not work for you. You can:
- Use Python 3.8, or
- Ensure Python headers installed (a package like python3.9-devel or python3-dev), or
- Download artifacts from: https://github.com/moderngl/moderngl/actions/runs/1272830971#artifacts and install the file with `pip install moderngl-5.6.4-cp39-cp39-manylinux_2_24_x86_64.whl `
github.com/encukou/keypad-racer
Awards
Scores
Ratings (show detail)
Overall: 3.2
Fun: 3.3
Production: 3.3
Innovation: 3
Respondents: 3
Files
File | Uploader | Date |
---|---|---|
keypad_racer_R4LklzY.zip
— final
Clarified README |
encukou | 2021/09/26 17:19 |
shot.png
3-player game |
encukou | 2021/09/26 00:41 |
screenshot.png
Gameplay |
encukou | 2021/09/25 22:56 |
screen.png
Title screen |
encukou | 2021/09/25 22:55 |
Diary Entries
Keypad Racer
I heard it's good to write a diary entry, so people can add comments (when something goes wrong, for example)... But let me make it a diary.
I felt the chosen theme was too generic, and I didn't come up with a game idea to match the theme. So I made a list of games I wanted to make and picked one that felt most appropriate.
Sunday & Monday, I learned a lot about GLSL shaders. Mostly I learned from mistakes, but I did manage to draw some nice-looking lines.
Tuesday & Wednesday, I made a level editor – for a game that, in the end, only has one level. I learned a lot about Bézier curves in the process.
Tuesday & Wednesday, I made a level editor – for a game that, in the end, only has one level. I learned a lot about Bézier curves in the process.
Thursday, I implemented split-screen (since it felt that adding it to a finished game would be hard), and started on a tutorial. For this I learned about signed distance field fonts. (I didn't really implement this correctly, and I used a bad font for it, but who's counting.)
Friday (wow, Friday already?) I added collision detection and lots of animations.
Saturday I finished the tutorial. And I added a title screen, sound and an info display, so those are all quite rushed. I didn't manage to add music before the cutoff.
Overall, I learned a lot!