staleevolution's Recent Forum Activity

  • Yep. When W & D are down and I press the left key, nothing fires. It fires if I stop in that angle, just not when I'm moving. I was looking at the Debug mode and it shows all other angles switching animation (0 to 0Throw, etc.), but it stays on 315 if I'm running.

    Not sure why it won't trigger.

    By chance do you think there is a better way or is it my computer just not running it right...?

  • For that angle it only works if I'm not moving. It won't fire when I'm running in that angle. Do you think there is a better way with reworking event 1? I tried and it still is off or do you think a completely new structure of events is needed?

  • Thanks. Much better improvement. He can now throw in all angles including the "315," but he won't throw in the 315 angle while running. Was he able to run in that 315 (45 angle) and throw for you?

    Thanks again.

  • dropbox.com/s/7unaxe5h71qt6t1/8direction.c3p

    You can delete events/behaviors/variables as you see fit.

    Just trying to make the player throw in all 8 directions while returning to run animation when not throwing as with throwing when standing still. Something is blocking it from doing so.

    Thanks

  • If I send you the capx file, do you think you would have time in the near future to try and give it a go to make it work?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was wrong. If I'm standing still the animation won't trigger back from throw animation to the regular animation. I can only throw when I'm moving and the animation will trigger back and forth (except for the 315 angle).

    There has to be some way to make it all work. I can't imagine construct not being able to do the 8 directional movement and trigger a "throwing" animation and can switch back and forth along with idle throwing animation. I'll keep trying and then I'll post it here for others to use.

    Thanks.

  • Well, I managed to make it work minus the 315 degrees going Northeast.

    I can run in that direction triggering the animation. I can stop and throw a projectile in that direction with animation triggering, but I can't run and trigger the 315 throw animation. All the other directions work along with the angle of the "bullet" motion. When I debug, the animations show they all change except from 315 (name of direction of animation) to 315THROW (name of one frame throwing animation for that direction). It is a stumper. Not sure if it has something to do with Event 1.

  • I tried the key + key down to see if it would trigger the angle animation, but it didn't. I also tried variations of the following. Not sure why the NW, NE, SW, SE angles don't play their angled animation, even though with keys down together (A,W - A,S, etc.) move the player in the respected direction.

    All the tutorials on the Construct site, Google Searches, and Youtube doesn't cover it.

  • Thanks! It did work, but the next problem is the angles. Using this sequence of events, how do I get the angle of motion animation to trigger while moving? (The 45, 135, 225, and the 315 angles) The direction for those angles work as he moves in those directions, just the running animation wont fire up.

  • He only does the throw animation if I stop. Not sure why it isn't working.

  • How do you set up events to trigger the player's throw animation while running and then return to the default running when the button is not pressed?

    I've tried to use a variable "Move" and add 1 if the key is down to run. Then as a sub event if "Move" = or greater to 1 and key is PRESSED to trigger throw animation. When Throw animation is finished or key is RELEASED, set MOVE to 0 and continue to play run animation if key for direction is down.

    I've tried a few other variations with conditions or a separate event, but nothing is working. I can get the player to trigger the throw animation and continues to move, but it is stuck in the throw frame/animation.

    Thanks

  • Thanks. I will give it a try.

staleevolution's avatar

staleevolution

Member since 9 Sep, 2014

None one is following staleevolution yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies