simonwilson [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=51436 Change animation sequence on button input <p> <table><tr><td> <a href="/bbs/?pid=97078#p"> <img src="/bbs/thumbs/pico8_animmario-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=97078#p"> animmario</a><br><br> by <a href="/bbs/?uid=51436"> simonwilson</a> <br><br><br> <a href="/bbs/?pid=97078#p"> [Click to Play]</a> </td></tr></table> <br /> Hello! </p> <p>I am going a bit mad trying to figure out how to make a simple 4 frame sprite animation run on a loop, and then transition to a different 4 frame animation loop after a button is pressed.</p> <p>Simply - I am trying to make this Mario sprite look like it is walking forward when idle, or pressing forward, and then look like he is walking sideways when pressing left or right. I can make him animate on loop when idle, but I cannot figure out how to make it animate as a different sequence after a direction is pressed, and ensure the animation runs smooth (for example, I can get it to change to the new sequence, but holding the button down keeps the sequence locked into the first frame of the animation).</p> <p>I hope that makes sense! Does anyone have a simple solution?</p> https://www.lexaloffle.com/bbs/?tid=44561 https://www.lexaloffle.com/bbs/?tid=44561 Wed, 08 Sep 2021 21:39:59 UTC Smooth circular movement from player inputs <p>Hello!</p> <p>I am developing a small hockey type game where the player character can move in all directions. It works fine enough but because of the D-pad movement, if the player tries to go in a circle, its very much a diamond shaped movement instead.</p> <p>I am not sure if there is any way to make this movement smoother, so its circular if you hit the buttons in quick succession like the below gif image?</p> <p>Any suggestions or feedback are most welcome! :) Thanks!</p> <p> <table><tr><td> <a href="/bbs/?pid=95130#p"> <img src="/bbs/thumbs/pico8_testinghockey-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=95130#p"> testinghockey</a><br><br> by <a href="/bbs/?uid=51436"> simonwilson</a> <br><br><br> <a href="/bbs/?pid=95130#p"> [Click to Play]</a> </td></tr></table> </p> <img style="" border=0 src="/media/51436/ninja_1.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=43906 https://www.lexaloffle.com/bbs/?tid=43906 Wed, 21 Jul 2021 15:44:31 UTC U.F.OhNo! <p> <table><tr><td> <a href="/bbs/?pid=87584#p"> <img src="/bbs/thumbs/pico8_ufoshooter-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=87584#p"> UFOhNo</a><br><br> by <a href="/bbs/?uid=51436"> simonwilson</a> <br><br><br> <a href="/bbs/?pid=87584#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=41542 https://www.lexaloffle.com/bbs/?tid=41542 Sat, 13 Feb 2021 11:03:22 UTC