Cloned objects overlapping cloned objects

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I have a problem. I have 2 button images which I clone in my game. I would like to know which red button is over button_place (And I want to know which button_place is under known red button)

    Thank you!

    koodari.net/problem.capx

  • Try Construct 3

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

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

    I don't know if this will help..

    Add an instance var to the red buttons as well as button_place in the editor changing the var to a unique no. so the first red button would be 0

    <img src="http://s20.postimage.org/mnuvh8ial/help2.png" border="0" />

    next depending on what you want to do you can add sub conditions to your overlap...

    <img src="http://s20.postimage.org/4z7q3cvx9/help1.png" border="0" />

  • Hi there,

    I don't know if this will help..

    Add an instance var to the red buttons as well as button_place in the editor changing the var to a unique no. so the first red button would be 0

    <img src="http://s20.postimage.org/mnuvh8ial/help2.png" border="0" />

    next depending on what you want to do you can add sub conditions to your overlap...

    <img src="http://s20.postimage.org/4z7q3cvx9/help1.png" border="0" />

    Thanks! I think that worked :)

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