With the infantry mostly done, work continues on the particle system.
Some of the particle elements have been migrated from the old project. But some parts have been reworked.
If you don't have a particle debugging tool in your game, I suggest adding one. It's great to be able to "paint" with particles at the mouse cursor. It saves a lot of time. Instead of adding a unit to the map and having it shoot at another unit, different particle effects can simply be mapped to keyboard keys and dropped on to the map at will.
The particles are arranged like this:
[hit particle]
----[sound particle]
----for i in range(amount):
--------[smoke particles]
--------[fire particles]
--------[spark particles]
----[crater particle]
In the main code we can just call a ShellExplosion(target_position, size=6) to place a particle and let it control all subsequent values and sub particles.
Some of the particle elements have been migrated from the old project. But some parts have been reworked.
If you don't have a particle debugging tool in your game, I suggest adding one. It's great to be able to "paint" with particles at the mouse cursor. It saves a lot of time. Instead of adding a unit to the map and having it shoot at another unit, different particle effects can simply be mapped to keyboard keys and dropped on to the map at will.
The particles are arranged like this:
[hit particle]
----[sound particle]
----for i in range(amount):
--------[smoke particles]
--------[fire particles]
--------[spark particles]
----[crater particle]
In the main code we can just call a ShellExplosion(target_position, size=6) to place a particle and let it control all subsequent values and sub particles.
Comments
Post a Comment