dress.code #1 - webgl game development
TRANSCRIPT
![Page 1: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/1.jpg)
![Page 2: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/2.jpg)
presented by
![Page 3: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/3.jpg)
Jean-Michel Irving
March 2015
Justin
![Page 4: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/4.jpg)
What We Do & Who We Are With Roots In Design, Development, And Film, We Meandered The Crowded Landscape Of Web And App Creation, Eventually
Casting A Wider Net With More Innovative And Imaginative Solutions For Our Diverse Clientele.
3 1 50+ ∞Offices Promise Awards Bad Jokes
March 2015
![Page 5: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/5.jpg)
A Digital Production CompanyEqual Parts Craft & Curiosity
March 2015
Development Content Creation Experiential
![Page 6: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/6.jpg)
![Page 7: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/7.jpg)
![Page 8: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/8.jpg)
THIS IS DRESS.CODEA Community Where Like-Minded Individuals Can Come Together To Learn To Subvert Traditional Approaches To
Technology In Media.
March 2015
CREATIVE TECHNOLOGY IS OUR FORTE
![Page 9: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/9.jpg)
TOOLS, SOFTWARE & LIBRARIESPROS & CONSTIPS & TRICKSDEMO WITH THE OCULUS RIFT DK 2
March 2015
WEBGL GAMEDEVELOPMENT
![Page 10: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/10.jpg)
March 2015
WebGL
JavaScript API for rendering interactive 2D and 3D graphics inside an HTML <canvas> element.
Can I use?
3D Graphics acceleration (direct access to the GPU).
![Page 11: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/11.jpg)
March 2015
What Can You Use It For?
WebGL
Games3D
Modeling & Simulations
Data Visualization
Interactive Music Videos
Presenting Content
![Page 12: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/12.jpg)
March 2015
WebGL
Let’s draw a triangle and a square
Easy?
![Page 13: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/13.jpg)
March 2015
✓ Canvas fallback
✓ Simple API for ex-Flash developers
✓ Fast (yes, on mobile too)
( Example )
๏ Not a game engine (but you can use Phaser)
Pixi.js (2D)
PROS CONS
![Page 14: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/14.jpg)
March 2015
✓ Can do a bit of everything
✓ Community
✓ Samples and resources
✓ Many plugins
Three.js (3D)
( Example )
๏ Not a game engine
PROS CONS
![Page 15: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/15.jpg)
March 2015
✓ Full game engine
✓ TypeScript
BabylonJS (3D)
( Example )
๏ Microsoft devs (j/k)
๏ Very basic editor
PROS CONS
![Page 16: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/16.jpg)
March 2015
✓ Full game engine
✓ Designer tool (FBX converter ♥ )✓ Publish your game
PlayCanvas (3D)
( Example )
๏ Semi open source
PROS CONS
![Page 17: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/17.jpg)
March 2015
✓ Great features (ex: vehicle system)
Ammo.js (Physics)
( Example )
๏ Huge (1.5 Mo)
PROS CONS
![Page 18: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/18.jpg)
March 2015
Jupiter Ascending: Caine's QuestCASE STUDY
http://cainesquest.jupiterascending.com/
Fully 3D on-rails shooter utilizing WebGL and WebSockets
✓ Multiple levels✓ Animated characters✓ Lit environments
![Page 19: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/19.jpg)
March 2015
CASE STUDY: Jupiter Ascending: Caine's Quest
How To Get 3D Content Into Engine?
Sifting through community made tools (Exporters, converters, loaders)
Trial and error (Character animations…)
Documentation (or lack there-of)
Hard to find consistency
![Page 20: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/20.jpg)
March 2015
Final Pipeline
Environment/Animated character created and exported from 3DS Max/Maya using Open Collada plugins
Open Collada file passed along to devs for implementation
Modified Collada loader for Three.js used to load/test assets
Cumbersome and potentially problematic
+
+
=
CASE STUDY: Jupiter Ascending: Caine's Quest
![Page 21: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/21.jpg)
March 2015
Unity 5
Unity is a popular game engine that has been developed over many years. (Community)
Recently released Unity 5 supports WebGL export.
It is very new, and it does not support the whole Unity functionality, but it still is very powerful.
![Page 22: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/22.jpg)
March 2015
Why use Unity 5?
Unity 5
✓ Efficient workflow
✓ C# and Unity API
✓ Higher quality lighting, shaders, and particles
✓ Great tools for animation, cameras, and sprites
✓ Overall much better quality and much lower development time
![Page 23: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/23.jpg)
✓ Unity is designed for team development
✓ You can interactively make changes and see the results
✓ You can further implement import functionality
✓ Be careful, source files tend to be larger than its output
March 2015
Workflow Tips
Unity 5
![Page 24: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/24.jpg)
March 2015
ToolsUnity 5
Shader Forge Node Canvas
Mecanim
![Page 25: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/25.jpg)
March 2015
Reasons to not use Unity 5?
Unity 5
✓ Build size will be big - an empty project is about 10 to 16 mb depending on several variables
✓ If you run into WebGL specific problems, you can’t access the low-level code
✓ It only runs on Firefox, Chrome, and Safari
![Page 26: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/26.jpg)
THANK YOU
![Page 27: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/27.jpg)
Jean-Michel Irving
March 2015
Justin
![Page 28: Dress.code #1 - WebGL Game Development](https://reader030.vdocuments.net/reader030/viewer/2022020208/55aec4011a28ab8a158b46d0/html5/thumbnails/28.jpg)
THURSDAY, APRIL 23, 2015
March 2015
NEXT EVENT