Commit graph

2749 commits

Author SHA1 Message Date
Antonio Martinez
d4c0603808 Wall transfer buffs 2024-09-15 21:05:30 -07:00
Ashnal
88c77cfff3 Clean up debug messages left from slope adjustments branch 2024-09-15 21:53:44 -04:00
Ashnal
33a1ca5831 Slope launch physiscs adjustments 2024-09-16 00:47:45 +00:00
Ashnal
59b346675b Can cross checkpoints when respawning and in NOCLIP state now 2024-09-15 20:48:33 +00:00
Jack
af16e3f993 Implemented SPR2_DKRT and integrated it into the state system 2024-09-07 14:40:12 +01:00
Sally Coolatta
d33b123e32 Implement reticule gfx, fix FOFs/walls/scale 2024-08-28 01:26:54 -04:00
Sally Coolatta
03874c3374 New Ballhog design
Taking the old charge idea, but instead of missiles, it's bananas that explode on the floor and can only be lobbed forward. Charging creates more projectiles in a circle pattern around it.
2024-08-28 01:26:53 -04:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
Ashnal
70ad221aa0 Sneaker Lift 2024-08-25 23:50:10 +00:00
Sally Coolatta
87a223d5e2 New ice slope physics
Make them stronger by the same factor as acceleration is weakened. This feels a lot more natural, since your top speed tends to be higher on ice, which was making them feel strangely easier to climb ... even though driving on ice is hard mode (even in real life)

Also fixes an oversight where P_SpawnFriction was using the outdated movefactor constants from SRB2 instead of the ones from SRB2Kart that the rest of the codebase was using, by unifying it into one function.
2024-08-24 22:19:08 -04:00
AJ Martinez
3670695df6 Merge remote-tracking branch 'origin/race-checkpoint' 2024-08-22 22:49:49 -07:00
Sally Coolatta
9c2144c340 Give Battle mode item spawners their own RNG class
PR_ITEM_ROULETTE is explicitly meant only for K_FillItemRouletteData, and nothing else is ever meant to use it.

May possibly be the cause of the dedicated overtime desync, but I am not convinced it is.
2024-08-18 18:49:47 -04:00
toaster
1e502da748 Merge branch 'master' of https://git.do.srb2.org/KartKrew/RingRacers 2024-08-17 20:16:27 +01:00
Ashnal
df4e99b050 WIP Race Checkpoints
MobjList count

WIP: Checkpoints grant lap bonus

help?

can't allocate vector

 fixed tagged line iteration and collision detection

Multiplayer animations and map retart fixes

Clear between maps
2024-08-13 20:20:21 -04:00
Oni
4bf99e7f16 Merge branch 'amps' into 'master'
Overdrive!

See merge request KartKrew/Kart!2414
2024-08-13 02:46:56 +00:00
Gunla
e120a4fecf Merge branch 'snapshot-maps' into 'master'
"snapshotmaps" command

See merge request KartKrew/Kart!2410
2024-08-13 02:46:28 +00:00
Antonio Martinez
4d202fbd67 WIP: Overdrive VFX refactor 2024-07-23 17:00:17 -07:00
Antonio Martinez
199a92ebb2 WIP: Overdrive 2024-07-22 02:14:11 -07:00
Sally Coolatta
6b87b586d2 "snapshotmaps" command
Takes two screenshots for a list of maps that have an "Alternate View Point" thing with tag 0 -- one intended for level select pictures and another for Discord Rich Presence. If no view point exists, the map is skipped.
2024-07-21 08:54:49 -04:00
AJ Martinez
326d6ff058 Item pickup leniency window 2024-05-29 18:18:52 -07:00
JugadorXEI
4c7ec4bae0 Fix shield objects not being properly flipped 2024-05-22 21:54:45 +02:00
JugadorXEI
4439ce8940 Fix soft landing mobj not being properly flipped 2024-05-22 21:54:45 +02:00
Sally Coolatta
5fb54a1044 Fix thing TID scrambling, optimize usage slightly 2024-05-12 18:01:17 -04:00
James R
5f2a38475b Ballhog is destroyed on contact with walls 2024-04-28 15:43:00 -07:00
Oni
0652843383 Merge branch 'reverse-gravibee' into 'master'
Fix Poh-Bee behaviour for flipped waypoints

