Commit Graph
377 Commits
Author SHA1 Message Date
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
Xyk 53f5365709 Frequency Manipulator -> Pulse Grenade
Reworks Frequency Manipulator into the R-PLS: Pulse Grenade
2025-04-24 00:20:38 -07:00
Xyk 9c2de19b26 Holy Fire Bullet touch ups
The bullets deal increased damage along with the increased explosion size, and the explosion no longer hits the enemy the bullet spawned it on. new visuals.
2025-04-22 01:16:43 -07:00
Xyk b96d7e103f Hyperius Bullet Re-rework and fixes
-Fixed Custom Spark/Vel changing Spark/ Glow Spark Particles not fading out their glows properly.
-Fixed Tracking Disk Stealth having tile collision
-Fixed Septic Skewer pulling enemies multiple times during execution.
-Added a gfb feature that makes all custom sparks, vel changing sparks, glow sparks and custom pulses use the mammoth particle visual if it's Tuesday.
-Fixed some weird particle rotation on Vitriolic Viper
-Exorcism GFB sound (Thanks Shayy)
-The guaranteed crits on Hellkite and Compact Railgun now convert your crit chance into extra damage for the hit.
2025-04-15 23:32:11 -07:00
Xyk b716c5caad Gauss Rifle -> Compact Railgun 2025-04-09 13:46:22 -07:00
Xyk 86025c0712 Arsenal Improvements Part 1
Part of my attempt to create a visual identity for each arsenal energy type that can be consistently applied across all items once they are reworked

This commit changes:
Taser - New left click and previous function is on right click with arsenal cooldown, vfx overhaul
Scattershot Skewer - Completely re-coded the entire thing, now has right and left click separation and can perform a skewer dash, vfx overhaul
Pulse Pistol - Completely re-coded how the orb tracking and movement works, hits twice before splitting instead of once, vfx overhaul
Pulse Rifle - Same as Pulse Pistol, vfx overhaul

Added 4 more dust types

Changed the dusts and colors used by Effects.ArsenalEffects

Fixed Plama typo
2025-03-26 20:21:27 -07:00
Xyk 1199cd3ac4 Arsenal dusts and colors
Also changed Holofiber Immolator a bit
2025-03-21 18:40:50 -07:00
CongratsIsTrash f1036b6f0f Deadshot Brooch now has ammo swapping 2025-03-14 13:19:14 -04:00
Xyk b83310d984 Visual updates and function polish 2025-03-11 15:41:13 -04:00
Xyk 81e0fd718b Start of the Seashine Sword 2025-03-11 15:41:13 -04:00
Xyk 6437ae3129 Cannon jesus in Calamity mod
Exorcism GFB
2025-03-10 15:23:01 -07:00
Xyk a23eefb7fc Exorcism Rework 2025-03-10 04:43:02 -07:00