mahe's Forum Posts

  • Thank you Saad Swad for the help, I succeeded what I wanted to do thanks to you.

    I did as you asked and add some stuff for fun :

    Event : when character on collision with purple sprite =>Action : set opacity of purple sprite to 50, set "Collision" (instance variable of purple sprite) to 1.

    Event : Every 1.0 seconds,"Collision"(instance variable of purple sprite)=1, Pick a random purple sprite instance => Action : Apply Physics Force (0,500) at image point 0.

    Is there a way to join the project capx or images in the Forum, then this could help more other people ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, here is my problem,

    I have a couple of purple sprite in my level

    When I touch one of those purple sprite with my character their opacity become 50 (On collision-> set opacity to 50)

    I would like to know how I could select randomly a purple sprite among those I have already touched

    I know the event "Pick nth instance" but It pick a precise IID instance

    I know also know the event "Pick random instance" but it allow me to pick one purple sprite among all instances, and I want to pick one among the purple sprites that I have already touched -> Is there a simple way to do that ?