Past Meetup

Socket.io and Node.js for HTML5 games

This Meetup is past

97 people went

Location image of event venue

Details

6:00 - 6:45 Physics and collision detection for HTML5 games, by David Geary

6:45 - 7:15 Dinner

7:15 - 8:15 Socket.io and Node.js for HTML5 games, by David Geary

Physics and collision detection for HTML5 games

Implementing physics and collision detection is one of the most difficult aspects of implementing HTML 5 games. In this talk you will see how to implement both linear and nonlinear motion and incorporate gravity into an industrial-strength videogame. You'll also see how to detect collisions between sprites and how to handle the aftermath of those collisions.

Socket.io and Node.js for HTML5 games

Storing high scores on, and sending in-game metrics to a server from your HTML5 game sounds complicated. You've got to send data back and forth between the player's computer and the server. And you need some sort of events, such as 'get current high score' or 'store new high score'. How do you do all that?

Although it sounds difficult, it's easy if you use node.js and socket.io, but it's one of those things that's really only easy once you know how. After this talk, you'll know how. You'll also see how to implement a heads-up display using CSS to show high scores in a bona-fide HTML5 video game.

About David Geary:

David is the author of Core HTML5 Canvas and the co-founder of the HTML5 Denver User Group (http://www.meetup.com/HTML5-Denver-Users-Group/). He is currently writing a book on HTML5 2D game development.

See all Meetups from HTML5 Denver Users Group