temporary particles for demo. trails for bricks, and on brick hit.
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
#include "Physics/ECreateParticleSequence.h"
|
||||
|
||||
namespace dd
|
||||
{
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace Components
|
||||
|
||||
struct ParticleEmitter : public Component
|
||||
{
|
||||
EntityID Parent = 0;
|
||||
int NumberOfTicks = 10.f;
|
||||
float InitialSpeed = 1.f;
|
||||
double SpawnRate = 1;
|
||||
|
||||
@@ -23,6 +23,7 @@ struct CreateParticleSequence : public Event
|
||||
float EmittingAngle = 0.f;
|
||||
float MaxCount = 0;
|
||||
glm::vec4 Color = glm::vec4(0);
|
||||
EntityID parent = 0;
|
||||
|
||||
//Particle
|
||||
std::string SpriteFile = "";
|
||||
|
||||
Reference in New Issue
Block a user