Category: cocos2d

COCOS2d-X by Example Beginner’s Guide

A nice guide book for cocos2d-x developer from Roger Engelbert !!!

You can learn all the things that you need to develop your own game with the most famous nowadays from this book ~

If you are a cocos2d-iphone developer and want to learn something about the cocos2d-x then this book is perfect to you since it compares the concept in cocos2d-x with cocos2d-iphone so that you can learn the new things faster.

The book not only includes lots of games with different types but also introduces how to develop a game for android with eclipse ~

If you feel interested in this book you can check it here:
Check on packtpub…



CCCalendar-HTML5 version

I was looking for a nice and simple calendar solution in cocos2d-html5 for my recent project ~ I tried to use some jquery calendar plugin — they are beautiful and well-implemented but the one thing that I don’t like is that you can not play it in a cocos2d-way. So I decided to make a calendar in a cocos2d-way and here it is.



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


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.



[Share] CCSlidingLayer Demo (An improved Scroll layer)

I shared a “Scroll layer demo” serval month ago which only supports horizontal mode : Check here

And here is a improved version which has the following features:

1. You can specify the size of the scroll layer
2. You can specify the container rect in which the scroll layer will be
3. You can add multiple scroll layers in the same scene at the same time and they will response to the touch event separately
4. The scroll layer supports vertical and horizontal mode

Screen shot:

To Download Page…

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

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