SlideShare a Scribd company logo
Using HTML5/JS to develop games.
ONE CODEBASE,
MULTIPLE PLATFORMS
Who are you?
1. Build Master of Dawn of the Dragons Mobile at
5th Planet Games
2. Web Developer
3. Vice Coordinator of IGDA Sacramento Chapter
4. Podcaster
5. Google plus fan boy
6. Lover of all things Javascript
http://about.me/josephburchett
All aboard the hype train!
Javascript good, HTML bad...
DON’T BE A NINJA BE AN ENGINEER
NO YES
The good, bad, ugly and fugly
● Can leverage web skill sets!
● It can be super confusing at
times
● With great power comes
great responsibility
● Really inconsistent feature
support across browsers
● No one can seem to agree
on anything.
● It’s extremely
overwhelming!
● People not using javascript
will look at you in disgust.
● It’s not ready!
● Things move fast, really
fast!
Platforms supported
What it has to offer
Gamepad support Audio support Local Storage
Web Sockets Web RTC Fullscreen
Boys and girls it’s Canvas time! Are
you ready?
Canvas Example code
var context = canvas.getContext( "2d" );
var FRAME_RATE = 30 / 1000;
var CANVAS_WIDTH = 800;
var CANVAS_HEIGHT = 600;
var FILL_COLOR = “#000000”;
var xPosition = 0;
var yPosition = 0;
var width = 50;
var height = 50;
gameLoop();
function gameLoop()
{
xPosition += 2;
context.clearRect( 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT );
context.fillStyle = FILL_COLOR;
context.fillRect( xPosition, yPosition, width, height );
setTimeout( gameLoop, FRAME_RATE );
}
I need more power!
API’S TO USE
Name
Phaser.js
jaws.js
Melon.js
Crafty.js
Pixi.js
Impact.js
threejs
Voxel.js
Link
phaser.io
http://jawsjs.com/
http://melonjs.org/
http://craftyjs.com/
http://www.pixijs.com/
http://impactjs.com/
http://threejs.org/
http://bit.ly/voxeljs
Type
2D
2D
2D
2D
2D
2D
3D
3D
Rendering
Canvas, Webgl
Canvas
Canvas
Canvas
Canvas, Webgl
Canvas
Webgl
Webgl
List of a ton more
https://github.com/bebraw/jswiki/wiki/Game-Engines
IDE’S YOU CAN USE
Sublime Text 2
TOOLS TO USE FOR MOBILE
TOOLS TO USE FOR DESKTOP
Distribution platforms
Market.js
Micro Consoles
TOOLS TO USE FOR CONSOLES
https://wiiu-developers.nintendo.com/
TOOLS TO USE FOR ROBOTICS
http://nodebots.io/
Johnny Five
https://github.com/rwaldron/johnny-five
Oculus Rift
OculusBridge.js, vr.js
One codebase, multiple platforms; Using HTML5/js for game dev
Browser Quest
Unreal Engine Citadel Demo
Duuuuuuh, muh brain meats they hurt! Where do I start?
Cool, should I go indie?
1. Don’t be stupid, keep your day job!
2. Figure out what type of game you want to make
3. choose the platform that fits it best
4. KISS!
5. Go to google and type in “learning canvas”.
6. use tools I mentioned!
7. good luck and have fun!
You sure talk a lot...
Shameless Plug
http://igdasacramento.org/
Questions?
Ad

Recommended

Fake Your Way as a Mobile Developer Rockstar with PhoneGap
Fake Your Way as a Mobile Developer Rockstar with PhoneGap
glen_a_smith
 
Grunt入門
Grunt入門
Kazuhiro Kobayashi
 
Threejs使ってみた
Threejs使ってみた
Takesxi Sximada
 
Leading change 11 18
Leading change 11 18
Ronald Pickett
 
Podcast101
Podcast101
Joseph Burchett
 
Cereal Hackathon 411 and Prototyping
Cereal Hackathon 411 and Prototyping
Joseph Burchett
 
Sacramento Community College Game Club Presentation
Sacramento Community College Game Club Presentation
Joseph Burchett
 
Hi5 Hackathon Presentation
Hi5 Hackathon Presentation
Lou Moore
 
Html5 Game Development with Canvas
Html5 Game Development with Canvas
Pham Huy Tung
 
W3C HTML5 KIG-The complete guide to building html5 games
W3C HTML5 KIG-The complete guide to building html5 games
Changhwan Yi
 
HTML5 Game Development frameworks overview
HTML5 Game Development frameworks overview
Abhishek Singhal [L.I.O.N]
 
HTML5 & JavaScript Games
HTML5 & JavaScript Games
Robin Hawkes
 
Seattle javascript game development - Overview
Seattle javascript game development - Overview
Grant Goodale
 
A Holistic Approach to HTML5 Game Design & Development
A Holistic Approach to HTML5 Game Design & Development
Karl Bunyan
 
Making Native Browser Games in the Modern Age
Making Native Browser Games in the Modern Age
FITC
 
Making Native Browser Games in The Modern Age
Making Native Browser Games in The Modern Age
Catt Small
 
mloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game development
David Galeano
 
Korea linuxforum2014 html5game-sangseoklim
Korea linuxforum2014 html5game-sangseoklim
Sang Seok Lim
 
Game Development With HTML5
Game Development With HTML5
Gil Megidish
 
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
Felix Faber
 
HTML5 Games Status and issues
HTML5 Games Status and issues
J.h. Liu
 
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
DevGAMM Conference
 
Html5 (games)
Html5 (games)
chamsddine bouzaine
 
Developing Multi Platform Games using PlayN and TriplePlay Framework
Developing Multi Platform Games using PlayN and TriplePlay Framework
Csaba Toth
 
Chap1.pptx
Chap1.pptx
SandeepTewatia14
 
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development
Zachary Johnson
 
HTML5 Games for Web & Mobile
HTML5 Games for Web & Mobile
Carsten Sandtner
 
Game Development Using HTML 5
Game Development Using HTML 5
osa_ora
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 

More Related Content

Similar to One codebase, multiple platforms; Using HTML5/js for game dev (20)

Html5 Game Development with Canvas
Html5 Game Development with Canvas
Pham Huy Tung
 
W3C HTML5 KIG-The complete guide to building html5 games
W3C HTML5 KIG-The complete guide to building html5 games
Changhwan Yi
 
HTML5 Game Development frameworks overview
HTML5 Game Development frameworks overview
Abhishek Singhal [L.I.O.N]
 
HTML5 & JavaScript Games
HTML5 & JavaScript Games
Robin Hawkes
 
Seattle javascript game development - Overview
Seattle javascript game development - Overview
Grant Goodale
 
A Holistic Approach to HTML5 Game Design & Development
A Holistic Approach to HTML5 Game Design & Development
Karl Bunyan
 
Making Native Browser Games in the Modern Age
Making Native Browser Games in the Modern Age
FITC
 
Making Native Browser Games in The Modern Age
Making Native Browser Games in The Modern Age
Catt Small
 
mloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game development
David Galeano
 
Korea linuxforum2014 html5game-sangseoklim
Korea linuxforum2014 html5game-sangseoklim
Sang Seok Lim
 
Game Development With HTML5
Game Development With HTML5
Gil Megidish
 
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
Felix Faber
 
HTML5 Games Status and issues
HTML5 Games Status and issues
J.h. Liu
 
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
DevGAMM Conference
 
Html5 (games)
Html5 (games)
chamsddine bouzaine
 
Developing Multi Platform Games using PlayN and TriplePlay Framework
Developing Multi Platform Games using PlayN and TriplePlay Framework
Csaba Toth
 
Chap1.pptx
Chap1.pptx
SandeepTewatia14
 
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development
Zachary Johnson
 
HTML5 Games for Web & Mobile
HTML5 Games for Web & Mobile
Carsten Sandtner
 
Game Development Using HTML 5
Game Development Using HTML 5
osa_ora
 
Html5 Game Development with Canvas
Html5 Game Development with Canvas
Pham Huy Tung
 
W3C HTML5 KIG-The complete guide to building html5 games
W3C HTML5 KIG-The complete guide to building html5 games
Changhwan Yi
 
HTML5 & JavaScript Games
HTML5 & JavaScript Games
Robin Hawkes
 
Seattle javascript game development - Overview
Seattle javascript game development - Overview
Grant Goodale
 
A Holistic Approach to HTML5 Game Design & Development
A Holistic Approach to HTML5 Game Design & Development
Karl Bunyan
 
Making Native Browser Games in the Modern Age
Making Native Browser Games in the Modern Age
FITC
 
Making Native Browser Games in The Modern Age
Making Native Browser Games in The Modern Age
Catt Small
 
mloc.js 2014 - JavaScript and the browser as a platform for game development
mloc.js 2014 - JavaScript and the browser as a platform for game development
David Galeano
 
Korea linuxforum2014 html5game-sangseoklim
Korea linuxforum2014 html5game-sangseoklim
Sang Seok Lim
 
Game Development With HTML5
Game Development With HTML5
Gil Megidish
 
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
Felix Faber
 
HTML5 Games Status and issues
HTML5 Games Status and issues
J.h. Liu
 
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
Сергей Батищев: 2D игры на HTML5: мифы и реальность разработки
DevGAMM Conference
 
Developing Multi Platform Games using PlayN and TriplePlay Framework
Developing Multi Platform Games using PlayN and TriplePlay Framework
Csaba Toth
 
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development
Zachary Johnson
 
HTML5 Games for Web & Mobile
HTML5 Games for Web & Mobile
Carsten Sandtner
 
Game Development Using HTML 5
Game Development Using HTML 5
osa_ora
 

Recently uploaded (20)

OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
The Growing Value and Application of FME & GenAI
The Growing Value and Application of FME & GenAI
Safe Software
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
The Growing Value and Application of FME & GenAI
The Growing Value and Application of FME & GenAI
Safe Software
 
Ad

One codebase, multiple platforms; Using HTML5/js for game dev