Commit Graph
388 Commits
Author SHA1 Message Date
doze-zoze 198b79ed37 black hole visual changes 2025-12-22 17:10:36 -06:00
Flowaria 104ced20da Added GeneralDrawLayerSystem 2025-12-16 17:48:41 -05:00
Flowaria d8bd7656c6 Mark ReflectionHelper as Obsolete 2025-12-06 11:38:12 +09:00
Flowaria 2363f886b6 Mark Particle as abstract still 2025-12-06 11:13:29 +09:00
Flowaria f79725305f Revert Particle ModType conversion 2025-12-06 11:08:37 +09:00
Flowaria 3cd5532975 Client side ILoader as ModType or ModTexturedType 2025-12-06 09:58:32 +09:00
Flowaria c9608aed7b Marking CooldownHandler and Particle as abstract 2025-12-06 09:28:32 +09:00
Flowaria b3b86a8da5 Added Autoload Attribute 2025-12-06 09:11:37 +09:00
Flowaria f4e75425ab Particle as ILoadable 2025-12-06 09:10:52 +09:00
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
Stephen Thiebaud b0854b7a3c feat: replace every detactable instance of magic numbers with their named ID counterparts 2025-12-04 21:27:05 -06:00
Flowaria 7c77642ee4 GeneralParticleHandler now do AsyncLoad 2025-12-02 15:54:51 +09:00
fryzahh 36b00a1c77 Particles with shaders now account for different BlendStates
* particlesToDraw_CustomShader now separates particle collections based on their chosen BlendState
2025-11-16 08:06:17 -04:00
fryzahh 855ee59028 Removed unnecessary documentation from Particle.cs 2025-11-15 21:36:02 -04:00
fryzahh 9c11d520d6 General cleanup and fixes
* Fixed an out of bounds error caused by TempParticleManager's update loop iterating through the maximum amount of particles that can exist at once rather than the maximum amount of particles that are currently active.
* Removed particleTypesByNames from GeneralParticleHandler.
* Renamed "Depth" to "ParallaxStrength" in TempParticle and other associated areas.
* Added Main.dedServ checks where necessary in TempParticleManager. Other general cleanup besides that.
* Added the "ReturnAll" method to TempParticleManager to allow users to forcibly return all active particles in the manager to the particle pool.
2025-11-15 21:30: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
CongratsIsTrash 8b10aadab8 Odd Mushroom now copies particles 2025-11-12 12:24:31 -05:00
fryzahh d16a9a3899 Merge branch '1.4.4' into graphical-system-additions 2025-11-09 22:46:00 -04:00
fryzahh 4b962167cf Pixelated dust variants
* Added the following pixelated variants for their respective ModDust types:
 * DiamondDustPixelated
 * SquareDustPixelated
 * SquashDustPixelated
 * SquashDustHollowPixelated
 * SquashDustTileTouchPixelated
 * UnstableDustPixelated
 * VoidDustPixelated
 * VoidDustInvertedPixelated

* Added missing documentation comment for the new "pixelate" parameter in GeneralParticleHandler.SpawnParticle.
2025-11-09 16:36:38 -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
CongratsIsTrash b50c3821a3 Fixed a ton of compiler warnings 2025-10-17 12:36:26 -04:00
Nathanael Overton cdd3bc603f Functionality done, placeholder(?) rename
Renamed because of the Starburst mechanic shared through the Stratus set, which also has a shortsword.
2025-10-15 22:23:49 -04:00
Ozzatron ad52b361a5 Merge branch '1.4.4' into Starfleet-Starmada-Reworks 2025-10-04 17:42:44 -04:00
Xyk e2ed1f3121 Removed Unused Particle 2025-10-03 15:35:09 -07:00
Doze-Zoze 533f7c5dc2 merge 2025-09-18 18:52:52 -05:00
Doze-Zoze 664e017426 merge 1.4.4 2025-09-18 17:15:50 -05:00
Xyk fcb8fce858 Merge branch '1.4.4' into Starfleet-Starmada-Reworks 2025-09-11 17:22:10 -07:00
Xyk 1708bfa844 Starfleet Basic Function 2025-09-04 15:14:06 -07:00
Nathanael Overton dc57a9a89d Initial 2025-08-23 14:16:51 -04:00
Doze-Zoze 89416c175a Touch-ups to all of the items 2025-08-18 16:29:13 -05:00
Doze-Zoze c8182d9d0d Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into dog-tweaks 2025-08-14 15:49:45 -05:00
Cameron Ewell 06e966444b Merge: New Rev+ Golem behavior 2025-08-04 20:05:08 -04:00
Xyk 520250136e Functional Stuff 2025-08-04 19:26:00 -04:00
CongratsIsTrash 6d2dff85ba 1 - Revamp to free head movement
2 - Free head is once again immune to damage
3 - Gave free head the laser spread attack, which is followed by shooting lingering fire bolts
4 - Free head no longer passively fires fireballs, increased laser fire rate a bit
5 - Free head lasers no longer have differing speeds in Death Mode
6 - Removed body lasers after the head detaches

Fire bolt visuals are unfinished
2025-07-11 21:55:22 -04:00
Xyk 1e855d3cb4 New Laser Walls
Wowza, these sure are new laser walls
2025-06-18 02:37:51 -07:00
Doze-Zoze 700da7e8b6 DoG Changes Pt 3 2025-06-17 15:08:11 -05:00
fryzahh 30aa9bd9c2 Moved DrawPixelatedParticles call
- Pixelated Particle instances now draw at the same time as all other Particle instances
2025-05-28 01:42:44 -04:00
fryzahh a621a46291 Reset SquishyLightParticle
- Had Pixelated set to true in order to test it
2025-05-28 01:42:44 -04:00
NycroV 330753128f Performance 2025-05-28 01:42:44 -04:00
NycroV d0320615b9 Fix scaling for different zoom levels 2025-05-28 01:42:44 -04:00
NycroV 3fc8392746 Scale matrices 2025-05-28 01:42:44 -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
Xyk 1c95063911 Batholith Bangle + Band Balance
Added Batholith Bangle and did some polish and tweaks for the other two
2025-05-16 02:15:03 -07:00
Xyk a4ce4e2907 Adjusted flash rounds
Second hits are weaker and also it flashes a bit less
2025-05-14 00:34:50 -07:00
Xyk b08656f236 Protolith Bangle 2025-05-13 21:18:57 -07:00
mountaindrew10 4b64bb1b2f Old Duke visuals, resolved conflicts. 2025-05-10 06:31:09 -05:00
Xyk 6732c6057e Vanity Visual Update 2025-05-10 00:06:08 -07:00
CongratsIsTrash e7d7ff52f2 1 - SHPC dynamic tooltip for soul effect
2 - Slightly more red color for Fright
3 - Early structure for soul suction concept
2025-04-28 21:15:25 -04:00