-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it able to chase the cursor through the different monitors #12
Comments
kinda stucks between them |
Thanks for reporting. As far as I understand the problem, it is necessary to implement a routine to deal with the mouse position on multiple monitors and the position and scale of these monitors. (the same thing goes for multiple screens.) I believe that, the game engine I'm using (https://github.com/hajimehoshi/ebiten) provides some support for this. I need to investigate, but it's difficult to reproduce the problem because I don't have multiple monitors. |
Hello mate, here my question - today i ve changed patterns from white => to black kinda was redraw ur patterns to patterns of my cat, and here's the question: is there a way how i can change coursor from my default windows coursor to another (like insted of my original coursor would me mouse texture and it will looks like cat chasing mouse?) if u know so tell me how to do it please, or i u don't then can i ask u to provide me some docs where i can read smthing about golang. myself as typescript dev i think i will spent lots of time trying to find code docs for my request thanks a lot |
It is possible, depending on the operating system. Unfortunately, the game engine I'm using doesn't support doing this directly. Imagine the following: I'm not drawing the cat directly on the screen. I'm drawing the sprites in an invisible window and then moving the window around the screen. It would be very easy to change the mouse to my window, but it is more complicated for the system as a whole. I will create a specific issue to study this. |
In version v2.6.0 the Ebitengine added functions to handle multiple monitors, including AppendMonitors and SetMonitor. With this, making the cat run across multiple monitors should theoretically be possible. More investigation is needed. |
No description provided.
The text was updated successfully, but these errors were encountered: