Top Banner
turbulenz WebGL Camp Europe · David Galeano · July 2012
17
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Turbulenz WebGl Camp Europe 2012

turbulenz

WebGL Camp Europe · David Galeano · July 2012

Page 2: Turbulenz WebGl Camp Europe 2012

David GaleanoCo-founder of Turbulenz Limited in 2009Technical Director of EA Tech GraphicsTeam leader of RenderWare Graphics

Game developer at Dinamic Multimedia

Page 3: Turbulenz WebGl Camp Europe 2012

BETWEEN US WE’VEMADE A TON OF GAMES

(and RenderWare, an industry leading game engine)

Page 4: Turbulenz WebGl Camp Europe 2012

Turbulenz is a vertical solution for developing and publishing high

quality games on the web.

Page 5: Turbulenz WebGl Camp Europe 2012

FPS Tech Demo

Space Ark

Score Rush

2D

Three game demos

3D3D

Page 6: Turbulenz WebGl Camp Europe 2012

Demo: Score Rush

Page 7: Turbulenz WebGl Camp Europe 2012

Score Rush• 8000 bullets on INSANE mode, hundreds of enemies

✓Using sprite sheets / texture atlas for batching

• Massive textures, some 4096x4096

✓DXT compression critical for laptops with lower VRAM

✓Reduced dimensions when quality not critical

• Fullscreen post FXs, GPU limited

✓Minimize samples per pixel in fragment shaders

Page 8: Turbulenz WebGl Camp Europe 2012

Demo: Space Ark

Page 9: Turbulenz WebGl Camp Europe 2012

Space Ark• Massive GC pauses of ~500ms

✓Reduced total number of objects from 4 million to 250k

✓Using Typed Arrays

✓Saved several hundred MB and GC pauses are now <50ms

• ~100MB of textures resident

✓Using compressed DXT textures for fast loading and rendering

performance

• Unused assets not always garbage collected between levels

✓Explicit destruction of WebGL objects when no longer needed

• Some meshes have >100k vertices

✓Splitting in 64K chunks

Page 10: Turbulenz WebGl Camp Europe 2012

FPS Tech Demo

Page 11: Turbulenz WebGl Camp Europe 2012

FPS Tech Demo• 1694 assets to load

✓Compression: 7-Zip better than gzip

✓Caching: assets with unique names to be cached for 10 years

✓Archives: group textures on tar files

• 353 lights, 346 particle systems

✓Culling: portals, bounding box trees

• 55 shading techniques, 451 materials

✓Flexible rendering system: CgFX files converted to JSON + GLSL

✓Minimize state changes: sort by technique and material

• Multiple file formats (.md5 .prog .map .cm .ase)

✓Unified JSON based format

Page 12: Turbulenz WebGl Camp Europe 2012

JAVASCRIPT

C++

GAME CODE

GAME SITE APPLICATION + SOCIAL APIs//

OS (WINDOWS, MAC OS X, ANDROID, IOS, LINUX)HARDWARE

GRAPHICS

PHYSICS

ANIMATION

AUDIO

STREAMING

RESOURCE LOADING

SCENE

MATH

NET-W

ORKING

INPUT

WEB

SERVICESLEADER-BOARDS

MULTI-

PLAYER

NOTIFICATIONS

LIVEFEED

PHOTOS

BADGES

GAME

STATE

USERPROFILE

ITEMSTORE

VIRTUALLOCATION

FRIENDFEED

ENGINE AND SITE ARCHITECTURE

ADJOINED HTML5 SERVICES BROWSER + HTML5 NATIVE APP

GAME SERVICE APPLICATION + HTTP APIs//

CLASSICGAME

ENGINE

INTERNETGENERATION

GAMEENGINE

HTTP API SERVICES MULTIPLAYER BROADCASTING SERVICE

MESSAGING AND NOTIFICATION SERVICE

Page 13: Turbulenz WebGl Camp Europe 2012

LOCAL.TURBULENZ

HUB.TURBULENZ

Assets Code

ARTISTMACHINES

DEVELOPERMACHINES

Publishing Platform

Feedback

Scores

Invitations

Play Metrics

Analytics

Game Data

Notifications

Messages

Play Data

Social Data

SDK

PublishingA/B Testing

TESTERMACHINES

PLAYING CLIENTSCOMPANION

CLIENTS

3RD PARTYAPPSTURBULENZ

Game Platform

Analytics

HTTPAPI

HTTPAPI

HTTPAPI

TOOLS + PIPELINES

PLATFORM OVERVIEW AND WORKFLOW

Page 14: Turbulenz WebGl Camp Europe 2012

Game site (beta live now)

turbulenz.com

Page 15: Turbulenz WebGl Camp Europe 2012

Developer site and SDK download

hub.turbulenz.com

Page 16: Turbulenz WebGl Camp Europe 2012

Online SDK documentation

docs.turbulenz.com

Page 17: Turbulenz WebGl Camp Europe 2012

Thanks for listening!Questions?

Game site (beta live now)

turbulenz.comDeveloper site and SDK download

hub.turbulenz.comOnline SDK documentation

docs.turbulenz.comDavid Galeano

[email protected]