Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Custom Time System for a neat fps i made

A topic by ulone created Jun 28, 2022 Views: 262 Replies: 5
Viewing posts 1 to 4

just created a custom time system for my fps game in unity, which surprisingly was pretty easy to do. this game is still in its early phase haven't its just a bunch of some rough idea i compile into.

been trying to add a fun gameplay loop with this mechanic, if anyone got some ideas to share, i'd love to hear it!

yo ive been trying to make this work how you do it???????

(1 edit)

(i use unity)

I change the Time.TimeScale to something below 1, then set a bool to true whenever time is slowed,  

then on the player controller i created a float that changes between Time.deltaTime and Time.unscaledDeltaTime, so whenever the bool is set to true the float will change to Time.unscaledDeltaTime,

and if you're using rb.addforce, inside the function i just divide it with Time.TimeScale

that's all i did,  i hope this helps you!

(+1)

thanks man it did work 

Looks not bad! I liked to play Escape from MOnster Mannor for 3do! 

Buddy, this is some nice creepy design.  Reminds me "the shining", probably because of these corridors. 

Give it some sound, maybe you'll find these helpful: https://szajnaworkshop.itch.io/obsidian