27 December 17, 08:10
Code Your First Game : Arcade Classic in JavaScript on Canvas
Program a complete game today. No special software or install required. All you need is a text editor and a web browser.
What Will I Learn?
- Display, position, and move filled shapes for retro and prototype gameplay
- Move a ball around your game space such that it bounces off boundaries
- Handle real-time mouse input
- Detect and respond to simple collisions
- Program very basic artificial intelligence
- Keep and display score during play
- Understand the subtle, key difference between a classic game in this style which is fun to play versus one that isn't
- Define and code a win condition and end state for your game