Kulpas [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=55875 entaloneralie.p8 <p> <table><tr><td> <a href="/bbs/?pid=146343#p"> <img src="/bbs/thumbs/pico8_entaloneralie_p8-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=146343#p"> entaloneralie.p8</a><br><br> by <a href="/bbs/?uid=55875"> Kulpas</a> <br><br><br> <a href="/bbs/?pid=146343#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi! This is a remake of a clock made by <a href="https://xxiivv.com/">Devine Lu Linvega</a>.</p> <p><a href="https://clock.xxiivv.com/">Check out the original clock here!</a></p> <p>I made it as a distraction when I was learning to code in uxn, because I felt it would look pretty cool as a screensaver on my RGB-30 (though it doesn't really work as a screensaver if the clock border is static lol)</p> <p>The clock uses a date and time format described in detail <a href="https://wiki.xxiivv.com/site/time.html">here</a>. Basically, the letter of the alphabet marks each 2-week period since the start of the year (26 letters * 2 = 52 weeks) and the 2-digit number immediately following is the day of each period. Days are then divided into a 1000 beats with a 1000 pulses each. (e.g. 500:000 is noon)</p> <p>Since pico8 doesn't have a way to measure miliseconds (or at least I couldn't find anything), I implemented sub-second measurements in a hacky way which is simply counting frames and pretending each frame is 1/60th of a second. I noticed it sometimes makes the clock go slightly backwards for a frame or two though I haven't tried to debug it thoroughly, maybe the line draw code is wrong idk.</p> <p>Hope you enjoy!</p> https://www.lexaloffle.com/bbs/?tid=141641 https://www.lexaloffle.com/bbs/?tid=141641 Thu, 11 Apr 2024 07:33:23 UTC