Category Archives: Cocos2D for android

Gidigames Android Board Game is Going Open Source [Happy New Year!]

Hurray and Happy New Year All! Gidigames is now OPEN SOURCE. You can download the Source code from Github and use it as you wish. Brief description of Gidigames Gidigames is a suite of simple (board) games that we’ve always … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Education | Tagged , | 1 Comment

The Anatomy of a Cocos2D for Android Game

Its important to understand the different components of your game and what goes where! For the most part, you will be dealing with layers (CClayer class) adding nodes, sprites, animations  etc to it. This is where the magic happens. But … Continue reading

Posted in Cocos2d, Cocos2D for android | Tagged , , , | 6 Comments

How to Create a Sliding/Scrolling Menu in Cocos2d for Android

In this tutorial, we use the CCScrollView class to create a horizontal scrolling menu . A scrolling menu is  excellent for tastefully laying out the menu items in your games . Items may scroll horizontall or vertically (your call) with that smooth … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android | Tagged , , , , , , | 7 Comments

Step by Step Guide on How to Build a Slider PICTURE puzzle game using cocos2d for android

A picture slider puzzle is definitely the next best thing after a number slider puzzle or an alphabet slider puzzle. And that’s what we would be building in this tutorial post. Note : This post builds on previous tutorials for building … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Programming | Tagged , , , , , | 17 Comments

Adding a Game Menu in Cocos2D for Android

As you create sophisticated games, your games will need to have a “landing” page or menu page with nice graphics and a  button or two to access the main sections of the game. Such buttons popularly are the “start” , … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android | Tagged , , , , , , | 13 Comments

Step by Step Guide on How to build your first Slider Puzzle game in Cocos2d for Android – Part 3

In Part 1 of this tutorial series, you learned about creating a new Cocos2D for android project, adding sprites, scaling and positioning sprites. In Part 2, you learned more about generating and positioning the tiles for the slider puzzle, and … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Developer Tips, Programming, Tutorials | Tagged , , , , | 11 Comments

Handling Sound in Cocos2D for Android

Screenshot credits from one of my games – Puzzbox Africa In many games, sound remains a vital component for achieving interactivity. You may need to play short sound clips in response to events e.g when a button is pressed, a … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Developer Tips, Education, Programming, Tutorials | Tagged , , , , , , | 5 Comments

Step by Step Guide on How to build your first Slider Puzzle game in Cocos2d for Android – Part 2

In part 1 of the tutorial, we set up the game scene, added a couple of labels to keep track of game status , amount of time elapsed and number of moves. And we made the timer start counting to … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Developer Tips, Education, Programming | Tagged , , , , , , | 37 Comments

How to Slide a Sprite around based on touch/drag input in Cocos2D for Android

This post is written in response to a question on Part 1 of the Building your first slider puzzle game in Cocos2D for Android. How do you slide/drag a large image sprite around the screen based on touch/drag input ? … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Developer Tips, Education, Programming, Tutorials | Tagged , , , , , | 7 Comments

Step by Step Guide on How to build your first Slider Puzzle game in Cocos2d for Android – Part 1

In the previous post about setting up cocos2d for android game development, I showed you how to import the cocos2d project into Eclipse and run the sample code included to give an idea of the capabilities/affordances of the Cocos2d game … Continue reading

Posted in Android Tutorials, Cocos2d, Cocos2D for android, Developer Tips, Programming, Tutorials | Tagged , , , , , , | 69 Comments