ProfMonkey07 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=66431 Gravity simulator <p> <table><tr><td> <a href="/bbs/?pid=165116#p"> <img src="/bbs/thumbs/pico8_wihifuzuju-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=165116#p"> wihifuzuju</a><br><br> by <a href="/bbs/?uid=66431"> ProfMonkey07</a> <br><br><br> <a href="/bbs/?pid=165116#p"> [Click to Play]</a> </td></tr></table> <br /> Made this simple gravity simulator. It starts with the same 3 bodies each time with arbitrary masses, positions, and velocities. Should be simple to change those in code and the format for each planet will be down below. Also if you uncomment some of the code in the populate function it will populate randomly. I might update this someday, I might not, in any case it was a fun project.</p> <p>Planet format is {x, y, x velocity, y velocity, id, mass}<br /> the id is just the position in the array.</p> https://www.lexaloffle.com/bbs/?tid=148281 https://www.lexaloffle.com/bbs/?tid=148281 Mon, 07 Apr 2025 00:11:48 UTC PS5 controller not working with PICO-8 <p>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:<br /> 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,</p> <p>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.</p> https://www.lexaloffle.com/bbs/?tid=47963 https://www.lexaloffle.com/bbs/?tid=47963 Mon, 30 May 2022 23:50:56 UTC