Piston-Tutorials icon indicating copy to clipboard operation
Piston-Tutorials copied to clipboard

An in-depth tutorial for creating a 3D game with Piston

Open bvssvni opened this issue 10 years ago • 5 comments

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?

bvssvni avatar Jun 06 '15 19:06 bvssvni

Might be fun to write a lousy flat color 3D engine on top of piston-graphics. This could be great for prototyping.

bvssvni avatar Jul 31 '15 20:07 bvssvni

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

bvssvni avatar Jul 31 '15 20:07 bvssvni

What about sound effects? It is also interesting add to tutorial.

Potpourri avatar Jul 31 '15 21:07 Potpourri

@Potpourri Good point.

bvssvni avatar Aug 01 '15 15:08 bvssvni

Any updates on this? I'd love to see a 3D tutorial that demonstrated asset loading for 3D models, music, sound-effects, etc.

sunnystormy avatar Jul 07 '16 04:07 sunnystormy