Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Glad you liked it! You're the first to notice that bug haha, it's really difficult to get that far so well done! (I still haven't haha) I decided to just use multiple instantiates in CoRoutines (I thought I'd put 120..oops!) instead of an InvokeRepeating, it's not a particularly amusing bug, but there you go!

I know what you mean about the mental health, I realised this after I'd submitted.. but if I update it in the future will definitely make that a slider instead of a number.. just makes more sense you're right.

Thanks for playing! :)

I'll give you a great tip right now:

If you're counting time in the game, don't do coroutines or invokes or anything, just put this in your Update function:

float timer; (not in update)

{

timer += Time.deltatime;

timerText.setText(timer);

}

By using Time.deltatime, every frame it adds the amount of time that frame took.

That's how you make a simple timer/counter!

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