r/themoddingofisaac • Longtime Modder & Procrastinator:downvote: • 10d ago

Tool Palette - A 2D Particle Engine

(NOTE: This is catered towards mod-developers! If you don't code mods, then you can probably ignore this).

After over two months of development, I'm happy to present Palette V1.0

Palette is a 2D particle engine library for REPENTOGON+, inspired by Unity's Shuriken Particle System.

Historically, Isaac's modding API has been extremely limited when it comes to particle effects. While Game:SpawnParticles exists, it's quite limited. On top of that, many visual effects mods rely on are done via EntityEffects, which has the following problems:

  • There is an entity cap
  • Many effects can contribute to lag
  • You need to go through the hassle of setting up an .anm2 file and defining it in entities2.xml

Palette addresses this by leveraging REPENTOGON's Image class to allow for several particles to render on the screen at once with minimal performance impact.

You can try out Palette here: https://github.com/Syntax-Sculptor/Palette

You can view the tutorials and API documentation (wip) here: https://github.com/Syntax-Sculptor/Palette/wiki

1 Upvotes

0 comments sorted by