DopeyYak [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=55649 Limit line length <p>Hi</p> <p>Math isn't my strong side, so not sure if there is a simple solution to this or how to solve it really but I'm sure its a piece of cake for someone here.</p> <p>If I'd want to limit the line drawn with this snippet of code to say 10px from 64,64:<br /> function _draw()<br /> cls()<br /> h = stat(32);<br /> v = stat(33);<br /> line(64,64,h,v,10)<br /> end</p> <p>How would that math look?</p> https://www.lexaloffle.com/bbs/?tid=43611 https://www.lexaloffle.com/bbs/?tid=43611 Wed, 30 Jun 2021 18:28:06 UTC No joystick <p>Hi<br /> Unsure if this is a bug or what exactly.</p> <p>I'm on linux, using a NES controller with USB adapter (original NES with adapter, not a NES clone with USB).</p> <p>In the controls mennu pico 8 says &quot;1 joysticks detected&quot;<br /> but there is no response when i press the buttons on the controller.</p> <p>Am I missing settings? Is it not compatible? Is it a bug?</p> https://www.lexaloffle.com/bbs/?tid=43591 https://www.lexaloffle.com/bbs/?tid=43591 Tue, 29 Jun 2021 10:18:03 UTC Oils Well - C64 Port <p>Hi everyone</p> <p>Found pico 8 roughly a week ago, and its been a pure pleasure to play with. Best 15 bucks spent in a long time.</p> <p>I've decided to make a port of the old but fun game Oils Well from the C64.<br /> Attached is my cart of my progress so far.</p> <img style="margin-bottom:16px" border=0 src="/media/55649/oil.p8.png" alt="" /> <p> <table><tr><td> <a href="/bbs/?pid=94092#p"> <img src="/bbs/thumbs/pico8_sopidesige-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94092#p"> sopidesige</a><br><br> by <a href="/bbs/?uid=55649"> DopeyYak</a> <br><br><br> <a href="/bbs/?pid=94092#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=43552 https://www.lexaloffle.com/bbs/?tid=43552 Sat, 26 Jun 2021 15:59:46 UTC Problem uploading PNG to forum <p>Hi</p> <p>I was going to try to upload my work so far of a cart, but when selecting the exported .png I get the following error from the forum:<br /> Not a valid cart. Please try again.</p> <p>It has label.<br /> Am I doing something wrong, or is there an issue with the site?</p> https://www.lexaloffle.com/bbs/?tid=43534 https://www.lexaloffle.com/bbs/?tid=43534 Fri, 25 Jun 2021 21:33:52 UTC Chr from string <p>Hi</p> <p>Could someone kindly tell me how to for loop through each char of a string? I'm unsure how this is done with pico 8.</p> https://www.lexaloffle.com/bbs/?tid=43529 https://www.lexaloffle.com/bbs/?tid=43529 Fri, 25 Jun 2021 19:23:24 UTC Handling arrays <p>Hi</p> <p>I'm wondering about arrays, I cant seem to find any way to delete specific IDs/keys. I don't know if the functionality is lacking or I'm missing it.</p> <p>eg to do;<br /> del(step[count(step)-1]) to remove the last entry to an array</p> <p>And in extent, how do I access a specific ID/key in an array?</p> <p>I'm trying to do eg;<br /> h = step[count(step)-1].h;<br /> v = step[count(step)-1].v;</p> <p>to get key from array looking like;<br /> step = {h=INT,v=INT}<br /> step = {h=INT,v=INT}<br /> step = {h=INT,v=INT}</p> <p>Say I'd want the last, or second to last entry, how would this be done?</p> https://www.lexaloffle.com/bbs/?tid=43496 https://www.lexaloffle.com/bbs/?tid=43496 Thu, 24 Jun 2021 14:22:09 UTC Why 128x128? <p>I'm just curious to know what the reasoning is for choosing 128x128 resolution, if there is one?<br /> Looking at computers like C64 or the NES, the resolution is quite low in comparison.</p> https://www.lexaloffle.com/bbs/?tid=43481 https://www.lexaloffle.com/bbs/?tid=43481 Wed, 23 Jun 2021 22:18:47 UTC Color palette <p>Hi!</p> <p>I watched a tutorial the other day which showed there is an alternate pallet in the pico 8, but it wasn't as straight forward to use as just using the editor. Are there any plans on adding the second pallet to the editor? And in extent, may be the possibility to modify the pallet via the gui?</p> https://www.lexaloffle.com/bbs/?tid=43462 https://www.lexaloffle.com/bbs/?tid=43462 Wed, 23 Jun 2021 06:54:37 UTC Sockets <p>Hello<br /> Just curious, are there any plans to integrate functionality for handling sockets to pico8? I can't seem to find anything on it so I'm assuming there is no support at this moment anyway.</p> https://www.lexaloffle.com/bbs/?tid=43451 https://www.lexaloffle.com/bbs/?tid=43451 Tue, 22 Jun 2021 16:12:36 UTC