Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
particles.hpp File Reference

Particle emitters: sparks, smoke and trails that live for a while, then fade. More...

#include <aegis2d/core/math.hpp>
#include <aegis2d/core/random.hpp>
#include <aegis2d/render/color.hpp>
#include <aegis2d/render/export.hpp>
#include <aegis2d/render/renderer.hpp>
#include <cstddef>
#include <cstdint>
#include <numbers>
#include <span>
#include <vector>

Go to the source code of this file.

Classes

struct  aegis2d::render::Range
 Values picked at random between two bounds, both included. More...
 
struct  aegis2d::render::EmitterConfig
 How an emitter spawns its particles, and how they change over their life. More...
 
struct  aegis2d::render::Particle
 One particle of an emitter. More...
 
class  aegis2d::render::ParticleEmitter
 Spawns particles at a point, moves them and removes them at the end of their life. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::render
 OpenGL renderer: sprites, text and camera (client only).
 

Detailed Description

Particle emitters: sparks, smoke and trails that live for a while, then fade.