Difference between revisions of "Beginner C++ Game Programming Tutorial 6"
From Chilipedia
| Line 1: | Line 1: | ||
| + | How to make member functions. That is all. | ||
| + | |||
| + | == Concepts Taught == | ||
| + | * Declaring and defining member functions | ||
| + | * Function return values | ||
| + | |||
== Video Timestamp Index == | == Video Timestamp Index == | ||
| − | + | Coming soon! | |
| − | + | ||
| − | + | == Homework == | |
| − | + | There are two levels of difficulty. | |
| − | + | # Create a function(s) to limit the targeting box to within the screen drawing region. | |
| − | + | # Same as above, but you are not allowed to use the <code>x_mobile</code> and <code>y_mobile</code> member variables directly in the bodies of the functions. | |
| − | * | + | |
| − | * | + | The solution is given in [https://youtu.be/_mBq68B7_08 this video]. |
| + | |||
| + | == See also == | ||
| + | * [[Beginner C++ Game Programming Tutorial 7|Next in series (Tutorial 7)]] | ||
| + | * [[Beginner C++ Game Programming Series]] | ||
Revision as of 00:29, 23 September 2019
How to make member functions. That is all.
Concepts Taught
- Declaring and defining member functions
- Function return values
Video Timestamp Index
Coming soon!
Homework
There are two levels of difficulty.
- Create a function(s) to limit the targeting box to within the screen drawing region.
- Same as above, but you are not allowed to use the
x_mobileandy_mobilemember variables directly in the bodies of the functions.
The solution is given in this video.