Premium Memory Puzzle Game XML/AS3

Overview

This is a premium memory matching puzzle game. The card flip animation is real 3d taking advantage of the Flash player 10 native 3d capabilities. It supports furthermore real-time shading and motion blur. The memory game can be of any size with as many cards as you like. The cards can have any size. The grid for placing the cards can be freely chosen. Cards with different images can be declared to match (e.g. a shoe and a hat should match because they are related in terms of “clothes”). It can be configured that not only 2 cards have to be matched like in the classic game but you can declare an arbitrary set of cards with all kind of images to have to be matched (in the demo above e.g. there are three “shoes” to be found .

The component is freely resizable and XML driven. A puzzle can be easily defined in a XML file. This puzzle XML file allows you to set
  • a cover picture
  • You can freely define a memory grid/distribution for the cards in rows and columns (5×3 or 6×2 e.g.)
  • as many memory images to be discovered as you like. If you specify more images than fit in the grid the relevant ones will be chosen randomly.
  • Whether matched cards should disappear or stay on the stage.
  • a time limit for solving the puzzle(s) if desired
  • once you finished a puzzle it is presented to you a results screen with some key statistics and a score
  • if the player’s results should be stored in your database (it is saved to the database: player’s email, date of play, score, time, percentage completed, id of the puzzle played)
  • you can set the importance the time should have in the score
  • if the game should be in “exam” or “regular” mode (in exam mode the “hint” functionality is disabled)
  • it can be configured how fast the card should flip around
  • show duration can be freely set (this is the time a flipped card is shown before be hidden again if it is not matching)

There is a PHP / MySQL back-end included to store the player’s results in a database. FlashVars are supported to set the puzzle XML file location in the HTML file.

Everything is well documented. Please rate this component. Enjoy!

Updates

Update 05/20/2011
  • Resolved an issue with rouding numbers

Update 04/29/2011
  • Resolved an issue with the timer and Flash player 10.2+

Update 04/11/2011
  • Resolved an issue with the 3d perspective on large stages

Update 03/18/2011
  • Cards with different images can be declared to match
  • It can be configured that not only 2 cards have to be matched like in the classic game but you can declare an arbitrary set of cards with all kind of images to be matching.

Update 03/07/2011
  • Time is measured in tenths of a second
  • Path to the php files can be configured

Update 01/28/2011
  • flipping speed can be configured
  • show duration can be freely set (this is the time a flipped card is shown before be hidden again if it is not matching)
by
by
by
by
by
by