auex [Lexaloffle Blog Feed] pct-2 Fantasy Console in Picotron <p> <table><tr><td> <a href="/bbs/?pid=146963#p"> <img src="/bbs/thumbs/pico64_pct2-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=146963#p"> pct2</a><br><br> by <a href="/bbs/?uid=65399"> auex</a> <br><br><br> <a href="/bbs/?pid=146963#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi!<br /> This is really my first actual public picotron program (and first fantasy console), but i&rsquo;m really happy about it.<br /> It&rsquo;s still really buggy and laggy, but i recommend loading it and running it that way.<br /> I hope you enjoy it!</p> <p>specs:<br /> 64x32 pixel display<br /> 64k-symbol programs MAX (including newline, tab and such)<br /> 4 colors<br /> inputs: 0-up/w, 1-down/s, 2-left/a, 3-right/d, 4-z, 5-x, 6-c, 7-v<br /> sound: 0-11 (e5, d5,c5,b4,a4,g4,f4,e4,d4,c4,b3,a#3,g#3)</p> <p>memory map:<br /> screen: 1-2048<br /> ram: 4001-4300<br /> colors: 4301-4304<br /> inputs: 4305-4312<br /> rom: 4313-68313<br /> settings: 68314-68323<br /> extra: 68324-68999 --675 places for free!</p> <p>API:<br /> &mdash;graphics<br /> d2s(x,y,c) &mdash;draws pixel of color c on position x, y &mdash;(draw 2 screen)<br /> set_bg(c) &mdash;sets what the background color<br /> set_pal(c1,c2,c3,c4) &mdash;sets c1, c2, c3, c4 as the palette<br /> set_bt(c1,c2,c3) &mdash;sets a blend table = if c2 is drawn atop c1, c3 is drawn</p> <p>&mdash;input<br /> inp(b) &mdash;checks if input b is true (like btn())<br /> inpp(b) &mdash;checks if input b is true (like btnp())<br /> allow_mouse(b) &mdash;if b is true or left nil, cursor will be shown (it is shown by default)</p> <p>&mdash;sound<br /> snd(tone) &mdash; adds tone to sound queue</p> <p>&mdash;fnnuy fetarues<br /> rick() &mdash;sets clipboard to link to Never Gonna Give You Up by Rick Astley<br /> doominator() &mdash;notifies &ldquo;:3&rdquo;</p> <p>I do have to say:<br /> I didn&rsquo;t implement naming files yet, so this is the order of files the program checks in for an existing file to load:<br /> rom=fetch&quot;/game.p2&quot; or fetch&quot;/gmae.p2&quot; or fetch&quot;/p2.lua&quot; or fetch&quot;/appdata/pct-2/game.p2&quot; or fetch&quot;/appdata/pct-2/gmae.p2&quot; or fetch&quot;/appdata/pct-2/p2.lua&quot; or fetch&rdquo;code.lua&rdquo;</p> <p>also, no terminal or text editor is included, so you write code in the normal code editor, and after a 30 frame boot screen, it immediately goes to one of the files above.</p> <p>yeah, that&rsquo;s about it. I hope you enjoy!</p> <p>(sorry, the music in the demo is really fast in the bbs online version for some reason)</p> <p>also, I did try to make a dino clone, but I got a lot of errors from foot.lua and terminal.lua(?). It should be in broken_code.lua.<br /> if you find any errors or have suggestions, please let me know!</p> <p>thank you!</p> Fri, 19 Apr 2024 19:09:30 UTC lokity <p> <table><tr><td> <a href="/bbs/?pid=132986#p"> <img src="/bbs/thumbs/pico8_lokity-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=132986#p"> lokity</a><br><br> by <a href="/bbs/?uid=65399"> auex</a> <br><br><br> <a href="/bbs/?pid=132986#p"> [Click to Play]</a> </td></tr></table> <br /> This is a short platformer for the LOWREZJAM 2023<br /> You play as a kitty, your owner is moving, but you want to quickly get your toy mouse Paul from the other side of the house, while the ghosts that are moving in help you to save him.</p> <p>Instructions for menu:</p> <p>right arrow - toggle tutorial</p> <p>left arrow - toggle speedrun mode</p> <p>up arrow - toggle assist mode</p> <p>c - reset save file (if you do not save, you will be able to use your previous save file)</p> <p>a - change controls (from player 1 to player 2 and vice versa)</p> <p>v / x - start game</p> Sat, 12 Aug 2023 10:19:06 UTC