Log In  
Page:
1
2

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.


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.


?????


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.

Issue
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/

Workaround
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.


@Liquidream, @zep:

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


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
?stat(34)
flip()
end

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


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


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.


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



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


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.

https://www.lexaloffle.com/bbs/?pid=116361


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

another:

3=primary+secondary


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)


Page:

[Please log in to post a comment]