HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Guess The Celebrity

Designing Interactivity with HTML5 Workshop, Day 1

Updated: Fixed Links 12/19

The slides from Day 1 of my January Workshop at MassArt are posted up. I’m the process of converting them into a more useful tutorial format, but Day 1 provides a basic intro to Canvas.

Use the arrow keys to go between slides and feel free to try some of the exercises – many of the exercises have solution buttons.

View the deck: Designing Interactivity with HTML5 Canvas, Day 1

One thing to note, for brevity’s sake, the slides use the WebKit only e.offsetX and e.OffsetY, see the note on this.

Jump to some specific slides (you’ll need to click ‘Solution’ for some of the exercises)

  • Canvas Examples
  • Basic Canvas Setup (Slides 16-24)
  • Drawing a square at the cursor
  • Drawing Lines
  • Listening for Arrow Keys (You’ll need to click in the canvas itself)
  • Drawing Colored Circles with Arrow Keys (Arrows to Draw, space to change color)
  • Ball Flying through the air
  • Loading Images for Canvas
  • Drawing Simple Images
  • Image Stamper
  • Image Following Mouse
  • Twinkly lights particle system
  • Animated Starfield

I’m cleaning up Day 2 and will be posting that soon as well (Paper.js, Box2dWeb/BoxBox, and a little bit of Three.js)

Share List

You might also find this interesting:


  1. Crafty.js Tutorial A Work-in-progress Crafty.js tutorial – click inside of the frame and use the arrow keys to move between slides. Click on the “Run” Button to run the code for each...

  2. PXLoader – A JavaScript Preloader for HTML5 Apps PixelLab has released a JavaScript library to simplify the download of images, sound files and other various assets for HTML5 games called PxLoader. Here’s a basic example from the site:...

  3. HTML5 Mobile Game: Alien Invasion A basic mobile shooting game demo built from the ground up in the first few chapters of my upcoming book on Mobile HTML5 Game Development. The code, clocking in around...

  4. HTML5 Multiplayer Game Development A Google Tech Talk on HTML5 Multiplayer Game Development – a little basic, but a good overview of the issues. Check out the video below along with the full slides...

  5. Developing a simple HTML5 Canvas Space Shooter The mozilla hacks blog has an interesting article on building a simple 2D space shooter with both single-player and multi-player support. While not a full tutorial, it provides a good...

HTML5 Game Dev Tutorials



License HTML5 Games

Are you a company looking to license HTML5 games? We recommend MarketJS.com, a B2B platform for licensing games.

MarketJS has over 200 HTML5 games for licensing. They also provide additional services such game reskins, custom development, and white label portals.

 

Facebook Messenger Games in HTML5

We've created a website to to review new HTML5 games launched on Facebook Messenger ( a.k.a Facebook Instant Games).

Introducing FBmessengergames.com, a website to track the emergence and growth of this new platform.

With the rise of HTML5 technology, large platforms such as Facebook have used it to power their games system within Facebook Messenger. This allows developers to create interesting content to reach massive audiences.


Html5 Game Development


Follow @GameDevHTML5



WHAT’S NEW

  • Branded Game for Marketing in the Automotive Industry

  • HTML5 Games For Senior and Elderly Care

  • Auntie Acid Quiz Game

  • Google Chrome Update Affects HTML5 Games

  • ImpactJS Now Free and Open Source




NEW DEMOS

  • Camping Bingo – HTML5 Game for Campsite Business

  • In-flight Entertainment (IFE) Games using HTML5 Technology

  • HSynth Morse Code Music Maker

  • Hello Emmett Gboard Morse Game

  • PIC Terrain Creator


ENGINES

  • Egretia Blockchain HTML5 Game Engine

    Egretia is an up and coming HTML5 game development platform that is powered by blockchain. The blockchain technology is like a digital ledger wherein finances or transactions involving value are …Read more

  • Phaser 3.4 Release

    Phaser 3.4 has just been launched, bringing new and better features for HTML5 game development. This updated version now has support for Game Object Containers. Although it’s still in beta …Read more

  • Verge 3D for Blender

    You can now use the Verg 3D toolkit on Blender to create stunning 3D visuals. One of the added features to this renderer is exporting files in GLB format, which …Read more

SEARCH OUR ARCHIVES

CONNECT

rss twitter meetup

HTML5 Game Development is Proudly built in Boston

GOT NEWS?

Send new engines, demos, information and tips to hello@html5gamedevelopment.com

MONTHLY MEETUP

In boston? Join us for the Monthly HTML5 Game Development meetup.

BOOKS

We're in the process of writing a few books about game development. Coming soon!

Copyright HTML5gamedevelopment.com