reyabreu [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=36922 Pew Pew <p> <table><tr><td> <a href="/bbs/?pid=77592#p"> <img src="/bbs/thumbs/pico8_josugezogi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77592#p"> josugezogi</a><br><br> by <a href="/bbs/?uid=36922"> reyabreu</a> <br><br><br> <a href="/bbs/?pid=77592#p"> [Click to Play]</a> </td></tr></table> <br /> I've seen several carts that implement a cool &quot;laser&quot; bullet effect and without seeing the code, wanted to be sure I was able to reproduce an approximation to the effect without botching collision detection.</p> <p>Thanks to doc_robs for his splendid series of videos where concisely and with patience explains how to properly do hit box collisions on sprites:</p> <p><object width="640" height="400"><param name="movie" value="https://www.youtube.com/v/Recf5_RJbZI&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/Recf5_RJbZI&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400"></embed></object></p> <p>In my journey I still need to learn, amongst many other things, to be able to do better sprite animations. But I must admit I love pico-8 for what it is: an amazing platform that favours convention over configuration so one can quickly prototype and publish an idea without getting bogged down on platform or delivery choices.</p> <p>It's so cool to be able to have an idea and just quickly cook something up. And the amount of published gems from incredibly talented people on splore is at the same time inspiring and humbling.</p> https://www.lexaloffle.com/bbs/?tid=38269 https://www.lexaloffle.com/bbs/?tid=38269 Wed, 03 Jun 2020 11:22:31 UTC Annoying Cherries <p> <table><tr><td> <a href="/bbs/?pid=77576#p"> <img src="/bbs/thumbs/pico8_petozasefa-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77576#p"> petozasefa</a><br><br> by <a href="/bbs/?uid=36922"> reyabreu</a> <br><br><br> <a href="/bbs/?pid=77576#p"> [Click to Play]</a> </td></tr></table> <br /> As a kid, I remember sneaking to my neighbors house to play his Atari. One of the games that I enjoyed was <strong>Kaboom!</strong>, where a mad bomber man with unknown motivations dropped bombs in sequence that the player had to catch with stacked buckets.</p> <p>As a homage, I attempted to remake something the likes of it, being the first game I've written in pico-8 that approximates ~somehow~ a completed state. I abandoned the stacked buckets idea and still went for the concept of a madman with obscure motivations that simply drops cherry bombs over a wall to his neighbor. Why? maybe just to be annoying. The neighbor just went for a pail of water as the only thing quickly available.</p> <p>I've learned a lot making this: screen shaking, particles animation, game states, sprite contouring, text handling, enemy movement. My art + sound skills are pitiful, so please be forgiving in how it looks and sounds.</p> <p>Next steps: </p> <ul> <li>parallax backgrounds behind enemy</li> <li>save score across plays (hi-score table)</li> <li>increasing difficulty</li> <li>fancy game over animation</li> <li>sound loop</li> <li>bonuses? rewards?</li> </ul> https://www.lexaloffle.com/bbs/?tid=38264 https://www.lexaloffle.com/bbs/?tid=38264 Wed, 03 Jun 2020 00:58:40 UTC Particle boosts <h1>Fireworks</h1> <p> <table><tr><td> <a href="/bbs/?pid=77573#p"> <img src="/bbs/thumbs/pico8_roreguwuwo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77573#p"> roreguwuwo</a><br><br> by <a href="/bbs/?uid=36922"> reyabreu</a> <br><br><br> <a href="/bbs/?pid=77573#p"> [Click to Play]</a> </td></tr></table> <br /> This is an example of how to create a &quot;firework&quot; type effect using particles. I have been also fiddling with tweetcarts (carts that fit into a single tweet) so that's why I've been using the reduced syntax, instead of the standard functions. As with everything in gamedev, the more you're able to model a visual effect into its math/symbolic representation teh better you get. It's hard work and a talent, I guess.</p> https://www.lexaloffle.com/bbs/?tid=38263 https://www.lexaloffle.com/bbs/?tid=38263 Wed, 03 Jun 2020 00:34:49 UTC Lerp based Oscillation <h1>Walking with rythm</h1> <p> <table><tr><td> <a href="/bbs/?pid=77565#p"> <img src="/bbs/thumbs/pico8_pdepsegu-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=77565#p"> pdepsegu</a><br><br> by <a href="/bbs/?uid=36922"> reyabreu</a> <br><br><br> <a href="/bbs/?pid=77565#p"> [Click to Play]</a> </td></tr></table> </p> <p>When learning a new language or tool, I tend to create a lot of POCs (proof of concepts) to cement my knowledge. This is just one of them, nested oscillating circles that demonstrate a simple implementation of Lerp (Linear Interpolation). </p> <p>One of the common mistakes one may make when beginning to use lerp is to forget that the value being affected must be re-calculated as an aggregated or iteration, typically over consecutive game loops. That is, it's effect is dependent of the previous value in the iteration.</p> https://www.lexaloffle.com/bbs/?tid=38258 https://www.lexaloffle.com/bbs/?tid=38258 Wed, 03 Jun 2020 00:18:05 UTC Learning Lua syntax <p>I have used some of the basics taught in pico-8's manual to understand clipping, table iteration and random terrain generation using random functions.</p> <p>This cartridge is a sample of those concepts in practice.</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/36922/lua-syntax.p8.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=35148 https://www.lexaloffle.com/bbs/?tid=35148 Thu, 22 Aug 2019 17:44:30 UTC