JDragon999's Recent Forum Activity

  • Thank you so much!!!

  • I have code that goes like this:

    If Animation1 not playing

    If the distance between enemy and player is less than 100

    Set animation to Animation1

    On Animation1 Finished

    Enemy: Destroy

    It works until you get within 100 pixels of one.

    Then all of them do the animation and then all of them die, instead of the one within 100 pixels doing it and dying.

    Please help me!

  • Thanks!

  • I have an enemy in my game that is supposed to move left and right unless the player is close enough. If the player is close enough, it shoots a bullet at the player. I have the code for it, and it works.

    Except for one part. The enemy always just shoots the bullet, no matter the distance between the player and the enemy.

    I have tried using the distance(x1, y1, x2, y2), but I might be using it incorrectly.

    Please help me understand how to use the distance tool correctly in the code, or if there is another way that works better.

    Thanks!

  • Thank you so much!!!

  • A little self explanatory. I want to trigger events if the player is a close enough to another sprite, but it doesn't seem to work.

    Please help.

  • Thanks so much!

    I know it is simple but I couldn't figure it out for some reason, and it was messing up my entire game. Thanks!

  • What I mean by this is that I have the enemy and the player in my game have the platformer behavior. For some reason when the player jumps, so does the enemy, even though it only says

    Player: simulate jump.

    How do I make it separate without having to redo the entire thing?

  • Thanks so much!

    I can't believe I didn't see this. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would like to create a ladder for my game

    The specifics are that the player changes animation to the climbing animation, changes X value to the ladder X value, and moves 2 pixels/second as long as up is pressed. The player does have the platformer value and the ladder is not solid.

    So far, I can get the player to change animation and X value, but it will not move correctly, and instead speeds up the ladder for a few pixels before dropping down about 50 pixels into a solid block, and gets stuck there.

    Help please.

  • Thanks.

    I was hoping there was a way to just simply change the size, but I'll try something else. Thanks for helping!

  • Hi!

    I am wondering if there is a way to change the viewport size in the middle of a game. I want the viewport a certain size for the first two levels, then change on the third level. I know how to make the condition, just not how to change the viewport.

    Thanks!

JDragon999's avatar

JDragon999

Member since 20 Jan, 2022

None one is following JDragon999 yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies