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

From Chilipedia
Jump to: navigation, search
(See also)
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This tutorial introduces the [[Beginner C++ Game Programming Series]] and walks you through the setup required to follow along with Chili. It also explains who the series is intended for, the goals and outline of the series, and tips on how to succeed, but you can skip all that bullshit if you have crippling ADD.
+
This tutorial introduces the [[Beginner C++ Game Programming Series]] and walks you through the setup required to follow along with Chili. It also explains who the series is intended for, the goals and outline of the series, and tips on how to succeed, but you can skip all that bullshit if you have crippling ADD. For a detailed list of what is covered in Beginner, see [[Beginner C++ Game Programming Series#Topics Covered|this page]].
 +
 
 +
== <span style="color:#FF0000">IMPORTANT NOTE!</span> ==
 +
Since this video was recorded, Microsoft has released Visual Studio 2017 Community and Visual Studio 2019 Community. You can still download VS2015 and use it for the tutorials, and this might make things a little simpler (<u>2015 is actually a lot better for learning C++ at this point than the newer releases of Visual Studio</u>), but the new Visual Studio 2017 and Visual Studio 2019 can also be used in the tutorials. However, the installation processes for VS2017 and VS2019 are different, and when you open a [[Chili Framework|Framework]] solution in newer releases of VS for the first time, there is an automatic dialog that you need to handle in order to upgrade the solution to VS2017 or VS2019 (And sometimes, even if you handle the dialog properly, you still get fucked over and have to fix things manually. Thanks Obama!).
 +
 
 +
Check out [https://youtu.be/39IsItNIoQs <big>THIS VIDEO</big>] for details on the installation of VS2017 and the process of opening a framework solution in VS2017.
 +
 
 +
A separate video on getting started with VS2019 is gonna get pooped out soon.
  
 
== Concepts Taught ==
 
== Concepts Taught ==
 
* How to install [[Microsoft Visual Studio|Visual Studio 2015 Community]]
 
* How to install [[Microsoft Visual Studio|Visual Studio 2015 Community]]
* How to compile and run a solution in Visual Studio
+
* How to [[compiler|compile]] and run a solution in Visual Studio
  
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==
* Video Start [https://youtu.be/mQyF9QANy8U 0:00]
+
* Intro [https://youtu.be/PwuIEMUFUnQ 0:00]
* Series Focus and Language Choice (C++) [https://youtu.be/mQyF9QANy8U?t=1m29s 1:29]
+
* Why C++ [https://youtu.be/PwuIEMUFUnQ?t=0m55s 0:55]
* Teaching Philisophy and Framework [https://youtu.be/mQyF9QANy8U?t=3m29s 3:29]
+
* Overview of entire curriculum [https://youtu.be/PwuIEMUFUnQ?t=1m57s 1:57]
* Long-term Course Plan [https://youtu.be/mQyF9QANy8U?t=5m29s 5:29]
+
* Required software, hardware, and knowledge [https://youtu.be/PwuIEMUFUnQ?t=2m44s 2:44]
* Prerequisites [https://youtu.be/mQyF9QANy8U?t=8m29s 8:29]
+
* Setup of Visual Studio and [[Chili Framework|the Framework]] [https://youtu.be/PwuIEMUFUnQ?t=3m26s 3:26]
* Setup of Visual Studio and Framework [https://youtu.be/mQyF9QANy8U?t=11m29s 11:29]
+
* Don't freak out about the Framework [https://youtu.be/PwuIEMUFUnQ?t=4m22s 6:05]
* First Challenge [https://youtu.be/mQyF9QANy8U?t=17m29s 17:29]
+
* Talk about the solution folder and source files [https://youtu.be/PwuIEMUFUnQ?t=7m52s 7:52]
 +
* Configuration of the Visual Studio UI [https://youtu.be/PwuIEMUFUnQ?t=8m57s 8:57]
 +
* First compile and run [https://youtu.be/PwuIEMUFUnQ?t=9m52s 9:52]
 +
* 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 ==
The homework for this lesson is to experiment with the [[Graphics (Chili Framework)#PutPixel()|<code>PutPixel()</code>]] function and deduce the meanings of the five function parameters. The solution is given at the beginning of the next tutorial.
+
The homework for this lesson is to experiment with the [[Graphics (Chili Framework)#PutPixel()|<code>PutPixel()</code>]] 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 ==
 +
* [https://visualstudio.microsoft.com/vs/older-downloads/ Visual Studio 2015 Community Download]
 +
 
 +
* [https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15 Visual Studio 2017 Community Download]
  
== Links ==
+
* [https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16 Visual Studio 2019 Community Download]
* [https://www.visualstudio.com/post-download-vs?sku=community&clcid=0x409 Visual Studio 2015 Community Download]
+
  
* [http://www.planetchili.net/downloads/Chili%20DirectX%20Framework.zip Framework Download]
+
* [https://planetchili.net/downloads/Chili%20DirectX%20Framework.zip Framework Download]
  
 
== See also ==
 
== See also ==

Latest revision as of 19:24, 17 December 2020

This tutorial introduces the Beginner C++ Game Programming Series and walks you through the setup required to follow along with Chili. It also explains who the series is intended for, the goals and outline of the series, and tips on how to succeed, but you can skip all that bullshit if you have crippling ADD. For a detailed list of what is covered in Beginner, see this page.

IMPORTANT NOTE!

Since this video was recorded, Microsoft has released Visual Studio 2017 Community and Visual Studio 2019 Community. You can still download VS2015 and use it for the tutorials, and this might make things a little simpler (2015 is actually a lot better for learning C++ at this point than the newer releases of Visual Studio), but the new Visual Studio 2017 and Visual Studio 2019 can also be used in the tutorials. However, the installation processes for VS2017 and VS2019 are different, and when you open a Framework solution in newer releases of VS for the first time, there is an automatic dialog that you need to handle in order to upgrade the solution to VS2017 or VS2019 (And sometimes, even if you handle the dialog properly, you still get fucked over and have to fix things manually. Thanks Obama!).

Check out THIS VIDEO for details on the installation of VS2017 and the process of opening a framework solution in VS2017.

A separate video on getting started with VS2019 is gonna get pooped out soon.

Concepts Taught

Video Timestamp Index

  • Intro 0:00
  • Why C++ 0:55
  • Overview of entire curriculum 1:57
  • Required software, hardware, and knowledge 2:44
  • Setup of Visual Studio and the Framework 3:26
  • Don't freak out about the Framework 6:05
  • Talk about the solution folder and source files 7:52
  • Configuration of the Visual Studio UI 8:57
  • First compile and run 9:52
  • Yo where the .exe at tho? 11:13
  • First line of code and challenge (Homework) 12:07
  • How to interact with Chili / get programming help on the Forum 14:27

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