SaKo [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=22709 Cross-eye Waves (3D) <p> <table><tr><td> <a href="/bbs/?pid=145511#p"> <img src="/bbs/thumbs/pico64_crosseye_waves-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=145511#p"> crosseye_waves</a><br><br> by <a href="/bbs/?uid=22709"> SaKo</a> <br><br><br> <a href="/bbs/?pid=145511#p"> [Click to Play]</a> </td></tr></table> </p> <p>A simple animation loop.<br /> Cross your eyes to see the 3D effect.</p> https://www.lexaloffle.com/bbs/?tid=141394 https://www.lexaloffle.com/bbs/?tid=141394 Tue, 02 Apr 2024 19:21:21 UTC Time Progress Thing v1.0 <p> <table><tr><td> <a href="/bbs/?pid=139633#p"> <img src="/bbs/thumbs/pico8_timeprogthing-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=139633#p"> Time Progress Thing v1.0</a><br><br> by <a href="/bbs/?uid=22709"> SaKo</a> <br><br><br> <a href="/bbs/?pid=139633#p"> [Click to Play]</a> </td></tr></table> </p> <p>A time progress visualiser thing that's sort of like a clock/calendar hybrid. I don't know how to describe it well.</p> <p>Use the left and right arrows to switch between four views:</p> <p><strong> Year View</strong><br /> Visualise time progress throughout the year.<br /> Split into months horizontally and days within each month vertically.<br /> If the year is highlighted, this view is being shown.</p> <p><strong>Month View</strong><br /> Visualise time progress throughout the month.<br /> Split into days vertically and hours within each day horizontally.<br /> If the month is highlighted, this view is being shown.</p> <p><strong>Day View</strong><br /> Visualise time progress throughout the day.<br /> Split into hours horizontally and minutes within each hour vertically.<br /> If the day (number) is highlighted, this view is being shown.</p> <p><strong>Hour View</strong><br /> Visualise time progress throughout the hour.<br /> Split into minutes vertically.<br /> If the time is highlighted, this view is being shown.</p> <p>You can also press X to open/close the palette editor, and use the arrow keys to edit the palette to your liking! Your current palette and view are autosaved.</p> https://www.lexaloffle.com/bbs/?tid=55620 https://www.lexaloffle.com/bbs/?tid=55620 Thu, 04 Jan 2024 15:39:02 UTC Bounce Game <p> <table><tr><td> <a href="/bbs/?pid=139631#p"> <img src="/bbs/thumbs/pico8_bouncegame-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=139631#p"> bouncegame</a><br><br> by <a href="/bbs/?uid=22709"> SaKo</a> <br><br><br> <a href="/bbs/?pid=139631#p"> [Click to Play]</a> </td></tr></table> </p> <p>Small game I made in a day early last year. Collect the gems, avoid the bombs. </p> <img style="margin-bottom:16px" border=0 src="/media/22709/bouncegame_8.gif" alt="" /> <h3>Controls:</h3> <p>Arrow keys to move target and adjust height</p> <p>Hold X/Z to double/halve the target move and height adjustment speed</p> https://www.lexaloffle.com/bbs/?tid=55619 https://www.lexaloffle.com/bbs/?tid=55619 Thu, 04 Jan 2024 15:27:15 UTC DrawApp v0.3 <p> <table><tr><td> <a href="/bbs/?pid=139577#p"> <img src="/bbs/thumbs/pico8_drawapp-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=139577#p"> DrawApp v0.3</a><br><br> by <a href="/bbs/?uid=22709"> SaKo</a> <br><br><br> <a href="/bbs/?pid=139577#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a small drawing app I started working on near the end of 2022. Last year, I challenged myself to post a drawing made with it every single day for the entire year. <a href="https://twitter.com/_IAmSaKo_/status/1609520573495021569">This</a> was the main Twitter thread for it, but they're also all displayed on my website <a href="https://sako.neocities.org/daily_doodles_2023/01_jan">here</a>. I planned to release the app publicly once I completed the challenge, so here it is!</p> <p>I'm not calling this v1.0 yet because it's still quite unpolished and I didn't manage to add everything I wanted by the end of the year (I ended up being way too busy with other work to work on this last year). I don't know when or if I'll actually get around to releasing a v1.0. Feel free to modify and share your own versions of the cart if you want, I hope the code is not too much of a mess.</p> <h3>Documentation:</h3> <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;"></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>DrawApp v0.3 - First Public Release Features(?): - No layers - No undo/redo (maybe eventually I'll try to implement one step undo/redo) - No saving (gotta screenshot to save, be careful not to accidentally exit the app) - Random palette, background and brush colour every time you start the app - Date/time stamps - Colour masking - Sketch brush (New in v0.3!) Notes: - Disable Windows Ink if you're on Windows and want to draw with a tablet --- Tools and controls --- Left/Right ------------ Cycle through tools Ctrl+R ---------------- Reset (Clear canvas and randomise colours) 1. Brush Tool Left Click ------------ Paint Right Click ----------- Colour picker / eyedropper Scroll Wheel ---------- Change brush size Up/Down --------------- Cycle through fill patterns (dithering) Right Click + Up/Down - Cycle through colour palettes Right Click + Z ------- Invert colour mask Right Click + X ------- Toggle mask for current/selected colour 2. Line Tool Left Click ------------ Draw line Right Click ----------- Colour picker / eyedropper Scroll Wheel ---------- Change brush size Up/Down --------------- Cycle through fill patterns (dithering) Right Click + Up/Down - Cycle through colour palettes Right Click + Z ------- Invert colour mask Right Click + X ------- Toggle mask for current/selected colour 3. String Stamp Left Click ------------ Stamp text Right Click ----------- Colour picker / eyedropper Scroll Wheel ---------- Cycle through text sizes 1. Normal 2. Wide 3. Tall 4. &quot;Pinball&quot; (dotted) 5. Big Up/Down --------------- Cycle through text type 1. Current date (d/m/yyyy) 2. Current date (d/m/yy) 3. Current time (hh:mm am/pm) 4. Custom text (keyboard input) Tip: Enter Shift + [any letter from A to Z] for special characters you can use as stamps Right Click + Z ------- Invert colour mask Right Click + X ------- Toggle mask for current/selected colour 4. Move/Copy Tool Left Click + Drag ----- Copy and move entire canvas or selection Z --------------------- Flip canvas or selection vertically X --------------------- Flip canvas or selection horizontally 5. Selection Tool Left Click + Drag ----- Select area Right Click ----------- Deselect Left Click in place --- Deselect 6. Sketch Tool (new in v0.3!) Left Click ------------ Use sketch brush Right Click ----------- Paint with regular brush colour (select BG colour to use as eraser) Scroll Wheel ---------- Change brush size Up/Down --------------- Change darkness/brightness (Up = darker, Down = brighter) X --------------------- Add random noise to the image (according to chosen brightness/darkness)</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=55608 https://www.lexaloffle.com/bbs/?tid=55608 Thu, 04 Jan 2024 02:18:00 UTC Shooting Star <p>Hello, this is my first post here! I've known about PICO-8 and have been around the community for years now, but I finally decided to try learning how to make stuff in it around two months ago.</p> <p>I got the idea for this cart a couple days ago and could not stop thinking about it, so I started on it yesterday morning and ended up doing it all in one sitting. The idea was to rearrange the screen palette into a gradient (including some colours from the secret palette) and then make draw functions that use pget() and pset() to increase (or decrease) the brightness of pixels when drawing lines and shapes (besides the trail). Basically additive (or subtractive) blending. I knew doing pget() and pset() on so many pixels would be really slow though, so for the noise and gradient across the entire screen, I decided to try doing that directly to the screen memory, using $/peek4() and poke4() to add bits. It had to be in 32-bit chunks, peek/poke 2 or 1 would make it drop below 30fps (maybe possible with better optimization, idk). I think the 8 pixel wide chunks made it look more interesting in the end though!</p> <p>For the trail, I used p01's trifill function. I had a feeling if I tried to make a function to draw additive blended triangles, performance would be really bad. So I decided to just draw normal filled triangles at the start of the draw cycle and do all the additive stuff after.</p> <p>I shared a gif/video of this online and lot of people wanted to see the code, so I'm uploading it here! The code is a bit messy and maybe there's some stuff that can be optimized, I'm still fairly new to programming in PICO-8 and don't consider myself amazing at code. I'm very happy with how it turned out through! I'm surprised I was able to pull off all the ideas I had for this, while maintaining 30fps.</p> <p>I hope any of this is interesting or useful, enjoy!</p> <p>EDIT: Updated the cart to include music, made for this cart by <a href="https://www.lexaloffle.com/bbs/?uid=61592"> @muse_energy</a>!</p> <p> <table><tr><td> <a href="/bbs/?pid=115136#p"> <img src="/bbs/thumbs/pico8_shootingstar-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=115136#p"> Shooting Star 1.1.1</a><br><br> by <a href="/bbs/?uid=22709"> SaKo</a> <br><br><br> <a href="/bbs/?pid=115136#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=48735 https://www.lexaloffle.com/bbs/?tid=48735 Tue, 02 Aug 2022 00:15:18 UTC