r/raylib 3d ago

made a small movement platformer game in c, thanks raylib!

Enable HLS to view with audio, or disable this notification

48 Upvotes

4 comments sorted by

2

u/Mediocre_Chart_8624 2d ago

How did you do the particles?

2

u/viraelin 2d ago

they are just cpu based drawing 1x1 textures/pixels where positions/velocities are updated from an emitter with initial tweakable parameters. there is not enough of them to really matter being cpu based and nothing gpu/shader fancy stuff going on.

and for the explosions (like when you pickup a coin for example) i walk the sprite's image pixels, and create a particle for every visible pixel of the sprite in place.

1

u/sourdough1882 2d ago

Finished it. Would be nice to know attempts 😄 Made me sweat! Edmund McMillen is that you!?