fernandokolbe's Recent Forum Activity

  • Use the rotate behavior.

    Oh, ty but I forgot to say. The object needs to move AND spin, so I'm using bullet behavior, and its because the bullet behavior that the object instead of spin on itself is making a circle movement.

    Is there any behavior instead of bullet to make an object move by itself?

    The object is like a meteor that goes crossing by the screen in a straight line and you have to avoid it.

  • So, I was trying to look for an answer, but all I got was to make it spin/rotate like the sun, in a orbit.

    But I want the object to spin, like this:

    Any ideas?

    EDIT: I forgot to say. The object needs to move AND spin, so I'm using bullet behavior, and its because the bullet behavior that the object instead of spin on itself is making a circle movement.

  • These are all events I have set up for my enemy.

    Its a top down shooter.

    But lets say, that when I run around them in circles, they tend to overlap each other and even get like 4 or more together looking like its only one. Like this:

    Tried to add "Solid" behavior and didn't work.

    Any ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello guys, all answers helped me a lot. None actually worked for how my project is setup, but it gave me ideas of how to fix it myself.

    I managed to make it work, so I'm posting a image if someone looks for a solution to this problem in the future and wants another way of trying it.

    I guess I just added to many values that were conflicting because meant the same thing or different things, as I explain in the image.

    And the object its the same, its frames. I tried the different animations solution but didn't work, I was probably doing something wrong. I'm new to Construct 2 and new to coding (even tho this is not coding, the logic behind is), so I need to get more used and this forum is helping me a lot.

  • So, I have my player with 5 HP (health).

    And I have an animation with 5 frames. Each representing the number of hearts of the health. Each damage, player loses 1 HP (and 1 heart from animation).

    What I want to do, and I'm not being able to, is something like this:

    If HP = 5, set animation frame to 1

    If HP = 4, set animation frame to 2

    And so on.

    What is happening is that the animation is not changing upon receiving damage, and is playing from the beginning as well (not being triggered by the value change).

    Any idea on how to do that?

  • Now I managed to make it move.

    But it only performs the actions to rotate towards player and shoot when I have the object from the first layout at the wave 2 layout.

    Even so, it stops when the mentioned object leaves screen.

    Where can I upload my game file?

  • Is it using the same event sheet as layout 1? That might be screwing it up.

    Exactly the same (I just cloned it and changed the name, and linked to the new layout as well, but I did used another object as monster).

    Thing is that everything else works properly. Its just the monsters that are not moving, or colliding or shooting. The monsters are the only thing that appears to be broken.

    Almost everything else works. The player movement, shooting...

    So my guess is that there is something conflicting.

    This are all of mine events that are monster-related:

    i.imgur.com/4cwePWU.png

    i.imgur.com/LlOvAU5.png

    The new layout has all the same events, but with another object (monster2).

  • So, basically, I have a game, a top down shooter, that is divided into waves.

    I already did the art for the following ones, and was thinking that this was to be system:

    If score >= X, go to layout wave2 (there is also the commands "destroy monster" to destroy the current monsters, and wait 7 seconds to don't change instantly)

    I cloned my layout, changed the name, and changed the monster sprites ONLY. The monster is supposed to have the same commands at least while I was testing. I did not change anything else.

    But the monsters are not moving. What causes the monsters to move? Is it a behaviour? Is it a global value?

    To be more clear: I have a layout where monsters move. I cloned it, made it so from the first layout at reaching an X score you would go to the 2nd, where everything is the same so far, but the monsters do not move.

fernandokolbe's avatar

fernandokolbe

Member since 17 Apr, 2016

None one is following fernandokolbe yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies