What are everyone's favorite development environments for working with Pico8? What are its pros/cons?
Personally, I enjoy the built-in editor. I always launch from the command prompt to make use of the printh() debugging features.
But I've also messed around with using visual studio code and had a good time there.


Aw man, I'm so sorry, I feel really silly... How on earth do you generate a random bool? I can't find any way to cast an int into a bool, so I'm down to doing the sort of stuff below:
randbool=flr(rnd(2)) if randbool==0 then randbool=false else randbool=true end |
This feels really dirty and silly. What's the established way of doing this please? And apologies in advance.
Thanks,
Pedro.





ive loved pico 8 the whole year, but now that schools over, i dont feel like playing as often. ill come in time to time, but i will probably not be playing at all anymore. i will never forget all of the amazing games created by all of you, but im afraid its my time to go. love you all, Jaeson Pickens.


so I tried to use my Playstation 5 controller with my PICO-8 software, it is running on windows and I added the sdl2 map. Here is the map:
030000004c050000e60c000000000000,PS5 Controller,a:b1,b:b2,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b12,leftshoulder:b4,leftstick:b10,lefttrigger:a3,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:a4,rightx:a2,righty:a5,start:b9,touchpad:b13,x:b0,y:b3,platform:Windows,
it should be correct yet when I try to use my Playstation 5 controller it isn't working, no buttons do anything. I read the wiki on how to set it up and I think I'm doing everything right. what are common mistakes or causes that this doesn't work.