codyloyd [Lexaloffle Blog Feed] pico-8 mobile controller <h1>Update (24 Sep 2017)</h1> <p>I've added a pause button, and as was suggested by commenters <a href=""> @Felice</a> and <a href=""> @apLundell</a> I switched to using the pico glyphs for the graphics... it's a little less flashy looking overall, but gives a much nicer more consistent feel.</p> <h1>Original Post:</h1> <p>I am <em>just</em> getting into playing around with pico-8, but after finishing my first little game, I really wanted to be able to play and distribute it for mobile, so being primarily a JavaScript guy, I've hacked together a little controller that embeds itself on the webpage for mobile devices.</p> <img style="margin-bottom:16px" border=0 src="" alt="" /> <p>I've tried to keep it as simple for other game-makers to use as possible. As such it should work out of the box with html/js files that are exported from pico-8. All you should have to do to use it with your own game is drop the js, css and png files into the same directory as the html file and then link the files as described in the Readme on github:</p> <h3>Heres the code:</h3> <p><a href=""></a></p> <h3>and a demo:</h3> <p><a href=""></a><br /> (go there on your phone, or resize your browser window to see the controls.)<br /> and you can also see it in action on my game here: <a href=""></a> </p> <p>I'd love any feedback or tips that you might have. I don't have a huge array of devices to test it out on, so if you find something not working let me know! </p> Sat, 16 Sep 2017 12:40:11 UTC Jazzy Jeff <p> <table><tr><td> <a href="/bbs/?pid=44185#p"> <img src="/bbs/thumbs/pico44184.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=44185#p"> Jazzy Jeff 1.0</a><br><br> by <a href="/bbs/?uid=25710"> codyloyd</a> <br><br><br> <a href="/bbs/?pid=44185#p"> [Click to Play]</a> </td></tr></table> </p> <p>Avoid the ballzz... collect the coins... use the bombs to stay alive</p> <img style="margin-bottom:16px" border=0 src="" alt="" /> Thu, 14 Sep 2017 08:05:52 UTC