Eased Cursor Movement and Overlay

Eased Cursor Movement and Overlay 1

MNhid

New Member
MNhid submitted a new resource:

Eased Cursor Movement and Overlay - smooth motion to cursor movement

If you're looking to add smooth motion to your mouse cursor movement, here's the plugin for you.

It works with both Display Capture as well as Window Capture.

I tested it with Window Capture myself, since that's what I use most of the time. All you need to do is spend a bit of time tweaking the settings and understanding how cropping and scaling work.

In the demo, I used multiple Window Captures to showcase its flawless functions.

Your OBS Canvas Width / Height is also your...

Read more about this resource...
 
This script provided a great base to iterate on.

I had the problem of the cursor it creates not disappearing when games hide the mouse from view. Instead, the LUA cursor would just snap to the center of the screen and sit there. So I modified the script to respect mouse visibility using the same technique that OBS itself uses. Just a few additions to get_mouse_position, video_renderer, and the ffi.cdef container... and BOOM!

When an application hides the mouse, the LUA's cursor overlay hides too.

I've attached the updated .lua as a .txt. Feel free to use it however you please.
 

Attachments

Back
Top