An in-depth tutorial for creating a 3D game with Piston
I remember an old motorbike 3D game called "No Second Price" https://www.youtube.com/watch?v=Z8dlKZQy0rw
This has all the ingredients of a 3D game, while still being simple conceptually.
Would it be an idea to remake a version of this game as an in-depth tutorial?
Might be fun to write a lousy flat color 3D engine on top of piston-graphics. This could be great for prototyping.
Some planning:
- [ ] Divide tutorial into chapters and provide a working code for each chapter
- [ ] Render background first, then user painter's algorithm or BSP tree on the objects
- [ ] Use the opengex library to load assets from Blender (to easy create new objects)
- [ ] Camera projection, first person
- [ ] Rotate motor bikes around an axis to steer
- [ ] Use rays for collision detection
- [ ] Generate tracks using the interpolation library
- [ ] Custom track format (using piston_meta)
- [ ] Lap counter
- [ ] Buildings
- [ ] Trees
- [ ] Bridges
- [ ] AI (make opponents that drive around the track)
- [ ] Map (show track with players as dots)
- [ ] Dashboard displaying speed, RPM and damage
- [ ] Custom level format (using piston_meta)
- [ ] Sound effects
What about sound effects? It is also interesting add to tutorial.
@Potpourri Good point.
Any updates on this? I'd love to see a 3D tutorial that demonstrated asset loading for 3D models, music, sound-effects, etc.