kometbomb [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=12489 TOOT by Funkenst&ouml;rt <p> <table><tr><td> <a href="/bbs/?pid=65344#p"> <img src="/bbs/thumbs/pico8_fawasirudi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=65344#p"> TOOT</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=65344#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's a small demo we made for Flashback 2019 held in Sydney. There are some firsts (I think... I hope) like the full screen X/Y distorter (at 60 FPS).</p> <p>Credits:</p> <p>code - kometbomb<br /> gfx - ilkke &amp; animal bro<br /> musix - gruber</p> <p>P.S. I used my very old code that seem to use someone's matrix math functions and I can't find the thread I borrowed them from so thanks and credits to him/her! They're named like rot_x_m() and lookat_m() etc.</p> https://www.lexaloffle.com/bbs/?tid=34565 https://www.lexaloffle.com/bbs/?tid=34565 Sat, 22 Jun 2019 18:20:15 UTC PICO-8 0.1.11 CRACKED BY TIC TAC TOAD <p> <table><tr><td> <a href="/bbs/?pid=45508#p"> <img src="/bbs/thumbs/pico45507.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=45508#p"> PICO-8 0.1.11 CRACKED BY TIC TAC TOAD</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=45508#p"> [Click to Play]</a> </td></tr></table> </p> <p>Another 0day release from TTT... </p> <p>J/K. Made this silly little &quot;port&quot; of a classic Amiga cracktro (also seen on MS-DOS) to celebrate 0.1.11.</p> <p>Credits:</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> GFX ......... iLKke Code .... kometbomb Music ...... Gruber </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=30120 https://www.lexaloffle.com/bbs/?tid=30120 Fri, 27 Oct 2017 11:33:37 UTC Textured Twister <p> <table><tr><td> <a href="/bbs/?pid=42755#p"> <img src="/bbs/thumbs/pico42842.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=42755#p"> Textured Twister 1.1</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=42755#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hit Z/(o) to bring up the editor menu!</p> https://www.lexaloffle.com/bbs/?tid=29704 https://www.lexaloffle.com/bbs/?tid=29704 Mon, 24 Jul 2017 13:56:52 UTC MICRO MURDER: But It's Robots So It's OK <p> <table><tr><td> <a href="/bbs/?pid=39679#p"> <img src="/bbs/thumbs/pico55135.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39679#p"> MICRO MURDER: But It's Robots So It's OK 1.1</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=39679#p"> [Click to Play]</a> </td></tr></table> </p> <p>By now, you most likely have heard kids talking about something called &quot;M-BIRSIO&quot; and sometimes just shout &quot;MM... BIRSIO! MM... BIRSIO!&quot; while drooling. Well, now you can find out what it is by inserting this new exciting cart from Tic Tac Toad in your PICO-8.</p> <p>MICRO MURDER ( but it's robots so it's OK ) is a game of ballistic extermination for 1 or 2 tactical modules, organic or otherwise. Assert your domination over four pictoresque and extremely resource-rich celestial bodies using a flexible arsenal designed to fit any situation. </p> <p><strong>FEATURES</strong></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> * streamlined &quot;artillery duel&quot; gameplay similar to Worms (or so they say, Tic Tac Toad has never heard about any kind of worms except the one in Worm Nom Nom, also available now from Tic Tac Toad) * a game for 1-2 players * a sometimes quite cunning AI * an endless amount of randomly generated levels on four different planets * tweakable gameplay parameters </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p><strong>INSTRUCTIONS</strong></p> <img style="margin-bottom:16px" border=0 src="http://kometbomb.net/pico8/mm-inst.gif" alt="" /> <p>MICRO MURDER: But It's Robots So It's OK is an artillery duel game. Your mission is to destroy all enemy robots.</p> <p>Use the controller to move around. (Up) and (down) changes the aim. (x) to jumps and (o) opens up the popup menu. Hold (o) and push the joypad into any of the four cardinal directions to select options. E.g. hold (o) and (down) to fire.</p> <p>Try to use the best suitable weapon for different situations. Try to bounce enemy robots into the surrounding water/lava/lemonade in case you can't simply explode them into spare parts. Use the Digger to dig tunnels for you to hide into or shoot through.</p> <p>If you still are stumped, play a few games against the AI to see useful tactics.</p> <p><strong>CREDITS</strong></p> <p>Game by <a href="https://tictactoad.itch.io/"><strong>Tic Tac Toad</strong></a><br /> Code mostly by <a href="https://twitter.com/kometbomb"><strong>kometbomb</strong></a> (may contain traces of <strong>iLKke</strong>)<br /> Art type stuff (gfx &amp; sound) by <strong><a href="https://twitter.com/iLkKke">iLKke</a></strong> (may contain traces of <strong>kometbomb</strong>)</p> <p>Edit: Forgot the instruction gif</p> https://www.lexaloffle.com/bbs/?tid=29175 https://www.lexaloffle.com/bbs/?tid=29175 Sat, 15 Apr 2017 03:27:58 UTC Script for nice combined gifs <p>I made this small script that takes four PICO-8 gifs and creates a 2x2 mosaic gif (with all the gifs running side by side). </p> <p><a href="https://github.com/kometbomb/mosaic">https://github.com/kometbomb/mosaic</a></p> <p>It assumes the default gif settings (256x256, duration is irrelevant as long as all the gifs are of same duration) and thus creates a 512x512 gif. This is very useful for tweets etc. You might want to run some gif optimizer afterwards.</p> <p>I included a Windows batch file and a shell script so you can run it on any system that PICO-8 supports, as long as you have Imagemagick installed. </p> <p>How to use (Windows):</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> mosaic.bat top_left.gif top_right.gif bottom_left.gif bottom_right.gif output.gif </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 on Linux/Mac:</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> ./mosaic.sh top_left.gif top_right.gif bottom_left.gif bottom_right.gif output.gif </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=29097 https://www.lexaloffle.com/bbs/?tid=29097 Sun, 02 Apr 2017 11:04:06 UTC Automatic Tiles Demo (Spaceman 8) <p> <table><tr><td> <a href="/bbs/?pid=38137#p"> <img src="/bbs/thumbs/pico38136.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38137#p"> Automatic Tiles Demo 1.0</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=38137#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's a demo cart about how the map is built in Spaceman 8. Corner etc. tiles are picked depending on the placement of tiles.</p> <p>Some words about it: <a href="http://kometbomb.net/2017/03/10/how-levels-are-generated-in-spaceman-8/">http://kometbomb.net/2017/03/10/how-levels-are-generated-in-spaceman-8/</a></p> https://www.lexaloffle.com/bbs/?tid=28948 https://www.lexaloffle.com/bbs/?tid=28948 Fri, 10 Mar 2017 12:14:15 UTC Map Generator Demo (Spaceman 8) <p> <table><tr><td> <a href="/bbs/?pid=38135#p"> <img src="/bbs/thumbs/pico38134.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=38135#p"> Map Generator Demo 1.0</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=38135#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's a demo cart using the algorithm we used in Spaceman 8. </p> <p>Some words about it: <a href="http://kometbomb.net/2017/03/10/how-levels-are-generated-in-spaceman-8/">http://kometbomb.net/2017/03/10/how-levels-are-generated-in-spaceman-8/</a></p> https://www.lexaloffle.com/bbs/?tid=28947 https://www.lexaloffle.com/bbs/?tid=28947 Fri, 10 Mar 2017 12:05:21 UTC OMEGA ZONE <p> <table><tr><td> <a href="/bbs/?pid=36863#p"> <img src="/bbs/thumbs/pico37086.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=36863#p"> OMEGA ZONE 1.3</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=36863#p"> [Click to Play]</a> </td></tr></table> </p> <p>Enjoy this port of Omega Race. Another &quot;let's see if I can make a game in an afternoon&quot; joint.</p> <img style="margin-bottom:16px" border=0 src="http://kometbomb.net/pico8/omegazone.gif" alt="" /> <p><strong>Instructions:</strong></p> <p>UP = thrust<br /> LEFT/RIGHT = rotate<br /> FIRE = fire<br /> OTHER FIRE = shield</p> <p>Kill all enemies to advance to the next level. Use the shield to avoid enemy fire and the rotating lazers. Collect yellow coins for the bonus level.</p> <p>Edit: Removed sarcasm and changed the game name since now it's pretty good game for a few days of work.</p> https://www.lexaloffle.com/bbs/?tid=28753 https://www.lexaloffle.com/bbs/?tid=28753 Sun, 29 Jan 2017 13:35:12 UTC Color fade generator <p> <table><tr><td> <a href="/bbs/?pid=35611#p"> <img src="/bbs/thumbs/pico35664.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=35611#p"> Fade Generator Demo Cart</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=35611#p"> [Click to Play]</a> </td></tr></table> </p> <p>I made this simple tool for generating tables for fading colors with pal(). It generates the table and a simple function for setting up.</p> <p><a href="http://kometbomb.net/pico8/fadegen.html?new"><a href="http://kometbomb.net/pico8/fadegen.html">http://kometbomb.net/pico8/fadegen.html</a></a></p> <p>In the future, I will experiment with stuff like non-linear interpolation and separate speeds for R, G and B.</p> https://www.lexaloffle.com/bbs/?tid=28552 https://www.lexaloffle.com/bbs/?tid=28552 Fri, 13 Jan 2017 14:17:10 UTC Spaceman 8 <p> <table><tr><td> <a href="/bbs/?pid=35231#p"> <img src="/bbs/thumbs/pico37216.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=35231#p"> Spaceman 8 1.2</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=35231#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's our latest game we made as Tic Tac Toad. Please enjoy!</p> <p><strong>THE STORY SO FAR</strong></p> <p>Life has been tough on mining colony w4ge-514v3, but you are tougher. Don the helmet of Spaceman 8 and mine the labyrinthine busom of icy spacerocks for gems and haul them back to company collectors. The oxygen supply is scarce and depleting fast, so you have to keep your visits brief. Luckily, your trusty hummingbird-class jetpack is highly manouverable, and will get you to the exit quickly.</p> <p>Use the hard-earned credits to upgrade your gear in the shop at the end of each day. How much can you earn in a week? Will you even survive or will greed get the best of you? Only one way to find out!</p> <p><strong>CREDITS</strong></p> <p>Code &amp; Design by <strong>kometbomb</strong><br /> Graphics &amp; Sound by <strong>iLKke</strong></p> https://www.lexaloffle.com/bbs/?tid=28485 https://www.lexaloffle.com/bbs/?tid=28485 Sun, 08 Jan 2017 04:39:05 UTC 2017 <p> <table><tr><td> <a href="/bbs/?pid=34646#p"> <img src="/bbs/thumbs/pico34644.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=34646#p"> 2017</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=34646#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=28387 https://www.lexaloffle.com/bbs/?tid=28387 Sun, 01 Jan 2017 03:43:12 UTC Cups <p> <table><tr><td> <a href="/bbs/?pid=33641#p"> <img src="/bbs/thumbs/pico33640.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=33641#p"> Cups 1.0</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=33641#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=28239 https://www.lexaloffle.com/bbs/?tid=28239 Sun, 18 Dec 2016 11:48:35 UTC Posting game stats/high scores via GPIO ports <p>It's a very nice and warm day outside so why not use it to sit inside doing something completely pointless? But sort of fun. So, I created a prototype of Pico-8/Kongregate API integration that uses the GPIO ports to translate Pico-8 scores etc. to the API. Of course, you are not limited to Kongregate, you can use whatever JS API you have access to. Quite easy to roll your own, too.</p> <p>The idea is that the game updates the GPIO ports and the JS backend polls the ports. The Pico-8 HTML5 export sets the pico8_gpio array and it corresponds addresses 0x5F80... in Pico-8 memory space. </p> <p>In short: my code in Pico-8 poke()'s a value in ports 0x5F80 and ..81 (we need to split the value into two 8-bit values as you can see in the code below), which is always one larger than the previous value in there. The JS code notices the value has changed and knows it has to read whatever is in the ports and act accordingly. I set a value that tells what the rest of the ports mean, e.g. 0 for a new high score in ports 3 and 4 that has to be posted.</p> <p>In the game I have a delay after setting the values so that the JS code has enough time to read the values before they change (I set a bunch of these stats at game over). This could and should be handled with the JS setting a value in a port that tells Pico-8 it should continue but I didn't bother to do that.</p> <p>Check <a href="http://www.kongregate.com/games/kometbomb/pico-racer-turbo/">the game on Kongregate</a>, you can see there's my score in the leaderboards to prove it works. ;)</p> <p>Here's some code, it's just a proof of concept so don't expect anything nice and clean (api.post() would be something like kongregate.submit(&quot;score&quot;, 2000) in reality):</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> statsapictr = 0 -- set values in ports function sethighscore() poke(0x5f82, 0) -- 0 = post score poke(0x5f83, score % 256) -- low byte poke(0x5f84, flr(score / 256)) -- high byte updatestatsapi() end -- tell JS we have new stuff in the ports it has to post ASAP function updatestatsapi() statsapictr += 1 poke(0x5f80,statsapictr % 256) poke(0x5f81,flr(statsapictr / 256)) -- delay to make sure JS has enough time for i=0,10 do spr(243,0,0) -- show a sprite to show it's doing something, maybe a spinner flip() -- flip screen, i.e. wait 1/30th of a second 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>gpioapi.js:</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> var pico8_gpio = []; var pico8_prevGpioCtr = 0; function doGPIO() { var ctr = pico8_gpio[0] + pico8_gpio[1] * 256; if (ctr != pico8_prevGpioCtr) { pico8_prevGpioCtr = ctr; switch (pico8_gpio[2]) { case 0: var score = (pico8_gpio[3] + pico8_gpio[4]*256); api.post(&quot;score&quot;, score); break; case 1: api.post(&quot;gameCompleted&quot;, true); break; } } setTimeout(function() { doGPIO(); }, 50); // do this every 50 ms } </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Just run doGPIO() once and it keeps updating every 50 ms.</p> https://www.lexaloffle.com/bbs/?tid=3705 https://www.lexaloffle.com/bbs/?tid=3705 Sun, 26 Jun 2016 08:39:14 UTC Worm Nom Nom <p> <table><tr><td> <a href="/bbs/?pid=22254#p"> <img src="/bbs/thumbs/pico23208.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=22254#p"> Worm Nom Nom 1.2</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=22254#p"> [Click to Play]</a> </td></tr></table> </p> <p>You are a worm. Worms love eating fruit, even though it makes them poop. But this is a good thing: poop becomes flowers and flowers bring much joy to the world.</p> <p>Eat fruit, avoid poop, flowers increase the score multiplier, eating flowers makes the multiplier smaller. Use arrow keys to steer, use Z or X to jump over hazards.</p> <p>This is a very quick project we did with iLkKe, as Tic Tac Toad. Going to write about the game in my blog in the near future, had so much fun making the game.</p> <p>The game is also playable at <a href="https://tictactoad.itch.io/worm-nom-nom">itch.io</a></p> <p>Update 1.2:</p> <p>You can also use LEFT/DOWN and UP/RIGHT to rotate the worm, it's much more comfortable on a Pocket CHIP. Able to skip the level bonus countdown.</p> <p>Update 1.1:</p> <p>Fixed some bugs, added realistic hat physics (can pick up a hat you dropped), added a high score table!</p> https://www.lexaloffle.com/bbs/?tid=3547 https://www.lexaloffle.com/bbs/?tid=3547 Sat, 04 Jun 2016 09:44:34 UTC Pico Racer <p> <table><tr><td> <a href="/bbs/?pid=19673#p"> <img src="/bbs/thumbs/pico20068.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=19673#p"> Pico Racer 1.0 1.1</a><br><br> by <a href="/bbs/?uid=12489"> kometbomb</a> <br><br><br> <a href="/bbs/?pid=19673#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hello,</p> <p>Here's my first game for Pico-8 and it's a Pole Position/Enduro/OutRun derivative. You might have already played it on <a href="https://kometbomb.itch.io/pico-racer">my itch.io page</a>.</p> <img style="margin-bottom:16px" border=0 src="http://kometbomb.net/wp-content/uploads/2016/04/PICO-8_1.gif" alt="" /> <p>Features:</p> <ul> <li>Day and night</li> <li>Three landscapes</li> <li>Obstacles and jumps</li> <li>A strict time limit</li> <li>See how well you did in the course map overview</li> <li>Really messy source code</li> <li>Terrible sound</li> </ul> <p>I wrote <a href="http://kometbomb.net/2016/04/03/how-does-pico-racer-work/">something about it in my blog</a> and if you have something to ask about it I will gladly answer here.</p> <p>Edit: I'd like to mention I used the ord() function found <a href="https://www.lexaloffle.com/bbs/?tid=2420">here</a>, it was a lifesaver.</p> <p>Update: Now saves high score only when returning to title screen, would continuously write on disk otherwise (due to changes in 0.1.6)</p> https://www.lexaloffle.com/bbs/?tid=3198 https://www.lexaloffle.com/bbs/?tid=3198 Sun, 10 Apr 2016 03:49:37 UTC