Add DPS view and more
Devlog
v1.0 → v1.1: Critical Hits
Features
-
Crit Chance: +1 % per level (max 100 %)
-
Crit Damage: +50 % per level (no cap)
Mechanics
-
Click-handler performs a random roll against Crit Chance
-
On success: damage is multiplied, stored in
lastCritDamage
v1.1 → v1.2: Metrics Overlay
Layout
-
New Metrics row above the boss button
-
Displays three panels side-by-side:
-
DPS (Damage Per Second)
-
GPS (Gold Per Second)
-
LCD (Last Crit Damage)
-
v1.2 → v1.3: Live DPS & GPS
CPS Tracking
-
clickTimes[]
collects each click’s timestamp -
Rolling window (
CPS_WINDOW_MS = 5000 ms
) computes real CPS
Calculations
effClickDmg = clickDamage * damageMultiplier effAutoDmg = autoDamage * damageMultiplier DPS = effAutoDmg + (effClickDmg × CPS) GPS = GoldPerClick × CPS
Auto-damage no longer generates gold.
v1.3 → v1.4: Cleanup & Tweaks
-
Optional Crit Log
-
You can now comment out the
logMessage("CRIT! …")
call without breaking anything
-
-
GPS Fix
-
Removed auto-gold term so GPS immediately drops to 0 when clicks stop
-
-
Persistence
-
Included
clickTimes[]
in the save file to avoid stale CPS after reload
-
Files
Infinite Boss Killer
Infinite boss killer clicker game
Status | Prototype |
Author | Arijkx |
Genre | Simulation |
Tags | arijkx, Boss battle, Clicker, DOS, Endless, Funny, Retro |
More posts
- Add new features1 day ago
- Add Bonus Damage %3 days ago
Leave a comment
Log in with itch.io to leave a comment.