Commit graph

1939 commits

Author SHA1 Message Date
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
8e20ca4c04 TRIPWIRE
Set a sidedef's midtexture to "TRIPWIRE" to turn that line
into a tripwire.

Players can't drive through a tripwire and will bounce
back at high speed if they're in one of the following
states:

1. Invincibility / Grow
2. Sneakers
3. Flame Shield dash
4. >200% on the speedometer

Hitting a tripwire plays a sound, sends you into hitlag,
then plays another sound when the hitlag is over. The
sounds used depend on whether you can drive through the
tripwire.
2021-11-28 03:03:43 -08:00
James R
17b3cd205e Merge branch 'snapify-hitlag' into 'master'
Snap da sentinel like hitlag

See merge request KartKrew/Kart!458
2021-11-28 00:29:29 +00:00
Sal
b239974675 Merge branch 'spring-grease-tweaks' into 'master'
Spring grease tweaks

See merge request KartKrew/Kart!457
2021-11-28 00:22:10 +00:00
James R
9d485e17e7 Merge branch 'karma-gate' into 'master'
Elimination timer for karma bombs during overtime

See merge request KartKrew/Kart!459
2021-11-28 00:20:52 +00:00
Sally Coolatta
cb5ea8b335 Add basic damage hitlag effects
- Invert high contrast greyscale colorization effect for damage hitlag
- Jitter is now also exclusive to damage-related hitlag
- Since jitter is now just tied to a flag, removed the old trick momentum hack
2021-11-27 13:38:45 -05:00
Sally Coolatta
eb9e3d3e1b Snap da sentinel like hitlag
- Added a hitlag cap of 18 frames (can be decreased to 12 if it's too much)
- Hitlag amount can't be reduced, only increased
- Hitlag added is the same between both objects, instead of being different between the two
- Objects in hitlag can be interacted with again with TryMove (I was too nervous of it but it's fine in Snap lol)
- Rebalanced the damage hitlag lengths to make it feel relatively the same with all of the above considered
2021-11-27 03:24:29 -05:00
James R
fd6c65a339 Don't count down overtime karma timer while waiting to become bomb 2021-11-27 00:14:48 -08:00
James R
5f9ec5caa6 Fix karma overtime not counting down after 10 seconds :) 2021-11-27 00:06:01 -08:00
James R
059058476e Elimination timer for karma bombs during overtime
Every hit on another player while you are alive awards you
five seconds of karma bomb time during overtime. When this
timer is empty, you will DIE.
2021-11-26 21:55:32 -08:00
SteelT
db4bb74c42 All springs give spring grease 2021-11-26 23:42:25 -05:00
James R
5f625437a8 Move level music check out of player thinker
Hitlag during this tic will skip playing the music.
2021-11-26 18:20:16 -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
James R
d22705727b Fix unsigned comparison with zero 2021-11-08 16:59:57 -08:00
toaster
a43b64cb76 Tumble nerfing, on Oni's request.
- Maximum tumble height that leads into last bounce is now 60 mfu (mobjscaled fracunits), from 40 mfu.
- All tumbles that are over 100 mfu high have extra attenuation applied to them.
- Tumble into lightsnake now puts you in 1.5 seconds of wipeout, rather than the last tumble.
2021-10-17 22:14:42 +01:00
lachablock
6471ab07bf Add P_GetMobjZMovement and apply it to various vfx 2021-07-19 20:45:54 +10:00
lachablock
05749b9773 Add special behavior for SPB item capsules 2021-06-21 22:39:21 +10:00
lachablock
04ed130d24 Make capsule bubbles semibright, & fix ring capsule caps not being semibright 2021-06-15 15:16:59 +10:00
lachablock
debfb41423 Merge remote-tracking branch 'origin/master' into capsules 2021-06-14 12:20:53 +10:00
lachablock
b78db12b0d Add item capsules 2021-06-14 12:20:39 +10:00
Sally Coolatta
c4cb4f32c3 Merge branch 'master' into item-scale-tweak 2021-06-12 03:11:52 -04:00
lachablock
f031177ca4 Add some generalized functions for getting floating item frames 2021-06-12 14:12:45 +10:00
SteelT
b3cee8b8fc Merge branch 'master' into trick-panels-changes 2021-06-10 23:45:35 -04:00
toaster
53806d41e0 Orbfterimages.
Fixes mistakes made in !408 and !418, resolving #173.
2021-04-27 20:29:30 +01:00
Latapostrophe
d253b66524 Fix effects in splitscreen 2021-04-24 14:46:39 +02:00
Sally Coolatta
9504b6011e Make it linear instead of exponential 2021-04-24 00:16:57 -04:00
Sally Coolatta
2ea9164cb1 Fix natural SPB, prevent getting bananas at the end of the race 2021-04-24 00:14:14 -04:00
Sally Coolatta
54bdea086a SPB has rainbow item animation when forced onto you 2021-04-23 20:03:01 -04:00
Latapostrophe
e980be69ef wip splitscreen garbage. DOES NOT WORK. 2021-04-24 01:56:34 +02:00
Latapostrophe
e632e1d70e Final (?) visuals for trick panel timing 2021-04-24 01:26:39 +02:00
Sally Coolatta
c99b1466ea Fix comments 2021-04-23 17:41:02 -04:00
Sally Coolatta
d57632e71e Change the scaling for different player counts
Made more extreme for less than 8, made less extreme for more than 8.

2P: x1.25ish -> x2.5ish
16P: x0.68 -> x0.75
2021-04-23 15:21:45 -04:00
Sal
be91f05393 Merge branch 'object-bumping' into 'master'
New solid object bouncing, and updated player bouncing

See merge request KartKrew/Kart!426
2021-04-23 12:58:30 -04:00
Latapostrophe
a27b825d3c horiz. lines keep momentum, slightly better visuals 2021-04-23 12:56:46 +02:00
Sally Coolatta
5ac5ca89d0 New solid object bouncing, and updated player bouncing
- Solid objects have new bouncing physics, it's a mix of the object bumping and wall bumping. It replaces the "solid" option on K_KartBouncing.
- Goomba stomp momentum is decided in K_KartBouncing itself instead of needing to be manually passed in as a boolean, so you'll be able to goomba stomp all objects instead of just players.
- Fixed bumping not carrying all of its intended momentum, due to a bug making friction apply very strongly.
2021-04-22 20:29:59 -04:00
Latapostrophe
f935b3b6f4 wip: starting on visuals 2021-04-23 02:10:20 +02:00
Latapostrophe
d10f4ea128 More suitable data types + lua push 2021-04-23 00:14:36 +02:00
Latapostrophe
8b50b0ddd7 boost is now 125%, allow turning after upwards trick 2021-04-22 21:26:00 +02:00
Latapostrophe
a25b79885d 1/4s delay w/o input checks instead of 1/2 w/ input checks 2021-04-22 19:33:01 +02: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
lachablock
80977e1d1f Change red-to-blue spark transition color to SKINCOLOR_NOVA 2021-04-21 16:58:16 +10:00
lachablock
5e001a43ef Bump to 33% 2021-04-21 14:55:09 +10:00
lachablock
aeaf6c94f5 Give purple & rainbow driftboosts a 30% speed boost 2021-04-21 14:40:13 +10:00
Sally Coolatta
80ff9f2203 Some fixes
- Use SKINCOLOR_PURPLE instead of SKINCOLOR_THISTLE for the drift boost explosion.
- Use steering instead of cmd.turning in a few places. I dunno if I forgot to change these, or if it was accidentally reverted, or what. (Anything with a specific reason to use cmd.turning over steering will have a comment near it saying why.)
2021-04-20 13:21:26 -04:00
Sally Coolatta
5827c0c0b2 Original timings 2021-04-20 13:04:39 -04:00
toaster
905eb41778 Fix some compile-time errors. 2021-04-20 10:13:50 +01:00
lachablock
19b453f7fb Reduce purple spark time even more 2021-04-20 17:40:23 +10:00
lachablock
bd79169f48 Reduce time it takes to get purple sparks 2021-04-20 17:33:20 +10:00
lachablock
1b02e90fec Fix typo from merge 2021-04-20 16:47:34 +10:00