luchak [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=24137 Wave Tank <p> <table><tr><td> <a href="/bbs/?pid=44847#p"> <img src="/bbs/thumbs/pico44846.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=44847#p"> Wave Tank v0.1</a><br><br> by <a href="/bbs/?uid=24137"> luchak</a> <br><br><br> <a href="/bbs/?pid=44847#p"> [Click to Play]</a> </td></tr></table> </p> <p>I started playing around with the shallow water equations and got to something that's maybe a little bit fun. Arrow keys make waves, Z switches boundaries between (approximately) open and reflecting. My implementation mostly follows <a href="https://graphics.ethz.ch/Downloads/Publications/Tutorials/2008/Mue08/coursenotes.pdf">https://graphics.ethz.ch/Downloads/Publications/Tutorials/2008/Mue08/coursenotes.pdf</a> .</p> <p>Current limitations/known bugs:</p> <ul> <li>Dissipates energy rapidly, although you'll probably only notice this if the boundaries are reflective.</li> <li>No handling of dry regions. Weird things may happen if depth goes to 0!</li> <li>Weird oscillations around both (nearly-)dry regions and shocks/big elevation changes. Not sure yet how much of this is attributable to bugs vs. limitations of the discretization I'm using.</li> <li>Liquid volume is not conserved. Not really a meaningful concept with open boundaries, but pretty noticeable with reflective boundaries.</li> <li>No wave breaking etc. Shallow water equations are a heightfield model and I don't think I'll get around to full liquids on PICO-8 any time soon. :)</li> </ul> <p>I hope this cart is fun to play with! I'm hoping to fix a few of the items above, clean up the graphics a bit, and maybe find a way to build a little bit of a game around these dynamics.</p> https://www.lexaloffle.com/bbs/?tid=30024 https://www.lexaloffle.com/bbs/?tid=30024 Mon, 02 Oct 2017 04:09:16 UTC Wake Maker <p> <table><tr><td> <a href="/bbs/?pid=39955#p"> <img src="/bbs/thumbs/pico39954.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39955#p"> Wake Maker 0.1</a><br><br> by <a href="/bbs/?uid=24137"> luchak</a> <br><br><br> <a href="/bbs/?pid=39955#p"> [Click to Play]</a> </td></tr></table> </p> <p>Started playing around with 2D sims - fluids seem hard to do at reasonable resolution given CPU constraints, but waves are just fine. More natural boat control and bilinear interpolation for wave rendering (more detail! less blocky!) both might make this more fun.</p> <p>I'm also wondering if there's a racing game here where you can interact with the waves and they aren't just part of the scenery.</p> https://www.lexaloffle.com/bbs/?tid=29235 https://www.lexaloffle.com/bbs/?tid=29235 Wed, 26 Apr 2017 06:06:31 UTC Cloud Technology <p> <table><tr><td> <a href="/bbs/?pid=39928#p"> <img src="/bbs/thumbs/pico39927.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39928#p"> Cloud Technology 0.1</a><br><br> by <a href="/bbs/?uid=24137"> luchak</a> <br><br><br> <a href="/bbs/?pid=39928#p"> [Click to Play]</a> </td></tr></table> </p> <p>A little cloud-based audio toy. Move your cloud around for different sounds. Would love to know what might make it more fun!</p> https://www.lexaloffle.com/bbs/?tid=29230 https://www.lexaloffle.com/bbs/?tid=29230 Tue, 25 Apr 2017 02:20:08 UTC Ember <p> <table><tr><td> <a href="/bbs/?pid=39847#p"> <img src="/bbs/thumbs/pico39846.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=39847#p"> Ember 0.1</a><br><br> by <a href="/bbs/?uid=24137"> luchak</a> <br><br><br> <a href="/bbs/?pid=39847#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a little fire experiment I've started playing with. It uses basically the same lookup table setup as <a href="https://hackernoon.com/pico-8-lighting-part-1-thin-dark-line-8ea15d21fed7">https://hackernoon.com/pico-8-lighting-part-1-thin-dark-line-8ea15d21fed7</a> , although that may not have turned out to be absolutely neccessary.</p> <p>What I'm happy with:</p> <ul> <li>controls</li> <li>performance</li> <li>overall look</li> </ul> <p>What could use work:</p> <ul> <li>sound could respond to player actions</li> <li>smoke could drift a little more interestingly</li> </ul> <p>What might be fun to add:</p> <ul> <li>setting other things on fire</li> <li>scorch marks or some other permanent trace</li> </ul> <p>Thoughts are more than welcome!</p> https://www.lexaloffle.com/bbs/?tid=29208 https://www.lexaloffle.com/bbs/?tid=29208 Sun, 23 Apr 2017 05:33:15 UTC