Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)
Now I get an error after the muscles and other things have become Nan or too much. You cannot use items or spend money. Or hit during a fight.

(+1)

Hm, I thought I made it so stats wouldn't get so big they break. Oh well, guess I'll have to look into that again

(-1)

Maybe you could put a hard limit to the size? Like, if the player's size x is 9+e99 the text still tells them they gained some size but the game doesn't register the increase

(+1)(-1)

Yeah, that's what I did, at least I thought. Somehow that still went wrong.
Actually, now that I think of it I'm pretty sure I know why. I limited the size stat after applying special effects from spells/potions/etc, so then maybe the problem is caused by your base size before special effects being too big