Beginner C++ Game Programming Tutorial 20

From Chilipedia
Revision as of 21:50, 8 February 2017 by Chili (Talk | contribs) (Homework)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a three-part tutorial in which we play with our balls. Or something. Anyways, we'll finally put all that vector bullshit to good work doing some physics-y type shit.

Main Concepts Taught

  • Delegating constructors (Part 1)
  • Range-based for loops (Part 2)
  • Semi-fixed (upper-bounded) time step (Part 3)

Notes

The tutorial info for the Sound system can be found here.

Video Timestamp Index

Tutorial 20 - Pt. 1
Tutorial 20 - Pt. 2
Tutorial 20 - Pt. 3

Homework

  • Make paddle rebound angle vary
  • Game over when hit bottom of screen
  • Adjust wall dimensions / paddle / size of bricks
  • Draw border to show walls
  • Implement lives system
  • Title screen / game over screen
  • Paddle sprite (not shown in solution video) / brick shading

Solution video: here

Downloads

See also