Tutorial Cocos2d Create Your Simple Game – 4: Simple Sprites Rect Collision Detection and GameOver Screen

Good morning guys, following my last tutorial “Tutorial Cocos2d – 3: Adding a Joystick to your iPad/iPhone Game”. Today I will show a little of collisions for Cocos2D.

Well we have a lot of different algorism for collisions, some of them is a little more practical and simple and that is what we are doing today.

The first code we will be workin on is Rectangle collision. Well, what is it?

it is very simple, around our Sprites we “draw” a simple “Rectangle” to check the collision, of course the algorithm is not very accurate over the true sprite’s borders, but it is very practical, simple and “light”.

Here I will continue from where we stopped from my last tutorial, if you are here just for the collisions try to follow bellow and if you have any question or problems post your comment asking, I will do my best to help.

Continue reading “Tutorial Cocos2d Create Your Simple Game – 4: Simple Sprites Rect Collision Detection and GameOver Screen”

Tutorial Cocos2d Create Your Simple Game – 3: Adding a Joystick to your iPad/iPhone Game

Screen Shot 2013-02-04 at 5.38.40 PM

Hello Guys, sorry for the lack of updates here, I’m working a lot on the My Project”s Sprites, it is really a GREAT problem, and takes a long time, but today, We are just following my last Tutorial HERE.

And today we are going to work over the Game Play and Add a Simple Joystick Pad for our Game.

Open your XCode and load “our” project from Continue reading “Tutorial Cocos2d Create Your Simple Game – 3: Adding a Joystick to your iPad/iPhone Game”