Hexxiss's Forum Posts

  • Awesome! Easier than I thought! Thanks so much!

  • I can't seem to find a good example of this on the forums.

    If I have a player sprite, that exits one side of the screen (in this case, say the left side) to travel to a new layout, is there anyway that I can make sure when he goes to the next layout that he keeps the same Y (or x) position from the previous layout?

  • No, that definitely makes sense! Thanks a lot!

  • right now I'm using the "find path to (waypoint.x,waypoint.y)

    What would I use to set it up, to find the path to the waypoint that's the closest currently?

  • I want to be able to set up some waypoints in my project so when it's ran the enemies seem to wander the map to each of the waypoints so I can control where they can and can't go on the map.

    But, I also want them to look as though they are wandering randomly around the map. They can change direction, but I only want them to be able to travel to the nearest waypoint.

    Is there anyone that's had experience with this?

    I've been using the pathfinding example included with construct 2, and while it's absolutely awesome, I can't really seem to get it to work with what I need currently.

    Thanks guys!

  • I have an object that the player can approach, which changes the frame that it's currently on.

    I'm using the distance(player.X,Player.Y,Sign.X,Sign.Y) < 100 currently.

    It works just fine for the first sign, but it doesn't work when there are multiple instances of the same sign currently.

    Is there a way to get this to work with multiple instances of the same object?

  • That's actually perfect, and seems to be working great now! Thanks alot!

  • How can I used the distance variable to keep enemies from running into certain environmental assets? I can't seem to get it to work!

    Thanks guys!

  • I'm having an issue in a game I'm working on.

    there are specific things that I don't want the enemies to run into, specifically just small environmental assets.

    Does anyone know of any way to keep the enemies from bumping into them entirely? Or, a way to use the distance attribute to tell them to change direction when they get too close?

    Thanks everyone!

  • So, whenever you change layouts in my game currently, a strange audio glitch happens, and it only happens the moment that you meet the victory condition, and the layout changes. It's almost as if a number of different sounds are playing at the exact same time.

    It does this in Firefox, Chrome and Node-webkit.

    Any ideas what could be causing this, has anyone else seen this?

  • With a top down oriented game, is there a way to keep enemies away from certain environmental pieces?

    Specifically, how would I go about telling an enemy that once it gets within a specific range to another object, to then travel in the opposite direction?

  • thanks so much! I think this should do it!

  • I know you can't make the sprite do 2 different animations at a time, however I am having a huge issue now.

    When the character isn't moving, I want him to play an idle animation of him just standing, and only slightly moving.

    However, I also want the player to be able to hit the attack button and attack if they want.

    The problem is:

    Since the idle animation is playing when the character isn't moving, whats the best way to go from the idle animation, to the attack animation by using a keyboard button?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Haha well... that was easy, sorry to waste your time! I must be entirely too tired to be doing this right now. Thanks again!

  • So as of right now, the issue is that when the layout starts, I don't want the axe to be there, until the player hits P and then spawn the axe, but currently the axe is already there, and hitting P does nothing.