Tag Archives: Slider Puzzle How to

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

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 , , , , , , | 70 Comments

Setting up Cocos2D for Android, in Eclipse

… This post is meant to help you set up your first Cocos2D Android Project. Note : The Cocos2D for Android project using in my tutorials are a JAVA port of the Cocos2d-x project written in C/C++ . If you … Continue reading

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