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

From Chilipedia
Jump to: navigation, search
(Created page with "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 defi...")
 
(Source Code)
Line 11: Line 11:
 
== Source Code ==
 
== Source Code ==
 
[https://github.com/planetchili/sprite Sprite Repo]<br />
 
[https://github.com/planetchili/sprite Sprite Repo]<br />
 +
[https://github.com/planetchili/poo_game Poo Repo]
  
 
== Download Materials ==
 
== Download Materials ==

Revision as of 22:01, 26 August 2017

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 1

Source Code

Sprite Repo
Poo 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