Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bvssvni opened this issue Jun 6, 2015 · 5 comments
Open

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

bvssvni opened this issue Jun 6, 2015 · 5 comments

Comments

@bvssvni
Copy link
Member

bvssvni commented Jun 6, 2015

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
Copy link
Member Author

bvssvni commented Jul 31, 2015

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

@bvssvni bvssvni added the draft label Jul 31, 2015
@bvssvni
Copy link
Member Author

bvssvni commented Jul 31, 2015

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

@Potpourri
Copy link
Member

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

@bvssvni
Copy link
Member Author

bvssvni commented Aug 1, 2015

@Potpourri Good point.

@sunnystormy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants