bluesystem's Forum Posts

  • 4 posts
  • Solved: Put conditions in separate events.

  • I got it:

    if (Alien.X> LayoutWidth) then (Invasor.Bullet.Speed ??* -1)

    But if i put it:

    if (Alien.X < 0) then (Invasor.Bullet.Speed ??* -1)

    The logic is cancelled. Any help?

    There is a event called "is outside layout" but with it i dont change the point of hit, for example: (Alien.X > LayoutWidth <font color=red>- 100</font>)

  • Change "angle set" to "no" and just the sprite changes direction but still fliping vertically. This is the logic I want to achieve:

    if (Alien.X > LayoutWidth) then (Move Alien to the right without flip the image vertically)

    if (Alien.X < 0) then (Move Alien to the left without flip the image vertically)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I'm trying to make a game similar to SpaceInvader. I need all the aliens on the screen to move horizontally with the following logic: When one strikes the left edge of layout, all aliens change moving to the right, and when they strikes with the right edge, everyone started to move right.

    I've been trying to make them change their direction when they hit the edges but without changing their angles but I could not do it. The Alien type has the "bullet" and when i change your moving direction by modifying the angle, are flipped vertically. Thanks and sorry for bad english.

  • 4 posts