Making a game in JavaScript

Opi Danihelka

Since 2003

Paper World

  • 250 lines of code
  • Python + Pygame
  • 2006 Pyweek entry
  • Won 3rd place!

Motivation

  • Python
  •  
  • Flash
  • JavaScript

Use HTML Canvas

Subtitle

Mines

Subtitle

  • 280 lines of code
  • HTML Canvas
  • Vanilla JS

Forrest

Subtitle

  • 280 lines of code
  • HTML Canvas
  • Vanilla JS

Pixi.js

http://www.pixijs.com/

 

Canvas WebGL with 2D rendering

Phaser.io

http://phaser.io/

 

Canvas WebGL with 2D rendering

 

 

Three.js

Multiplayer

http://sheeps.herokuapp.com/

 

Websockets - Socket.io

 

https://slideslive.com/38900567/koncepty-a-triky-realtime-her-vice-hracu

Game making contests

Subtitle

GameJam

Ludum Dare

Making a game in JavaScript

By Opi Danihelka

Making a game in JavaScript

  • 23