Cocos2d: past, present and future

49
cocos2d past, present, future by Ricardo Quesada v0.1 Sunday, April 8, 12

description

cocos2d past, present and future.cocos2d for iPhone, cocos2d-x, cocos2d-html5

Transcript of Cocos2d: past, present and future

Page 1: Cocos2d: past, present and future

cocos2dpast, present, future

by Ricardo Quesada

v0.1

Sunday, April 8, 12

Page 2: Cocos2d: past, present and future

History of cocos2d

Sunday, April 8, 12

Page 3: Cocos2d: past, present and future

2005~2007

Sunday, April 8, 12

Page 4: Cocos2d: past, present and future

PyWeek

• PyWeek:

• A game in one week in python

• 2005, 2006, 2007: Games

• Engine from scratch for each entry

Sunday, April 8, 12

Page 5: Cocos2d: past, present and future

2008

Sunday, April 8, 12

Page 6: Cocos2d: past, present and future

PyCamp

• Feb-2008

• Python gathering in Los Cocos, Córdoba, Argentina

• “Los cocos” was born based on our PyWeek experience

Sunday, April 8, 12

Page 7: Cocos2d: past, present and future

PyCamp 2008Sunday, April 8, 12

Page 8: Cocos2d: past, present and future

cocos2d

• March 2008: v0.1

• “Los cocos” is renamed to “cocos2d”

• Lighting Talk in PyCon 2008

• Talk in EuroPython 2008

Sunday, April 8, 12

Page 9: Cocos2d: past, present and future

cocos2d-iphone

• Jun-2008: v0.1

• Objective-c

• Same design as cocos2d Python

• Dec 2008: +40 games on AppStore

Sunday, April 8, 12

Page 10: Cocos2d: past, present and future

2009

Sunday, April 8, 12

Page 11: Cocos2d: past, present and future

PyCamp 2009

• cocos2d editor

• A world editor for cocos2d-python written in cocos2d-python

Sunday, April 8, 12

Page 12: Cocos2d: past, present and future

More cocos2d ports

• ShinyCocos: Ruby bindings

• cocos2d-Android: Java based

• cocosNet: Mono based

Sunday, April 8, 12

Page 13: Cocos2d: past, present and future

New cocos2d logo

Sunday, April 8, 12

Page 14: Cocos2d: past, present and future

Tools

• First tools for cocos2d:

• Zwoptex

• Particle Designer

Sunday, April 8, 12

Page 15: Cocos2d: past, present and future

Particle Designer

• Without PD:

• ~2 hours to have a nice effect

• With PD:

• ~10 minutes to have a much better effect

Sunday, April 8, 12

Page 16: Cocos2d: past, present and future

#1 Paid App

• StickWars:

• First cocos2d game to be #1 Top Paid App in the US App Store

Sunday, April 8, 12

Page 17: Cocos2d: past, present and future

2010

Sunday, April 8, 12

Page 18: Cocos2d: past, present and future

cocos2d-Mac

• cocos2d-iPhone ported to Mac

• Idea: create a cocos2d-iPhone world editor in cocos2d (similar as PyCamp 2009)

• “Games for Mac” was a “collateral feature”

Sunday, April 8, 12

Page 19: Cocos2d: past, present and future

cocos2d-x

• cocos2d-x

• C++ port

• Cross Device: Android and iOS

Sunday, April 8, 12

Page 20: Cocos2d: past, present and future

More Ports: Javascript

• cocos2d ported to Javascript

• Canvas Based

Sunday, April 8, 12

Page 21: Cocos2d: past, present and future

More Tools

• More cocos2d tools / editors

• Texture Packer

• Glyph Designer

Sunday, April 8, 12

Page 22: Cocos2d: past, present and future

Books, Resources

• Books dedicated to cocos2d

• Resources:

• Many samples

• Tutorials

• Training courses

Sunday, April 8, 12

Page 23: Cocos2d: past, present and future

2011

Sunday, April 8, 12

Page 24: Cocos2d: past, present and future

Editors

• “Integrated” editors started to appear:

• CocoShop (SceneDesigner)

