Beginner C++ Game Programming Tutorial 3

From Chilipedia
Revision as of 19:19, 14 August 2016 by Chili (Talk | contribs)

Jump to: navigation, search

We learn how to control the flow of execution using if statements, we learn about a new variable type called bool, and we learn how to use the Chili Framework to get keyboard input. All this, plus the dankest memes from 2007.

Concepts Taught

  • if statement
  • bool variable type
  • Keyboard (Chili Framework-specific concept)

Video Timestamp Index

Coming soon!

Homework

Using the concepts taught so far, create a program that allows you to position the reticle in one of 9 positions (regular 3x3 grid) by holding the arrow keys, change its color by holding the control key, and change its shape by holding the shift key. The solution is given at the beginning of Tutorial 4.

See also