GDD 2011 - How to build kick ass video games for the cloud
Upcoming SlideShare
Loading in...5
×
 

GDD 2011 - How to build kick ass video games for the cloud

on

  • 2,539 views

This is the Google Developer Day 2011 "How to build kick ass games in the cloud" presentation that was given in Sao Paulo and Buenos Aires. (The title is in Spanish since it was last given in ...

This is the Google Developer Day 2011 "How to build kick ass games in the cloud" presentation that was given in Sao Paulo and Buenos Aires. (The title is in Spanish since it was last given in Argentina - the content is the same as Sao Paulo though)
It was given by Google Developer Advocate, Chris Schalk in Sept 2011. @cschalk

Statistics

Views

Total Views
2,539
Views on SlideShare
2,357
Embed Views
182

Actions

Likes
1
Downloads
13
Comments
0

9 Embeds 182

http://santafegtug.blogspot.com 63
http://santafegtug.blogspot.com.ar 58
http://www.viniciusviana.com 49
http://twitter.com 4
http://us-w1.rockmelt.com 2
http://feeds.feedburner.com 2
http://santafegtug.blogspot.com.es 2
http://www.google.ru 1
http://digg.com 1
More...

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

GDD 2011 - How to build kick ass video games for the cloud GDD 2011 - How to build kick ass video games for the cloud Presentation Transcript

  • Chris SchalkGoogle Developer AdvocateCreación de video juegos en lanube(How to Build Kick Ass Games in the Cloud)
  • Lets start with a Demo!
  • Introducing PlayN!An abstraction layer for games (Formerly ForPlay) ● A small API for building fast cross-platform games ● Core game code can be platform agnostic ● Develop games in Java ○ Familiar language/toolset ● Is compatible with GWT ○ Compiles to JS/HTML5, (among other platforms) ● Free and Open Source (alpha) ○ http://code.google.com/p/playn
  • Introducing PlayN!A GWT abstraction layer for games PlayN APIImplementations for Java, HTML5(GWT/JS), Android, Flash
  • Components of PlayN!Implements core.Game PlayN.*Fully generic gaming components. Core game logic is fully platformindependent!
  • Components of PlayN!Just implement PlayN.core.Game
  • Components of PlayN! public void OnPointerMove( Pointer.Event event ) { public void OnPointerEnd( Pointer.Event event ) { public void OnKeyDown( keyboard.Event event ) {Easy to write code to handle common input devices
  • Components of PlayN!Images are handled via the PlayN Layering system
  • Components of PlayN!Game resources are preloaded using the assetManager
  • Time for some more demos!
  • PlayN Cross Platform Magic● Game uses core PlayN abstractions, is unaware of which platform is running● The only platform-specific code is in the entry point for each platform: PlayN.run(new MyGame()); PlayN.run(new MyGame());
  • Other PlayN Benefits● Built-in physics engine based on proven OpenSource technologies ● Box2D ○ C++ 2D Physics engine by Erin Catto ● JBox2D ○ A port of Box2D from C++ to Java ● GWTBox2D ○ A port of JBox2D from Java to JavaScript
  • Benefits of GWT Abstraction● GWT Compiler optimizes code for size ○ Removes unused code ○ Evaluates when possible at compile time ○ Inlines functions ○ Heavily obfuscated result code● Smaller compiled code - faster load time● Optimized caching, avoids unnecessary network IO
  • Benefits of HTML5 for Games● New HTML elements ○ 2D canvas ○ Audio, Video● Application Cache● 3D Canvas (WebGL) ○ Open GL ES 2.0 made JavaScript friendly● CSS3 ○ Supports hardware accelerated transforms
  • More demos● Building your own games ○ Introducing "App Engine: Cloud Warrior"
  • App Engine Cloud Warrior ArchitectureApp Engine Google StorageDatastore Game Assets (images/sounds) Game Scores Profile Data Game Play (PlayN)
  • PlayN Summary● Open source, cross-platform game abstraction layer ○ Core game logic is platform agnostic● ForPlay abstracts away the core components of a game ○ The game loop, I/O system, and asset management● Write in familiar Java, get performance on multiple platforms ○ Superior Java development/debug ○ GWT allows compilation to fast JavaScript/HTML5● Your assignment: ○ Download PlayN and build a game! ○ http://code.google.com/p/playn/
  • Q&A@cschalk