Commit Graph
3 Commits
Author SHA1 Message Date
Flowaria 055839623b Set BeforeAllTiles as flag 1 for better flag supports 2025-12-16 12:43:00 +09:00
fryzahh b33a70fd08 GeneralDrawLayer generalization + TempParticle start
* Split up GeneralDrawLayer.BeforeTiles into BeforeAllTiles and BeforeSolidTiles.
* Moved screen renderers, metaballs and pixelated primitive drawing to use GeneralDrawLayer and subsequentially removed their own draw layer enums.
* Moved screen renderers, metaballs, particles, pixelated primitive drawing and pixelated drawers draw calls to MechanicalILChanges.
* Added TempParticle and TempParticleManager, used for defining temporary particle handlers in any file for short-term, fully-modifiable particle effects
* Removed ParticleAutoDrawingOverride and added a "CustomShader" property and "PrepareCustomShader" method to Particle.cs. These should be used in conjunction when wanting to apply shader effects to particles. If anything more precise is needed, use the new TempParticleManager class.
2025-11-15 16:41:52 -04:00
fryzahh 42947a3100 Pixelation system + Particle system updates
* Added a global pixelated drawing system.
 * Added LightDustPixelated.
* Added the GeneralDrawLayer enum, which is now used for layered drawing in both the pixelation and particle systems.
* Updated the particle system:
 * Now supports drawing on multiple different layers now instead of just after everything else in the world has been drawn.
 * Collapsed the three draw lists in favor of two dictionaries, which store lists of non-pixelated and pixelated particles respectively based on their BlendState.
 * particlesToSpawnNextFrame is now a dictionary which stores Queues based on their draw layer.
2025-10-24 11:58:00 -04:00