Commit graph

764 commits

Author SHA1 Message Date
AJ Martinez
fdf1be6a50 Grow/invinc tweakpass 2024-04-29 19:31:36 -07:00
Sally Coolatta
f1f7edbe9a Show last lap time on HUD
Inspired by RoyKirbs' Joypolis journey
2024-04-11 03:05:11 -04:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
James R
551a101f7b Hardcode SA2 Pulley (ipullup.lua)
Differences from Lua version:

- Does not set cusval
- Does not have individual states for pulley, hook
  - Simply sets sprite on S_INVISIBLE
- Does not do P_CheckPosition, sets Z directly
- Does not spawn chain visual every tic
  - Spawns a single object and vertically stretches it to
    the correct length
- MT_IPULLUP has MF_SCENERY and a short-circuiting
  thinker, also MF_NOBLOCKMAP so there is never any
  collision against it (it is a controller)
- MT_PULLUPHOOK has MF_NOCLIP to avoid extra collisions
  while moving
2024-04-03 04:37:44 -07:00
toaster
b818a7d776 Forbid character-based unlocks if you switched your skin in a context where it didn't auto-spectate you (more robust stop for #1231) 2024-04-01 18:03:00 +01:00
Sally Coolatta
7e8a42c4a0 Faster z speed in the air 2024-03-26 21:59:49 -04:00
James R
99656765e5 Pause waypoint updates while player is touching finish line but not crossing it
- Right on the line, P_PointOnLineSide may disagree with
  P_TraceWaypointTraversal.
- If this happens, nextwaypoint may update ahead of the
  finish line before the player crosses it.
- This bloats the finish line distance and triggers lap
  cheat prevention, preventing the player from gaining a
  lap.
- Since this only seems like it can happen very near to
  the line, simply don't update waypoints if the player is
  touching the line but hasn't crossed it.
- This will cause distancetofinish to jump but only for a
  very short distance (the radius of the player).
2024-03-16 06:50:16 -07:00
James R
44666f0c2e Add SF_BADNIK flag for characters, spawn an explosion on death
- Plays a pop sound too!
2024-03-11 01:25:03 -07:00
James R.
f4ab9b0be7 Merge branch 'gasp' into 'master'
Tweak underwater VFX

Closes #1125

See merge request KartKrew/Kart!2058
2024-03-10 08:24:57 +00:00
AJ Martinez
8c46258ba9 Promote driftboost vars to UINT16 2024-03-09 04:30:05 -08:00
James R
44ff1d26cc Underwater: player must be submerged for 15 seconds to play a "gasp" when they resurface 2024-03-09 01:10:13 -08:00
James R
1015d6964b Add PF_TRUSTWAYPOINTS player flag, disable lap cheat prevention next time finish line distance is calculated 2024-03-06 18:19:35 -08:00
James R
ecbcc5addb Make automatic respawn (from lap cheat prevention) more lenient
- When potential lap cheating is detected, start a 10
  second timer (previously 1 second)
- After 3 seconds, tell the player they can respawn with
  the Y button
  - You don't need to hold the Y button, just tap it
- After 10 seconds, automatically respawns the player
2024-03-06 18:19:34 -08:00
AJ Martinez
b458e28a52 Transparent Ring Debt indicator for local player, if it's sticking around 2024-03-05 16:42:22 -07:00
AJ Martinez
a280ccb7de Use old Ring Sting noise 2024-03-05 16:00:00 -07:00
AJ Martinez
647ab66c2f WIP: low-ring conveyance fixups 2024-03-03 00:46:21 -07:00
Oni
d0a66f9a4e Merge branch 'no-wavedash-breakpoint' into 'master'
Award a (weaker) boost for short-charge wavedashes

Closes #612

See merge request KartKrew/Kart!1982
2024-03-03 02:06:37 +00:00
James R.
5bc7d105cc Merge branch 'battle-powerup-feedme' into 'master'
Battle: Visual and audio feedback for power-ups

See merge request KartKrew/Kart!1986
2024-03-03 01:30:54 +00:00
AJ Martinez
a1fd0f5353 Merge remote-tracking branch 'origin/master' into move-your-car 2024-03-02 01:25:47 -07:00
AJ Martinez
4fc6567dc6 Merge branch 'ring-shooter-fixes' into 'master'
Ring Shooter polyobject interaction + Ring Shooter cooldown

Closes #989