See merge request KartKrew/Kart!2249
2024-04-10 05:26:57 +00:00
Lach
4bc678e07a Don't apply sector-based gravity flips to Shrink objects 2024-04-10 08:20:43 +10:00
toaster
bc0c4ad5f2 UDMF scaling of Item Capsules in GS_SPECIAL
Can be expanded to all gametypes when we accept invalidating replays
2024-04-09 18:28:32 +01:00
Lach
f274d24560 Fix Poh-Bee behaviour for flipped waypoints 2024-04-09 23:34:18 +10: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
James R
c591087ac4 Audience: shadow, auomatically becomes white on fullbright frames 2024-04-02 18:06:26 -07:00
toaster
7f6de407f1 Copyright update: Add Kart Krew (2024) in general for high-traffic inherited sourcefiles 2024-04-02 17:42:38 +01:00
James R
bf0041644a Add destroyed kart effects
- Removed hitlag sparks and extra quakes from player death
- Removed dontdraw flag from NO CONTESTED player
- Moved most dead kart code to objects/destroyed-kart.cpp
2024-03-31 00:58:14 -07:00
toaster
894870295a Spray Can spawning rule cleanup
- You can spawn in Tutorial Challenge, but only if a single can has been picked up already
- Don't print a (DEVELOP-only, but still annoying) error when it doesn't spawn in Tutorial Challenge
2024-03-26 16:41:44 +00:00
James R
7e17a71f13 Fix flame shield offset in reverse gravity 2024-03-24 22:47:35 -07:00
AJ Martinez
0e88da0f6e 1x flame/lightning shield 2024-03-24 22:47:35 -07:00
toaster
9601290dd7 Emblem system collectibles: Spawn sparkles if pick-up-able, to match Prison Egg CDs 2024-03-19 19:30:17 +00:00
toaster
74c6e1a0fd Spray Cans: Don't spawn in Attack modes 2024-03-19 19:30:16 +00:00
toaster
80adabc553 GS_TUTORIAL: No player should ever do lightsnake respawn, especially not thinkerless bots
Fixes a handful of rings drifting across the floor of the HVR room in the Rings tutorial
2024-03-17 16:53:31 +00:00
AJ Martinez
dd60dc1e3a Merge branch 'cd-fx-finale' into 'master'
Prison CD: final visibility changes

Closes #1133

See merge request KartKrew/Kart!2103
2024-03-16 04:02:10 +00:00
James R
fa6eee9a90 Prison CD: final visibility changes
- CD spawns instantly
- 3x scale, scale down to 1x over 1 second
- Do not pickup instantly
- Afterimages in the air, additive
- Thrown arc straight upward, less high if player is
  closer
2024-03-13 21:52:55 -07:00
James R
ab091c71f8 Fix Director switching away immediately after spectating and entering freecam 2024-03-12 17:53:39 -07:00
James R
b12dba0393 Underwater: SF_MACHINE characters play a different sound effect when resurfacing 2024-03-09 01:10:14 -08:00
James R
2b121bf3d0 Underwater: tweak bubble VFX
- Spawn around the player, not just on a single point
- 1.5x scaled
- Opaque, not translucent
- Carries player momentum
2024-03-09 01:10:14 -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
Lach
2f19582941 Merge remote-tracking branch 'origin/master' into adventure-air-booster-hardcode 2024-03-09 15:19:29 +11:00
James R
f7d396d150 Power-ups: spawn spinning power-up icon on player
- Spins for 40 tics, speeds up over duration
- Starts wide stretched, ends thin and tall
- Additive, fades into translucency
2024-03-08 17:53:07 -08:00
Lach
a419ea48c6 Hardcode Adventure Air Booster & Dimension Disaster objects 2024-03-08 10:38:33 +11:00
James R
d4d2196c73 GP bonus round: do not spawn duel mode items TWICE
Level load ordering's a bitch, I explain in the code
comments.
2024-03-07 03:06:38 -08:00
James R
18654a8a70 Extra effects for Prison Egg CD
- The goal here is to make it more obvious if a CD drops,
  and make the CD more visible.
- Rainbow sparkles scaled up by x3.
- Play long "powering down" noise when a Prison with a CD
  inside is destroyed.
  - CD spawns after noise stops playing.
- Spawn a twinkle (Gainax).
  - Flickers while "powering down" noise is playing.
  - Enlarges and disappears in sync with the "CD dropped"
    sound effect.
- Darken the map while all of this is happening.
2024-03-05 03:35:35 -08:00
AJ Martinez
9ee58e4f7e Add hud-tracked context help for Bubble Trap and Garden Top 2024-03-04 00:20:30 -07:00