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

From Chilipedia
Jump to: navigation, search
(Download Links)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
== Note ==
 
== Note ==
This is not the first tutorial in the series (programmers start counting from 0 ;)). Get the first tutorial is this: [[Beginner C++ Game Programming Tutorial 0]]
+
This is not the first tutorial in the series (programmers start counting from 0 ;)). Get the first tutorial here: [[Beginner C++ Game Programming Tutorial 0]]
  
 
== Concepts Taught ==
 
== Concepts Taught ==
Line 22: Line 22:
 
== Homework ==
 
== Homework ==
 
The homework for this lesson is to modify the code to move the pixel image to the bottom right corner of the screen. The solution will be given at the beginning of the next tutorial.
 
The homework for this lesson is to modify the code to move the pixel image to the bottom right corner of the screen. The solution will be given at the beginning of the next tutorial.
 +
 +
== Download Links ==
 +
* [https://planetchili.net/downloads/apworks/1/Beginner%20Tutorial%201%20Code.zip Tutorial 1 Code]
 +
* [https://planetchili.net/downloads/apworks/1/Beginner%20Tutorial%201%20HW%20Code.zip Tutorial 1 Homework Solution Code]
  
 
== See also ==
 
== See also ==
 
* [[Beginner C++ Game Programming Tutorial 2|Next in series (Tutorial 2)]]
 
* [[Beginner C++ Game Programming Tutorial 2|Next in series (Tutorial 2)]]
 
* [[Beginner C++ Game Programming Series]]
 
* [[Beginner C++ Game Programming Series]]

Latest revision as of 12:49, 12 October 2019

This tutorial mainly deals with how to call a function in C++ and basic syntax rules. We also talk about pixels, intellisense and other dumb bullshit.

Note

This is not the first tutorial in the series (programmers start counting from 0 ;)). Get the first tutorial here: Beginner C++ Game Programming Tutorial 0

Concepts Taught

  • Function calls
  • Basic C++ syntax

Video Timestamp Index

  • Intro 0:00
  • Pixels and coordinates 0:24
  • PutPixel() parameter meanings 2:11
  • Drawing outside of the screen and escaping debugger limbo 4:00
  • Function call concept and syntax 6:16
  • Intellisense and Autocompletion 9:10
  • Fixing syntax errors 11:37
  • C++ doesn't care about whitespace 14:34
  • Visualizing pixel image from code challenge 15:56
  • Changing image position challenge (homework) 16:37

Homework

The homework for this lesson is to modify the code to move the pixel image to the bottom right corner of the screen. The solution will be given at the beginning of the next tutorial.

Download Links

See also