Time Scale Framework
Summary
Ever wanted to speed up time or slow it down? This just might be the resource you’re looking for!
I have created this resource for a project of mine which I’m working on & would like to share the core mechanic of it with the community. I’ve been working on this on and off for the past few years and feel that it’s now stable enough to be shared with the community.
Tutorial can be found here.
For those who would like to contribute to this project, you can do so through the GitHub page here. Contributions are welcomed and much appreciated!
Features
- Animation support.
- Constraints support.
- Documentation for you to more easily integrate this framework into your project.
- Dynamic wait which takes into account time scale changes.
- Humanoid WalkSpeed support.
- Multiplayer support.
- Tutorial.
- Whitelisting instances for being affected via CollectionService.
Bugs
You can find known issues & report new ones on the GitHub here.
Limitations
This framework does not have an integrated solution for Tweens meaning that you will currently have to account for time scale changes manually. A solution for this is currently under development. This is expected to take a while though!
The core of the framework is stable however there is some limitations to the framework which are listed below:
- Humanoid jump is not affected by time scale.
- Models must have a PrimaryPart set in order to be properly affected by time scale changes.
Future Updates
In the future, I’d love to expand on this framework and make it work even better with more games to expand the number of possibilities! Below is some ideas I have on how I can achieve this. Please let me know if you have any other suggestions!
- Correct time scale so that 10 is 10x faster than normal rather than 10x slower than normal.
- Humanoid jumping support.
-
Tween support.
Links
Below is links to where you can find my work on this framework:
Developer Documentation
All events and functions are generated at runtime. Anything that is not mentioned in the documentation is not intended for use by developers.
Attributes
Learn more about Attributes.
ReplicatedStorage/TimeScaleUtilities/TimeScale - Set this to change the current time scale.
CollectionService Tags
Learn more about CollectionService.
TimeScaleWhitelist - Whitelist instances that can be affected by time scale.
Modules
Learn more about Modules.
ReplicatedStorage/TimeScaleUtilities
Function: Wait(Number WaitTime) - Adaptive wait function that takes into account time scale changing.
Updates
Below is a list of all updates made to the Time Scale Framework.
Release Date | Version | Forum Post | GitHub Release |
---|---|---|---|
12/10/2021 | Version 3 Update 3 | Post Link | GitHub Link |
06/10/2021 | Version 3 Update 2 | Post Link | N/A |
05/10/2021 | Version 3 Update 1 | Post Link | N/A |
30/09/2021 | Version 2 Update 1 | Post Link | N/A |
22/03/2021 | Version 1 Update 12 | Post Link | N/A |
21/03/2021 | Version 1 Update 11 | Post Link | N/A |
23/02/2021 | Version 1 Update 10 | Post Link | N/A |
15/02/2021 | Version 1 Update 9 | Post Link | N/A |
11/02/2021 | Version 1 Update 8 | Post Link | N/A |
07/02/2021 | Version 1 Update 7 | Post Link | N/A |
04/02/2021 | Version 1 Update 6 | Post Link | N/A |
03/01/2021 | Version 1 Update 5 | Post Link | N/A |
20/12/2020 | Version 1 Update 4 | Post Link | N/A |
13/12/2020 | Version 1 Update 3 | Post Link | N/A |
12/12/2020 | Version 1 Update 2 | Post Link | N/A |
05/12/2020 | Version 1 Update 1 | Post Link | N/A |
Finishing Up
Please reply with any bugs or suggestions you have. I’d love to also see what people can make using this!
Thank you so much for your time & a massive thank you to the contributors of this project! I hope this can be of use to you or just be an interesting resource to look into.