Kepler [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=30112 Kepler's Light Particlesystem <p> <table><tr><td> <a href="/bbs/?pid=80142#p"> <img src="/bbs/thumbs/pico8_klp-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80142#p"> Kepler's Light Particlesystem</a><br><br> by <a href="/bbs/?uid=30112"> Kepler</a> <br><br><br> <a href="/bbs/?pid=80142#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hey all!</p> <p>I recently released my game Gravitaz (<a href="https://www.lexaloffle.com/bbs/?tid=38597">https://www.lexaloffle.com/bbs/?tid=38597</a>), and thought that it might be useful to put the particlesystem (and a modified version of the stars effect) in its own post so people can use it if they want. </p> <p>It's pretty lightweight (coming in at just 92 tokens! I'm sure it can be lightened a bit more too), and can be used in a number of ways. </p> <p>It is decently limited, but if you need super simple particle effects with a number of pixels, this should do the trick. </p> <p>Let me know if you have any questions, the files are also available on Github (plus a slightly more powerful Love2d Version if that's what you're into) at <a href="https://github.com/KeplerElectronics/keplers_light_particlesystem">https://github.com/KeplerElectronics/keplers_light_particlesystem</a></p> https://www.lexaloffle.com/bbs/?tid=39032 https://www.lexaloffle.com/bbs/?tid=39032 Thu, 30 Jul 2020 23:45:35 UTC Gravitaz <p> <table><tr><td> <a href="/bbs/?pid=78631#p"> <img src="/bbs/thumbs/pico8_gravitaz-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=78631#p"> gravitaz</a><br><br> by <a href="/bbs/?uid=30112"> Kepler</a> <br><br><br> <a href="/bbs/?pid=78631#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hey all! </p> <p>Here's a project I started about two years ago and just finally got around to finishing. It's a simple Shmup reminiscent of a Galaga or an Invaders, but with a few fun twists. </p> <p>Featuring:</p> <p>-Six enemy classes with unique weapons<br /> -Randomized waves<br /> -Shop system</p> <p>-New in Version 1.1:<br /> --Bossfights!<br /> --Music<br /> --Persistent Highscores<br /> --General Bugfixes</p> <p>If you want to download a standalone game, it can be found for free over at <a href="https://kepler-softworks.itch.io/gravitaz">https://kepler-softworks.itch.io/gravitaz</a></p> <p>I also have a short video talking about some parts of the code (enemy logic and the particle system) a bit over on my Youtube channel at <a href="https://www.youtube.com/watch?v=IVEEdj82Biw">https://www.youtube.com/watch?v=IVEEdj82Biw</a></p> <p>Feel free to rip out the particle system and use it in your own projects, I really enjoyed using it, and I think with a bit of modification, it could be expanded upon for a lot of other things.</p> <p>I hope you all enjoy this little game, I know I enjoyed making it, and let me know what your high scores are!</p> <p>Edit Aug 4, 2022</p> <p>Decided to come back to the game and try and improve it a bit. Still a few things I'm not super happy with, so there might be a version 1.3 eventually.</p> <p>-New in Version 1.2:<br /> --Better logo!<br /> --New Space Dust!<br /> --Stars are less distracting now!</p> https://www.lexaloffle.com/bbs/?tid=38597 https://www.lexaloffle.com/bbs/?tid=38597 Fri, 17 Jul 2020 15:11:16 UTC Star field Effect Help <p>Hello, I am relatively new to Pico-8 (and programming in general) and am trying to create a &quot;Starfield&quot; Effect, as one would see in games like Galaga. I have created a single pixel that travels, but apart from creating many variables and basically duplicating my code, I can't see how I can multiply the pixels. I know there is an easy way, but I have not discovered it. My code is below.</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre> x = 0 y = 0 xthing = false function _update() if xthing == false then x = rnd(128) y = 0 xthing = true end if xthing == true then y = y+1 end if y == 128 then xthing = false end end function _draw() cls() pset(x,y,7) end </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Thanks =)</p> https://www.lexaloffle.com/bbs/?tid=31392 https://www.lexaloffle.com/bbs/?tid=31392 Fri, 08 Jun 2018 01:47:26 UTC