exelyte [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=32994 Subhunter <p> <table><tr><td> <a href="/bbs/?pid=70573#p"> <img src="/bbs/thumbs/pico8_subhunter-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70573#p"> subhunter</a><br><br> by <a href="/bbs/?uid=32994"> exelyte</a> <br><br><br> <a href="/bbs/?pid=70573#p"> [Click to Play]</a> </td></tr></table> </p> <p>Wanted to challenge myself to a one day build, which mostly happened. I've started so many different Pico-8 projects and I just really wanted to &quot;finish&quot; something so I decided to just try and recreate and old classic and give myself one-ish day to complete it. </p> <p>Managed to create almost the entire game in my arbitrary time limit. I just spent the following morning making a title screen.</p> <p>Anyways, it's pretty basic game. Just move left and right if you want and time your charges to hit the subs! Drop charges by pressing left and right at the same time. The meter show when a charge is ready to fire.</p> https://www.lexaloffle.com/bbs/?tid=36112 https://www.lexaloffle.com/bbs/?tid=36112 Wed, 04 Dec 2019 15:51:51 UTC Permutations of elements in table <p>Not sure where to post this but I'm having issues listing all the permutations of elements in a table in Pico 8 using this code:</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>output = {} function permutation(a, n) if n == 0 then add(output,a) else for i = 1, n do a[i], a[n] = a[n], a[i] permutation(a, n - 1) a[i], a[n] = a[n], a[i] end end end cls() permutation({&quot;d&quot;,&quot;z&quot;,&quot;2&quot;},3,1) for i=1,#output do for j=1,#output[i] do print(output[i][j],j*8,i*10) 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>It just seems to add the table with the the elements in the initial order to the output table, but the output table does end up with the correct number of element tables. that is, trying to find the permutations of a 3 element array yields and output table with length 6. </p> https://www.lexaloffle.com/bbs/?tid=35306 https://www.lexaloffle.com/bbs/?tid=35306 Mon, 09 Sep 2019 16:18:57 UTC maze demo <p> <table><tr><td> <a href="/bbs/?pid=62692#p"> <img src="/bbs/thumbs/pico8_maze_demo-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=62692#p"> maze_demo</a><br><br> by <a href="/bbs/?uid=32994"> exelyte</a> <br><br><br> <a href="/bbs/?pid=62692#p"> [Click to Play]</a> </td></tr></table> <br /> <table><tr><td> <a href="/bbs/?pid=62692#p"> <img src="/bbs/thumbs/pico8_maze_demo-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=62692#p"> maze_demo</a><br><br> by <a href="/bbs/?uid=32994"> exelyte</a> <br><br><br> <a href="/bbs/?pid=62692#p"> [Click to Play]</a> </td></tr></table> </p> <p>update 1: Did a lot of work on the maze generation and traversal to leverage 2d array of nodes data structure that holds the maze. Attempting to make some kind of game using a maze. </p> <p>Player character: You are the spinning blue circle. you have the power to move through walls and teleport enemies to different squares<br /> Thief: The thief starts in the upper left corner of the maze and naively traverses every square regardless of enemies or items. However, when the thief grabs a key his speed dramatically increases.<br /> Goal: Your goal is simply to move the skeletons out of the way of the thief until he finds the key and unlocks the door to a new random maze.<br /> Controls: press Z to select a skeleton you are on, press Z again to teleport that skeleton to your current location. Press X to pass your turn to the thief.</p> <p>Initial upload: Recursive back tracking maze algorithm implementation for both generation and traversal. Not a game yet, but you can watch that little guy traverse the entire maze.</p> https://www.lexaloffle.com/bbs/?tid=33577 https://www.lexaloffle.com/bbs/?tid=33577 Fri, 08 Mar 2019 18:53:15 UTC Dagger demo 0.03 <p> <table><tr><td> <a href="/bbs/?pid=60698#p"> <img src="/bbs/thumbs/pico8_daggerjump-7.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60698#p"> daggerjumpv0.09</a><br><br> by <a href="/bbs/?uid=32994"> exelyte</a> <br><br><br> <a href="/bbs/?pid=60698#p"> [Click to Play]</a> </td></tr></table> </p> <p>2/5/2019<br /> Change some music<br /> redesigned the level</p> <p>TODO:<br /> figure out how to de-couple the background from the level.<br /> currently the entire level is drawn out in the map space. Need to figure out way to draw the levels in code I think, so I can use the map space for the backgrounds of different levels. Currently only enough map space for 1 level...</p> <p>1/17/2019<br /> added start screen<br /> redesigned enemy and map layout</p> <p>1/16/2019:<br /> New parallax background implemented, thanks to <a href="https://www.youtube.com/watch?v=HAYg5minVIo">this tutorial</a>.<br /> Parallax still kinda buggy i think. </p> <p>changed UFO shoot sound<br /> added explosions on UFO kill<br /> limited dagger lifespan<br /> added UFO explosion sound<br /> added life bar<br /> added instant death lava</p> <p>WIP of my first pico-8 dev project. I built this on top of @matthughson's excellent <a href="https://www.lexaloffle.com/bbs/?tid=28793">advanced micro platformer</a> with liberal use of the amazing art from kicked-in-teeth's <a href="https://kicked-in-teeth.itch.io/pico-8-tiles">tile sheets</a> and DOM8VERSE's projectile tutorial from pico-8 fanzine #3.</p> https://www.lexaloffle.com/bbs/?tid=32841 https://www.lexaloffle.com/bbs/?tid=32841 Tue, 08 Jan 2019 21:59:46 UTC