Commit Graph
19 Commits
Author SHA1 Message Date
Flowaria 7c77642ee4 GeneralParticleHandler now do AsyncLoad 2025-12-02 15:54:51 +09:00
fryzahh 855ee59028 Removed unnecessary documentation from Particle.cs 2025-11-15 21:36:02 -04: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 a16bd3ec6e Updated GeneralParticleHandler.SpawnParticle and reorganized Particle.cs
* Updated GeneralParticleHandler.SpawnParticle with an optional pixelate parameter. Set to true to have spawned particles be pixelated.
* Encapsulated GeneralParticleHandler's credits in a region.
* Cleaned up and reorganized Particle.cs.
* Added documentation comments for all fields and properties in Particle.cs.
2025-11-07 13:16:02 -04:00
fryzahh d95113418e ParticleAutoDrawingOverride + code cleanup, credits and bugfix
* Added ParticleAutoDrawingOverride, which allows one to override the automatic drawing of a particular particle type and manually and efficiently control how each instance is drawn in the world.
 * Subsequently added the OverrideAutomaticDrawing property to Particle.

* Multiple changes to GeneralParticleHander.cs:
 * Removed the noteToEveryone field, but moved the text to a comment at the top of the class.
  * Additionally, added credits to Luminance and their license notice since the new particle drawing logic was inspired by its system.
 * Reorganized fields based on their protection level.
* Renamed "particles," "particleTypes" and "particleTextures" to "activeParticles," "particleIDsByTypes" and "particleTexturesByIDs" respectively.
 * Added documentation for all internal fields
 * Moved the GetTexture and FreeSpaceAvailable methods up with the rest of the public static methods for consistency.

* The "ActivePixelatedDrawer_" fields in  are now cleared upon unloading the world instead of being set to null to prevent a null reference exception when leaving and reentering worlds.
2025-11-05 11:48:22 -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
fryzahh 0ba115ea69 Pixelated particles attempt
- Atempting to allow Particles to be pixelated. Works except for an issue with everything being wrongly offset and scaled
2025-05-28 01:42:44 -04:00
Xhack 87bcf3a564 Throwing Brick retool + Gilded Gatherer improvements 2024-06-18 17:29:52 -04:00
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00
Ozzatron dfde4a9e1b Replaced all line endings with LF 2022-04-02 15:52:15 -04:00
Ozzatron 1cded2a64a Replaced all tabs with spaces everywhere 2022-04-02 15:15:08 -04:00
IbanPlay 7c3893267d Started working on a glowier telegraph for ares's cannons 2022-01-29 01:22:50 -05:00
IbanPlay 2d723ee26c Heavy smoke fx & Particle handler optimizations 2022-01-24 03:42:09 +01:00
IbanPlay 8afe663d7e Configurable particle cap better now 2022-01-07 01:13:52 +01:00
IbanPlay 7cab3cea20 Accidental int division! 2022-01-06 19:06:24 +01:00
IbanPlay 447d8d78a0 Rewired particleSets 2022-01-06 18:30:56 +01:00
IbanPlay cb04b03ec3 More work.
I really need to make the particle set system more compatible with this
2022-01-06 16:24:52 +01:00
IbanPlay faea741cd9 Starte 2022-01-06 13:18:06 +01:00
DominicKarma e25746c07c Particle system port + Thanatos smoke 2021-06-21 03:52:20 +02:00