Intro to 2D
2D examples
Ray tracing
Cloth physics
Particles
Games!
...and more
Bare Metal 2D
Canvas element -- HTML5!
OpenGL vs game engines
Code sample
A Better Path
Our drawing library of choice: Paper.js
What about ___
library/engine/framework
?
Drawing libraries vs. game engines
Paper.js basics
Vectors all the way down
Code sample
Docs:
paperjs.org/reference/global/
Code Time!
Game: whack-a-mole
Objects pop up at random intervals
User must click on it before it disappears
Show the user's score after 10 moles
Made with Slides.com