Beginner C++ Game Programming Tutorial 1

From Chilipedia
Jump to: navigation, search

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.

See also