261 Commits
Author SHA1 Message Date
fryzahh aa39f2ec02 Gravity flipping fixes
* Redid how gravity is flipped visually when the DisableGravityScreenSwap config is enabled. It is now set to 1 at the start of Main.DoDraw and then set to its actual flipped value at the end in order to trick the game into drawing everything as if gravity hasn't flipped at all. The player is manually flipped in a detour of LegacyPlayerRenderer.DrawPlayerInternal
* Moved all gravity manipulation related detours to their own class, GravityManipulationChangesSystem
* Removed the ScreenFlip shader previously used for the screen flip config
* Fixed an issue where SeaPrisms wouldn't reset the spriteBatch correctly and would cause all non-solid tiles to use the wrong transform matrix and not flip with gravity changes
* Fixed an issue where SeaPrisms wouldn't render when gravity is flipped without the config
2026-07-28 00:18:54 -04:00
CongratsIsTrash ef274091c2 Merge branch '1.4.4' into cit-miscell 2026-07-07 15:32:02 -04:00
CongratsIsTrash f0d0bbec81 Rebranded Slick Cane as Walking Cane
* Intended to be themed after Walking Cane from DST; now a Deerclops drop instead of being sold by the Bandit
* Still has its current swiping motion on normal use, stealth strikes apply an "insanity" effect that summons shadow hands on cane hits, increases movement speed by 15% while held
* No longer makes enemies drop money or makes stealth strikes scale in damage based on stored money

I'm probably going to change the insanity draw effect later because it doesn't work perfectly on some NPCs due to hardcoded drawpoint bullshit (notably Eye of Cthulhu)
2026-07-05 00:30:38 -04:00
CongratsIsTrash d1e82af80d Merge pull request #1561 from CalamityTeam/dev-weaver-tail
Tired Tail (Dev Item)
2026-07-03 14:03:00 -04:00
Doze-Zoze ecfc4788f6 Merge branch '1.4.4' into dev-weaver-tail 2026-06-30 01:31:06 -05:00
fryzahh 05f3812ac5 Providence star trails refactor
* Completely redid the trails for Providence's HolyBurnOrb and HolyLight projectiles because they've been bringing in many reports of lag since the release of Hog Wild
2026-06-29 16:01:21 -04:00
CongratsIsTrash 0b319b9d49 Removed more leftover Floral Paradise stuff 2026-06-15 15:33:34 -04:00
fryzahh f5ee37f500 Merge branch '1.4.4' into three-little-pigs 2026-06-04 18:01:15 -04:00
fryzahh d8bf3bca62 IT MOOOOVVVVVVEEEEEEESSSSS
* Horrible Hog is now animated
* Added a separate sprite for Horrible Hog's balled up form since RotateSprite only works properly with square sprites
2026-06-04 00:23:51 -04:00
fryzahh 08906e3030 Horrible Hog SFX + cleanup and visual update
* Added a bunch of new SFX for Horrible Hog (thanks tyeski :D)
* Removed the old placeholder sound effects for Horrible Hog
* Turned HorribleHog into a partial class and split up its singular cs file into three
* Added a new visual effect that surrounds Horrible Hog when it's idling and the nearby looping sound is playing. This effect fades in and out depending on the player's proximity to the entity just like the sound effect does
* Cleaned up some of Horrible Hog's code
2026-05-16 11:03:34 -04:00
fryzahh 1910a4c918 Divine Meat sprites + misc
* Renamed DivineCornucopia to DivineMeat and added in its final sprites. Functionality remains the same.
* Added some minor visual additions to Divine Meat and Disgusting Meat when they are dropped on the ground in the world.
* Added some minor visual additions to Divine Swine.
* Divine Swine now increments its y-velocity while flying in random directions to prevent it from infinitely flying up and into space.
* Disgusting Meat can no longer be used while its animation is being played.
2026-05-12 12:41:59 -04:00
fryzahh 24728902fc This Hog is Horrible (how disgusting!)
* Added Horrible Hog. Pretty much done in terms of mechanical implementation beyond bug testing and multiplayer syncing. Visual implementation still WIP. Pending general feedback from others as well.
* Piggy and Gold Piggy can now be transformed into Horrible Hog and Divine Swine using Vile/Viscous Powder or Purification Powder on either of them respectively.
* Adjusted the unused RotateSprite shader as it is now used for Horrible Hog. It had some issues where it previously downscaled sprites to nearly twice their original size and rendered sprites at a lower image quality.
2026-04-12 01:38:32 -04:00
Big E 650fb43660 + Palette Swapping 2026-04-07 18:11:48 -05:00
fryzahh 6c706dfdef This Swine is Divine (so majestic!)
* Added and almost entirely implemented Divine Swine. Visuals and some minor parts of he functionality are still a WIP.
* Flipped the Piggy and PiggyGold sprites to be consistent with every other NPC sprite.
* Added ArcCollisionCheck to CollisionUtils.
* Updated DistanceToTileCollisionHit to accept a new Func parameter, allowing for writing custom tile validity logic.
* Added SubtractiveBlending to DrawingUtils.
* Added ChromaticAbberationShader and updated BasicTextureDistortionShader.
2026-03-28 23:48:41 -04:00
Nathanael Overton 1dc2c3ff39 , 2026-03-19 00:36:31 -04:00
Dreitone 434219fb28 replace silly comments 2026-02-15 11:12:31 -05:00
Dreitone ddf2c4a771 nanoblack visual pass pt. 1? 2026-02-15 11:12:31 -05:00
Dreitone 2b900bdd90 nanoblack visual pass pt. 1 2026-02-15 11:12:31 -05:00
Dreitone a989fc20c2 the big split + mesh pools and views 2026-02-15 11:12:31 -05:00
Dreitone d9dd10f89f nanioblack slash + new prims + test 2026-02-15 11:12:31 -05:00
fryzahh f275e03721 AbyssalFire shader updates
* Made adjustments to AbyssalFire's shader and particle visuals
* Removed all leftover instances of ActiveItem
2026-02-13 21:11:35 -04:00
fryzahh f8d51276a5 Merge branch '1.4.4' into MegalodonLine 2026-02-12 09:40:32 -04:00
doze-zoze c2bd0a0e58 revert otherworldbarrierdistortion shader to correct version 2026-01-03 14:38:07 -06:00
doze-zoze 3b37bf077a deerclops now uses the darkness system 2025-12-30 19:19:01 -06:00
doze-zoze 6d8d702685 mrge 2025-12-30 17:17:12 -06:00
Big E ff0af84400 Merge: Big E's Brain of Cthulhu Rev+ Rework 2025-12-25 22:38:02 -05:00
Big E 770efcea10 + Improved DoG Death Dissolve (note: DoGDeathAnimationRenderer can be removed) 2025-12-25 21:38:14 -05:00
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
doze-zoze 34b14b58b9 merge 2025-11-26 20:38:20 -06:00
Big E e57ef63068 + fixes 2025-11-12 22:04:55 -05:00
Big E 82ab5dcfc0 + Merge and fixes now that shaders are stored as Asset<>s 2025-11-12 22:04:45 -05:00
Stephen Thiebaud 311e17931f feat: use Asset<Effect> over Effect 2025-11-11 18:06:48 -06:00
Big E 02427baa74 + OtherworldBarrier now uses Polar Coordinates to have the effect move towards the center 2025-11-06 12:19:47 -06:00
doze-zoze 4df35cff84 spooky! 2025-11-05 17:51:36 -06:00
Big E 178245c816 + Merge 2025-11-05 15:26:01 -05:00
Big E 9969fe5989 + Sea Prism Walls and Sea Prism Crystals are now utilize the Sea Prism Color Blendign shader 2025-11-05 13:37:21 -05:00
doze-zoze ed40eb15f3 oops fixed compile error & recompile (functionality unchanged) 2025-11-05 00:30:45 -05:00
doze-zoze a71874d83e cleaned up the effect file/comments 2025-11-05 00:30:45 -05:00
doze-zoze 77d7a18c02 added barrier shader 2025-11-05 00:30:45 -05:00
Big E ab4d91593f + Incorporated Glint effect into the shader, and made fades happen on per-pixel basis instead of per-tile. 2025-11-04 23:54:35 -05:00
Big E cae8563031 + Sea Prism Color Blending Shader setup 2025-11-04 23:12:22 -05:00
doze-zoze f6a4161184 scal arena visuals + minor hook fix + enrage fix 2025-10-31 15:55:04 -04:00
Doze-Zoze 664e017426 merge 1.4.4 2025-09-18 17:15:50 -05:00
sunny-raindrops f38fc2b147 Merge branch '1.4.4' into MegalodonLine 2025-09-05 18:59:54 -07:00
Xyk 817bbce40f First bit of shimp 2025-09-05 14:02:21 -04:00
sunny-raindrops c9dee5337a Merge branch '1.4.4' into MegalodonLine 2025-09-01 18:24:39 -07: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
Stephen TandBlockaroz d553111b8e feat: experimental animated water in Y in logo
Co-authored-by: Blockaroz <lbpk.123fan@gmail.com>
2025-08-08 19:05:23 -04:00
fryzahh c3ee433cd1 DoGSky touchups + misc fixes and changes
- Made some visual improvements to DoG's CustomSky, involving the creation of two new shaders, DoGRealityCrackShader and DoGRiftAuraShader
- - Descriptions for each can be found in CalamityShaders
- Ambient sky entities are now disabled while DoG's CustomSky is active
- The code for the distortion rift's lightning effect should now no longer run at all times and only when DoG's CustomSky is active
- DoG no longer has its death animation shader applied to all segments individually. Instead, all segments are now drawn to a render target, which is what the shader is then applied to via a new BaseRenderer class, DoGDeathAnimationRenderer. This was done to prevent all of DoG's sprites from suddenly rendering in full brightness during his death animation
- - Additionally, DoGDisintegration's code has been cleaned up
- Fixed DoG not spawning out of the correct teleport rift projectile on GFB due to not properly accommodating for fake rifts when searching for the correct teleport location
- Improved the visuals of DoGTeleportRift and decreased the visual intensity of fake rifts
- DoG's teleport rift indicator icon will no longer appear on GFB due to the inclusion of fake rifts as a mechanic on that seed. There are many differences between the real rift and fake rifts which should make up for this
2025-07-31 00:46:56 -04:00
Doze-Zoze 4f53a3db8f Merge branch 'dog-tweaks' into dog-tweaks-new-visuals 2025-07-23 13:39:37 -05:00