SeKoNd-FPSCounter icon

FPSCounter

A lightweight, clean FPS counter mod for YAPYAP

By SeKoNd
Last updated 2 days ago
Total downloads 190
Total rating 1 
Categories Mods Misc
Dependency string SeKoNd-FPSCounter-1.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

YAPYAP FPS Counter

A lightweight, clean FPS counter mod for YAPYAP, built with BepInEx.
Designed to be readable, configurable, and performance-friendly.


Features

  • Real-time FPS display
  • Clean UI
  • White text
  • Subtle black outline for readability
  • Small, unobtrusive size
  • Top-right placement
    • Positioned above existing HUD elements
  • Hotkey toggle
    • Press F2 to show/hide the FPS counter
  • Configurable
    • Enable or disable the counter via config file
  • Low FPS warning
    • FPS text turns red when FPS drops between 1–10
  • Performance friendly
    • No heavy reflection loops
    • No per-frame object searches
    • Minimal GC pressure

Installation

  1. Install BepInEx 5.x for YAPYAP
  2. Copy the compiled .dll into: YAPYAP/BepInEx/plugins/
  3. Launch the game once to generate the config file

Configuration

Config file location: YAPYAP/BepInEx/config/sekond.yapyap.fpscounter.cfg

Available options:

  • Enable / disable FPS counter
  • Default visibility state
  • (Future) Position offsets

Controls

Key Action
F2 Toggle FPS counter

Technical Notes

  • Uses Unity UI (UGUI) for compatibility
  • Automatically finds a valid Canvas at runtime
  • Anchored to the top-right for consistent placement
  • FPS calculated using smoothed delta time
  • Color updates dynamically based on FPS value

Known Behavior

  • FPS counter hides automatically when no valid game canvas is available
  • UI positioning may slightly vary depending on resolution and aspect ratio

Planned Improvements

  • Custom position offsets via config
  • Optional background panel
  • Color gradient (green → yellow → red)
  • Font size scaling options

License

Community mod — free to use and modify.
Credit appreciated but not required.


Credits

  • Built with BepInEx
  • Thanks to the YAPYAP modding community for guidance and testing