inverted mouse over not picking all objects bug ?

0 favourites
  • 3 posts
From the Asset Store
Create your game with this complete pack of images and animations!
  • I've been at this one for a while. Any ideas how to fix this?

    Basically what looks like happens:

    If the mouse is going fast enough that it is not seen as off of one of the family objects during a tick, it behaves as if the mouse is somehow on top of all the objects. It reports the correct UIDs and behaves, in code, as if only one was selected.

    Best to show with an image:

    Here is my code...

    [attachment=0:37swrcra][/attachment:37swrcra]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One work around if only one thing can be highlighted at a time would be to have an event turning them ALL off every 0.1 seconds (you could do every tick, but 60x a second is over kill) unless the mouse cursor is over them. This should keep the lagging ones reset.

  • *sounds of brain exploding and brain noodles hitting the wall*

    All I did was move the destroy call to the top and it fixed everything. Thank you!!! Sometimes when you look at something long enough it starts to stop making sense.

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