SpyDaniel's Recent Forum Activity

  • Looking at your events, I'm guessing you are not giving enough time for the animation to play. So it probably starts, but then gets set back to what it was. You could try setting it so when the animation ends (I know there is a condition for this, just don't know it off by heart), set the default animation again.

  • lamar I'm not that guy xD I'm going to have to check it out now.

  • lamar Its not mine, I don't have a head sprite and my character is not a robot. Can you link to the post, kind of interested in what it is now.

  • 99Instances2Go Thanks for explaining!

    lamar I did not include any example of my game, so I'm not sure if you have mixed up 99Instances2Go example to be my work?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks 99Instances2Go, I don't actually understand what all the maths mean that gets the gun to rotate, such as "clamp" and "sin". I guess I could copy it to my game, but I would not really ever understand how it works.

  • I can't seem to find the right event to use within the angle section. I've tried different things but I'm not 100% and nothing has worked. Could you put a quick example together please?

  • I have the angle working, but I have no idea how I can stop the object "rotating" towards the mouse. My character has a gun and it rotates towards the mouse and the gun flips and the character gets mirrored when the mouse is either side of the character.

    The thing is, I do not want the gun to keep rotating past a certain degree, as at the moment it will clip inside the player. I want to try and have it so it only rotates along an arc of about 80° .

    Does anyone know how to do this?

  • Ah, thanks for explaining, I just couldn't think, though it is basically what I have been doing for changing animations for different movement. Just did not think it was the same for setting position, I was over thinking it xD

  • I have multiple animations with image points set. I've noticed that it will only pick the first animation in the animation list. I've tried naming them also, but this does not seem to sort the issue. The animation I want is like 3 rows down from the top of the list. Can I do some thing like AnimationName.ImagePointName? I tried, but it wouldn't work.

  • I fixed it about an hour or so ago after thinking outside the box. I didn't want the player to stand up while in an area that was too small to stand in. So now all the animations work etc while inside the trigger. This is what I have now though and it works as I wanted.

  • I've added variables, but I'm having an issue with a force crouch trigger I have set up, wondering if you could figure out why it is glitching on me? https://www.dropbox.com/s/7ylea3dcu5i2yh8/yella3.capx?dl=0

  • thanks, that sorted it, now I'm going to compare what I did, to your fix to better understand how I went wrong with the is moving condition.

SpyDaniel's avatar

SpyDaniel

Member since 28 Dec, 2016

None one is following SpyDaniel yet!

Trophy Case

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

Progress

10/44
How to earn trophies