Skip to content

Removed GameScene/ReplayManager/Runner cursor responsibilities#4

Open
thommell wants to merge 10 commits intokiwirew:indevfrom
thommell:indev
Open

Removed GameScene/ReplayManager/Runner cursor responsibilities#4
thommell wants to merge 10 commits intokiwirew:indevfrom
thommell:indev

Conversation

@thommell
Copy link
Copy Markdown

@thommell thommell commented Apr 27, 2026

Added a CursorManager that handles the cursor.

  • Handles spinning/locking states
  • Handles live/replay gameplay
  • Handles cursor trail

Cursor trail:

  • reworked logic and behaviour to support losing transparency and TrailTime/TrailDetail
  • fixed a memory leak within the cursor trail's logic

(some formatting changes due to Rider's automatic formatting stuff, sorry)

code readability changes and added some small optimizations
I had to change a material transparency within the cursor trail, maybe check if it looks better?

Rewrote cursor trail stuff from Runner.cs
- Fixed a memory leak in the trail itself causing massive gradual lowering of frames when trail was on
@thommell thommell changed the title Removed GameScene/ReplayManager cursor related responsibilities Removed GameScene/ReplayManager cursor related responsibilities and Runner's CursorTrail Apr 28, 2026
@thommell
Copy link
Copy Markdown
Author

Found some issues with the trail's detail and alpha values not being accounted for, drafting PR

@thommell thommell marked this pull request as draft April 30, 2026 08:32
@thommell thommell changed the title Removed GameScene/ReplayManager cursor related responsibilities and Runner's CursorTrail Removed GameScene/ReplayManager/Runner cursor responsibilities Apr 30, 2026
@thommell thommell marked this pull request as ready for review April 30, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant