Commit graph

1952 commits

Author SHA1 Message Date
toaster
c1f3237157 Boss API + assorted relevant bugfixes, will go over the featureset of this branch with a fine toothed comb when it's time to write the merge request description so this is all you're getting right now 2022-02-24 21:19:03 +00:00
James R
82377fb001 Merge branch 'invinc-color-fix' into 'master'
Invinc color fix

See merge request KartKrew/Kart!553
2022-02-17 07:59:29 +00:00
Sally Coolatta
39da886447 Merge branch 'master' into invinc-color-fix 2022-02-16 23:01:23 -05:00
Sally Coolatta
a750fdd810 Invincibility wasn't using K_RainbowColor anymore, what the function was designed for... 2022-02-16 23:01:07 -05:00
James R
9095261a18 POSITION music
Play SA2 "shwing" at title card; play POSITION music once
camera is steady (instantly in 1v1).

Encore: play portal warp sound instead of "shwing"; play
portal drone instead of POSITION music, always start
instantly.
2022-02-15 15:51:47 -08:00
James R
f749424de7 Turn kstart into sfx 2022-02-14 15:04:30 -08:00
SinnamonLat
14961f6127 Let ThunderShield combo players 2022-01-23 17:58:08 +01:00
Sally Coolatta
7613cabfae No flashing tics in Battle 2022-01-05 03:17:38 -05:00
Sally Coolatta
ef5a4f01d4 Merge branch 'master' into terrain-lump 2022-01-04 12:34:47 -05:00
Sally Coolatta
cc250afd45 P_InitAngle, to fix angle interpolation on spawning objects 2021-12-24 12:45:51 -05:00
Sally Coolatta
da459a9c73 Add terrain splashes 2021-12-19 00:57:45 -05:00
Sally Coolatta
8667aeb620 Add footstep particles 2021-12-18 21:23:41 -05:00
Sally Coolatta
0cd3efc76d Merge branch 'master' into terrain-lump 2021-12-18 18:36:05 -05:00
James R
1140410e2c Spawn SPHERE BOXES randomly in Battle
They look like random item boxes (the ones in Race) but
have a blue sphere inside of them. One box is worth 10
blue spheres. More boxes spawn during Overtime.

New sprite: SBOX
2021-12-14 01:05:42 -08:00
Sally Coolatta
cd0a259bbe Code cleanup
- K_FindBotController returns the line_t directly, instead of a linedef index.
- Trick panel code is in its own function.
- Try to fix infinite bot heat death
2021-12-12 02:32:03 -05:00
Sally Coolatta
8d5cec5ebf Move where PF_HITFINISHLINE is removed
Also removes a few remaining instances of player->bot being checked to affect gameplay where it shouldn't from vanilla, but it's code that is rarely used / completely unused anyway.
2021-12-11 04:12:06 -05:00
Sally Coolatta
35a72e56dc Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2021-12-09 14:45:59 -05:00
James R
3ae09d750c Merge branch 'water-physics-mkii' 2021-12-07 16:40:00 -08:00
James R
84170a59fa Cap underwater steering tilting 2021-12-06 20:35:26 -08:00
James R
2a74ee07f1 Update underwater physics
- Reduce steering effect and remove increased friction.
- Strafe into turns and tilt the inside wheels up.
2021-12-05 20:12:48 -08:00
Sally Coolatta
83444ce5d5 Interpolate angle & nametags 2021-12-01 16:50:17 -05:00
toaster
2ca195961b Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into fix-followers 2021-11-30 13:43:10 +00:00
Sal
a326e180ca Merge branch 'replayfixes' into 'master'
Replay fixes mark whatever

See merge request KartKrew/Kart!463
2021-11-30 02:28:57 +00:00
Sally Coolatta
a52dc0f845 Copy interpolation data to afterimages 2021-11-29 20:47:28 -05:00
Sally Coolatta
3d2ad0b95e Fix water trails not interpolating properly 2021-11-29 17:59:15 -05:00
toaster
3141ca0221 Replay fixes mark whatever
Not a pancaea for EVERYTHING, just a bunch of good stuff.

