Tutorial Actionscript 3 Create Your Simple Spaceship Game for iOS or Android – 4: A Simple Moving Background and Enemy Ship

Hellow Guys, this week will be really simple, nothing really new, this tutorial will be 3 steps, the first one we will add a very simple background moving behind our ship, and it is really simple and without parallax (a theme that we may abort later), the second step we will add some enemies and the third step is make this enemies shoot on our ship, but this week won’t have any kind of collision (a theme for our next week) 😉 Oh, and if you want to read our last tutorial the link is HERE! Continue reading “Tutorial Actionscript 3 Create Your Simple Spaceship Game for iOS or Android – 4: A Simple Moving Background and Enemy Ship”

Tutorial Cocos2d Create Your Simple Game – 6: Adding “Pause Game”

This time the tutorial will be really simple, we are will add a “Pause Screen” to our game. This tutorial is following the “Create Your Simple Game” tutorial, I recommend you to be following from the FIRST tutorial HERE. Or check my PREVIEW Tutorial HERE. But if you are here only for the “Pause”,  it’s okay, any problems comment. 🙂

Screen Shot 2013-03-05 at 9.28.36 PM

Adding a Pause Button

First of all we will need a “Pause Button“. Right click over the image bellow and “Save As” with the Continue reading “Tutorial Cocos2d Create Your Simple Game – 6: Adding “Pause Game””

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”