jimmi [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=39699 Particle Fluid Demo <p> <table><tr><td> <a href="/bbs/?pid=94987#p"> <img src="/bbs/thumbs/pico8_fluid-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=94987#p"> fluid</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=94987#p"> [Click to Play]</a> </td></tr></table> </p> <p>Demo of particle fluids.<br /> Click, drag and release mouse to push particles around.</p> https://www.lexaloffle.com/bbs/?tid=43858 https://www.lexaloffle.com/bbs/?tid=43858 Sat, 17 Jul 2021 11:14:25 UTC pic0-el8 trader <p> <table><tr><td> <a href="/bbs/?pid=80299#p"> <img src="/bbs/thumbs/pico8_pic0_el8_trader-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80299#p"> pic0_el8_trader</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=80299#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a pico-8 implementation of the trading system from Elite. This allows you to travel the galaxy and buy/sell goods.</p> <p>Navigation between screens is done using the pause menu. If you can jump to a new planet a prompt will be displayed. Currently this is restricted to a single galaxy.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_000.png" alt="" /> <p>Intro screen - the option to load a previous game only shows if you have a previous save. Games are saved automatically when docking in a new station.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_001.png" alt="" /> <p>Commander status - shows all information about the current game, including cash, fuel, inventory and equipment.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_003.png" alt="" /> <p>Local system - use the arrow keys and o button to select a planet as a hyperspace destination. The yellow ring shows the current planet. The red ring shows the current destination.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_005.png" alt="" /> <p>Galaxy - shows the current galaxy, hyperspace destinations can be selected like in the local system.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_004.png" alt="" /> <p>Planet information - shows information about a hyperspace destination. This information is shown when you select a new destination from the system or galaxy screens.</p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_006.png" alt="" /> <p>Market - up/down arrows select goods, left/right sell and buy goods. </p> <img style="margin-bottom:16px" border=0 src="/media/39699/pic0-el8-trader p8_007.png" alt="" /> <p>Equipment - up/down arrows select equipment, o button purchases equipment. If replacing a laser, the cost of the replaced laser is refunded. Most equipment is unused in this game, only fuel has a function.</p> https://www.lexaloffle.com/bbs/?tid=39089 https://www.lexaloffle.com/bbs/?tid=39089 Mon, 03 Aug 2020 09:15:20 UTC 3d Environment/Material Mapping <p> <table><tr><td> <a href="/bbs/?pid=75108#p"> <img src="/bbs/thumbs/pico8_bunny_envmap-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=75108#p"> bunny_envmap</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=75108#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a demo using tline to perform 3d environment/material mapping in pico8.</p> <p>Both the object and the texture are stored in sprite memory.</p> https://www.lexaloffle.com/bbs/?tid=37509 https://www.lexaloffle.com/bbs/?tid=37509 Tue, 21 Apr 2020 11:13:28 UTC Pico Physics Demos <p> <table><tr><td> <a href="/bbs/?pid=70781#p"> <img src="/bbs/thumbs/pico8_pico_physics-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=70781#p"> pico_physics</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=70781#p"> [Click to Play]</a> </td></tr></table> </p> <p>Z/X - previous/next demo<br /> up - turn on/off aabb tree<br /> down - reset simulation</p> <p>Several physics demos I've written in pico-8. These follow from the work of Erin Catto (see <a href="http://twvideo01.ubm-us.net/o1/vault/gdc09/slides/04-GDC09_Catto_Erin_Solver.pdf">http://twvideo01.ubm-us.net/o1/vault/gdc09/slides/04-GDC09_Catto_Erin_Solver.pdf</a>)</p> <p>The solver solves both inequality constraints (e.g. collisions) and equality constraints (e.g. joints).</p> <p>I've reduced the framerate for web down to 30fps, but it works well at 60fps (in face the higher framerate is better for the solver).</p> <p>Still issues to solve, e.g. jitter on resting contact, so I probably need to do a rewrite at some point. </p> <p><em>update</em><br /> I've added a couple more demos including mass-spring-damper systems</p> https://www.lexaloffle.com/bbs/?tid=36182 https://www.lexaloffle.com/bbs/?tid=36182 Mon, 09 Dec 2019 19:29:30 UTC 3D Lighting + Texture Mapping Demo <p>Demo of 3D lighting and texture mapping.</p> <p> <table><tr><td> <a href="/bbs/?pid=69313#p"> <img src="/bbs/thumbs/pico8_feisar-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69313#p"> feisar</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=69313#p"> [Click to Play]</a> </td></tr></table> </p> <p>updated version without flicker:</p> <p> <table><tr><td> <a href="/bbs/?pid=69313#p"> <img src="/bbs/thumbs/pico8_feisar-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=69313#p"> feisar</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=69313#p"> [Click to Play]</a> </td></tr></table> </p> <p>up/down/left/right - orient the model<br /> z - toggle lighting/texture-mapping</p> https://www.lexaloffle.com/bbs/?tid=35763 https://www.lexaloffle.com/bbs/?tid=35763 Sat, 26 Oct 2019 15:17:04 UTC 3D Rendering Demo <p> <table><tr><td> <a href="/bbs/?pid=67350#p"> <img src="/bbs/thumbs/pico8_threed-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=67350#p"> threed 1.2</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=67350#p"> [Click to Play]</a> </td></tr></table> </p> <p>This cart demos some work I've been doing on 3d rendering - including both flat shading and per-vertex shading.</p> <p>up/down/left/right - orient<br /> z - change colour palette<br /> x - change render mode</p> <p>The per-vertex shading is experimental code using sspr for render scanlines from the spritesheet. There are some issues with this - lighting discontinuities possibly fixed-point related.</p> <p>I wouldn't be surprised if there are some bugs, and I need to update the transform code and add in viewport culling.</p> <p>Comments/suggestions welcome.</p> <p>update:</p> <ul> <li>increased rendering performance (radix sort + pipeline changes)</li> <li>fixed per-vertex shading</li> </ul> https://www.lexaloffle.com/bbs/?tid=35282 https://www.lexaloffle.com/bbs/?tid=35282 Sat, 07 Sep 2019 09:55:25 UTC waves <p>A simple demo of 2.5D waves.<br /> <table><tr><td> <a href="/bbs/?pid=67119#p"> <img src="/bbs/thumbs/pico8_waves-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=67119#p"> waves</a><br><br> by <a href="/bbs/?uid=39699"> jimmi</a> <br><br><br> <a href="/bbs/?pid=67119#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=35238 https://www.lexaloffle.com/bbs/?tid=35238 Mon, 02 Sep 2019 10:20:09 UTC