Log In  
Follow
Kepler
[ :: Read More :: ]

Cart #klp-0 | 2020-07-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Hey all!

I recently released my game Gravitaz (https://www.lexaloffle.com/bbs/?tid=38597), 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.

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.

It is decently limited, but if you need super simple particle effects with a number of pixels, this should do the trick.

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 https://github.com/KeplerElectronics/keplers_light_particlesystem

P#80142 2020-07-30 23:45

[ :: Read More :: ]

Cart #gravitaz-2 | 2022-08-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Hey all!

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.

Featuring:

-Six enemy classes with unique weapons
-Randomized waves
-Shop system

-New in Version 1.1:
--Bossfights!
--Music
--Persistent Highscores
--General Bugfixes

If you want to download a standalone game, it can be found for free over at https://kepler-softworks.itch.io/gravitaz

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 https://www.youtube.com/watch?v=IVEEdj82Biw

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.

I hope you all enjoy this little game, I know I enjoyed making it, and let me know what your high scores are!

Edit Aug 4, 2022

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.

-New in Version 1.2:
--Better logo!
--New Space Dust!
--Stars are less distracting now!

P#78631 2020-07-17 15:11 ( Edited 2022-08-04 19:21)

[ :: Read More :: ]

Hello, I am relatively new to Pico-8 (and programming in general) and am trying to create a "Starfield" 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.

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

Thanks =)

P#53370 2018-06-08 01:47 ( Edited 2018-06-09 14:19)

Follow Lexaloffle:          
Generated 2024-04-19 08:50:59 | 0.077s | Q:14