#Getting an odd number when when changing a variable

1 messages · Page 1 of 1 (latest)

sudden ember
#

I assume it's because of me multiplying by delta. But if I don't do that, I take damage extremely quickly. I'm not entirely certain how Delta works.

dawn agate
#

Delta is the time since last frame

sudden ember
#

I know that, so I assume that's the issue. But how do I take Delta out without making myself explode instantly?

dawn agate
#

What you can do is cause damage based on a timer

sudden ember
#

Ah

#

Thank you.

#

Idk why I didn't think of that lol

dawn agate
#

Also, declaring a constant inside a function does not make much sense

#

Declare it on your class