Coin-coin le Canapin's Recent Forum Activity

  • Hi.

    I'm using a Set color effect (255,255,255) to make my enemies blink when the player hit them.

    However, this effect is active by default and I just want to activate it when the enemies are hit.

    Actually, I've made this event : "on start of layout -> enemy : disable effect "hit".

    Is there any way to set this effect inactive by default without using the event sheet?

  • Hi!

    It took me some time to figure out how to do this with your advice (and to understand the "*1000" purpose), but I finally did it.

    previousWall_X = 0

    previousWall_Y = 0

      For each [wall] order by ( wall.X / wall.Width ) * 1000 + ( wall.Y / wall.Height )
        Pick wall where Y = previousWall_Y + wall.Height --> wall set animation to "block" (different hitbox) (no condition) --> system set previousWall_X to wall.X (no condition) --> system set previousWall_Y to wall.Y

    Thank you very much !

  • Thanks for your replies.

    My object is actually not a kangaroo, but a wall.

    Basically, what I'm trying to achieve is :

    "if a wall A has another wall B directly above it, make A red". I use a grid so my walls are well aligned.

  • Hi!

    Let say I have this :

    For each Kangaroo

    (sub event) For each Kangaroo

    How can I make comparisons between the kangaroos from the first loop and those from the second one?

    I'm tyring to do this kind of stuff since yesterday and it makes my brain hurt.

  • That was right, thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi all!

    I'm trying to custom my "ghost shooter" game from the tutorial.

    Instead of repeatly click the mouse button to shoot, i've done this :

    Then I just have to keep the mouse button down to make my character shoot.

    The bullet is supposed to appear to the character image point "canon", but when I press the mouse button, only the first bullet appears to this point.

    The other ones appear on the center of the character sprite instead of its image point "canon".

    Does someone could help me about this?

    Thank you very much.

Coin-coin le Canapin's avatar

Coin-coin le Canapin

Member since 22 Dec, 2010

Twitter
Coin-coin le Canapin has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies