* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
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
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.
-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.
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