Upload
bemyapp
View
404
Download
2
Embed Size (px)
DESCRIPTION
Tim and Daniel's presentation of how to develop a native cross platform game using Cocos2dx, and presentation of My Spoon
Citation preview
Developing native cross-platform games
using cocos2dx
About us
Going multiplatform: Which way?
+ Fast+ Direct access to hardware + Using native graphic interface - Platform setup- Compiler flags might be
needed
+ Available on every platform + “Hot new thing“- Slow- Every browser uses the WC3 standards….
NOT
Cocos2d-x
Cocos2d-x workflow
Classes
Resources
win32
Android
iOS
WP8
Cocos2d-x Features:
• Easy use of touch and gyro• Powerfull sprite system• Box2D physics• Garbage collection• Wrapped system UI components• Many extra features• Direct use of OpenGL ES/DirectX possible
Overview: CCScenes
Menu Scene Game Scene
CCTransition
Overview: CCNode hierarchy
CCSprites, etc.
CCLayer
CCScene Game Scene
Background Layer
Sprites
Game Layer
Player Enemies
HUD Layer
Score Lives
Platform Differences
• Resource limitations• Many resolutions and aspect ratios• Huge performance gap• Packaging behaviours
Live Examples
www.mrskyjump.com/~tim/MySpoonSourceCode.zip