question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to change cursor image

See original GitHub issue

Pretty much the title.

It used to be possible by editing pyxel.constants.MOUSE_CURSOR_DATA, but that’s no longer possible: https://github.com/kitao/pyxel/commit/633a8185d16122a37dca371cff93c7eef874b8e7#diff-c63ca80a88391b3bd30b8f153bdca69907aa28eb7c8df8ffef54b5e639d6ed42L56-L65

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kitaocommented, Dec 11, 2021

Actually Pyxel 1.5.0 can handle many Image Banks. And now pyxel.cursor is also an image bank.

So, you can call the following functions to edit image:

pyxel.cursor.pset(10, 10, 3) pyxel.cursor.cls(0) pyxel.cursor.set(0, 0, [“fff”, “fff”, “fff”])

2021/12/11 15:32、WarpedWartWars @.***>のメール:

In 1.5.0, you can modify the mouse cursor image with pyxel.cursor image.

Do I just set that to the tuple of strings of numbers like I did with pyxel.constants.MOUSE_CURSOR_DATA?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/kitao/pyxel/issues/329#issuecomment-991482579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFFXEXN72AM2AK5PJYYO6LUQLV6JANCNFSM5I3QK3XA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

0reactions
WarpedWartWarscommented, Dec 11, 2021
  1. I found out.
  2. I’m using it on replit. 2.1. README seems to just say to install it with pip.
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change your mouse cursor in Windows - Digital Trends
1. Click on the Search box located in the taskbar. 2. Type in "mouse." 3. Select Change your mouse settings from the resulting...
Read more >
How to Get a Custom Mouse Pointer in Windows 10 (USE ...
This video will show you how to change or get a custom mouse pointer in Windows 10 using any custom image. We'll cover...
Read more >
How to Create and Apply a Custom Mouse Cursor Using a ...
1. Locate the photo you want to use. The example in this article will be this peace sign, and it is transparent in...
Read more >
Changing the Cursor with CSS for Better User Experience (or ...
Some cursor changes are built into the User Agent Stylesheet. Look at <a> links as an example. Even if we do nothing else...
Read more >
How to Change the Mouse Cursor on Windows 10
Change cursor color ... 1. Open the Mouse pointer settings page, and click on Adjust mouse & cursor size. 2. Under Change pointer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found