Boomlet's Recent Forum Activity

  • Ah clever, yes that will work. Thanks!

  • Hi

    Does anyone know if there is an expression or simple way to round an angle to the nearest 90 degrees?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How did I not figure that out?

    Thank you so much

  • Hi

    This feels like it should be really easy but it's got me stumped. I simply want to get the current animation name of one sprite and assign it to another.

    With frames it would be set animation frame to Sprite.AnimationFrame.

    What would be the equivalent of doing this for the animation name?

    Thanks!!!

  • That totally worked - thanks

  • Aphrodite - thanks, yes that looks like it could work. I'll give that a go.

  • ALAYRA Games

    Yes - relative to it if it moves.

  • Just to be super clear, I want to calculate the co-ordinates of the orange square.

    [attachment=0:11531gzl][/attachment:11531gzl]

    I know:

    • Green square co-ordinates
    • Angle (potentially any value between 0 and 180 (+ or -)
    • Distance

    Thanks!

  • Hi

    This seems like it shouldn't be that hard but I feel like I've hit a wall. Any help would be gratefully received.

    I want to position sprite01 relative to sprite02

    Sprite01 has two local variables: angle, and distance.

    I want to position sprite02 relative to sprite 01 according to the angle and distance stored in the local variables of sprite 01

    Should I be using trigonometry here or am I missing something really obvious?!

    Thanks

  • Yann - Thank you so much for this. I'm genuinely blown away that someone would go to all this effort to help out <img src="smileys/smiley4.gif" border="0" align="middle" />

    It definitely works exactly as required and more importantly it's given me something tangible to start playing around with. If I can do anything else clever with it then I'll definitely share.

    Thanks again for your help - this forum rocks <img src="smileys/smiley4.gif" border="0" align="middle" />

  • sqiddster - Thanks also. Yes this is a definite risk. I have decided to change the design slightly so I don't need full object overlaps for this very reason. I'm going to use several 'sub-objects' instead which will achieve the same effect.

    Cheers

  • Thanks KaMiZoTo - that's a brilliant idea. I think I can integrate that idea into the design so that it achieves the same outcome that I'm looking for.

    Cheers! <img src="smileys/smiley4.gif" border="0" align="middle" />

Boomlet's avatar

Boomlet

Member since 22 Oct, 2012

None one is following Boomlet yet!

Connect with Boomlet

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies