Difference between revisions of "Beginner C++ Game Programming Tutorial 8"

From Chilipedia
Jump to: navigation, search
(Homework)
(Downloads)
Line 25: Line 25:
 
* [http://www.planetchili.net/downloads/Chili%20DirectX%20Framework.zip Framework Download]
 
* [http://www.planetchili.net/downloads/Chili%20DirectX%20Framework.zip Framework Download]
 
* [http://www.planetchili.net/downloads/T8-Goodies.zip PutPixel Sprites]
 
* [http://www.planetchili.net/downloads/T8-Goodies.zip PutPixel Sprites]
 +
* [https://wiki.planetchili.net/ Tutorial 3 Code] (WORK IN PROGRESS)
 +
* [https://wiki.planetchili.net/ Tutorial 3 Homework Solution Code] (WORK IN PROGRESS)
  
 
== See also ==
 
== See also ==

Revision as of 14:55, 25 September 2019

We make our first game. So goddamn sweet. Not shitty at all.

Concepts Taught

  • += and -= operators
  • Writing code in a constructor
  • #include <header>
  • Using std::mt19973 and std::uniform_int_distribution<int> to generate random numbers

Video Timestamp Index

Coming soon!

Homework

Make the poos move around the screen and rebound when they hit the edges.

The solution is given in this video.

Image to PutPixel Tools

Downloads

See also