Log In  

Fayne, LOVE won't run in Windows 8 (at least not on mine).

I'm attracted to Pico-8 because of the easy-to-use interface.

I'm aware of its limitations and I hope they are generated out of nostalgia rather than being forced because of some system limitations.

There will always be PICO with limitations for the fans, yet, I hope in the future there is a PICO that gives you full access to memory, essentially, infinite tiles, mapping ,sounds, music, and code.

This of course would also include the ability to increase resolution, color to true 24- or 32-bit, and possibly allow and enclose larger sound media files like WAV, MIDI, WMA, and OGG.

P#27425 2016-08-26 21:37 ( Edited 2016-08-27 01:41)

The "mouse" support on iOS on the forum is not great. It works fine as long as you stay at the top of the web page. If you scroll down the y position becomes incorrect. If feels like there is a "-window.pageYOffset" missing somewhere in the JavaScript (I don't know, perhaps it works in other browsers on non iOS devices.)

I usually use an iPad or iPhone to visit the forum, which usually takes me to the title screen of the carts, but no longer (since I have no buttons to press). I thought that if people started to also support the "mouse" input in addition to the buttons that I could easily try more of the carts, but even then I can only check out the carts that are positioned high up on the page.

P#29451 2016-09-26 19:05 ( Edited 2016-09-27 06:27)


P#37302 2017-02-09 05:19 ( Edited 2017-02-09 10:19)

Zep: For a while now, I've seen an issue of "sticky" mouse buttons states (at least on MacOS). But only recently have I found how to replicate.

The issue occurs when PICO-8 is in windowed mode: if you click on the window's title bar (and possibly areas within edges of screen), PICO-8 will register that the mouse was clicked, e.g. stat(34) == 1
However, it never clears that flag! :o/

To clear the state, you have to click focus to another window/desktop, then click back in the PICO-8 window (but NOT on the title bar). That seems to clear it.

Not sure if this affects Win/Linux as well, as don't have either to try ATM, but thought you should know.

P#42726 2017-07-23 04:46 ( Edited 2017-07-23 08:47)

@Liquidream, @zep:

Just FYI, I can't repro that on Win7. Might be MacOS-specific.

P#42733 2017-07-23 14:52 ( Edited 2017-07-23 18:52)

Thanks @Felice - I can confirm that I do not see this issue with Windows 7 either.
I currently only see this issue when running PICO-8 v0.1.10 on MacOS.

If it helps, the code snippet is what I used to diagnose/highlight the issue:

poke(0x5f2d, 1)
while true do
P#42750 2017-07-24 07:36 ( Edited 2017-07-24 11:36)

Uh, why it doesn't work with fullscreen? :(

P#50722 2018-03-23 05:02 ( Edited 2018-03-23 09:02)

yep there's a forced RequestPointerLock() in js.
I reported that some time ago, with a hack to fix it on html exports: html+mouse+fullscreen=bug

P#50728 2018-03-23 06:34 ( Edited 2018-03-23 10:34)

Fun fact: If you hold mouse buttons together you will get a new value which is both mouse buttons held/pressed added together. Example: Left (1) and right (2) mouse buttons you'll get 3.

P#92063 2021-05-17 01:54

Im basically brand new to pico 8
I understand what you put under the cart in the description is probably the answer but i can't find any sort of clean cut answer on how to get mouse.
LMN if im just being and idiot/ need to get more familiar w/ pico 8

P#125397 2023-02-06 05:42

thanks dog,you honestly saved me
also just sayin this whole community has been the most helpful constructive place on the internet.

P#125435 2023-02-06 21:31

You are certainly welcome, @Simplysoup345. If you have further input needs, to read raw keystrokes from the keyboard for instance, few carts to do this, it is also available.


P#125437 2023-02-06 21:48

stat(34) -> button bitmask (1=primary, 2=secondary, 4=middle)



P#125460 2023-02-07 05:40

Late to the party on this, but I'm building a "light gun" game, and the mouse input continually fires when the button is held down. I have a sound effect attached and it repeats while the button is down. Any idea on how I only get it to fire once per button press/release (if the button continues to be held down, I only want the sfx to fire once)

P#140733 2024-01-28 01:40

[Please log in to post a comment]