Difference between revisions of "Beginner C++ Game Programming Tutorial 8"
From Chilipedia
(→Concepts Taught) |
|||
Line 3: | Line 3: | ||
== Concepts Taught == | == Concepts Taught == | ||
* <code>+=</code> and <code>-=</code> operators | * <code>+=</code> and <code>-=</code> operators | ||
− | * | + | * Writing code in a constructor |
* <code>#include <header></code> | * <code>#include <header></code> | ||
* Using <code>std::mt19973</code> and <code>std::uniform_int_distribution<int></code> to generate random numbers | * Using <code>std::mt19973</code> and <code>std::uniform_int_distribution<int></code> to generate random numbers |
Revision as of 00:55, 10 September 2016
We make our first game. So goddamn sweet. Not shitty at all.
Contents
[hide]Concepts Taught
-
+=
and-=
operators - Writing code in a constructor
-
#include <header>
- Using
std::mt19973
andstd::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 a future video.
Image to PutPixel Tools
- fukbmp - a barebones tool by Chili
- Custom Sprites 1.5 - a nicer tool by LuX
- Tristans PutPixel Puker - another sexy tool by Tristan