Thegamingspyro's Forum Posts

  • 9 posts
  • I want to make a solid hitbox around my enemies and players but I dont want it to stop them from moving? Any ideas?

  • I solved my problem it seemed that it would just trigger the animation instantaneously so I just added a trigger once condition.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Isometric game like the binding of issac

  • Pretty sure construct 2 is based off html5 but java is pretty easy to learn

  • Have a quick look at the skeleton's sprite object and make sure the speed and loop settings are correct. Sometimes that does it. Check out the frames as well as the complete animation and make sure it's not 0 or something. Also check to be sure the animations are correctly named and referenced (watch for case sensitivity, too!)

    In reference to your events, if you're telling it to play animation Default at the event beginning, it will probably keep changing back to default as long as the conditions are true, despite what the sub events say. Set the default animation when the skeleton is idle. Then as a separate event, set your AI conditions and actions.

    Skeleton is on screen (not necessary, but can be used with sub events under it if you're worried about performance)
         Player X > Skeleton.X Skeleton  Skeleton set animation to "Walk"(play from beginning)
                                         Skeleton Simulate 8Direction pressing Right
                                         Skeleton Set angle to 0 degrees (<-- I wonder if you might be better off with an invisible controller sprite, but that's another tutorial)
                                         Skeleton Set Mirrored[/code:2leqtkje]
    
    I hope that's helpful. I suspect the answer lies in your first action, set animation to default.
    
    --Edit: I see the forum removed most of my formatting, so I put it within a code block. hope you can still tell what I'm doing here.
    

    I tried what you said but it still wont work and I am not sure why

  • Have a quick look at the skeleton's sprite object and make sure the speed and loop settings are correct. Sometimes that does it. Check out the frames as well as the complete animation and make sure it's not 0 or something. Also check to be sure the animations are correctly named and referenced (watch for case sensitivity, too!)

    In reference to your events, if you're telling it to play animation Default at the event beginning, it will probably keep changing back to default as long as the conditions are true, despite what the sub events say. Set the default animation when the skeleton is idle. Then as a separate event, set your AI conditions and actions.

    Skeleton is on screen (not necessary, but can be used with sub events under it if you're worried about performance)
         Player X > Skeleton.X Skeleton  Skeleton set animation to "Walk"(play from beginning)
                                         Skeleton Simulate 8Direction pressing Right
                                         Skeleton Set angle to 0 degrees (<-- I wonder if you might be better off with an invisible controller sprite, but that's another tutorial)
                                         Skeleton Set Mirrored[/code:1xgis24n]
    
    I hope that's helpful. I suspect the answer lies in your first action, set animation to default.
    
    --Edit: I see the forum removed most of my formatting, so I put it within a code block. hope you can still tell what I'm doing here.
    

    Thank you for the advice I will see if it fixes my problem

  • oh no I have all the x's and y's right in the actual code I just messed it up while typing it to this fourm

  • I am making a dark souls like game with construct 2. The enemy follows me correctly however none of its animations will play. I cannot post my capx file or img so I will type my enemy AI out.

    Skeleton is on screen

    Player X > Skeleton.X Skeleton Set animation to "Default" (play from beginning)

    Skeleton set animation to "Walk"(play from beginning)

    Skeleton Simulate 8Direction pressing Right

    Skeleton Set angle to 0 degrees

    Skeleton Set Mirrored

    Player X < Skeleton.X Skeleton Set animation to "Default" (play from beginning)

    Skeleton set animation to "Walk"(play from beginning)

    Skeleton Simulate 8Direction pressing Right

    Skeleton Set angle to 0 degrees

    Skeleton Set Not Mirrored

    Player X < Skeleton.Y Skeleton Set animation to "Default" (play from beginning)

    Skeleton set animation to "UpwardWalk"(play from beginning)

    Skeleton Simulate 8Direction pressing Right

    Skeleton Set angle to 0 degrees

    Player Y > Skeleton.Y Skeleton Set animation to "Default" (play from beginning)

    Skeleton set animation to "DownwardWalk"(play from beginning)

    Skeleton Simulate 8Direction pressing Right

    Skeleton Set angle to 0 degrees

  • I need help with my enemy AI for my isometric, dark souls like game. My enemy AI will follow me properly but none of its animations will play and I cant figure out why. Can someone please help, the enemy AI code is shown at the bottom of the event sheet of my .capx file: onedrive.live.com/redir ... ile%2ccapx

     https://onedrive.live.com/redir?resid=8 ... ile%2ccapx[/code:3pdf4y9b]
    
    [img="https://onedrive.live.com/redir?resid=811DBD4A5887FC1A!111&authkey=!AO5NnmN1o7S6I0M&v=3&ithint=photo%2cpng"]
  • 9 posts