Commit graph

25675 commits

Author SHA1 Message Date
James R
1666047f30 HUD tracking: only display Super Flicky tracker if Flicky can be whipped 2024-01-06 01:41:36 -08:00
James R
2188338a7e HUD tracking: refactor visibility checks
- Completely invisible trackers should not appear in
  tracker list, because they would occlude
- Add Visibility::kFlicker, so frame check is not
  duplicated
2024-01-06 01:41:36 -08:00
James R
e58253a2b2 Battle: do not spawn UFO during Overtime 2024-01-06 01:41:36 -08:00
James R
4d334a2bb9 Battle: fix alternate Overtime music not playing 2024-01-06 01:41:36 -08:00
James R
08dc00ea88 Battle: add battlespawn cheat, spawn every player at the same spawnpoint 2024-01-06 01:41:36 -08:00
James R
db0175a94d Battle: add barriertime cheat, change Overtime Barrier shrink speed for testing 2024-01-06 01:41:36 -08:00
AJ Martinez
bb8b308312 Block Rhythm Badge activation when holding items 2024-01-06 02:19:30 -07:00
AJ Martinez
aad37bbfbb Put whip on cooldown when inputting guard/ebrake 2024-01-06 02:14:28 -07:00
AJ Martinez
a982b3bf63 Monitor damage sounds 2024-01-06 02:03:40 -07:00
AJ Martinez
dd71c81b24 Battle: reduce damage hitlag + monitor hitlag 2024-01-06 01:56:27 -07:00
AJ Martinez
76a42ca44f Lower speed increase from spheres (100%->66%) 2024-01-06 01:45:30 -07:00
AJ Martinez
b74cecff59 Drain spheres when charging instawhip 2024-01-06 01:41:33 -07:00
AJ Martinez
ad48d3ac2c Directly tumble players when guard breaking 2024-01-06 01:37:06 -07:00
AJ Martinez
0cd3c26b8b Don't show item box preview holograms if they aren't going to spawn 2024-01-06 01:08:26 -07:00
AJ Martinez
cb11627bb5 Half screenshake in Battle 2024-01-06 00:50:47 -07:00
Oni
10f8bb5a3f Merge branch 'battle-release' into 'master'
Battle is (almost) ready for release

Closes #681

See merge request KartKrew/Kart!1788
2024-01-06 06:08:28 +00:00
James R
967cb65124 Battle UFO: extend hitbox down by 1/4 2024-01-05 21:00:42 -08:00
James R
2bdb7d4349 Battle UFO: power-up drops take player momz, pick up immediately 2024-01-05 20:59:18 -08:00
James R
e07fbd9a6e Do not spawn digits for overhead item display
This fixes desyncs in Battle when picking up stacks of
items :D
2024-01-05 19:39:25 -08:00
James R
d0259b0896 Super Flicky: speed changes
- Slows down when close to its target
- Slow when stunned (whipped or blocked)
- Stun time increased
  - Whip: 5s -> 10s
  - Block: 1s -> 5s
- Blocking launches the Flicky into the air
2024-01-05 18:34:46 -08:00
James R
07e53b7b50 Battle: lose 5 spheres on guard instead of 10 2024-01-05 18:34:02 -08:00
James R
19d9d1e318 Battle: use Easing_OutSine to shrink Overtime Barrier
Modifies netsave.
2024-01-05 18:05:41 -08:00
James R
8d2327c5c9 Battle UFO: do not suck up into tractor beam if player is fast-falling 2024-01-05 17:48:44 -08:00
James R
fe60216559 Battle UFO: slow down horizontal player momentum in tractor beam 2024-01-05 17:44:58 -08:00
James R
cd405290c1 HUD tracking: hide text for overlapping trackers 2024-01-05 17:30:10 -08:00
James R
5c3783bf62 HUD tracking: trackers behind walls are transparent, instead of flickering 2024-01-05 17:23:29 -08:00
Oni
0e854b5340 Merge branch 'bad-ghost-crash-fix' into 'master'
Defer ghost deallocation til FreeGhosts

Closes #824

