JTE [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=2836 Nora Party Pico (2018-10-24) <p>Important note: Due to the multi-cart nature of this game, do not use the &quot;reset cart&quot; menu option. All that will do is corrupt the data loaded from another cartridge and make the whole system crash.</p> <p> <table><tr><td> <a href="/bbs/?pid=58227#p"> <img src="/bbs/thumbs/pico58338.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58227#p"> Nora Party (2018-10-24)</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=58227#p"> [Click to Play]</a> </td></tr></table> </p> <p>A massively multi-cart Mario Party type of game. Currently an early proof-of-concept tech-demo type of thing and not actually &quot;playable&quot;.</p> <p>The character select can be huge because every character exists in its own &quot;sprite blueprint&quot; cart and gets chainloaded compressed into RAM when the game starts, followed by the game board or game mode (eg. a minigame select free-play menu) cart which drives the rest of play. The board/mode itself (and any minigames it loads into) decompress only the specific sprites they need into the active sprite sheet for use in play. Some minigames might only use the sideways character sprites because they're 2D. Some might use tiny Jelpi-style sprites for players. Some might opt to use player portraits instead of world sprites. And so on.</p> <p>The sprite blueprint system supports multi-part sprites (in this case Nora's head is separated from her body in all but the portrait sprites) made of parts which are independently offset, vertically and horizontally flipped, and palette-remapped (including primary and secondary &quot;special colors&quot; which might be remapped for duplicate players or special events), and all that data is transferred between carts so the sprites, colors, and character names are consistently recreated.</p> https://www.lexaloffle.com/bbs/?tid=32100 https://www.lexaloffle.com/bbs/?tid=32100 Mon, 22 Oct 2018 06:09:12 UTC Pico-8 vs Digimon <p>I'm about to make a dozen blind assumptions based on this old Tamagotchi device, the original Digimon Digital Monsters Fighting Virtual Pet. I know very little about electronics and don't currently own one of these devices to do any tests on, so please excuse my ignorance if I'm completely wrong.</p> <img style="margin-bottom:16px" border=0 src="https://cdn.unascribed.com/sleepingtown/media_attachments/files/000/712/339/original/4691272dc260a464.png" alt="" /> <p>Those two metal bits on top? They're GPIO pins, essentially. If you're lucky, it's likely even 3.3 volt and won't need to be converted up or down to utilize it.</p> <p>Because they're oriented vertically, the top pin will always connect to the matching top pin of the partnered device. Therefore, instead of using one pin as an input and the other as an output and just hoping the clock speeds of both devices match (which would require a horizontal pin layout so that the input pin of one device connects with the output pin of the other and vice versa), they probably use an i2c method of communication. <a href="https://learn.sparkfun.com/tutorials/i2c">https://learn.sparkfun.com/tutorials/i2c</a></p> <p>Therefore, if you carefully inspect the transmissions between two of these devices (which should be simple, considering the pins are spring-loaded and would easily compensate for a wire being shoved between them), figure out which pin is the clock and which pin is the data, and what kind of data is being transmitted...</p> <p>Theoretically, you should be able to develop a virtual pet on Pico-8 which can utilize the GPIO pins of a Pocket CHIP or Raspberry Pi device to fight a Digimon. And win. How cool is that? :3</p> https://www.lexaloffle.com/bbs/?tid=32087 https://www.lexaloffle.com/bbs/?tid=32087 Thu, 18 Oct 2018 19:59:23 UTC Procedural terrains - Water <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> -- generate tile srand(0x1b0f) for y=0,7 do for x=8,15 do local c=flr(x/2)+y if(x%2==0) c+=rnd(2)-1 sset(x,y,c%4) end end -- set map tiles for y=0,15 do for x=0,15 do mset(x,y,1) end end -- display map local t=0 function _update() t+=1 end function _draw() palt(0,false) for i=0,3 do pal(i,flr(t/4)%4==i and 12 or 1) end map(0,0, 0,0, 16,16) 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> <table><tr><td> <a href="/bbs/?pid=41802#p"> <img src="/bbs/thumbs/pico41801.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=41802#p"> Wavegen</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=41802#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=29520 https://www.lexaloffle.com/bbs/?tid=29520 Tue, 20 Jun 2017 08:23:31 UTC Extension format <p>For literally-years now I've had this comment at the top of my Kid Radd cart, right under the label comments:</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> --__ext__ --pal[1]=0x243566 --pal[6]=0xc0c2e3 --pal[12]=0x576dff --pal[14]=0xff5e98 </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Although more recently, Pico-8 has become able to properly handle standard Lua multi-line comments, so that could be changed to a cleaner block with a defined ending, like this:</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> --[[__ext__ pal[1]=0x243566 pal[6]=0xc0c2e3 pal[12]=0x576dff pal[14]=0xff5e98 ]] </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>These comments are entirely unused, waiting for some kind of extension format to come along and read metadata to make modifications to the machine before the cart runs as normal. With the theory being that the block of comments could be &quot;cut out&quot; of the script and run as their own, separate, &quot;configuration script&quot; with reasonable ease, using an extension API of some sort. In this case, the configuration script expects to be given an array named &quot;pal&quot; (no relation to the Pico-8 command of the same name) which is pre-populated with Pico-8's default palette, and then internally gets read back to set the screen palette before the game script even begins.</p> <p>However, if such extensions <em>were</em> made widely available, perhaps in some third party pico-8 emulator (as there are a few floating around), it's more likely they'd take an active role in the game script (and therefore token count) such as this:</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> if __ext__ and __ext__.palette then local remap=__ext__.palette remap(1, 0x24, 0x35, 0x66) remap(6, 0xc0, 0xc2, 0xe3) remap(12, 0x57, 0x6d, 0xff) remap(14, 0xff, 0x5e, 0x98) 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>This would allow certain extension-enhanced Pico-8 games to potentially remap the colors of the Pico-8 palette in realtime between frames to subtly tune the color outputs for each scene, and would still be playable on a vanilla pico-8 without color modifications because &quot;__ext__&quot; would be nil and therefore evaluate as false, skipping the entire code block.</p> <p>As far as I'm aware, various Pico-8 web player wrappers exist which manipulate input types and gpio pins, but none have gone so far as being capable of remapping the palette colors or added other noncanonical extensions to the api itself, to be run by each individual cart to apply their own mods and settings.</p> <p><table style="width:640px" cellspacing=0 cellpadding=10><tr><td bgcolor=#dd4488><span style="color: #101010;"><strong>tl;dr? start here</strong><br></span></td></tr></table></p> <p>So, if there were a third-party extension api which some games could use to improve their quality in some way, and those carts may or may not retain backwards compatibility with unmodded pico-8, how would <em>you</em> design the extension api and what kinds of neat features would it have?</p> <p>Would you add new common optimization functions to try and reduce cpu usage of otherwise sluggish games? (Assuming your pico-8 emulator even respects cpu restrictions, of course!) Would you add completely new rendering modes? Would you make a new bank of memory available like an N64 expansion pack? Would you add a new widescreen aspect ratio mode, or even break the 127x127 screen resolution somehow?</p> <p>Tell me what you'd do and how you'd do it! What kind of code would you put in the cartridge's script to &quot;activate&quot; and use your extension features?</p> https://www.lexaloffle.com/bbs/?tid=29467 https://www.lexaloffle.com/bbs/?tid=29467 Fri, 09 Jun 2017 15:49:06 UTC Blending <p>Instead of just giving carts the ability to replace colors in the palette with other colors outright, I propose a totally dumb alternative:</p> <p>A new screen rendering mode which does linear blending on the image by shrinking the 128x128 screen area to 64x64, turning this:</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/FGC6Xv1.png" alt="" /> <p>into that:</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/V54zkum.png" alt="" /> <p>Games would have to be designed as 64x64 to make proper use of this of course (unlike my test case there...)</p> <p>The basic idea is: To make a new color, all you need to do is color each pixel in a 2x2 area with different colors you want to blend together to make the new one. Then when the screen gets scaled down, all those pixels will get combined, making a huge number of new shades and hues available without just letting you change Pico-8's base palette colors outright.</p> <p>Now excuse me while I study how composite video cables work so I can figure out CGA Composite Mode rendering to make 16 colors out of 4...</p> https://www.lexaloffle.com/bbs/?tid=3829 https://www.lexaloffle.com/bbs/?tid=3829 Fri, 15 Jul 2016 05:05:14 UTC Nora-Net <p>When I made <a href="https://www.lexaloffle.com/bbs/?tid=3414">Nora's Mouse Chase!</a> for p8jam2 last month, it left me unsatisfied. So I started work on my own 2D game engine again. At first I was making it from scratch, but then I realized all the C libraries I had gathered made up basically the same thing as L�VE anyway, so I switched to using that as the base. There were some other snags and I've had to basically start over a few times, but I'm working out the details as I go.</p> <p>I don't have anything to show for my work yet, so I don't know why I'm posting... And I certainly don't know why I'm posting it here, of all places. Maybe I just really adore this quiet little corner of the Internet.</p> <p>Anyway, I've given this project the working name of Nora-Net. The goal? A decentralized online multiplayer game engine and service, capable of supporting at least 100 players per server (although ideally somewhere around 1024 players would be amazing), where the game itself can be edited cooperatively online by admins who can upload new scripts and sprites on the fly and build the world together.</p> <p>In one sense, the continuing efforts where pico-hotel left off. In another, a decent replacement for BYOND and Second Life, with realtime action gaming in mind. I want Nora-Net to be able to support puzzle games, platformers, and RPGs all just as effortlessly, with a Bitcoin Wallet type of client-side account registration and identification to access server-side save data which servers can share with eachother if set up to allow it.</p> <p>I want this to be something I can go to as my game engine of choice for all my future projects, an engine capable of virtually any 2D game imaginable, supporting singleplayer, multiplayer, and massively multiplayer, with optimized renderig and networking behind the scenes. I want to run a Mii-like character creation service on it which exports finished character head sprites in a variety of sizes, styles, and poses for other games on the engine to use with their own body sprites to make a unified-yet-customizable avatar for you to take with you everywhere, whether that head is getting tacked on to a space marine or used as a portrait when you win or lose a round of Puzzle &amp; Flower Land 3.</p> <p>This is too big of a project for me to tackle alone, and I know it. I also have no income and approximately two years left before my life will almost certainly take a turn for worse. But what the hell, let's see where this road takes me anyway. It'll be fun.</p> https://www.lexaloffle.com/bbs/?tid=3605 https://www.lexaloffle.com/bbs/?tid=3605 Tue, 14 Jun 2016 17:51:15 UTC Nora's Mouse Chase! <p><center><img style="margin-bottom:16px" border=0 src="http://i.imgur.com/yf7QcQJ.png" alt="" /></center><br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21677.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! Jam v3</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <strong>Overworld Controls:</strong><br /> &#9665; &#9655; &#9651; &#9661; - Move<br /> &#9421; - Interact, continue dialog<br /> &#9412; - Speed up dialog</p> <p><strong>Combat controls:</strong><br /> &#9665; &#9655; &#9651; &#9661; - Change selection<br /> &#9421; - Activate<br /> &#9412; - Cancel / Back</p> <p><strong>Standard Pico-8 keyboard assignments:</strong><br /> Arrow keys = &#9665; &#9655; &#9651; &#9661;<br /> Z,C,N = &#9412;<br /> X,V,M = &#9421;<br /> P,Enter = Pause menu (useful for resetting the game to play it again)</p> <p><em>For the best experience</em>, take the time to try interacting with all the objects, too!<br /> Have fun catting around!</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/7HtRAob.gif" alt="" /> <p>Thank you everyone for your support.<br /> <strong>Here's my post-jam development diary / full disclosure wrap-up thing:</strong><br /> <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;">So, at first I wasn't sure how I could motivate myself to participate again, because I can only really get into it and make something amazing when my heart is in it. Nearing the date of the jam, I got the bright idea that what I most wanted to do right now was make a game about Nora, so no matter what the theme was I would find a way to shoehorn Nora into it.</p> <p>Nora is my mascot character. She was thoughtfully designed ahead of time to be the epitome of adorable innocence. The large art at the top of the post is actually a piece of rough concept art for her that I worked together with an artist to produce, and it actually took a bit of work to get her to where she is today.<br /> <center><img style="margin-bottom:16px" border=0 src="http://i.imgur.com/CJosiJv.gif" alt="" /><img style="margin-bottom:16px" border=0 src="http://i.imgur.com/SuZbHpl.png" alt="" /></center><br /> I had been meaning to flesh out her world and create additional characters to play off of her personality for a while now, and I figured the jam would be a perfect way to motivate myself to get something out there.</p> <p>I was actually hoping all along that I'd get to make an RPG, because RPGs are rare on the Pico-8. When <a href="https://www.lexaloffle.com/bbs/?tid=3399">jam theme voting</a> came up, I cast a dual vote for Blob and Useless Power-up. That way, if <em>Blob</em> was selected, I would benefit by having standard RPG slimes to fight against (and cute <em>moe blobs</em> for characters!) while everyone else foolishly used the built-in circle tool to try and do wacky blob physics games. And if Nora gets a <em>Useless Powerup</em> instead I could easily make that an RPG McGuffin of some kind... So either way I'm good, right? With that settled, I began work on pixel art.</p> <p>And then the jam turned out to be about <em>Chain Reaction</em>. Crap.</p> <p>How am I supposed to make these 16x16 pixel overworld walking catgirl sprites into the embodiment of a &quot;chain reaction&quot;? At first I doubled-back, thought I could change my design into another charming but simple puzzle game where you place a dog to move forward and scare a cat, which moves away from the dog to scare a mouse, which moves away from the cat to collect the cheese... That's a puzzle game, right? I have vague memories of a puzzle game like that actually existing at some point, but I couldn't remember the details to really make it work... It would be boring to make a puzzle game if I can't figure out any intricacies to make it require some thought! At any rate, the first early alpha version went by this design (see &quot;Earlier versions:&quot; below), hence the little info box which is now missing from the current version of the header image.</p> <p>Uh oh. It looks like <a href="https://www.lexaloffle.com/bbs/?tid=3409">someone else had the same idea</a> as me, and they seem to remember the rules better than I do as well. It was a game about using a mouse to scare an elephant into a cage or something, right?</p> <p>Well, since I don't want to risk my jam entry being <em>redundant</em> and I don't remember how to make that fun anyway, I'm back to figuring out how to make an RPG with a &quot;chain reaction&quot; twist. The results became the finished product: A battle system where instead of selecting the attack you want to use (so that you can just spam the enemy's weakness over and over), you have to figure out how to connect multiple attacks together into a big chain to deal significant damage.</p> <p>My fatal mistake was trying to keep the overworld aspect of the game, rather than <em>just</em> focusing on the combat system. Because this project was still about fleshing out Nora's world, which was important to me. I already had sprites for all four directions set up, so it would be a waste to throw them away changing my plans again, right?</p> <p>I ended up working obsessively, pouring hours into this project all week long, slowly adding more dialogue, more rooms, more scenery objects... Then I realized my second mistake: The combat system is like nothing anyone has ever seen before, so it needs a full proper tutorial before people will grasp how to use it. And if you don't know how to play, you can't win the game.</p> <p>After packing a full tutorial, a bunch of overworld NPCs and dialogue, a wacky scripting system for dialog-triggered events and the like, and then finally getting around to implimenting skills to use up your MP and drastically reduce the luck factor for players who know what they're doing, all in a newfangled object-oriented system that uses up more code space for the sake of making everything much easier to handle and find your way around...</p> <p>I ran out of tokens. Oops.</p> <p>So, the finished product ended up having only two battles (I had planned a third, final boss, with gimmicks and a true ending) and thus was very light on gameplay despite being packed to the brim with solid content. If I had instead only made the combat screen and cycled through enemies randomly (including recolors), I could've had potentially endless hours of gameplay. Instead it's something short and cute that you play once and never touch again, much like my previous Pico-8 Jam entry, <a href="https://www.lexaloffle.com/bbs/?tid=2796">Frog Home</a>.</p> <p>I guess I just love to tell a story.</div></div></div><br /> <strong>Known issues:</strong><br /> <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;">* Battle animations may be too violent. (unintentional game design flaw...)</p> <ul> <li>Web player desynchronizes audio when lagging (nothing I can do about that, try restarting your web browser or closing your excess tabs)</li> <li>Pico-8 font is hard to read (might consider wasting space fitting in another font or something)</li> <li>Only one silly little music track. :(</li> <li>No good display for elemental weaknesses, you'll have to pay attention to the numbers.</li> <li>There was supposed to be an optional final boss with some gimmicks that I couldn't fit under the code limit, let alone write another ending for. If the ending feels wrong, that's partly why.</li> <li><em>I see you messing with the palette again zep, cut it out...</em> D:</div></div></div><br /> <strong>Earlier versions:</strong><br /> <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;"> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21673.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! Jam v2</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21598.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! Jam Edition</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21536.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a16</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21533.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a15</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21518.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a13</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21445.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a12</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21442.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a9</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21296.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a7</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21148.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a4</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21145.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a3</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/oxghQXQ.png" alt="" /> <p> <table><tr><td> <a href="/bbs/?pid=21050#p"> <img src="/bbs/thumbs/pico21067.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=21050#p"> Nora's Mouse Chase! a2</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=21050#p"> [Click to Play]</a> </td></tr></table> </div></div></div></p></li> </ul> https://www.lexaloffle.com/bbs/?tid=3414 https://www.lexaloffle.com/bbs/?tid=3414 Sat, 21 May 2016 22:07:50 UTC Superpowers as an IDE <p>Here's a recent interesting project which is completely unrelated to Pico-8.<br /> <a href="http://superpowers-html5.com"><a href="http://superpowers-html5.com">http://superpowers-html5.com</a></a></p> <p>It's an HTML5 game engine. More importantly, it's a free and open-source web-based development IDE. That is to say, instead of using Superpowers IDE to make Unity-like Superpowers games, you can add a plug-in to your Superpowers server to add additional project types, including (officially supported, in fact) <a href="https://github.com/superpowers/superpowers-love2d">L�VE games</a> and <a href="https://github.com/superpowers/superpowers-web">static webpages</a>.</p> <p>Superpowers is a real-time multi-user collaborative development environment unlike anything I've ever seen before, albeit still very much in its infancy. We should seriously consider adding Pico-8 cartridge support to it, as an alternative to using Pico-8's built-in IDE.</p> <p>It would take a bit of effort, but with the result, you'd basically have the ability for any number of developers to simultaneously log onto a hosted Superpowers server, upload scripts and sprites, and download and run the resulting combined cartridge from the server in real time.</p> <p>Superpowers is pretty much <em>designed</em> for small teams working together on game jam entries with strict time limits, getting all the work together immediately in real-time as individual files are changed and saved, without having to worry about committing and merging changesets like you would with Git or other collaboration methods.</p> <p>... I don't know, just a passing thought. Probably wouldn't be worth it, considering how difficult it would be to manage Pico-8's arbitrary limits in a development environment meant to handle limitless modern PC games.</p> https://www.lexaloffle.com/bbs/?tid=3108 https://www.lexaloffle.com/bbs/?tid=3108 Tue, 08 Mar 2016 09:36:25 UTC It's my birthday~ <p>Happy birthday to me, I guess.</p> https://www.lexaloffle.com/bbs/?tid=3105 https://www.lexaloffle.com/bbs/?tid=3105 Mon, 07 Mar 2016 14:56:21 UTC Frog Home commemorative coaster <p>Zep made me an adorable little plastic coaster commemorating Frog Home.</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/gteRGWD.jpg" alt="" /> <p>So I turned the design back into a little Pico-8 cart.<br /> <table><tr><td> <a href="/bbs/?pid=18197#p"> <img src="/bbs/thumbs/pico18199.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=18197#p"> Pico-8 Jam 1 Frog Home commemorative coaster</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=18197#p"> [Click to Play]</a> </td></tr></table> </p> <p>Sorry it's so barebones, I just wanted to share with everyone. An amusing way to upscale a little sprite, I guess?</p> https://www.lexaloffle.com/bbs/?tid=2961 https://www.lexaloffle.com/bbs/?tid=2961 Fri, 08 Jan 2016 09:44:15 UTC My Sunshine <p> <table><tr><td> <a href="/bbs/?pid=17975#p"> <img src="/bbs/thumbs/pico17988.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=17975#p"> My Sunshine (music box tones)</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=17975#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td> <a href="/bbs/?pid=17975#p"> <img src="/bbs/thumbs/pico17974.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=17975#p"> My Sunshine</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=17975#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just a &quot;music&quot; cart.<br /> It shouldn't desynch even if the web client lags because the floating text spawns the music.</p> https://www.lexaloffle.com/bbs/?tid=2926 https://www.lexaloffle.com/bbs/?tid=2926 Mon, 21 Dec 2015 17:41:48 UTC Precipitative Percussion <p> <table><tr><td> <a href="/bbs/?pid=16964#p"> <img src="/bbs/thumbs/pico16965.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16964#p"> Precipitative Percussion</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16964#p"> [Click to Play]</a> </td></tr></table> <br /> Here's my generic &quot;Look everyone! I made raindrops!&quot; cart, since the theme is rain.</p> <p>If it sounds absolutely horrible, don't use the web player. The web player skips frames, which does not bode well when the raindrops themselves are playing the music.</p> <p>If it still sounds absolutely horrible, I'm sorry for being terrible at music. I will try harder next time.</p> https://www.lexaloffle.com/bbs/?tid=2810 https://www.lexaloffle.com/bbs/?tid=2810 Tue, 24 Nov 2015 09:37:01 UTC Frog Home <p> <table><tr><td> <a href="/bbs/?pid=16826#p"> <img src="/bbs/thumbs/pico8_froghome-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16826#p"> Frog Home</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16826#p"> [Click to Play]</a> </td></tr></table> <br /> Press Z to frog. Go do frog stuff.</p> <p>This is now a complete game and solvable. It'll tell you when it's over.</p> <p>Puzzle games are meant to have solid mechanics, so unless a frog starts floating, you're probably not actually stuck and it's probably not a bug.</p> <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;"><br /> Pico-8 Jam 1 version<br /> <table><tr><td> <a href="/bbs/?pid=16826#p"> <img src="/bbs/thumbs/pico16983.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16826#p"> Frog Home</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16826#p"> [Click to Play]</a> </td></tr></table> </p> <p>Unrefined, but still &quot;finished&quot; version<br /> (May contain bugs)<br /> <table><tr><td> <a href="/bbs/?pid=16826#p"> <img src="/bbs/thumbs/pico16979.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16826#p"> Frog Home</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16826#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=2796 https://www.lexaloffle.com/bbs/?tid=2796 Sat, 21 Nov 2015 04:10:37 UTC My Pico-8 features wishlist. <p>I've been using the Pico-8 for a while now, since it's pretty much everything I've ever wanted in a &quot;fantasy console&quot;, and I would have made one almost exactly like it (albeit with a larger palette and looser limits, perhaps...) if and when designing and programming one myself. So to skip that entire process and jump straight into making nifty little widgets and toys for this device... Well it's been quite a dream come true!</p> <p>That said, Pico-8 is far from being without issues, and more keep cropping up the more I play with it. So, outside of bug reports, here's a small laundry list of things I &quot;want&quot;, or would be nice to have at some point...</p> <p>Note: This is a blog post, an off-the-cuff rattling of random things I personally would desire. I'm not expecting it to be directly acted on or hotly debated or anything like that, this just keeps track of what I want so I don't forget, you know?</p> <ul> <li> <p>The ability to call non-system functions without arguments in the same way as system functions, eg. as &quot;run&quot; instead of &quot;run()&quot;. Maybe before trying to process the input as a Lua script, it should try to see if there's a global variable by that name first, and if that variable is a function, call it?! There's no reason to make such a distinction in most cases.</p> </li> <li> <p>How about a find(needle,haystack) function? It would search strings for substrings or arrays for values and return a number from 1 to #haystack where it's found or nil, false, 0, -1, or whatever when it's not.</p> </li> <li> <p>I often find myself needing a <em>pause</em> button, even if it's not a game button. The only way to <em>pause</em> a game right now, if it's not in the web player (which can be paused by <em>clicking on it</em>, as counter-intuitive as that sounds!), is to press Esc to kill the entire program, which often has unfortunate side effects like stopping the music or reverting the map, sprite, and sound data.</p> </li> <li> <p>If it doesn't already, when Lua &quot;runs out of memory&quot;, it should first try to garbage collect and see if that frees enough space to keep going.</p> </li> <li> <p>I need the type() function back so I can have mixed type arrays again. Without it, and without tostring(), there's no way to avoid accidentally crashing the script trying to concatenate arbitrary values to print debug text and whatnot... I'm forced to carefully distinguish variables and keep it all totally separate. Bogus, man!</p> </li> <li> <p>I want the _G table back so I can iterate through variables in the global namespace or &quot;construct&quot; variable names by string concatenation. It would have to be lower-cased to _g in Pico-8 due to the whole mono-case thing it has going on.</p> </li> <li> <p>load()'s silent failure is a troublemaker, and there isn't an exists()... So either make load() return a meaningful value (a boolean perhaps) or add an exists() that checks for a file or make ls() return a list of files or <em>something</em>... Come on...</p> </li> <li>Change the hardcoded _mainloop function so that it works more like this:</li> </ul> <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> function _mainloop() local must_draw = true while _update or _draw do if _update then _update() end if _draw and (must_draw or stat(1) &lt; 1.0) then _draw() must_draw = false else must_draw = true end flip() 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> <p>(This was the closest approximation I was able to make without knowing the actual script source.) That way, programs can have only an _update loop or only a _draw loop, swap them out, or even terminate the main loop by removing them both. There is currently no way to exit the main loop otherwise, as far as I'm aware.</p> <ul> <li>I miss metatables, but considering Pico-8's constraints they're not high on my priority list for the return of...</li> </ul> https://www.lexaloffle.com/bbs/?tid=2765 https://www.lexaloffle.com/bbs/?tid=2765 Fri, 13 Nov 2015 06:10:40 UTC Where to begin... <p>So, today I made a Pico-8 paint program... in Pico-8.</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/23pjxvH.gif" alt="" /> <p>You might be wondering why I would do such a thing, since the Pico-8 development platform comes with a built-in paint program that's almost exactly the same, except it can use the mouse instead of clunky keyboard controls. The simple answer is... This is the beginning of what might be the biggest thing I'm likely to do on the Pico-8. Ever.</p> <p>Imagine a Pico-8 game shared by a Dropbox folder or similar system, where every user gets their own character and their own room, and every object in the game world was uniquely painted up by users, held, given, and placed in those rooms to furnish them with things, and all of it was maintained by a slow, asynchronous system of a multitude of carts, set up in such a way that multiple copies of the game being run by tens of players should never cause data collisions.</p> <p>Welcome to Pico Hotel, an oldschool collaborative world-building and interaction experience.</p> https://www.lexaloffle.com/bbs/?tid=2763 https://www.lexaloffle.com/bbs/?tid=2763 Fri, 13 Nov 2015 00:49:50 UTC I can't even make a simple Pong game right <p> <table><tr><td> <a href="/bbs/?pid=16508#p"> <img src="/bbs/thumbs/pico16507.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16508#p"> Laser Tennis</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16508#p"> [Click to Play]</a> </td></tr></table> <br /> Sorry for your eyes. I am so bad at math.</p> https://www.lexaloffle.com/bbs/?tid=2757 https://www.lexaloffle.com/bbs/?tid=2757 Tue, 10 Nov 2015 18:05:57 UTC RunMan! <p>You know how in &quot;Kong&quot; they called Mario &quot;JumpMan&quot; because he jumped over things? Well I call this little guy &quot;RunMan&quot; because... Well, you'll see!</p> <p> <table><tr><td> <a href="/bbs/?pid=16480#p"> <img src="/bbs/thumbs/pico16486.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16480#p"> RunMan!</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16480#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=2753 https://www.lexaloffle.com/bbs/?tid=2753 Tue, 10 Nov 2015 02:25:07 UTC Stack 'Em <p> <table><tr><td> <a href="/bbs/?pid=16448#p"> <img src="/bbs/thumbs/pico16461.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16448#p"> Stack 'Em</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16448#p"> [Click to Play]</a> </td></tr></table> <br /> (Warning: It takes more effort to lose than it does to &quot;win&quot; endlessly.)</p> <p>This is a little something I threw together specifically to make into a microgame for the <a href="https://www.lexaloffle.com/bbs/?tid=2750">PicoWare collab project</a></p> <p>I may have gotten a little carried away with the music, it's way more awesome than the gameplay at this point...</p> https://www.lexaloffle.com/bbs/?tid=2752 https://www.lexaloffle.com/bbs/?tid=2752 Mon, 09 Nov 2015 00:20:37 UTC PicoWare Inc. - Show us your microgames! (updated 2015-11-19_2) <p>Here's a funny little collaboration project that I'm afraid only works offline by nature. I've set up a system to pass data back and forth between carts for a &quot;WarioWare Inc.&quot;-style micro-game system.</p> <img style="margin-bottom:16px" border=0 src="http://i.imgur.com/rcJacpj.gif" alt="" /> <p>If you have Pico-8 installed, you can download the current API / project and microgames from here: <a href="http://catgirl.goddess.moe/pico-8/picoware-inc_2015-11-19_2.zip">picoware-inc_2015-11-19_2.zip</a><br /> You're all set to play and/or make your own microgames, microgame loaders, etc. Have fun!</p> <p>Starter pack microgame list:</p> <ul> <li>Jelpi by Zep</li> <li>ennuigi by joshmillard</li> <li>Simon Says by Connorses</li> <li>pick the nose booger by Connorses</li> <li>Tech Exercise by Connorses based on Graphics Exercise by Mason</li> <li>Puzzlecave - Raiders Of The Lost Potato by hackefuffel</li> <li>Endless Train by le_gars</li> </ul> <p>Currently missing features:</p> <ul> <li>&quot;Skill&quot; ramping. The microgames never get <em>harder</em>, only faster.</li> <li>The interface is entirely barebones right now. It could use some art assets, fuller music, etc.</li> </ul> <p>If you need help, you can contact me as <strong>JTE</strong> on <a href="irc://freenode/pico8">IRC</a> or <strong>catgirl</strong> on <a href="https://www.lexaloffle.com/bbs/?tid=2732">Slack</a>, I'd be happy to work with you if you have any problems or improvements or just want to slip a new microgame cart or two into the next release package.</p> https://www.lexaloffle.com/bbs/?tid=2750 https://www.lexaloffle.com/bbs/?tid=2750 Sun, 08 Nov 2015 06:09:43 UTC Vector Rendering <p> <table><tr><td> <a href="/bbs/?pid=16386#p"> <img src="/bbs/thumbs/pico16385.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=16386#p"> Vector Rendering</a><br><br> by <a href="/bbs/?uid=2836"> JTE</a> <br><br><br> <a href="/bbs/?pid=16386#p"> [Click to Play]</a> </td></tr></table> <br /> 3D week? I think we're skipping a big technological step going straight to filled and dithered polygons...<br /> I made a triangle out of lasers, I guess.</p> https://www.lexaloffle.com/bbs/?tid=2746 https://www.lexaloffle.com/bbs/?tid=2746 Sat, 07 Nov 2015 20:01:09 UTC