Tricky: Refer position to other sprite

0 favourites
From the Asset Store
Tricky Brick - Addictive classic game - Full game to post google store.
  • Hi thanks, but that's not quite what I was aiming for. I did have it similar to this at one point, but it's the opposite to what I'm aiming for.

    The screen (the one that's spinning) should always have a straight selection box, while the actual sprite off-screen can have whatever angle selection as required.

    Don't ask me how, but I did it! I was throwing random sines and cosines into the formulas and BAM! it worked! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.dropbox.com/s/lmie9krwnz0kt ... .capx?dl=0

    Well, not random of course, it's based on this rule, but still I was quite surprised when I found the right combination or angles and expressions.

  • > Hi thanks, but that's not quite what I was aiming for. I did have it similar to this at one point, but it's the opposite to what I'm aiming for.

    >

    > The screen (the one that's spinning) should always have a straight selection box, while the actual sprite off-screen can have whatever angle selection as required.

    >

    Don't ask me how, but I did it! I was throwing random sines and cosines into the formulas and BAM! it worked! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.dropbox.com/s/lmie9krwnz0kt ... .capx?dl=0

    Well, not random of course, it's based on this rule, but still I was quite surprised when I found the right combination or angles and expressions.

    Nice one.

    I did note that the size of the selection box will change while it's spinning as it loses its original position, so I added that back in, and it's working well.

    Final Version​

  • Nice learning lession for me! Thanks all for sharing your stuff here!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for persistence, very useful topic

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)