SnowyCroww's Forum Posts

  • 5 posts
  • This was a huge help, I think I've got things figured out now. Thanks for the help.

  • I tried using timers in a variety of ways and it hasn't been working. The weird issue I'm having is that no matter how I try to move the enemy, it just flies off screen.

    I did Every 1.0 Seconds, move 32 pixels at angle 0. When I press play, after 1 second the enemy flies off screen instead of only moving 32 pixels.

    I don't know if it's constantly trying to move the enemy 32 pixels every tick or not. I came up with a solution that works by adding "On Start of Layout" to the code. Then every works great, but I can't get the code to run constantly. It will run once and then stop. Using any sort of Repeat or While action will cause the game to either not load, or make the enemy fly off screen again.

  • I am making a game that uses Tile Movement, and I am trying to figure out how to move some of my enemies.

    Basically, I want to move an enemy in a set pattern, with each movement taking place at a set interval.

    For example, I have a spider. I want the spider to move one tile to the right and then wait a second. Then another tile right, and wait a second. Then one tile down and wait a second. So on and so forth, until it completes a full circle, basically.

    If I use Simulate Movement every second, it acts as if the button (right, down, left, up, or right) is being held down rather than just pushed a single time to move a single tile.

    For some reason, I can't seem to get the enemy to move the way I want. Any suggestions?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a bunch, this is exactly what I was looking for!

  • I am currently working on a box-moving puzzle game using TileMovement behaviors.

    When I push a block into a wall, the block stops as it should. However, if I try to keep moving in the same direction, my Player character will move into the box, rather than simply not moving.

    Basically, I am wondering if there is a way to check if an object CAN'T move, rather than "if can move."

    For example, if the box can't move right (because it's touching the wall), then the player should also not be able to move right if it is already touching the box.

    Obviously, I can't make the box solid, because then it is unable to move at all.

    Any help would be appreciated!

  • 5 posts