Sliding Puzzle Game - Suggessions

Posts: 1
Joined: 2012.11
Post: #1

I am very new to the iPhone game development world and going through the cocos2D book as well some other online tutorial to get some grip Smile
I would like to make the classic puzzle game (numbers, not picture) with option to choose from 3x3 or 4x4 or 5x5 etc.

Example: 3x3 grid
3 | 2 | 4
E | 1 | 6
5 | 7 | 8

(E stands for empty)

While touching one number (or cell) would go up/down/left/right. And at the end of the (when the puzzle is solved), display a message.

I would like to know what would be the best way to proceed? If some one could give me some idea; like where to start and which model should I use (like title map maybe), do I need cocos2D for this?

Thank you in advance.
Quote this message in a reply
Posts: 2
Joined: 2012.12
Post: #2
Hi, I develop games for ios and I love your idea. I would suggest maybe gamesalad if your new to iphone dev. Its very simple.
Quote this message in a reply
Posts: 8
Joined: 2012.12
Post: #3
I recently released my first game that involves sliding tiles. I built this using the excellent Sparrow Framework ( ). It very easy to get started, and the tutorial that accompanies the framework is exactly what you'll need for your game.
Quote this message in a reply
Posts: 1
Joined: 2013.01
Post: #4
Is it compatible on iPhone 5?????
Quote this message in a reply
Posts: 338
Joined: 2004.07
Post: #5
Whatever framework you decide to use (any of them would be suitable for a sliding puzzle) your first step will be getting a tile drawn on the screen, then being able to draw one that moves, then drawing a bunch of them.

As for how to represent it, I would just use a two-dimensional C array.

Edit: Oops, this thread is months old. My bad ;p Advice still applies though if you're still stuck.

Justin Ficarrotta
"It is better to be The Man than to work for The Man." - Alexander Seropian
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How To Animate a sliding of a circle on touchesMoved. syednab 0 3,686 Oct 18, 2008 09:55 AM
Last Post: syednab