Drag and drop for simple matching game

0 favourites
  • 3 posts
From the Asset Store
320 high-quality cinematic sound effects for trailers and game scenes.
  • Hi,

    As my first project I am trying to make a simple matching game.

    I have some folders on the left of the screen that have to be matched with some folders on the right. To make it easier for you to see the intended result and problem, I have marked them A,B,C and 1,2,3 etc. respectively.

    After a lot of trial and error on my own, I downloaded and modified Nimtrix' sample file from the thread "Pin to a specific position" (http://www.scirra.com/forum/topic60687_post398132.html).

    The folders snap into place when matched, but then "jump" to a different location. That is, they don't snap into the correct place! <img src="smileys/smiley18.gif" border="0" align="middle" />

    You can see what I mean here:

    dl.dropbox.com/u/638423/Construct2/SnapOnDropTest.capx

    Hope someone can help.

    Best,

    Tore

    (PS: sorry for the addresses instead of proper links, I don't have enough rep yet! <img src="smileys/smiley19.gif" border="0" align="middle" /> )

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Hel,

    Hey, I took a peek at your file, and i think the problem is with your image points. They all need to be in the same place throughout all the animation frames. You have a few in the top left of your images, and I think that is what is throwing it off.

  • Hi Auntie Val,

    That unfortunately sounds like something I might have done <img src="smileys/smiley9.gif" border="0" align="middle" /> .

    I'll check up on that later today.

    Thanks for your help!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)