Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Mouse Hover
Started by ninad Aug 30 2017 06:24 AM

8 replies to this topic
release macos windows hover mouse
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 11 posts
  • Corona SDK

Just released this new plugin for Corona projects that are targeting macOS and Windows. It allows you to detect when the mouse cursor is hovering over display objects by adding a "mouseHoverevent listener to them.

 

Here’s a short video showing it in action with three overlapping display objects. The objects light up when the mouse hover's over them, with one of them blocking the propagation of the hover.

 

https://marketplace.coronalabs.com/plugin/mouse-hover


  • Develephant, vlads and Benzeliden like this

[TOPIC: post.html]
#2

Andriy Pertsov

[GLOBAL: userInfoPane.html]
Andriy Pertsov
  • Contributor

  • 211 posts
  • Corona SDK

Thank you, Ninad.
Very useful plugin, hope Corona will include it by default someday.


  • ninad likes this

[TOPIC: post.html]
#3

miguel.campiao

[GLOBAL: userInfoPane.html]
miguel.campiao
  • Observer

  • 9 posts
  • Corona SDK

Has anyone tried this with html5 builds? It's not working for me.



[TOPIC: post.html]
#4

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 11 posts
  • Corona SDK

Has anyone tried this with html5 builds? It's not working for me.

 

Hi Miguel,

 

While we didn't specifically develop this for html5, I just tried an html5 build of the demo project code and it seems to be working ok. Are you still having trouble with this?



[TOPIC: post.html]
#5

evanspro

[GLOBAL: userInfoPane.html]
evanspro
  • Contributor

  • 187 posts
  • Corona SDK

hey there, I've been trying to activate the plugin but it doesn't work. I've tried to activate other plugins and I didn't have any issue.

Any idea how I could fix that? Or is there any other way to download the plugin?



[TOPIC: post.html]
#6

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 11 posts
  • Corona SDK

hey there, I've been trying to activate the plugin but it doesn't work. I've tried to activate other plugins and I didn't have any issue.

Any idea how I could fix that? Or is there any other way to download the plugin?

 

Not sure why you're having trouble activating it. The plugin itself seems to be working ok. Might be a Marketplace issue.

 

Anywho, you can grab the source here: https://bitbucket.org/ninadjagdish/mousehover_coronasdk

 

Best, N.



[TOPIC: post.html]
#7

rodrigo.roesler

[GLOBAL: userInfoPane.html]
rodrigo.roesler
  • Observer

  • 2 posts
  • Corona SDK

Hey ninad, I don't see a license on the source code. Is it ok if I pull it and alter it? I'll need further specific changes to mouse and touch events, and I believe it will be quicker to process if I edit the original plugin.



[TOPIC: post.html]
#8

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 11 posts
  • Corona SDK

Hey ninad, I don't see a license on the source code. Is it ok if I pull it and alter it? I'll need further specific changes to mouse and touch events, and I believe it will be quicker to process if I edit the original plugin.

 

Yup feel free to alter as you like. Added an MIT license on there. Cheers.



[TOPIC: post.html]
#9

rodrigo.roesler

[GLOBAL: userInfoPane.html]
rodrigo.roesler
  • Observer

  • 2 posts
  • Corona SDK

Yup feel free to alter as you like. Added an MIT license on there. Cheers.

 

Thanks!




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: release, macos, windows, hover, mouse