Difference between revisions of "Beginner C++ Game Programming Tutorial 2"
From Chilipedia
(→Video Timestamp Index) |
|||
Line 18: | Line 18: | ||
== Homework == | == 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. | 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. | ||
+ | |||
+ | == Download Links == | ||
+ | * [https://wiki.planetchili.net/ Tutorial 2 Code] (WORK IN PROGRESS) | ||
+ | * [https://wiki.planetchili.net/ Tutorial 2 Homework Code] (WORK IN PROGRESS) | ||
== See also == | == See also == | ||
* [[Beginner C++ Game Programming Tutorial 3|Next in series (Tutorial 3)]] | * [[Beginner C++ Game Programming Tutorial 3|Next in series (Tutorial 3)]] | ||
* [[Beginner C++ Game Programming Series]] | * [[Beginner C++ Game Programming Series]] |
Revision as of 19:20, 22 September 2019
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 -
const
-ipation andconst
-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.
Download Links
- Tutorial 2 Code (WORK IN PROGRESS)
- Tutorial 2 Homework Code (WORK IN PROGRESS)