nsmryan / RustRoguelike

This Rust Roguelike is a Roguelike written in Rust.
17 stars 3 forks source link

Particles and Effects #345

Open MicroChasm opened 3 years ago

MicroChasm commented 3 years ago

It would be cool to add some particle effects to the game, if it is not too difficult. The quickest and easiest would be simple pixels moving left to right, fading in and then fading out, moving at different speeds.

nsmryan commented 3 years ago

If we had some sprites I could look at adding them around and fading them in and out. I don't think something like that would be too difficult- track the particle's positions and fade amount and paste them around with different alphas.

MicroChasm commented 3 years ago

Particle image added, it is just a very simple speck called Particle_Speck.png.

nsmryan commented 3 years ago

I pushed a change that adds a particle effect over the level. We should talk over the details like the speed and fade, and whether there should be particles over the whole map, or only the visible area.

MicroChasm commented 3 years ago

It would be nice to have some images of pottery that is placed around the level, and then if a golem moves on that tile or an attack occurs on that tile, the pottery is broken and an image of broken bits is used instead.