DocRobs [Lexaloffle Blog Feed] TableSnake <p> <table><tr><td> <a href="/bbs/?pid=61227#p"> <img src="/bbs/thumbs/pico8_puzozbuso-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=61227#p"> TableSnake</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=61227#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a quick version of snake that used tables for most of the code. I will be doing a YouTube video on tables pretty soon and this code will be useful for anyone following it.</p> Sat, 26 Jan 2019 10:08:20 UTC Beamrunner <p> <table><tr><td> <a href="/bbs/?pid=59853#p"> <img src="/bbs/thumbs/pico8_zuguzufayi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59853#p"> zuguzufayi</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=59853#p"> [Click to Play]</a> </td></tr></table> <br /> This is a simple game just using up, down and z to shoot. Try to dodge the oncoming grey blocks while collecting the red for life and yellow for ammo. </p> <p>You can shoot oncoming blocks but, beware, you may shoot a useful ammo or health block!</p> <p>The closer the blocks get the more points you score - how close will you let them get?</p> Sun, 09 Dec 2018 10:00:01 UTC A selection of easing functions <p> <table><tr><td> <a href="/bbs/?pid=58412#p"> <img src="/bbs/thumbs/pico58411.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58412#p"> A selection of easing functions</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=58412#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a selection of easing functions to make the movement of objects more pleasing to the eye.</p> <p>Simple call the function (I have included separate functions to save space) and pass four variables:</p> <p>t = how far through the current movement you are<br /> d = the total duration of the movement<br /> b = where the movement starts<br /> c = the final change in value at the end.</p> <p>For example, if you want an object to move from y = 20 to y = 100 in 30 update loops you would set:</p> <p>t = the count, starting at 0 and ending at 30<br /> d = 30<br /> b = 20<br /> c = 80</p> <p>You can get some great effects and it really helps make movement that little bit more realistic.</p> <p>Have fun and let me know if it's useful!</p> Thu, 25 Oct 2018 13:02:14 UTC Lightweight particle system <p> <table><tr><td> <a href="/bbs/?pid=58211#p"> <img src="/bbs/thumbs/pico58210.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=58211#p"> Lightweight particle system 0.8</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=58211#p"> [Click to Play]</a> </td></tr></table> <br /> This is a lightweight particle system that can be used to simulate most particle systems.</p> <p>Full instructions in the comments.</p> <p>Feel free to use it in your projects, but let me know if you do - I'd love to know if it's useful!</p> Sun, 21 Oct 2018 10:14:45 UTC Race For Gold <p> <table><tr><td> <a href="/bbs/?pid=49785#p"> <img src="/bbs/thumbs/pico58523.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=49785#p"> Race For Gold 1.0</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=49785#p"> [Click to Play]</a> </td></tr></table> </p> <p>Now updated with High Score table. </p> <p>I also realised that I had left a debug setting switched on in 0.9 that made the player run unrealistically quickly!! This is much tougher to win now...</p> <p> <table><tr><td> <a href="/bbs/?pid=49785#p"> <img src="/bbs/thumbs/pico49784.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=49785#p"> Race For Gold 0.9</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=49785#p"> [Click to Play]</a> </td></tr></table> </p> <p>Old School button smasher!</p> <p>Still need to get the high score table working properly, but it's not far off.</p> <p>Any suggestions gratefully received!</p> Wed, 28 Feb 2018 12:41:48 UTC Solar System Simulator <p> <table><tr><td> <a href="/bbs/?pid=49774#p"> <img src="/bbs/thumbs/pico49773.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=49774#p"> Solar System Simulator</a><br><br> by <a href="/bbs/?uid=26940"> DocRobs</a> <br><br><br> <a href="/bbs/?pid=49774#p"> [Click to Play]</a> </td></tr></table> </p> <p>If you are interested in adding orbits and gravity to your projects, here is a simple bare bones cart that might help. For a full explanation, check out my post here: <a href=""></a></p> <p>It's just a demo of the concept, so reboot the cart to see a different orbit.</p> Wed, 28 Feb 2018 08:20:50 UTC