The last job …

cocos2d-html5 (javascript) + web.py (python) + SAE + HEROKU + API * N ……



A trip from cocos2d-iphone to cocos2d-html5

With the help of the 3-day-break during Tomb-sweeping Day I finally finished this trip and reached the destination.

Frankly speaking I was only planning to write a short post about this trip at the beginning but when I get started I found there are way too much that I want to write down the I planned.

Then I happened to come across a wonderful tutorial from Ray wenderlich introducing how to create a book usign iBooks author and asked myself — why not? — and then this book was here πŸ™‚



Something about porting a game from cocos2d-iphone(ios-objc) to cocos2d-html5(web-javascript) for a newbie. Part.0

.Well:
It’s not a tutorial ~

.Background:
I nearly completed porting one of my old ios game (about 1 year ago) to the web using cocos2d-html5(80%).

Some words about this game — It’s a simple board(card) game which use the PaiGow (Chinese tranditional card).



CCLabelTableEditor for cocos2d

After failed searching for a proper table control in cocos2d I decide to create one myself – and then here’s the “CCLabelTable”.

I also made a CCLabelTableEditor to make it easier to create beautiful tables and then reuse it in other projects πŸ™‚

YouTube Preview Image


Working on a label editor for cocos2d

Working on a editor for making label in cocos2d ~

– CCLabelTable
CCLableTitle
CCLableHeader
CCLableRow
CCLableCell
CCLableFooter
CCLableGrid
CCLableSkinManager
……

YouTube Preview Image


Another great cocos2d book – “Creating Games with cocos2d for iPhone 2”

Thanks to Paul Nygard for sending me a copy of this wonderful book and I must say I really had a great time reading this book and learnt a lot from it.

This book covers every aspect that one should know to create a ios game and it is targeted on cocos2d 2.0 version.

If you are a newbie just about to start to make game on ios device and have decided cocos2d engine is your choice then you can learn all the basic concepts in cocos2d such as CCLayer, CCScene, CCSprite etc.

If you have already been quite familiar with all “CC” stuff in cocos2d but is wondering how to put all the stuffs to make a “real game” then you can follow the flow of each chapter which will guide you through the way and show you how to make a “real game” step by step.

If you have already released one or two simple cocos2d game yourself and is looking for something more complex, something different (like different game types) then you can also learn a lot from the variety game covered in this book and some advanced skills such as Box2d, GameCenter MultiPlayer, the use of CCRenderTexture, enemy AI etc.

If you are already a veteran in the field of coco2d and have released lots of games with different types ~ well ~ I think you still had better give this book a try ~ remember ? “Stay hungry, stay foolish” πŸ™‚

The game demo included in the books are all well-chosen – a variety of game types – gradually increasing difficulty – all the demo binds to certain concepts in cocos2d. If you can read this book from top to bottom as well as the code attached to the book I think another cocos2d expert will soon be born πŸ™‚

The last but not the least, if you feel interested in this book you can check it here:
Check on packtpub…

Thanks to Paul Nygard again for bringing us such a great book πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†
If you feel all the stuffs in this site helped you a lot and you can get a game I made πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†



[Share] ShatteredSprite – cocos2dx version

This is cococs2dx version of the ShatteredSprite I once introduced on my blog:
Check

and used in my current demo:
Check

To Download Page…

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†
If you feel all the stuffs in this site helped you a lot and you can get a game I made πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†



[Share] ExplosionParticleDemo – using an improved CCParticleSystem

This is demo is for the latest game special effect competition held by cocoachina forum. The theme this time is – particle explosion effect.

After looking into the CCParticleSystem class in cocos2d framework I found that the support for changing the property of each particle during its life time is quite limited. You can only set the particle property by specifying the startXXX, endXXX, startXXXVar, endXXXVar while initializing. (and it supports linear function type only)

YouTube Preview Image


Introduction to some great ios gesture recognition libraries (cocos2d)

I happen to need a gesture feature for my recent game so I did some search on Internet and tried some 3rd party libraries as well and finally find the solution. And I would like to share the search result with those who may be interest in.



51CTO – IT BLOG Competition of 2012

I was introduced to this IT BLOG Competition by my friend recently.

And I realized that I’ve been running this blog for over one and a half year. There’re no high-tech dev stuffs here but simple problem-solutions and ready-to-use code snippet.
Some of them are original while some of them are from all around the world.

I hope hope more and more people can find this blog where they can find something helpful for them and agree with my effort, so I decided to take part in this competition.

If you love this blog and would like to support me, you can visit my “Competition Page” here:
http://blog.51cto.com/contest2012/6169509

and vote for me:

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†
If you feel all the stuffs in this site helped you a lot and you can get a game I made πŸ™‚

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†