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

From Chilipedia
Jump to: navigation, search
Line 2: Line 2:
  
 
== Concepts Taught ==
 
== Concepts Taught ==
* Pixel coordinates and layout
+
* Function calls
* PutPixel() parameters
+
* Basic syntax
  
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==
 
* Intro [https://youtu.be/PwuIEMUFUnQ 0:00]
 
* Intro [https://youtu.be/PwuIEMUFUnQ 0:00]
* Why C++ [https://youtu.be/PwuIEMUFUnQ?t=0m55s 0:55]
+
* Pixels and coordinates
* Overview of entire curriculum [https://youtu.be/PwuIEMUFUnQ?t=1m57s 1:57]
+
* PutPixel() parameter meanings
* Required software, hardware, and knowledge [https://youtu.be/PwuIEMUFUnQ?t=2m44s 2:44]
+
* Drawing outside of the screen and escaping debugger limbo
* Setup of Visual Studio and [[Chili Framework|the Framework]] [https://youtu.be/PwuIEMUFUnQ?t=3m26s 3:26]
+
* Function calls
* Don't freak out about the Framework [https://youtu.be/PwuIEMUFUnQ?t=4m22s 6:05]
+
* Intellisense and Autocompletion
* Talk about the solution folder and source files [https://youtu.be/PwuIEMUFUnQ?t=7m52s 7:52]
+
* Fixing syntax errors
* Configuration of the Visual Studio UI [https://youtu.be/PwuIEMUFUnQ?t=8m57s 8:57]
+
* Visualizing pixel image challenge
* First compile and run [https://youtu.be/PwuIEMUFUnQ?t=9m52s 9:52]
+
* Changing image position challenge (homework)
* Yo where the .exe at tho? [https://youtu.be/PwuIEMUFUnQ?t=11m13s 11:13]
+
 
* First line of code and challenge (Homework) [https://youtu.be/PwuIEMUFUnQ?t=12m07s 12:07]
+
 
* How to interact with Chili / get programming help on the [[Planet Chili Forums|Forum]] [https://youtu.be/PwuIEMUFUnQ?t=14m27s 14:27]
+
  
 
== Homework ==
 
== Homework ==

Revision as of 14:17, 1 August 2016

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.

Concepts Taught

  • Function calls
  • Basic syntax

Video Timestamp Index

  • Intro 0:00
  • Pixels and coordinates
  • PutPixel() parameter meanings
  • Drawing outside of the screen and escaping debugger limbo
  • Function calls
  • Intellisense and Autocompletion
  • Fixing syntax errors
  • Visualizing pixel image challenge
  • Changing image position challenge (homework)


Homework

The homework for this lesson is to experiment with the PutPixel() function and deduce the meanings of the five function parameters. The solution to this challenge is given at the beginning of the next tutorial.

Download Links

See also