SlideShare a Scribd company logo
Phaser workshop
Alvin
@alvinsight
HTML5 game developer
WHO AM I ?
What we will cover
- What Phaser is
- What Pixi is
- A (quick) overview
- Get our hands dirty
What is Phaser ?
An HTML5 game framework for 2D which
takes care of all of the groundwork for you
Unlike some others, is built for the mobile
browsers
One of the most feature-complete
frameworks out there
What is Phaser ?
Built by Richard Davey
So Big Disclaimer
It uses the amazing pixi.js as a renderer
What is Pixi.js then ?
Really fast WebGL renderer for 2D
Most importantly, it provides you with a
canvas fallback if need be
WebGL + 2D = ?
Because WebGL doesn’t necessarily means 3D
A (quick) overview
What Phaser provides you with :
- Standardised input
- Full-featured audio support (uses Web Audio and
can fall back to the <audio> tag
- Mobile-friendly
- Not one, not two, but three physics engine
Get our hands dirty
https://github.com/photonstorm/phaser
To start with
var game = new Phaser.Game(400, 550, Phaser.AUTO,'', {
preload: preload, create: create, update: update});
Phaser’s core functions
var game = new Phaser.Game(400, 550, Phaser.AUTO,'',
{ preload: preload, create: create, update: update, render:
render });
function preload(){
}
function create(){
}
function update(){
}
function render(){
}
Phaser’s core functions
var game = new Phaser.Game(400, 550, Phaser.AUTO,'',
{ preload: preload, create: create, update: update,
render: render });
function preload(){
// Don’t count your assets before they’re preloaded
game.load.image('bird', 'assets/planeRed2.png');
}
+ Audio, spritesheets, Json, CSV, tilemap, etc
Phaser’s core functions
var game = new Phaser.Game(400, 550, Phaser.AUTO,'',
{ preload: preload, create: create, update: update,
render: render });
function create(){
// Finally display your image, using WebGL or Canvas
var bird = game.add.sprite(100, 200, 'bird');
}
THANK YOU
Coding time !
http://alvinsight.com/workshops/quacky/workshop.zip

More Related Content

PPTX
Making HTML5 Games with Phaser
ODP
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
PDF
My 10 days with Phaser.js - WarsawJS Meetup #13
PPTX
Introduction to Phaser.js
PPTX
Phaser presentation
PDF
Server side game_development
PPTX
Making an independend MMO - The Albion Online Story
PDF
Building Multiplayer Games (w/ Unity)
Making HTML5 Games with Phaser
HTML5 Mobile Game Development Workshop - Module 2 - HTML5 Developer Conferenc...
My 10 days with Phaser.js - WarsawJS Meetup #13
Introduction to Phaser.js
Phaser presentation
Server side game_development
Making an independend MMO - The Albion Online Story
Building Multiplayer Games (w/ Unity)

What's hot (19)

PDF
W3C HTML5 KIG-The near future of the web platform
PDF
Absolutist: Porting to major platforms within a minute
PPTX
East Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
PPTX
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
PDF
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
PPTX
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
PDF
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
PPTX
West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...
PDF
【Unite 2017 Tokyo】VRコンテンツを気持ちよくプレイさせるためのUI実装ガイド
PPTX
Endless runner game in unreal engine 4
PPTX
OGDC2013_ Spine Animation_ Mr Alviss Ha
PPTX
Teacher Training Workshop - Game Development with Phaser
PPTX
From Web to Mobile with Stage 3D
PPTX
GDCE 2015: Blueprint Components to C++
PDF
Future of unreal
PDF
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
PDF
Rapid Game Development with RUby and Gosu – Ruby Manor 4
PPTX
Heroes of Paragon: publishing Unity WebGL game on Facebook
PDF
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
W3C HTML5 KIG-The near future of the web platform
Absolutist: Porting to major platforms within a minute
East Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
FMX 2017: Extending Unreal Engine 4 with Plug-ins (Master Class)
【Unite 2017 Tokyo】インスタンシングを用いた美麗なグラフィックの実現方法
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
Albion Online - Software Architecture of an MMO (talk at Quo Vadis 2016, Berlin)
West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...
【Unite 2017 Tokyo】VRコンテンツを気持ちよくプレイさせるためのUI実装ガイド
Endless runner game in unreal engine 4
OGDC2013_ Spine Animation_ Mr Alviss Ha
Teacher Training Workshop - Game Development with Phaser
From Web to Mobile with Stage 3D
GDCE 2015: Blueprint Components to C++
Future of unreal
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Rapid Game Development with RUby and Gosu – Ruby Manor 4
Heroes of Paragon: publishing Unity WebGL game on Facebook
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
Ad

Viewers also liked (10)

PPT
Marketing 360 - 2011
PPTX
Html5 game development
PDF
Flappy Bird Game Dev by Phaser Framework
PDF
La ecuación de Batman
PDF
Making Native Browser Games in The Modern Age
PPTX
Lasertron lt 12 vs zone nexus fec
ODP
HTML5 Game Development frameworks overview
ODP
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015
PPTX
Introduction to HTML5 game development (with Phaser)
PPTX
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Marketing 360 - 2011
Html5 game development
Flappy Bird Game Dev by Phaser Framework
La ecuación de Batman
Making Native Browser Games in The Modern Age
Lasertron lt 12 vs zone nexus fec
HTML5 Game Development frameworks overview
HTML5 Mobile Game Development - Brisbane Game Technology Meetup 2015
Introduction to HTML5 game development (with Phaser)
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Ad

Similar to Phaser Workshop Internet World 2014 (20)

PDF
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
PDF
Developing FirefoxOS
PDF
HTML5 & JavaScript Games
PDF
DIY: Computer Vision with GWT.
PDF
DIY- computer vision with GWT
PDF
Achieving Scale with HoloLens and BIM: Designing for interactions with large ...
PPTX
Kendo UI presentation at JsConf.eu
PPTX
Building your own RC Car with Raspberry Pi
PPTX
Whats new in flutter.pptx
PDF
PPTX
Html5 Game Development with Canvas
PDF
Webgl 기술동향 2011.8
PDF
Minko - Why we created our own Flash platform and why you should care
PPTX
Full stack development in Go
PPT
Creating Flash Content for Multiple Screens
PDF
WebGL games with Minko - Next Game Frontier 2014
PPTX
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
PPTX
Android 3D by Ivan Trajkovic and Dotti Colvin
PPT
Game programming with Groovy
PDF
Lecture02web 140phpapp01
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
Developing FirefoxOS
HTML5 & JavaScript Games
DIY: Computer Vision with GWT.
DIY- computer vision with GWT
Achieving Scale with HoloLens and BIM: Designing for interactions with large ...
Kendo UI presentation at JsConf.eu
Building your own RC Car with Raspberry Pi
Whats new in flutter.pptx
Html5 Game Development with Canvas
Webgl 기술동향 2011.8
Minko - Why we created our own Flash platform and why you should care
Full stack development in Go
Creating Flash Content for Multiple Screens
WebGL games with Minko - Next Game Frontier 2014
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Android 3D by Ivan Trajkovic and Dotti Colvin
Game programming with Groovy
Lecture02web 140phpapp01

Recently uploaded (20)

PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Modernising the Digital Integration Hub
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
August Patch Tuesday
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
The various Industrial Revolutions .pptx
PDF
project resource management chapter-09.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Chapter 5: Probability Theory and Statistics
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Module 1.ppt Iot fundamentals and Architecture
1 - Historical Antecedents, Social Consideration.pdf
Tartificialntelligence_presentation.pptx
1. Introduction to Computer Programming.pptx
Modernising the Digital Integration Hub
A contest of sentiment analysis: k-nearest neighbor versus neural network
August Patch Tuesday
NewMind AI Weekly Chronicles – August ’25 Week III
Assigned Numbers - 2025 - Bluetooth® Document
The various Industrial Revolutions .pptx
project resource management chapter-09.pdf
What is a Computer? Input Devices /output devices
gpt5_lecture_notes_comprehensive_20250812015547.pdf
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Enhancing emotion recognition model for a student engagement use case through...
cloud_computing_Infrastucture_as_cloud_p
Chapter 5: Probability Theory and Statistics
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game

Phaser Workshop Internet World 2014

  • 3. What we will cover - What Phaser is - What Pixi is - A (quick) overview - Get our hands dirty
  • 4. What is Phaser ? An HTML5 game framework for 2D which takes care of all of the groundwork for you Unlike some others, is built for the mobile browsers One of the most feature-complete frameworks out there
  • 5. What is Phaser ? Built by Richard Davey So Big Disclaimer It uses the amazing pixi.js as a renderer
  • 6. What is Pixi.js then ? Really fast WebGL renderer for 2D Most importantly, it provides you with a canvas fallback if need be
  • 7. WebGL + 2D = ? Because WebGL doesn’t necessarily means 3D
  • 8. A (quick) overview What Phaser provides you with : - Standardised input - Full-featured audio support (uses Web Audio and can fall back to the <audio> tag - Mobile-friendly - Not one, not two, but three physics engine
  • 9. Get our hands dirty https://github.com/photonstorm/phaser
  • 10. To start with var game = new Phaser.Game(400, 550, Phaser.AUTO,'', { preload: preload, create: create, update: update});
  • 11. Phaser’s core functions var game = new Phaser.Game(400, 550, Phaser.AUTO,'', { preload: preload, create: create, update: update, render: render }); function preload(){ } function create(){ } function update(){ } function render(){ }
  • 12. Phaser’s core functions var game = new Phaser.Game(400, 550, Phaser.AUTO,'', { preload: preload, create: create, update: update, render: render }); function preload(){ // Don’t count your assets before they’re preloaded game.load.image('bird', 'assets/planeRed2.png'); } + Audio, spritesheets, Json, CSV, tilemap, etc
  • 13. Phaser’s core functions var game = new Phaser.Game(400, 550, Phaser.AUTO,'', { preload: preload, create: create, update: update, render: render }); function create(){ // Finally display your image, using WebGL or Canvas var bird = game.add.sprite(100, 200, 'bird'); }
  • 14. THANK YOU Coding time ! http://alvinsight.com/workshops/quacky/workshop.zip