Difference between revisions of "Intermediate C++ Game Programming Tutorial 11"

From Chilipedia
Jump to: navigation, search
(Video Timestamp Index)
(Video Timestamp Index)
Line 8: Line 8:
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==
 
[https://youtu.be/uHZmTmTRdkA Tutorial 11]
 
[https://youtu.be/uHZmTmTRdkA Tutorial 11]
* Drawing subregions [https://youtu.be/uHZmTmTRdkA?t=57s 0:57]
+
* Drawing subregions of a sprite sheet [https://youtu.be/uHZmTmTRdkA?t=57s 0:57]
 +
* Clipping sprites [https://youtu.be/uHZmTmTRdkA?t=6.45s 6:45]
  
 
== Source Code ==
 
== Source Code ==

Revision as of 05:41, 5 September 2019

In this tutorial we learn how to draw parts (subregions) of images, we learn how to clip our shit so that it don't go off the screen (or off of any arbitrary rectangle we define in fact), and we learn to draw sprites with transparent pixels.

Topics Covered

  • Drawing image subregions
  • Clipping sprites
  • Drawing sprites with chroma keying (transparent pixels)

Video Timestamp Index

Tutorial 11

  • Drawing subregions of a sprite sheet 0:57
  • Clipping sprites 6:45

Source Code

Sprite Repo
Poo Game Repo

Download Materials

Homework

The homework is to use the images provided in the above zip file to upgrade the Poo Game to no longer used compiled sprites.

See also