See merge request KartKrew/Kart!1968
2024-03-02 07:58:13 +00:00
James R
13af88b318 player_t.powerupVFXTimer tic_t -> UINT8 2024-03-01 18:03:54 -08:00
SteelT
cb21a9c8cd Flicker player and add hitlag when collecting a powerup 2024-03-01 18:03:52 -08:00
AJ Martinez
af06d575fd Set wavedash power everywhere wavedashboost is directly awarded, increase threshold 2024-03-01 17:18:42 -07:00
AJ Martinez
19c62d37b9 Scale wavedash boost power to initial charge, not to remaining boost 2024-03-01 16:41:35 -07:00
AJ Martinez
4f5063f71f Fix sliptide extensions activating out of fast drifts 2024-02-29 18:34:36 -07:00
James R
4ccb9b22c8 Ring Shooter: add a 2 second cooldown after respawning before you can touch a Ring Shooter
This does not prevent you from using the respawn button to
summon a Ring Shooter.

- Ring Shooter only tracks the last player who touched it,
  to prevent that player from reusing it
- If another player touches the Ring Shooter, it loses
  track of the original user
- Near a Block Lightsnake waypoint, this would enter an
  endless loop where both players are able to touch the
  Ring Shooter and use it to respawn, placing them right
  above the Ring Shooter (and the cycle repeats)
2024-02-29 03:28:53 -08:00
Oni
786e4a098d Merge branch 'throwdir-restoration' into 'master'
Improve analog handling / input display

See merge request KartKrew/Kart!1967
2024-02-29 10:25:07 +00:00
AJ Martinez
0052d15fc8 Improve analog handling and input display 2024-02-28 20:08:25 -07:00
James R
9d4f57ddfb Auto respawn after 35 tics if distancetofinish jumped too much 2024-02-28 18:13:01 -08:00
James R
b452232974 Add PF_ANALOGSTICK, tells if this player has bound analog stick to d-pad 2024-02-24 21:29:19 -08:00
James R
a2d22c730f Remove PF_LITESTEER
It doesn't do anything
2024-02-24 21:03:49 -08:00
Oni
796e2b9517 Merge branch 'bumper-boats' into 'master'
Improved combo escape mechanics in Battle

See merge request KartKrew/Kart!1914
2024-02-12 18:50:20 +00:00
AJ Martinez
c0598610e9 Credit players for deathpits that result from their hits 2024-02-11 21:40:53 -07:00
AJ Martinez
e0494d5576 Merge remote-tracking branch 'origin/master' into bumper-boats 2024-02-09 22:32:25 -07:00
AJ Martinez
92bbd82c73 Add "Move Your Car" for antigrief 2024-02-05 20:09:04 -07:00
AJ Martinez
97dcc33f0d Reset cheatchecks when respawns would decrease lap 2024-02-01 23:34:29 -07:00
AJ Martinez
9231e95101 WIP: Battle combo mitigation rework 2024-01-29 17:02:25 -07:00
AJ Martinez
0878946b7e Merge remote-tracking branch 'origin/master' into bumper-boats 2024-01-29 16:06:58 -07:00
James R
84641c896e Battle: add POINTS power-up, get 6 points 2024-01-26 14:30:56 -08:00
AJ Martinez
26677c612e WIP: Improved bumper defenses 2024-01-23 22:06:17 -07:00
AJ Martinez
e867a9ee41 Ring dump transparency 2024-01-20 19:15:09 -07:00
AJ Martinez
a76507e17f Slow down top if player's out of control 2024-01-13 20:30:20 -07:00
Oni
ee03dae01e Merge branch 'unstuck-tripwire' into 'master'
Reduce hitlag, then respawn when trapped in tripwire

See merge request KartKrew/Kart!1805
2024-01-12 02:08:32 +00:00
Oni
7b08c78f1b Merge branch 'reset-cooldowns-when-hurt' into 'master'
Refactor guard/whip cooldown checks

Closes #880

See merge request KartKrew/Kart!1803
2024-01-12 02:07:57 +00:00
wolfy852
53c7999a14 Hardcoding: Cloud player struct variables 2024-01-10 20:37:29 -08:00
AJ Martinez
b2c5502e09 Reduce hitlag, then respawn when trapped in tripwire 2024-01-09 23:08:52 -07:00
AJ Martinez
1a2a2df383 Refactor guard/whip cooldown checks 2024-01-09 20:26:35 -07:00
AJ Martinez
97d58b7d29 Final failsafe, for when Ring Shooter fails 2024-01-07 02:49:26 -07: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
AJ Martinez
a2cfacfc2a Rebalanced Invinc 2023-12-31 17:34:25 -07:00