Sam Hocevar

Results 182 comments of Sam Hocevar

If you’re going to modify the compose-keys code, feel free to borrow code from the old [WinCompose AutoHotKey branch](https://github.com/samhocevar/wincompose/tree/autohotkey). I haven’t touched it in 7 years, but if it can...

I really scratched my head around this and it’s really puzzling. The code calls `ebiten.SetWindowSize()` with the width and height of the video. However the video is 1280×720 yet your...

Hi! I have changed the script in c2233ef so that you can quickly change the map size. I will make it more configurable but hopefully it’s a good start for...

Yeah, unfortunately the workflow you aim for can’t really happen without some additional help from PICO-8. Maybe Zep would agree to implement some kind of interval-based autosave feature? If you...

Can you be more specific about what you mean by lagging? Is there a delay before the event is triggered, or are the characters wrong? This is how I would...

I tried improving the substitution logic in febfcdde00c5aab8b3b782e83a8d8829f263b6c2. Can you maybe give it a try?

Yes, `TextRange` is really too high level for what I am doing. I did not realise the approach would be so slow. But I believe several optimisations are possible: -...

That’s a very interesting use case! I’ll have a look at what can be done.

So, this specific case is actually a lot less complex than the general case, because you can use the technique for odd functions explained [in the lolremez manual](https://github.com/samhocevar/lolremez/wiki/Tutorial-3-of-5%3A-changing-variables-for-simpler-polynomials), the function...