The title might be a little confusing but I was curious if it’s bad practice to make per second systems with delta. Basically, let’s say I want every second to reduce stamina by 10, would doing stamina -= delta * 10 cause problems?
It’s not gonna affect your performance too much if you’re worried about that.
But the better option might be to use a Timer instead and add stamina on the timeout signal.
But if I were to use it per frame (which would make sense for stamina in a case where the player is running), would using delta instead be better? So delta per frame but timer if it’s specifically gonna be per second?
If you need to use it per frame, then use it per frame. Nothing wrong with that. Adding numbers is peanuts for the CPU.
If you’re worried about performance - measure first before you try to optimize anything.