Lafolie [Lexaloffle Blog Feed] HTML Manual Error <p>Really quick and easy issue to fix:<br /> The HTML anchor for the tables API is the same as the anchor for tables in the Lua quickstart. Clicking the tables API link in the contents takes you to the quickstart section, and not the API one.</p> Tue, 03 Aug 2021 19:46:23 UTC Tweet Tweet Jam 6 <p> <table><tr><td> <a href="/bbs/?pid=93713#p"> <img src="/bbs/thumbs/pico8_fesiwimufa-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93713#p"> fesiwimufa</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=93713#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Tweet Tweet Jam 6</h1> <p>TTJ 6 is here!</p> <p>Same deal as usual, except this time it lasts twice as long!</p> <p>Quick rundown for the uninitiated:</p> <ul> <li>Make a game in 560 chars or less (2 tweets)</li> <li>No premade cart assets allowed (spritesheet / map / gfx) - everything in code!</li> <li>You don't need a twitter to enter</li> <li>Multiple submissions allowed &amp; encouraged</li> </ul> <p><a href="">Sign up on the itch page.</a></p> <p>Have fun!</p> <img style="" border=0 src="/media/15471/ttj6Cover.png" alt="" /> Fri, 18 Jun 2021 23:33:27 UTC TweetTweetJam 5 <p> <table><tr><td> <a href="/bbs/?pid=83681#p"> <img src="/bbs/thumbs/pico8_kukafamapa-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=83681#p"> TweetTweetJam 5</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=83681#p"> [Click to Play]</a> </td></tr></table> </p> <h1>TweetTweetJam 5 is here!</h1> <p>Hey everyone, just wanted to announce that TweetTweetJam 5 is starting very soon.</p> <p>The jam runs from Nov. 4th ~ 11th.</p> <p>If you haven't entered before, the rules are simple: make a cart in 560 characters of code or less! No assets are allowed (map/sprite data), get creative with glyph prints instead!</p> <p><strong><a href="">Signup on the jam page here.</a></strong></p> <p>The twitter tag is <a href="">#tweetTweetJam</a>, and there's a bunch of carts on here (the bbs), itch, and twitter for inspiration.</p> <p>Looking forward to seeing all the awesome entries this time around, happy jamming!</p> <img style="" border=0 src="/media/15471/cover.png" alt="" /> Tue, 03 Nov 2020 23:16:56 UTC Picotron 560 <p> <table><tr><td> <a href="/bbs/?pid=76077#p"> <img src="/bbs/thumbs/pico8_husotekaso-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76077#p"> picotron560</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=76077#p"> [Click to Play]</a> </td></tr></table> </p> <p>My second entry for TweetTweetJam 4. Chars used: 560.</p> <h1>Rules</h1> <p>Guide your guy to exit ▤stairs while avoiding the 🐱enemies and collecting &hearts;hearts &amp; ◆picogems.</p> <p>You can wrap around the edges of the screen - use this to your advantage for stylish dodges and pickups! Though beware: enemies can do this too. Watch your back :)</p> <p>On each floor, an additional enemy/item will spawn.</p> <h1>Controls</h1> <ul> <li>[⬆️⬇️⬅️➡️] Move</li> </ul> <p>My high score on the final version is about 70◆.</p> <p>This game was originally intended to be like Zelda, but ended up being more like Robotron without a gun. Enjoy.</p> <h1>Links</h1> <p><a href=""> page</a><br /> <a href="">tweet</a></p> Thu, 07 May 2020 17:32:15 UTC Golf 560 <p>Hey there, this is my first entry for TweetTweet Jame 4!</p> <p> <table><tr><td> <a href="/bbs/?pid=75916#p"> <img src="/bbs/thumbs/pico8_golf560-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=75916#p"> golf560</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=75916#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Rules</h1> <p>This is a simple golf game, with procedural courses spanning a bunch of islands, I guess. Get to the hole in as few strokes as possible!</p> <p>Watch out for water! Should you land on the green or in a bunker your shot power will be reduced.</p> <h1>Controls</h1> <ul> <li>[⬅️➡️] Aim</li> <li>[🅾️❎] Swing (hold to charge power!)</li> </ul> <h1>Links</h1> <p><a href=""> Page</a><br /> <a href="">Twitter Post</a></p> <p>Happy golfing :)</p> <p>P.S. post screens of your favourite courses! Sometimes it generates pretty things.</p> Wed, 06 May 2020 01:49:40 UTC [Suggestion] Table Args for Rect &amp; Friends <p>I was thinking that a really neat feature would be that the primitive shape drawing functions accept tables as arguments. I'm not sure whether that conflicts with Zep's ideals of what the PICO8 environment should be like but I'll list a few pros. First of all, an example of what I mean.</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>rec={60,60,68,68,14} --basic way to pass rect(rec[1],rec[2],rec[3],rec[4],rec[5]) --proposed syntax rect(rec) --traditional Lua; achievable in PICO8 at the cost of the tokens --required to define unpack --see: rect(unpack(rec))</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>As you can see, this requires far less tokens/characters which is great for tweetcarts and code golf - things that PICO8 really shines at. It would also be useful in larger projects where the bottleneck is usually compressed size/char counts rather than token counts (defining objects is still kinda costly).</p> <p>It would also be useful for functions like</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>foreach(tbl_of_recs,rect)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>or some more complex scenario that needs to save memory by using shared references to the 'rec' table (a bit far-fetched but not unimaginable haha).</p> <p>I imagine that push-back for this request might come in the form of &quot;it's too convenient&quot;. To that I would say, not really. When you consider that the task is really to send some values to the graphics &quot;hardware&quot;, this isn't really too much to ask. In old consoles you would arrange this as a blob of contiguous bytes in memory and feed them to a register, perhaps even with an auto-incrementing pointer. Passing the table as a whole isn't really much different from that. Besides, this format still has a downside in that it uses the array part of a table and x2/y2 can't be lazily calculated using a width/height var:</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>rec={60,60,68,68,14} --move the rec if(btn(0))rec[1]-=1 rec[3]-=1 if(btn(1))rec[1]+=1 rec[3]+=1 --as opposed to rec={x=60,y=60,x2=68,y2=68,c=14} if(btn(0))rec.x-=1 rec.x2-=1 --...</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>That's not as pretty or elegant as a hashmap with X/Y elements that larger projects tend towards. So it really is geared more towards the tweetcart domain. It could be a possibility that the functions also read <em>named fields</em> such as x,y,w,h,c and such, but I think that is a little too much to ask for.</p> <p>In any case I think this would be a great addition to get some more mileage out of tweetcarts and other restrictive challenges. I would welcome it for all drawing functions, but I understand how that might be a little too much? I dunno. For rect/circ &amp; friends I think it would be great.</p> <p>Thanks.</p> Tue, 05 May 2020 19:41:07 UTC Sonic560 [TweetTweet Jam 2] <p> <table><tr><td> <a href="/bbs/?pid=64607#p"> <img src="/bbs/thumbs/pico8_sudjusiwe-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=64607#p"> Sonic560 v2</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=64607#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=64607#p"> <img src="/bbs/thumbs/pico8_kanamukado-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=64607#p"> Sonic560</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=64607#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi, this is my second entry for TweetTweetJam 2.</p> <p>This cart features endlessly running Sonic, rolling around ( know the rest), collectible rings, missiles, ring loss/death system, particle trails, high scoring (volatile), Big Doc himself, and realistic mustache simulation.</p> <h2>Controls</h2> <hr /> <ul> <li><strong>[🅾️❎(ZX)]</strong> Jump (edge triggered)</li> <li><strong>[⬆️⬇️⬅️➡️]</strong> Roll</li> </ul> <h2>Rules</h2> <hr /> <p>As Sonic, collect rings and avoid missiles while perpetually chasing Dr. Eggman (turns out, his Egg Mobile is fast too). Just like in the real games, getting hit will mean losing your rings (though they can not be recovered here).</p> <p>How many rings can you get?</p> <p>This cart uses all 560 characters as per the jam rules.</p> <h2>Links</h2> <hr /> <p>Post on twitter:<br /> <a href=""></a></p> <p>Post on<br /> <a href=""></a></p> <p>Jam entry:<br /> <a href=""></a></p> <h2>Changelog</h2> <hr /> <h3>2</h3> <ul> <li>Reclaimed 4 chars</li> <li>All buttons are now used for input</li> </ul> <h3>1</h3> <ul> <li>Initial upload.</li> </ul> Mon, 20 May 2019 03:56:39 UTC Starshot 560 <p> <table><tr><td> <a href="/bbs/?pid=64430#p"> <img src="/bbs/thumbs/pico8_starshot560-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=64430#p"> starshot560</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=64430#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi, this is my entry for TweetTweetJam 2.</p> <p>This cart features side-scrolling shooting, (super basic) enemies, hi scoring (volatile), and a parallax background.</p> <h2>Controls</h2> <hr /> <ul> <li><strong>[⬆️⬇️⬅️➡️]</strong> Move Ship</li> <li><strong>[🅾️ (Z)]</strong> Shoot</li> </ul> <h2>Rules</h2> <hr /> <p>Being a tweet jam cart, the game is pretty simple. You're the green ship on the left, bad guys are the red, err, ships, on the right. Build up the highest score you can. Your hitbox is 1 pixel, so no excuses! :P It's possible to cheese since there's no AI, but it's slow and definitely not fun.</p> <p>As per the rules of the jam no sprites were used in-game, and the code fits into 560 characters (pretty precisely). Hope you like it, feedback welcomed.</p> <h2>Links</h2> <hr /> <p>Post on twitter:<br /> <a href=""></a></p> <p>Post on<br /> <a href=""></a></p> <p>Come join in:<br /> <a href=""></a></p> Tue, 14 May 2019 22:22:45 UTC Untitled Platformer v0.1 <p> <table><tr><td> <a href="/bbs/?pid=56103#p"> <img src="/bbs/thumbs/pico56102.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=56103#p"> Untitled Platformer 0.1</a><br><br> by <a href="/bbs/?uid=15471"> Lafolie</a> <br><br><br> <a href="/bbs/?pid=56103#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Untitled Platformer</h1> <p>v0.1 by Dale James</p> <p>The game is dreadfully incomplete, but I was encouraged to post it by <a href="">wessen3000</a>. </p> <p>Feedback is welcomed and appreciated.</p> <h2>Controls</h2> <p>Left/Right: <em>Walk</em><br /> Down: <em>Crouch</em> (purely visual for now)<br /> O: <em>Jump</em></p> <p>For now there is no real goal, just a tech demo.</p> <h2>Features</h2> <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> <h3>Working</h3> <ul> <li>Tilemap collision</li> <li>Pseudo-physics (AABB)</li> <li>Kick-ass animation system <ul> <li>Parses strings of hex literals and animation command codes</li> <li>7 different animation commands</li> </ul></li> <li>Intricate jump mechanics <ul> <li>edge-triggered jumping</li> <li>jump squat (see <a href="">this page on SmashWiki</a>)</li> <li>enforceable minimum short-hop frames</li> <li>multiple jumps</li> <li>forgiveness window (# aerial frames before jump is consumed)</li> </ul></li> <li>Tilemap import/export via @CLIP</li> <li>Support for 16 4-colour DMG-style palettes</li> <li>Handy debug mode</li> <li>Pesky blops <h3>Planned</h3></li> <li>Map scrolling</li> <li>Attacking</li> <li>Collision response</li> <li>UI</li> <li>Multiple maps</li> <li>Enemies</li> <li>Powerups<br /> </div></div></div></li> </ul> <h2>About</h2> <p>Hello, this is my first submission to the site. For the past few days, I've been working on this platformer framework. The aim of this project is to experiment with different techniques, and create something fun. I have decided to limit the graphics to a Gameboy (DMG)-esque palette.</p> <p>The blops in the middle each demonstrate a different animation command.</p> <p>If everything goes to plan, I would like to expand on the framework with more features (including slopes) for a future cart. In the meantime, feel free to pull apart the code , just remember that it's under the CC license. :3</p> Mon, 03 Sep 2018 05:16:01 UTC