Suspicious mouse behavior

0 favourites
  • 4 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • C2 r51.2; Windows XP SP3; FireFox 6.0; ATI Radeon HD 4870

    I recall having posted already about this issue. Maybe the post disappeared in the "incident" that occured a few weeks ago (I recall Ash talking about a manipulation that ended in posts loss).

    Anyway this capx was made in r50 and still doesn't work as intended.

    On right click on "Case", a green little square is supposed to be spawned at the (clicked "Case")'s position. It does appear but disappears right away.

    On left click on "Case", if no "obstacle" is under mouse cursor, an "obstacle" is supposed to be spawned. It is spawned, and stay visible. Nevertheless, clicking on a "case" where there is already an "obstacle" shouldn't spawn a new obstacle.

    Still it does.

    Is my use of the events incorrect or is there a trouble with the invert of the mouse object ?

  • Ah, good find again: it turns out a negated 'mouse over object' condition actually went ahead and picked the objects the mouse was not overlapping. Because there's an offscreen object, it always picks that, and if objects are picked the event runs. That's obviously not how it should work, so now if you invert the condition it never picks anything, just returns true or false depending if the mouse is over one of the objects.

    As for the disappearing object... that had me stumped for a bit... then I checked its animation frames ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As for the disappearing object... that had me stumped for a bit... then I checked its animation frames ;)

    Silly me <img src="smileys/smiley36.gif" border="0" align="middle" />

    I totally forgot about that anim <img src="smileys/smiley4.gif" border="0" align="middle" />

    Glad to support your support of C2 ^^

  • Hey, can you verify this is fixed in r52?

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