See merge request KartKrew/Kart!1769
2024-01-06 00:51:37 +00:00
AJ Martinez
c854a3262b What the fuck are turbines 2024-01-05 17:45:37 -07:00
Eidolon
79c7fe848e Fix sector specialflags typo in p_setup.cpp 2024-01-05 18:42:57 -06:00
Oni
483e45c3bf Merge branch 'o-joyous-mulch-balloons' into 'master'
Hardcode Joypolis trick balloons

See merge request KartKrew/Kart!1787
2024-01-06 00:40:46 +00:00
Oni
f56574c852 Merge branch 'crate-sound' into 'master'
Crate sound

See merge request KartKrew/Kart!1786
2024-01-06 00:39:36 +00:00
Eidolon
61db93db0c Hardcode Joypolis trick balloons 2024-01-05 17:56:38 -06:00
James R
05ce2b7861 Battle: darken screen while outside of Overtime Barrier 2024-01-05 15:56:24 -08:00
James R
df0d342e04 Let level darkness be changed per splitscreen, use player_t variables
Modifies netsave.

- Add darkness_start, darkness_end to player_t
2024-01-05 15:56:24 -08:00
James R
8430489673 Replace darktimer/darkness with g_darkness
Modifies netsave.

- Instead of setting a timer, set a start time and end
  time
- Interpolated darkness value itself doesn't need to be
  netsynced
2024-01-05 15:56:24 -08:00
James R
a759626335 Battle: flash emeralds on screen when someone wins by collecting all 7
- Modifies netsave
2024-01-05 15:56:23 -08:00
James R
6431ef8250 Battle: screen shake when Barrier arms and once it reaches smallest radius
- Plays sound effect when Barrier reaches minimum size.
2024-01-05 15:56:23 -08:00
James R
c9398e21be Battle: cecho "HURRY UP!!" when Barrier appears 2024-01-05 15:56:23 -08:00
James R
2bfad76c1e Add HU_DoTitlecardCEchoForDuration; letter disappearing time scales by total cecho duration 2024-01-05 15:56:23 -08:00
James R
c192e57426 Battle: Overtime music
- Fade out level music for 1.5 seconds when "Hurry up!"
  plays.
- Play SHWDWN when level music finishes fading out.
- Switch to SHWDN2 when there are 2 players left and the
  Overtime Barrier has reached its smallest size.
  - Plays a loud noise to mask the transition.
2024-01-05 15:56:23 -08:00
James R
b7c9c92749 Music_Seek: argument in milliseconds instead of tics 2024-01-05 15:56:23 -08:00
James R
15775adcb9 HUD tracking: give overlapping trackers in the background transparency
- Assuming every tracker is a 30x30 square, to determine
  overlap.
2024-01-05 15:56:23 -08:00
James R
a6fa84af3a HUD tracking: refactoring
- Store tracking result on struct
- Put flickering trackers in the vector anyway
2024-01-05 15:56:23 -08:00
Oni
0f468c4634 Merge branch 'auto-medal-times' into 'master'
Add automedal time configs and calculation

Closes #790

See merge request KartKrew/Kart!1777
2024-01-05 23:01:24 +00:00
toaster
5c2a4ae68f M_DrawCupPreview: Fix interpolation flicker (resolves #832) 2024-01-05 22:37:50 +00:00
toaster
aa3033575b crate.cpp: Add crate sfx to configuration
- sfx_cratew for wooden SA2 crates
- sfx_cratem for metal SA2 crates
- sfx_s3k82 for Ice Cap blocks (copied from MT_SMK_ICEBLOCK)
2024-01-05 21:33:36 +00:00
toaster
69e8d15974 dehacked.c: Forbid not providing an Emblem ID
Too much of gamedata is dependent on explicit ordering
2024-01-05 20:52:02 +00:00
toaster
e9b7ed8101 Intentfully permit gaps between Emblem IDs
Introduces ET_NONE, to match SECRET_NONE for Challenges
2024-01-05 20:50:54 +00:00
toaster
1b2cad90e7 Make gamedata transfer for increased max emblem count
Increments gamedata version
2024-01-05 20:49:31 +00:00
toaster
2c8e342d4b Double MAXEMBLEMS one more time, per Eidolon's recommendation
4096 is probably forward-thinking enough
2024-01-05 12:48:08 +00:00