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

From Chilipedia
Jump to: navigation, search
(Created page with "This tutorial is all about making sweet ass boxes (variables) to jam your hot numbers into and using operators (addition and subtraction) to add and subtract shit. == Concept...")
(No difference)

Revision as of 23:32, 4 August 2016

This tutorial is all about making sweet ass boxes (variables) to jam your hot numbers into and using operators (addition and subtraction) to add and subtract shit.

Concepts Taught

  • Commenting (adding comments to) code / commenting out lines of code
  • Variables (specifically int)
  • Operators (specifically addition + and subtraction -)

Video Timestamp Index

To be completed when Chili has some time ;o

Homework

The homework for this lesson is to modify the reticle drawing code so that you can change the position of the reticle by only changing two numbers (literal constants) in the code. Make sure you uncomment the lines that were commented, or you'll get a pretty shitty excuse for a reticle. The solution will be given in the beginning of the next tutorial.

See also