* Some issues with spectators not == true because the assignment wasn't casted.
* Netgame status (or rather its inverse) is recorded in netreplays now, to allow for power levels controlling spawn position.
* Fixed tally screen for replays to not scream infinitely at you.
* P_IsLocalPlayer now uses display players in replays.
* A bunch of good testing prints that helped me find these problems, commented out for now just in case we need them again soonish.
2021-11-28 20:03:49 +00:00
James R
8109bc8e61 Merge branch 'fast-snake' into 'master'
Quick reptile

See merge request KartKrew/Kart!451
2021-11-22 07:30:33 +00:00
James R
239e91c439 Do not tilt while respawning; speed up camera (snappier) 2021-11-21 22:20:04 -08:00
toaster
6ad177cb42 Gainax eyesparkle (surprisingly, not a name for a pony...)
* Hold lookback to create a tiny twinkle in your eye.
* If an opponent is behind you, that sparkle is pretty big and plays a cool animation.
* If an opponent is behind you and you have an item, initiate the Chengi Gleam.
* These sparkles are only visible for every player except you. (Currently even with hyuu ghostliness)
2021-11-21 21:39:43 +00:00
SinnamonLat
647dfd98fb forgot to change something back 2021-09-02 13:40:57 +02:00
SinnamonLat
f96f7c6ba3 Fix follower colours 'Match' and 'Opposite' not working 2021-09-02 13:34:17 +02:00
SinnamonLat
caf1ed37ac fix janky follower movements due to lag type being changed from int32 to uint32 in the struct 2021-09-02 08:17:43 +02:00
Sally Coolatta
4eee8ab1d7 Fix tilting in splitscreen
R_GetPitchRollAngle used R_PointToAngle. This was fine because it was meant for rendering code. However tilting does its code mostly in player thinker, and it also uses this function, so it was not fine -- it would have some remainder tilt settings from the last player's screen.
2021-06-12 02:15:00 -04:00
SteelT
b3cee8b8fc Merge branch 'master' into trick-panels-changes 2021-06-10 23:45:35 -04:00
Latapostrophe
29e11a0378 changes to the delay, boost when doing upwards trick 2021-04-22 15:11:15 +02:00
Sally Coolatta
48c8843feb Merge branch 'master' into stair-janking 2021-04-21 21:44:23 -04:00
toaster
00972a83d2 remove the prefix since everything seems to function 2021-04-17 11:30:08 +01:00
toaster
b3d006b093 structs gunched 2021-04-17 00:27:13 +01:00
James R
786dec30ad Tweak stair janking physics a bit
- Fuck up turning for half the duration of the animation.
- Treat drift the same as turning (just ignore it).
2021-04-11 02:09:26 -07:00
James R
50c198cc0f Fuck up turning even more
- Lose control of turning for 2 tics instead of 1.
- Drift angle is also increased (less inward).
2021-04-10 04:22:44 -07:00
James R
2b173f1ec0 Rumble the jart when stepping on staircases
- Sprite tilts back and forth 5.625 degrees, two tics each
  side, for 17 tics (half a second).
- Turning is ignored--as if in the air--every other tic
  during those 17 tics.
2021-04-10 03:22:23 -07:00
Sal
22c3dae600 Merge branch 'invinc-changes' into 'master'
Invincibility changes

See merge request KartKrew/Kart!412
2021-04-07 02:46:32 -04:00
Sally Coolatta
05915e641c Merge branch 'master' into turn-mom 2021-04-07 01:25:34 -04:00
SteelT
3545836ea1 Merge branch 'master' into invinc-changes 2021-04-07 01:20:12 -04:00
James R
7e74a1d823 Cap camera tilt at 45 degrees; remove excess airborne easing 2021-04-06 21:53:14 -07:00
James R
5660cac3ad Stronger tilt on sliptiding + turn to face the camera
Oni's Sick Nasty
2021-04-06 20:45:47 -07:00
James R
9dcce02e5e Don't add tumble/sliptide rollangle to camera tilt 2021-04-06 20:43:31 -07:00
SteelT
fc8bd429f3 Merge branch 'master' into invinc-changes
Also made changes to sparkles, invincibility speedlines now replaces the sparkles if boosting.
2021-04-06 22:40:02 -04:00
James R
0818be1b8a Tilt camera less quickly with more air time 2021-04-06 19:16:48 -07:00
James R
46ba47785d Ease camera tilting quickly toward a steep angle, slowly toward a shallow angle 2021-04-06 17:52:03 -07:00