Sliding Puzzle Game - Suggessions

Nibbie
Posts: 1
Joined: 2012.11
Post: #1
Hello,

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
Nibbie
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.
http://gamesalad.com/
Quote this message in a reply
Apprentice
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 ( http://gamua.com/sparrow/ ). 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
Nibbie
Posts: 1
Joined: 2013.01
Post: #4
Is it compatible on iPhone 5?????
Quote this message in a reply
Member
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
http://www.justinfic.com
"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
  Mad Dan - Puzzle TD (FREE) EtorkiGames 0 45 Today 04:37 AM
Last Post: EtorkiGames
  How To Animate a sliding of a circle on touchesMoved. syednab 0 2,705 Oct 18, 2008 09:55 AM
Last Post: syednab