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...")
 
(Video Timestamp Index)
Line 7: Line 7:
  
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==
To be completed when Chili has some time ;o
+
* Intro [https://youtu.be/6VMq_2lH-Qo 0:00]
 +
* Homework Solution / Translation Transformation VapeNation [https://youtu.be/6VMq_2lH-Qo?t=0m24s 0:20]
 +
* Comments (of the non-YouTube variety) [https://youtu.be/6VMq_2lH-Qo?t=2m11s 2:36]
 +
* Variables (specifically int) [https://youtu.be/6VMq_2lH-Qo?t=4m00s 4:24]
 +
* constipation and const-correctness [https://youtu.be/6VMq_2lH-Qo?t=6m16s 9:22]
 +
* Rules for naming variables [https://youtu.be/6VMq_2lH-Qo?t=9m10s 10:13]
 +
* Operators (addition & subtraction) [https://youtu.be/6VMq_2lH-Qo?t=11m37s 13:55]
 +
* Homework assignment [https://youtu.be/6VMq_2lH-Qo?t=14m34s 17:05]
  
 
== Homework ==
 
== Homework ==

Revision as of 12:58, 5 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

  • Intro 0:00
  • Homework Solution / Translation Transformation VapeNation 0:20
  • Comments (of the non-YouTube variety) 2:36
  • Variables (specifically int) 4:24
  • constipation and const-correctness 9:22
  • Rules for naming variables 10:13
  • Operators (addition & subtraction) 13:55
  • Homework assignment 17:05

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