JDragon999's Forum Posts

  • Thank you so much!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

  • 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!

  • Nevermind. I don't know what I did, but it works now. Thanks!

  • Yeah, it still doesn't work on my computer. When I click, the bar disappears.

  • I have not added any themes or browser addons. I just barely tried opening it on my school chromebook, and it worked just fine. It might only do this on my computer or it's fixed.

    Not sure yet.