BenAttenborough [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=64963 Prototype outrun game <p> <table><tr><td> <a href="/bbs/?pid=112862#p"> <img src="/bbs/thumbs/pico8_racerprototype-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=112862#p"> racerprototype</a><br><br> by <a href="/bbs/?uid=64963"> BenAttenborough</a> <br><br><br> <a href="/bbs/?pid=112862#p"> [Click to Play]</a> </td></tr></table> <br /> A WIP &quot;into the screen racer&quot; prototype.<br /> I've use bezier curves described in this post for the road: <a href="https://www.lexaloffle.com/bbs/?pid=65926">https://www.lexaloffle.com/bbs/?pid=65926</a><br /> Use the controls to move the road around and move the horizon up and down.</p> https://www.lexaloffle.com/bbs/?tid=48063 https://www.lexaloffle.com/bbs/?tid=48063 Tue, 07 Jun 2022 22:32:39 UTC racerprototype <p> <table><tr><td> <a href="/bbs/?pid=112744#p"> <img src="/bbs/thumbs/pico8_racerprototype-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=112744#p"> racerprototype</a><br><br> by <a href="/bbs/?uid=64963"> BenAttenborough</a> <br><br><br> <a href="/bbs/?pid=112744#p"> [Click to Play]</a> </td></tr></table> </p> <p>A WIP &quot;into the screen racer&quot; prototype.<br /> I've use bezier curves described in this post for the road: <a href="https://www.lexaloffle.com/bbs/?pid=65926">https://www.lexaloffle.com/bbs/?pid=65926</a><br /> Use the controls to move the road around and move the horizon up and down.<br /> The bezier calculations seem to be quite expensive resulting in a reduced frame rate from the target. Possibly this is worsened by my attempt to fill in the road polygon by effectively drawing the line multiple times.<br /> Any suggestions for improving this would be most welcome.<br /> Hopefully the ideas here might help others.</p> <p>I will look to make this into more of a game by allowing movement of the car, other cars and obstacles moving towards you and variable speed. But this is a start.</p> https://www.lexaloffle.com/bbs/?tid=48034 https://www.lexaloffle.com/bbs/?tid=48034 Sun, 05 Jun 2022 11:25:05 UTC VS Code extensions <p>Is there a way to get pico8 language support AND support for included files within VS Code?</p> <p>I'm using the pico8-ls extension, which is great, but it doesn't recognise <code>#include</code> files, so I miss out on code completion on functions imported by my .p8 file. If I switch and use the lua language server extension: <a href="https://marketplace.visualstudio.com/items?itemName=sumneko.lua">https://marketplace.visualstudio.com/items?itemName=sumneko.lua</a> I get code recognition of my functions, but not the p8 functions (weirdly the lua language server seems to assume files are included even if they are not, or at least it seems to me it does). I'd ideally like both p8 function recognition from the pico8-ls AND recognition of my included functions. But this doesn't seem possible as of today.</p> <p>I did note that support for #include files is a planned featured of the pico8-ls function so maybe I just have to wait for that</p> https://www.lexaloffle.com/bbs/?tid=47714 https://www.lexaloffle.com/bbs/?tid=47714 Sat, 07 May 2022 16:43:57 UTC