Stencyl 3.4.0 is now out. Get it now!

Extra Mouse Buttons

rob1221

  • *
  • Posts: 9005
Extra Mouse Buttons is an extension that supports the right and middle mouse buttons on desktop, and it also supports the mouse scroll wheel on both Flash and desktop.  There are three boolean blocks that work similar to the existing mouse boolean block.  I didn't add extra blocks to check for actors, but you can just use the standard "is mouse over actor" boolean block for that.

« Last Edit: July 14, 2015, 01:53:59 pm by rob1221 »

Betazero

  • Posts: 93
This is awesome!!! Thanks

Betazero

  • Posts: 93
This may be a dumb question but how do I import/use this?

rob1221

  • *
  • Posts: 9005
Settings > Extensions > Install Extension

Betazero

  • Posts: 93
ahhhh :) Great and thank you again

spoogob

  • Posts: 1106
Good to see this - in use now and working well for my new game!

MeToo

  • Posts: 338
That will be VERY helpful, thank you.

pcmoreno

  • Posts: 43
first of all, thanks.

Do I understand correctly that the right mouse click does not work on Flash, but only on desktop?

rob1221

  • *
  • Posts: 9005

pcmoreno

  • Posts: 43
oh, that's a pity  ;)

are there any extensions that might do that? or is it simply something that flash won't do?

rob1221

  • *
  • Posts: 9005
Flash 11.2 supports right mouse click, but I guess Stencyl is using an older version.  As to whether that should be updated, I'm not making that decision without Jon's input, but I don't know how to update anyway.

Betazero

  • Posts: 93
Can't this just be added to regular Stencyl pretty easily instead of being an extension? Seems like it should be a standard feature for a game engine.

Feniso

  • Posts: 8
The mouse wheel scrolling isn't working well for me... I'm the only one?

rob1221

  • *
  • Posts: 9005
What exactly is wrong with it?

Feniso

  • Posts: 8
I'm sorry, it was a my error. I didn't know the attribute "mouse wheel was moved up" could reset itself false. I thought it would have stay true forever after the the first scroll up, so I thought I had to reset it myself. But in this way it's much better! Thank you for this extension, it's awesome!

« Last Edit: July 25, 2014, 02:58:44 am by Feniso »