Xionor's Recent Forum Activity

  • cvp

    Ah, thank you! I tried looking for that but didn't find much.

    I just threw in a similar solution into my code and the objects stopped picking themselves at least! So it's a step in the right direction.

    Going to bed now, so I'll test it further tomorrow if they're also picking the correct ones!

  • cvp

    The problem is the instances pick themselves!

    The closest Instance of Object to Object with IID=1 is Object with IID=1.

  • Hi,

    Reposting this from the General section.

    I have now 8 instances of the same object.

    How would I make each instance select the one nearest to itself, other than itself?

    I used.

    For Each Object

    • > Pick Nearest to Self.X , Self.Y

    But that just picks itself. I tried different methods of not selecting self but none worked.

    Basically make the following selections(note my amazing work of art below)

    1 selects 2

    2 selects 1

    3 selects 4

    4 selects 3

    5 selects 4

    6 selects 7

    7 selects 8

    8 selects 8

    <img src="http://img10.imageshack.us/img10/6083/uvhs.png" border="0" />

  • newt

    Thanks for the tip. I tried it but it didnt work properly. I'll repost this in the howto section furter and explain my problem better with more detail.

  • I tried another method.

    I have 2 instances of Sprite.

    One with UID 0 and one with UID 1.

    Pick Sprite with UID 0

    • > Pick Nearest Sprite to Self.X Self.Y

       -> Set Text to Sprite.UID

    It seems to select the sprite with UID 0, in the first pick, and not the sprite with UID with pick 1.

    How would you make a sprite pick the nearest other sprite of the same type?

  • You have 2 instances of the same Sprite.

    The following snippet:

    Sprite -> Pick Nearest to Self.X, Self.Y

    Does it pick itself, or does it pick the other sprite?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hope not.

  • There's absolutely nothing that will magically make good graphics for you.

    Sorry but you'll have to find yourself a talented artist to make anything sellable.

  • Checking if the Group is active inside the Group is redundant.

    If the Group isn't active none of the checks inside the group would run to begin with.

    You're only checking if the Group is active, while it's active. That makes no sense.

    It's like writing "If X=1 , check if X=1".

    To check for the Opposite/Inverted stament, right click it and click Inverted : )

  • you think that if the 90% of the comunity have the ability to make a custom wrapper would buy C2?i dont think so mate.I personally bought (and i think the majority of us)C2 because I dont know programming at all.

    spy84

    That is my point exactly.

    People have no idea how to program yet apparently think making a HTML5-to-Native wrapper is a straightforward breeze.

  • Sent you a mail on supportncs@scirra.com : )

  • Click on the object itself in the layout editor and on the left side you can set Unmovable to Yes. You can also call it as an action.

    Checking of Group "poop" is active is redundant, as the event won't run if the Group isn't active : )

    If you want to run an event only once you can use a Trigger, or just put "Trigger once" at the end of it.

    Really start reading the manual and doing the tutorials, you're starting to ask incoherent and easy things. They will lead you through the mechanics in the program : )

Xionor's avatar

Xionor

Member since 16 May, 2013

None one is following Xionor yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies