Memory Game Tutorial

1

Index

Attached Files

The following files have been attached to this tutorial:

.capx

memory-tutorial.capx

Download now 1.43 MB

Stats

4,753 visits, 12,219 views

Translations

This tutorial hasn't been translated.

Tools

With these we will create our animations by adding frames and calling animation with name like Untap0, Untap1, Untap2 etc

First create sprite apple or whatever you have chosen. Something like below

This is default animation. Don’t rename it like I did. In animation window add new animation and call it Untap0, with so we can create little animation and it will be used as instance variables too. Your animation should look like below.

And your Animations window looks like below

Make above animation 1st Frame width to 11, than 32, 57, 71, and 77. Do not alter height keep that at 102.

All the frames you done starting from

Untap0, Untap1, Untap2, Untap3, Untap4, Untap5, Untap6, Untap7, Untap8

Now create these frame again but in reverse order like below

All the frames you done starting from

tap0, tap1, tap2, tap3, tap4, tap5, tap6, tap7, tap8

Now create card back. Once is done now create Card-back which looks like this . For this will create same type of animations as above.

  • 3 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Same here! Just the first sprite appears on second and third line. Any help?

  • Hola, me gustaría que expliquen este código que copio a continuación ya que estoy intentando hacer este juego de memoria y no lo puedo resolver.

    (((sprFaceup.ImagePointX("Origin") - 70) / 100) + (((sprFaceup.ImagePointY("Origin") - 150) / 125) * 6))

    Yo utilice otro formato de ficha por ende no se a q corresponden el 125 y el 6.

    Gracias!

  • hello, thanks for the "memory card" tutorial, I'm having trouble creating a new level, when I create a new level the sprites don't change randomly, just take the first sprite, could you help me solve it? thank you very much and ten good day