Cutievirus [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=79935 Paint <p> <table><tr><td> <a href="/bbs/?pid=143261#p"> <img src="/bbs/thumbs/pico64_paint-13.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=143261#p"> Paint</a><br><br> by <a href="/bbs/?uid=79935"> Cutievirus</a> <br><br><br> <a href="/bbs/?pid=143261#p"> [Click to Play]</a> </td></tr></table> </p> <p>An image editor made to imitate the look of Microsoft Paint.</p> <p>It isn't meant to be a replacement for picotron's built-in graphic editor, but instead is just meant to be a nostalgic little paint toy.</p> <p>❌Selection tool isn't implemented yet.</p> <p>supports undo &amp; redo history.</p> <p>current tools are pencil, bucket, eraser, eye dropper, and magnifying glass.</p> <p>eraser tool also supports recoloring by using right click.</p> <p>Supports saving as either pod or gfx format. If you save as gfx it can be opened by picotron's graphics editor.<br /> You can also save just the palette by saving as hex format</p> <p>update v1.1 - improved the pencil and eraser tools. now they'll draw a line when moving the mouse quickly and won't push to history until you finish your stroke.</p> <p>update v1.2 - tool icons now replace the cursor when hovering the canvas<br /> added saving and loading. Loading from the menu doesn't quite work yet, I wasn't able to figure that out. It also supports loading by drag and drop however.</p> <p>update v1.3 - color mixer now in its own window. Refactored most of the code. You can now save palette information with the file, or on its own as a .pal file.</p> <p>update v1.4 - palette information now stored in metadata instead of content.</p> <p>update v1.4.1 - import and export hex format (lospec.com) for palettes</p> <p>update v1.5 - Added image resizing. Just drag the resize handle to change the image size.<br /> Added scrollbars if the image is bigger than the display area.<br /> Palette stored in image metadata is now hex format.<br /> Improved history</p> <p>update v1.5.1 - You can now drop images or palettes on the color mixer window to open them<br /> Added import and export for .pal format exported from <a href="https://www.lexaloffle.com/bbs/?tid=141308">OkPal</a>. It's a palette format in raw userdata that can be poked directly to memory<br /> (Old table-based pal format can still be imported but can't be exported any more and is considered deprecated)</p> <p>#paint-13 - Updated for picotron v0.2.0h3</p> <h3>Planned features</h3> <ul> <li>ability to choose what format palette is stored in metadata, either hex or pal. When you import a palette the setting should be updated to match the imported palette</li> <li>brush sizes</li> <li>selection tool</li> <li>paste userdata</li> </ul> https://www.lexaloffle.com/bbs/?tid=140716 https://www.lexaloffle.com/bbs/?tid=140716 Sat, 16 Mar 2024 05:17:02 UTC gamepad_tester <p> <table><tr><td> <a href="/bbs/?pid=143045#p"> <img src="/bbs/thumbs/pico64_gamepad_tester-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=143045#p"> gamepad_tester</a><br><br> by <a href="/bbs/?uid=79935"> Cutievirus</a> <br><br><br> <a href="/bbs/?pid=143045#p"> [Click to Play]</a> </td></tr></table> </p> <p>A quick gamepad tester I wrote for picotron to test the gamepad api. The tester also supports changing the player number to use multiple gamepads.</p> <p>I labeled the buttons according to their corresponding keyboard inputs, and layed out the buttons according to how they mapped on my xbox controller.</p> <p>The two buttons in the middle are buttons 6 and 7, which the readme lists as reserved, but I think represent start and select buttons.<br /> Button 6 seems to map to the start and home buttons, as well as the enter key.<br /> Button 7 doesn't seem to map to anything yet.</p> <p>As of writing there seems to be a bug in picotron where higher player numbers don't work correctly.<br /> player 0 works properly, but odd numbered players, such as player 1, will have their inputs split across two controllers.</p> <p>I've also confirmed that as of writing picotron only fully supports up to 4 controllers. If you connect a 5th controller, half of their inputs will register on player 7, and player numbers higher than 7 aren't supported so only half the controller will work.</p> <p>Update:<br /> Now highlights the player tab when that player's controller has active inputs, making it easier to find what player your controller is mapped to.</p> <p>Update 2:<br /> Now reports analogue values for the sticks</p> https://www.lexaloffle.com/bbs/?tid=140666 https://www.lexaloffle.com/bbs/?tid=140666 Fri, 15 Mar 2024 02:26:34 UTC