Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

A useful bit of code, thanks.

(I'm only seeing an increase by one, using both turns and ticks.)

If we're playing the 'how many ways to skin a cat' game, you can also use ticks to increment a turns counter. I'm guessing this is what 8bitAG was talking about above.

I was referring to the built in ticks integer that Garry had written about. As Chris mentions, that's not quite as reliable a way of counting turns at the moment.