Commit graph

9 commits

Author SHA1 Message Date
NepDisk
5beb1619d5 Update some loops stuff to be more up to date 2025-09-22 15:16:27 -04:00
NepDisk
0dc7f87b7e Rework loops to be better then they previously were here 2025-08-12 20:32:15 -04:00
JugadorXEI
7a7e565b8d Fix loops so that they work in all directions 2025-08-12 16:58:02 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
d5af3f58ff Kill on loops again 2025-01-27 11:35:20 -05:00
NepDisk
037a26b3e2 Implement tiregrease for loops and apply outruntime 2024-10-17 17:08:45 -04:00
James R
da96a75b64 Loops: correct origin point over duration of loop
- Players moving into a gate with a lot of momentum would
  offset the origin point from its intended position
- Find intersection of player movement and gate
- Correct origin point between loop entry and exit by
  interpolating the difference between player position on
  entry and intersection point
2024-10-16 22:30:45 -04:00
James R
dd7e3e4c26 Loop camera
It zooms out, pans to the side and toward the player.

Loop Center thing:

- arg2: zoom-out speed in tics (zooms out when entering the loop)
- arg3: zoom-in speed in tics (zooms in when exiting the loop)
- arg4: zoom-out distance in fracunits (multiply by 65536)
- arg5: angle to pan to the side of the loop in degrees fracunits (multiply by 65536)
  - This will be flipped depending on where the camera was
    facing before entering the loop.
- arg6: panning speed in degrees fracunits (multiply by 65536)
- arg7: panning acceleration in tics (camera gradually pans to side of loop)
- arg8: panning deceleration in tics (camera gradually pans back to normal)
2024-09-12 13:04:37 -04:00
Oni
4c994de722 Merge branch 'loops' into 'master'
Sonic Loops

See merge request KartKrew/Kart!991
2024-09-12 12:10:40 -04:00