[BEHAVIOR] Timescale ratio

Post your completed addons to share with the community

Post » Sun Jul 30, 2017 10:57 am

Hey all, I just completed my very first behavior.
It's a pretty simple one but also kinda useful in some cases.

DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E

What it does is that it sets an object's timescale to follow the global timescale with a ratio and with a default timescale. Kinda like parallax.
Let's see a few cases to illustrate what I mean (DTS = Default timescale, GTS = Global Timescale) :

  1. DTS = 1 and ratio = 0 . The object will always be at a timescale of 1
  2. DTS = 1 and ratio = 0.5 . The object will follow the variation of the global timescale by half ( GTS = 1, Timescale = 1. GTS = 2, Timescale = 1.5. GTS = 0, Timescale = 0.5)
  3. DTS = 1 and ratio = 1 . The object will be as usual: Following the global timescale
  4. DTS = 0.5 and ratio = 0.5 . ( GTS = 1, Timescale = 0.5. GTS = 2, Timescale = 1. GTS = 0, Timescale = 0)
Etc, I could do a lot more of these, but I think you get the point.

How can it be useful? Well the most important one I can think of is Pause menus:
Image

The default values of the behavior are set for that use. So it's a plug n play in that case. But I'm pretty sure anyone playing a lot with timescale can find more uses to this.

Properties:
  • Default timescale
  • Ratio
  • Status (Enabled or Disabled)

ACES:
Actions:
  • Set default Timescale
  • Set Ratio
  • Set Enabled

Conditions:
  • Is enabled
  • Compare default timescale
  • Compare Ratio

Expressions:
  • Timescale
  • Ratio
  • Status ("Enabled" or "Disabled")

DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E
Last edited by skymen on Wed Oct 04, 2017 7:06 pm, edited 1 time in total.
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 229
Reputation: 3,390

Post » Thu Aug 10, 2017 12:50 am

UPDATE:
Some bugfix
Added a param where you're allowed to set the default global timescale
Added actions, expressions and conditions accordingly

Same download link: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 229
Reputation: 3,390

Post » Wed Oct 04, 2017 7:04 pm

This is cool, port to C3 pls? Put on store for 1$, get rich.
Black Bobby The Hole Greenlit with 303 votes.
B
36
S
8
G
1
Posts: 166
Reputation: 3,035

Post » Thu Oct 05, 2017 9:29 am

Nicely done, thank you and good luck
B
255
S
39
G
15
Posts: 1,982
Reputation: 41,005


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests