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

From Chilipedia
Jump to: navigation, search
Line 8: Line 8:
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==
 
Coming soon!
 
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 shape by holding the control key, and change its color by holding the shift key. The solution is given at the beginning of Tutorial 4.
  
 
== See also ==
 
== See also ==
 
* [[Beginner C++ Game Programming Tutorial 4|Next in series (Tutorial 4)]]
 
* [[Beginner C++ Game Programming Tutorial 4|Next in series (Tutorial 4)]]
 
* [[Beginner C++ Game Programming Series]]
 
* [[Beginner C++ Game Programming Series]]

Revision as of 15:06, 12 August 2016

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 shape by holding the control key, and change its color by holding the shift key. The solution is given at the beginning of Tutorial 4.

See also