Log In  

Cart #fefobefise-0 | 2022-07-14 | Code ▽ | Embed ▽ | No License
1


hello :)
I'm trying to use stat(38) and stat(39) to recreate a cursor, but it feels very janky?
repeated mouse patterns lead to very different results, often pulling the cursor right, down or both
could this be a hardware issue?
thanks!

P#114312 2022-07-14 20:55

Your cursor works fine when I run it in the true Pico-8 system, @yyna. Your cursor does not move AT ALL in the online Lexaloffle version.

I would definitely mark this as a BUG, as you have done, and alert @zep to it.

P#114320 2022-07-14 21:17 ( Edited 2022-07-14 21:34)

welp, just found the issue! I lowered my mouse's polling rate from 125hz to 1000hz, and it seems to be way better..
wonder if that is due to 1000 not being close to a multiple of 60?

P#114325 2022-07-15 00:08

Hi @yyna:

I still can't get your program to work online at all here. Using Firefox v102.0.1 in Windows 10 64-bit.

The cursor just stays in the top-left-hand corner no matter how much I move the mouse around the Pico-8 screen.

P#114328 2022-07-15 02:59 ( Edited 2022-07-15 03:00)
P#114349 2022-07-15 11:53

Thanks for the info, @yyna. Still it would be something for @zep to fix.

Here now is the closest I can get for you without being able to access the proper acceleration:

Cart #wapayubibu-0 | 2022-07-16 | Code ▽ | Embed ▽ | No License

The target does not move unless you do. The acceleration is dependent upon how far away the target is from the center dot. To do fine-movements, stay near the center, to have wider moves, move away from the center.

P#114388 2022-07-16 00:17 ( Edited 2022-07-16 00:31)

[Please log in to post a comment]