Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Then if you want to spawn bugs with that aswell you just put another variable called (float spawnDelay) or something and do:

{

spawnCounter += Time.deltatime;

if (spawnDelay < spawnCounter)

{

        enemies.Spawn();

        spawnCounter = 0f;

}

timerText.setText(timer);

(+1)

Thanks Vel, though I normally use a timer function for timers, this one was on the theme Intentional bugs though so decided to do it like this to allow for a bug (though could have done that with a timer function). Like I say not a very amusing or inspired bug but by this stage it was 4am here in holland and decided to just leave it in (along with the timer continuing to count after the end screen comes up). Along with the bed bugs, they were two intentional bugs haha