Please help - how to color each overlapping instance like in "Pull the Pin" mobile game?

0 favourites
  • 1 posts
From the Asset Store
Color all tiles with the same color in 22 moves or less!
  • Hi,

    Apologies for my english, not my first language. But i will do my best to explain the problem.

    So i have no idea how to make an effect of coloring each uncolored objects that are overlapping the colored ones (like the balls in the "Pull the Pin" mobile game). I'd like to add i actually know how to make a color logic, just don't know how to "activate" that color upon collision with each other. Literally to make a chain reaction. I got over 20 little - physics based balls in my project.

    What i already tried is:

    I made a collision check with "Pick nth instance" (made a collision event, then subevent in which its checking if instance 0 that is uncolored is overlapping the colored one (instance 1), and then set the uncolored one to random color. Also, made a second subevent, but reversed the instances.

    However that composition doesn't work as expected.

    I would be very grateful for any help.

    Thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)