Terasology: Tutorial module request: Particle System

Created on 8 Jul 2017  路  9Comments  路  Source: MovingBlocks/Terasology

With PR #2632 merged the initial implementation of #2208 is complete - we have a new particle system.

However, like noted in #2909 it still needs some additional polish and documentation. While I'm leaving that issue for general improvements including JavaDoc I wanted to split out a tutorial request separately, as it could be done in isolation (though some cross-pollination of doc improvements from anybody working either would be useful)

Might even be bite-sized for somebody willing to do some detective work and read through the linked issues.

Goal:

  • New module: TutorialParticleSystem - start locally with gradlew createModuleTutorialParticleSystem and either ask somebody to make the repo when ready or offer to transfer a copy from a personal repo in
  • Code & prefabs as needed to demonstrate the base functionality and different kinds of particles
  • Wiki pages in the new repo that cover a step-by-step introduction to the system

Review the https://github.com/Terasology/TutorialWorldGeneration module and its wiki https://github.com/Terasology/TutorialWorldGeneration/wiki for inspiration

Some persons of potential interest to potentially ping who have been poking at the system:

  • @MaxBorsch (author)
  • @niksoc (made a neat video with new effects)
  • @skaldarnar & @portokaliu (figured out some updates for Light & Shadow)
Content Documentation Good First Issue Hacktoberfest

Most helpful comment

Here are some changes to the way block damage particles work: https://github.com/MovingBlocks/Terasology/pull/3001

There's also https://github.com/Terasology/LightAndShadow/pull/53 and https://github.com/Terasology/LightAndShadow/pull/54 in combination with https://github.com/Terasology/LightAndShadowResources/pull/19 to fix the particle effects in LightAndShadow. That might be a good start.

Overall, you could try to implement particle effects like the ones described in the linked issues. Figure out how to use textures for the particles, how to create simple, colored particles, which components influence which behavior, ...

I would go a ahead and try to implement as many fancy effects as I can imagine, and then document what I did in order to implement it. And some helping hand by @MaxBorsch would simplify it a lot :wink:

PS: I just assigned you to this issue, feel free to start and proceed as for the other tutorial module.

All 9 comments

Hey @Cervator I could try making another tutorial. Any nice place to start with? 馃槃

Here are some changes to the way block damage particles work: https://github.com/MovingBlocks/Terasology/pull/3001

There's also https://github.com/Terasology/LightAndShadow/pull/53 and https://github.com/Terasology/LightAndShadow/pull/54 in combination with https://github.com/Terasology/LightAndShadowResources/pull/19 to fix the particle effects in LightAndShadow. That might be a good start.

Overall, you could try to implement particle effects like the ones described in the linked issues. Figure out how to use textures for the particles, how to create simple, colored particles, which components influence which behavior, ...

I would go a ahead and try to implement as many fancy effects as I can imagine, and then document what I did in order to implement it. And some helping hand by @MaxBorsch would simplify it a lot :wink:

PS: I just assigned you to this issue, feel free to start and proceed as for the other tutorial module.

Can someone link modules which use this?

Light & Shadows is one. I'm not aware of anything else at the moment.

Thank you

The particle system is an engine feature, so no specific module to link to. It is used sparely right now, but examples can be found all over the place. The "resurrection statues" also use them, block particle effects are implemented that way, and there are probably examples for smoke in modules like _Smithing_ or _Rails_.
Otherwise, a lot of trial and error with implementing your particle effects and documenting what you did.

GooeysQuests also uses particles when Gooey spawns (usually always right after you spawn) or when Gooey spawns structures :-)

(Rez statues are in Lost)

I guess this can be closed now 馃檪
https://github.com/Terasology/TutorialParticleSystem

Closing this as completed by @TheFlash98

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chriscamacho picture chriscamacho  路  3Comments

Qwertygiy picture Qwertygiy  路  6Comments

nihal111 picture nihal111  路  4Comments

Kubuxu picture Kubuxu  路  4Comments

Cervator picture Cervator  路  4Comments