851523 [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=72842 turning off gamepad input <p>so i have a gamepad with 10 buttons and no joysticks, however the dpad counts as 4 buttons but also as a joystick which is a problem because when i press for example left it counts as [&larr;] AND [O] or up counts as [&uarr;] AND [X]<br /> my issue is that i cant turn the gamepad input off in the web player nor in the site settings (i dont know why it doesnt work) because i already have a program that makes it when i press a gamepad button it presses a keyboard button<br /> so im basically asking for a feature to turn gamepad input off or to configure it (or if someone knows why chromes site settings dont work)</p> <p><em>(also this doesnt belong into bugs but i couldnt find a support or suggestions category)</em></p> https://www.lexaloffle.com/bbs/?tid=150006 https://www.lexaloffle.com/bbs/?tid=150006 Thu, 03 Jul 2025 20:12:40 UTC Text Editor <p> <table><tr><td> <a href="/bbs/?pid=0#p"> <img src="/bbs/thumbs/pico8_texteditor-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=0#p"> texteditor</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=0#p"> [Click to Play]</a> </td></tr></table> <br /> A small text editor i made, has a few features<br /> and probably some bugs too</p> <p><em>also i wanted to do a clipboard save/load system but im on edu version and it's broken there</em></p> <p><em>(btw the font is called 'Small Fonts' in windows)</em></p> https://www.lexaloffle.com/bbs/?tid=149735 https://www.lexaloffle.com/bbs/?tid=149735 Sun, 22 Jun 2025 18:38:44 UTC celeste but it slowly gets corrupted <p> <table><tr><td> <a href="/bbs/?pid=167493#p"> <img src="/bbs/thumbs/pico8_corrupte-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=167493#p"> corrupte</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=167493#p"> [Click to Play]</a> </td></tr></table> <br /> i thought of this one time and thought itd be really funny so i made it <div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><em>(its probably been done before)</em></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=149150 https://www.lexaloffle.com/bbs/?tid=149150 Fri, 23 May 2025 20:53:17 UTC snake in 455 chararacters <p> <table><tr><td> <a href="/bbs/?pid=163407#p"> <img src="/bbs/thumbs/pico8_snek455-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=163407#p"> snek455</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=163407#p"> [Click to Play]</a> </td></tr></table> <br /> i sorta just wanted to make a <em>small</em> snake game</p> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;">code for anyone interested (it could probably be smaller)</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>cls()poke(24364,3)t,e,l,x,y,d,m,p,r,b=20,btn,2,31,31,0,{{-1,0},{1,0},{0,-1},{0,1}},pset,rnd,{0,1,0,2,0,0,0,3}p(r(64),r(64),15)while 1do f=flr(d/2)*2a=e()&amp;15t-=1p(r(64),r(64),5)if(a&gt;0 and not(e(f)or e(f+1)))d=b[a]t=0 if(t&lt;1)t=3for k=0,63do for v=0,63do z=pget(v,k) if z%15~=0then p(v,k,z-1)end end end x+=m[d+1][1]y+=m[d+1][2]x%=64y%=64z=pget(x,y)if z%15~=0then stop(&quot;:(&quot;,8)elseif z==15then l+=1p(r(64),r(64),15)end p(x,y,l) if(l&gt;14)stop(&quot;gg&quot;,10) flip()end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p></div></div></div></p> https://www.lexaloffle.com/bbs/?tid=147701 https://www.lexaloffle.com/bbs/?tid=147701 Fri, 07 Mar 2025 13:45:23 UTC 3d demo <p> <table><tr><td> <a href="/bbs/?pid=160171#p"> <img src="/bbs/thumbs/pico8_demo3d-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=160171#p"> demo3d</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=160171#p"> [Click to Play]</a> </td></tr></table> <br /> i tried making something 3d using weak perspective projection<br /> i dont think it turned out super great but its something else than raycast 2d so im proud of myself ;)</p> https://www.lexaloffle.com/bbs/?tid=146423 https://www.lexaloffle.com/bbs/?tid=146423 Fri, 03 Jan 2025 19:36:51 UTC I need some help with tables <h2>Help with tables</h2> <p>So I have a function for creating text with sprites (I'm sure people have done this already, but i specifically want help with one thing):</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>charspr{74,75,76,77,78,79,90,91,92,93,94,95,106,107,108,109,110,111,122,123,124,125,126,127,138,139,140,141,142,143,154,155,156,157,158,159,170,171,172,173,174,175,186,187,188} charname{&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;,&quot;e&quot;,&quot;f&quot;,&quot;g&quot;,&quot;h&quot;,&quot;i&quot;,&quot;j&quot;,&quot;k&quot;,&quot;l&quot;,&quot;m&quot;,&quot;n&quot;,&quot;o&quot;,&quot;0&quot;,&quot;p&quot;,&quot;q&quot;,&quot;r&quot;,&quot;s&quot;,&quot;t&quot;,&quot;u&quot;,&quot;v&quot;,&quot;w&quot;,&quot;x&quot;,&quot;y&quot;,&quot;z&quot;,&quot;.&quot;,&quot;-&quot;,&quot;!&quot;,&quot;\&quot;&quot;,&quot;\'&quot;,&quot;,&quot;,&quot;:&quot;,&quot;;&quot;,&quot;𝘹&quot;,&quot;?&quot;,&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot;,&quot;9&quot;,&quot; &quot;} for i=0,#str,1 do spr(charspr[charname[sub(str,1,nil)]]) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Now the long tables charspr and charname are supposed to give out the id of a sprite. (I use charname to know the id of an item from charspr)<br /> From my testing I found out that the problem (the one I want help with) is when I try to call charname[&lt;a letter from sub()&gt;]. Apparently it gives out [nil], but what i thought it would do is something like a block from Scratch:<br /> (item # of (&lt; item&gt;) in [&lt; list&gt;]),<br /> but apparently it doesn't. So I'm asking: <strong>if anyone would know about a workaround or how to do it properly.</strong></p> https://www.lexaloffle.com/bbs/?tid=52541 https://www.lexaloffle.com/bbs/?tid=52541 Sat, 29 Apr 2023 13:25:10 UTC stat(31) doesn't function properly <p>I'm not entirely sure if this is bug or my mistake, but i can't figure it out.<br /> Basicly I have code that should save what I'm typing (it's the last line) to a var named code.<br /> However if i add a function for deletion it doesn't work properly:<br /> I can still type, however i have to hold for few seconds before it registers key presses, which does not apply for the backspace.<br /> I also figured out, that only the first code will work properly, meaning if i swap the if with the var set, only typing works.</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre> if stat(31)==&quot;\b&quot; then code=sub(code,0,-2) end code=code..stat(31)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><strong>I'd be really happy to know if it's my mistake or a bug.</strong></p> https://www.lexaloffle.com/bbs/?tid=51341 https://www.lexaloffle.com/bbs/?tid=51341 Tue, 24 Jan 2023 20:11:20 UTC Untitled <p> <table><tr><td> <a href="/bbs/?pid=124712#p"> <img src="/bbs/thumbs/pico8_rndflowergarden-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=124712#p"> Random Flower Graden</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=124712#p"> [Click to Play]</a> </td></tr></table> A thing I made in school</p> https://www.lexaloffle.com/bbs/?tid=51316 https://www.lexaloffle.com/bbs/?tid=51316 Mon, 23 Jan 2023 12:15:25 UTC Jelpi demo level 2 <p> <table><tr><td> <a href="/bbs/?pid=122476#p"> <img src="/bbs/thumbs/pico8_jelpilvl2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=122476#p"> Jelpi demo level 2</a><br><br> by <a href="/bbs/?uid=72842"> 851523</a> <br><br><br> <a href="/bbs/?pid=122476#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50673 https://www.lexaloffle.com/bbs/?tid=50673 Thu, 15 Dec 2022 16:07:42 UTC