BoneVolt [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=38130 Rainbow Tunnel <p> <table><tr><td> <a href="/bbs/?pid=69989#p"> <img src="/bbs/thumbs/pico8_rainbow_tunnel-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69989#p"> Rainbow Tunnel</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=69989#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my first TweetTweetCart (558 chars of code)! Made for <a href="https://itch.io/jam/tweettweetjam-3/rate/518428">TweetTweetJam 3</a>!</p> <p><strong>&lt;&gt; to move<br /> Z to jump</strong></p> <p>My best score is 560<br /> Itch page: <a href="https://bonevolt.itch.io/rainbow-tunnel">Rainbow Tunnel</a></p> <p>Have fun!</p> https://www.lexaloffle.com/bbs/?tid=35958 https://www.lexaloffle.com/bbs/?tid=35958 Sun, 17 Nov 2019 21:19:23 UTC Ball Distortion Effects <p> <table><tr><td> <a href="/bbs/?pid=68876#p"> <img src="/bbs/thumbs/pico8_ball_effects-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=68876#p"> Ball Distortion Effects</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=68876#p"> [Click to Play]</a> </td></tr></table> </p> <p>Made this cart to test some distortion effects for future projects.</p> <p>A lot of people got interested in a tweet I made with it so I'm posting here in case anyone wants to see the code or use it on a project.</p> <p>Move with the mouse;<br /> Z/X (O/X) to change size;<br /> Left mouse click to switch effect.</p> https://www.lexaloffle.com/bbs/?tid=35666 https://www.lexaloffle.com/bbs/?tid=35666 Mon, 14 Oct 2019 17:29:29 UTC Painto8 <p> <table><tr><td> <a href="/bbs/?pid=67210#p"> <img src="/bbs/thumbs/pico8_painto8-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=67210#p"> Painto8</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=67210#p"> [Click to Play]</a> </td></tr></table> </p> <p>I recently discovered the 16 extra colors, and since it's not very fun to go back and forth between sprites/code/game just to test colors, I made this cart so you can actually draw sprites with the extra colors directly!</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/painto-8_0.gif" alt="" /> <h3>Main features</h3> <ul> <li> <p><strong>Swap beteen tabs PAL1/PAL2</strong> to select which colors will compose the 16 colors of your sprites:</p> </li> <li> <p><strong>Select the index on the right and the color on the left.</strong> &quot;OK&quot; means your palette already has that color. &quot;▤&quot; Means that index is using a color from the pal1 when you're viewing pal2 and vice-versa.</p> </li> <li><strong>Your pallete is saved</strong> between sessions (poke 0x5e00~f).</li> </ul> <h3>Standard pico-8 features</h3> <ul> <li>Draw</li> <li>Zoom in/out with mouse wheel</li> <li>Save by pressing SHIFT+S or via pause menu</li> <li>Pick colors with left button on the sprite</li> </ul> <h3>Extra features</h3> <ul> <li>2 extra sprite tabs, because why not! (will draw on the map region: 0x2000-0x2fff)</li> </ul> https://www.lexaloffle.com/bbs/?tid=35254 https://www.lexaloffle.com/bbs/?tid=35254 Wed, 04 Sep 2019 04:10:51 UTC 16 extra colors! <p>Hello everyone, today I stumbled on a undocumented feature I didn't know existed: 16 extra colors.!</p> <p>I searched on the wiki and the forums and I didn't see it mentioned anywhere (except <a href="https://www.lexaloffle.com/bbs/?tid=2275">this thread</a>, but it was a differnt thing and that feature was removed by zep at that time).</p> <p>If you change the screen palette via poke (0x5f10 to 0x5f1f) to a value above 0x80, the color will change as shown below:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/16colortest_0.gif" alt="" /> <p>Here's world 2 of Jack of Spades with all colors swapped, except black and yellow:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/josw2_1.gif" alt="" /> <p>Original colors for comparison:</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/josw2_2.gif" alt="" /> <p>You can't have more than 16 colors in a single frame though, since poking (0x5f00 to 0x5f0f) will just make the color transparent, as documented in the wiki. Still it's good for fades, and can be used for someting like stage-specific palettes like in the NES and other old consoles.</p> <p>Pretty cool!</p> https://www.lexaloffle.com/bbs/?tid=35253 https://www.lexaloffle.com/bbs/?tid=35253 Wed, 04 Sep 2019 02:59:24 UTC Number being read as function? <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/josch_005.png" alt="" /> <p>As shown in the picture above, the &quot;from&quot; variable is being considered a function at some time during execution. Problem is: there's nowhere in the program that I can turn that variable into a function, because it is a local variable (and the only place the 2nd argument is ever assigned is in the function itself):</p> <div> <div style="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>function unpack(list,from,to) from,to=from or 1,to or #list if from&lt;=to then return list[from],unpack(list,from+1,to) end end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <div> <div style="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>function to_tab_unp(tab) return unpack(str_to_table(tab)) end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>The weirdest thing is that I call the line &quot;in cr_char line 5 (tab 2)&quot; every time I create a character. In this particular instance I'm recreating battles to get until I get one with a formation that fits the difficulty level I want. So it's like 1/10000 of cases generates that error. But the table being unpacked is always the same:</p> <div> <div style="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>to_tab_unp(&quot;,{,{,{,{,,f,{,,,{,{,,,{,{,{,{,{,,,,&quot;)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>So it seems to me that this is a pico-8 bug, because the function is always exactly the same but and the error pops for no apparent reason...?</p> <p>Thoughts?</p> https://www.lexaloffle.com/bbs/?tid=35151 https://www.lexaloffle.com/bbs/?tid=35151 Thu, 22 Aug 2019 20:48:51 UTC Jokenpico <p> <table><tr><td> <a href="/bbs/?pid=65949#p"> <img src="/bbs/thumbs/pico8_jokenpico-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65949#p"> Jokenpico</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=65949#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>Jokenpico</strong> is Jokenpo with a twist with code that fits in a tweet!</p> <p>It is a 2-player game.</p> <p>Controls:<br /> <strong>RIGHT</strong> is rock<br /> <strong>LEFT</strong> is paper<br /> <strong>UP</strong> is scissors</p> <p>The diffence from regular jokenpo is the score:</p> <p>If <strong>Scissors</strong> wins: +4 points<br /> If <strong>Rock</strong> wins: +2 points<br /> If <strong>Paper</strong> wins: +1 points</p> <p>At a first glance scissors seems overpowered with 4 points, but it wins against paper (1 point), so it is less likely that your opponent will use paper.</p> <p>(an easy way to remember each score is: scissors cuts paper into 4 pieces, rock smashes scissors into two halves and paper wraps stone into one ball)</p> https://www.lexaloffle.com/bbs/?tid=34780 https://www.lexaloffle.com/bbs/?tid=34780 Fri, 19 Jul 2019 20:31:47 UTC Where's Willy <p> <table><tr><td> <a href="/bbs/?pid=65491#p"> <img src="/bbs/thumbs/pico8_whereswilly-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65491#p"> Where's Willy</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=65491#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my first tweetcart! Use the mouse to find the red 웃! Inspired by Where's Wally/Waldo!</p> <p>Each time you hit Willy with the cursor the difficulty (number of characters drawn) and initial score will increase value by 120.</p> <p>Can you get to 1000 points? :D</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/whereswilly_0.gif" alt="" /> <p>Obs: Cart exceeds 280 chars by 3 to have more variety on things being drawn</p> https://www.lexaloffle.com/bbs/?tid=34613 https://www.lexaloffle.com/bbs/?tid=34613 Mon, 01 Jul 2019 02:16:51 UTC Jack of Spades <p> <table><tr><td> <a href="/bbs/?pid=65294#p"> <img src="/bbs/thumbs/pico8_jostitle-6.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65294#p"> Jack of Spades</a><br><br> by <a href="/bbs/?uid=38130"> BoneVolt</a> <br><br><br> <a href="/bbs/?pid=65294#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hello everyone!</p> <p>Jack of Spades is a game I made as a submission for GitHub's <a href="https://itch.io/jam/game-off-2018/results">GameOff</a> game Jam.</p> <p>This is the latest version, with a lot more content than it had in the jam. I ended up making it a multicart, because I could't manage to keep it under the token/compression limits.</p> <p>The game autosaves, you can play it on multiple sessions. <del>Also it is played just with the mouse, so you can easily play on phones too.</del> Looks like mouse input doesn't work on cell phones anymore (will add controller support later).</p> <p>There's an executable version here: <a href="https://bonevolt.itch.io/jackofspades">https://bonevolt.itch.io/jackofspades</a></p> <p><a href="https://mega.nz/#!sQAC0aQA!C14zEouYmONuycBtva0xKplegjoG3EABV_oUnBqoxJA">.p8 version</a> (put them all on your &quot;..\pico-8\carts\&quot; folder and open &quot;jostitle.p8&quot;)</p> <p>This is how to equip items (not explained during gameplay):</p> <img style="" border=0 src="https://www.lexaloffle.com/bbs/files/38130/josw2_0.gif" alt="" /> <p>But you have to get the items first!</p> https://www.lexaloffle.com/bbs/?tid=34544 https://www.lexaloffle.com/bbs/?tid=34544 Wed, 19 Jun 2019 21:20:00 UTC