• CocosBuilder

• Sprite Helper / Level Helper

Sunday, April 8, 12

Page 25: Cocos2d: past, present and future

CocosBuilder

Sunday, April 8, 12

Page 26: Cocos2d: past, present and future

Objective-c X-Platform

• Objective-C cross compiler toolchain

• App Portable

• Noodle Cake

Sunday, April 8, 12

Page 27: Cocos2d: past, present and future

2012

Sunday, April 8, 12

Page 28: Cocos2d: past, present and future

cocos2d-xna

• cocos2d in C# for XNA

• Based on cocos2d-x

Sunday, April 8, 12

Page 29: Cocos2d: past, present and future

cocos2d-html5

• cocos2d-x port to Javascript

• Early stage

Sunday, April 8, 12

Page 30: Cocos2d: past, present and future

Today

Sunday, April 8, 12

Page 31: Cocos2d: past, present and future

cocos2d-x devconSunday, April 8, 12

Page 32: Cocos2d: past, present and future

Apps

• Games

• Interactive Books

• Photo / Graphics applications

• +3500 Apps (iOS + Android)

Sunday, April 8, 12

Page 33: Cocos2d: past, present and future

cocos2d familySunday, April 8, 12

Page 34: Cocos2d: past, present and future

Engines

• stable, mature engines:

• cocos2d-iphone, cocos2d-x

• Early development:

• cocos2d-html5, JS bindings for cocos2d-x

Sunday, April 8, 12

Page 35: Cocos2d: past, present and future

Good tools / editors

• Spritesheet editors

• Particle editors

• Font editors

• Tilemap editors

Sunday, April 8, 12

Page 36: Cocos2d: past, present and future

Integrated Editors

• CocosBuilder

• Basic “integrated editor”

• Not yet a complete world editor

• Experimental cocos2d-x support

• No scripting support yet

Sunday, April 8, 12

Page 37: Cocos2d: past, present and future

Scripting Language

• Javascript

• Alpha version for cocos2d-x

• Not yet available for cocos2d-iphone (in research)

Sunday, April 8, 12

Page 38: Cocos2d: past, present and future

What do YOU need ?

Sunday, April 8, 12

Page 39: Cocos2d: past, present and future

cocos2d future

Sunday, April 8, 12

Page 40: Cocos2d: past, present and future

What do you need ?

• Faster development time

• Quality games (no crashes, leaks, fast)

• Prototyping tools

Sunday, April 8, 12

Page 41: Cocos2d: past, present and future

Faster Dev. Time (I)

• With more and better editors

• Data is portable

• It is faster to generate data than code

Sunday, April 8, 12

Page 42: Cocos2d: past, present and future

Faster Dev. Time (II)

• With scripting language:

• Javascript

• If performance is not good enough:

• Develop the game in native

• and optionally add JS bindings to native

Sunday, April 8, 12

Page 43: Cocos2d: past, present and future

Better Quality

• Again with more and better editors

• MORE data and LESS code

• Less code == Less bugs

Sunday, April 8, 12

Page 44: Cocos2d: past, present and future

Prototyping tools

• Scripting language + world editor

• Test ideas quickly

• Discard the “bad” ones

• Further develop the “good” ones

Sunday, April 8, 12

Page 45: Cocos2d: past, present and future

Planned features for cocos2d in 2012

Sunday, April 8, 12

Page 46: Cocos2d: past, present and future

Javascript bindings

• Javascript bindings for:

• cocos2d-x

• cocos2d-iphone

• Same JS API for cocos2d-x, cocos2d-iphone, cocos2d-html5

Sunday, April 8, 12

Page 47: Cocos2d: past, present and future

cocos2d JS API

A 100% JS game could be “native” or “web”

Sunday, April 8, 12

Page 48: Cocos2d: past, present and future

World Editor

• WYSIWYG Editor (CocosBuilder)

• Compose / Test scene

• Actions editor

• Scripting support with Javascript

• Support for cocos2d iOS, X, HTML5

Sunday, April 8, 12

Page 49: Cocos2d: past, present and future

Thank you.Questions ?

Sunday, April 8, 12