Gmoney's Forum Posts

  • Yes, I like the updated one better. Thank you again, 99Instances2Go.

  • That is again an amazing skill, 99Instances2Go. Thank you very much for the information. (I learned something new again. )

  • That's exactly the same as what I posted above. Click on Family > Pick top instance. The non-family .capx is pretty much what you posted but like I said it gets out of hand with the comparisons on loads of objects.

    Yes, plinkie. You were right. Thank you very much for the information.

  • The answer is out. Check out 99Instances2Go's post below.

  • Thank you very much for the update, 99Instances2Go. I've learned something new from you today. I'll find the old thread and update that with this information as well.

  • I know how to get the highest and the lowest values.

    My example below has 3 green sprites that have the UIDs of 3,10 and 11.

    Each have 'Variable1' values of 15, 35 and 1.

    The UID 10 is the highest and 11 is the lowest.

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

    Getting the values of the variables from multiple (selected) objects sound like they will need array, functions and possibly families.

    Could anyone else look into this issue further?

  • Unless there is someone who can come up with a better way of resolving the issue, you'll need to use Families in order to completely resolve this. (Families are available on the personal and business licenses of Construct 2.)

    https://www.scirra.com/manual/14/using-a-license

    Here's an example from another thread on how to resolve a 'clicking-overlapping-sprites' issue.

    viewtopic.php?f=147&t=79856&p=1067723&hilit=overlapping#p1067723

    There's a way to resolve simple overlapping issues without having to use the Families, but that method will need a lot of extra work if you plan to use it for randomly spawning enemies.

    I have created this example for another thread, but again it's only good, if the number of your sprites that needs overlapping attention is not set to rise.

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

  • You're welcome, Boss95.

  • Go ahead and try the following with the search button, although it's not entirely accurate: it doesn't follow the first rule correctly.

    We'll call the original state of the search button A, and the pressed (or in the case of the search button, hovered) state, B.

    If you click down on the search button, it changes from A to B. (well, in the case of the search button, if you hover over the search button, it changes to B, but I think usually, there's a different state for hovering over a button and clicking on the button)

    If you move your mouse away from the search button while still keeping the left click pressed, it changes back into state A, and if you then move your mouse back over the search button, it changes to state B again.

    If you release the left click button while your mouse is on the search button, it does the action (which is to search, in our case).

    If you release the left click button while your mouse is not on the search button, it turns back into state A.

    My question is, how can I simulate this with touch on Construct 2? (Obviously, there is no hover 'state', but there will be a touched state and a non-touched state)

    If my model of button clicking states isn't accurate, you can correct it. It's just based on what I've observed. <img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing">

    Thanks in advance! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Eliclax

    You mean like this? <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Essentially, I want a bullet that, when it comes within certain range of something else, will explode and shoot off shrapnel. I've tried using Line of Sight and Distance, but nothing seems to work.

    Like this? <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

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

  • You're always welcome, kiugetski.

  • You're welcome, Energiun. Yes, that's much better than my example.

  • You're welcome, Justin64.

  • Like this? <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

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