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

From Chilipedia
Jump to: navigation, search
(Note)
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://wiki.planetchili.net/ Tutorial 1 Code] (WORK IN PROGRESS)
 +
* [https://wiki.planetchili.net/ Tutorial 1 Homework Code] (WORK IN PROGRESS)
  
 
== 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]]

Revision as of 19:19, 22 September 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