Making a particle system move horizontally
in
Programming Questions
•
1 years ago
I'm working on a basic animation with a background that I am making move to the left to create a sense of movement. This is really easy using a variable and subtracting it within draw() such as (x = x - 1). The issue I'm having is making a particle system that I have move in the same way.
I have the particle system called in setup but because setup is only called once using any kind of x = x - 1 equation obviously won't work. I'm unsure as to what I should do. Any help would be appreciated, thanks!
I have the particle system called in setup but because setup is only called once using any kind of x = x - 1 equation obviously won't work. I'm unsure as to what I should do. Any help would be appreciated, thanks!
1