[Request] Make object time scales relative

Discussion and feedback on Construct 2

Post » Thu Nov 12, 2015 4:52 am

@Ashley Can you please make object time scales relative to the game's time scale, or add an action/property to make them relative instead of absolute? Object timescales are kind of useless as-is, unless setting them to 1 or 0. Doing things like making big objects slower / small objects faster, increasing enemy timescales if they are "frenzied", etc. is impossible unless they're relative, since I adjust the game's timescale for slo-mo and other things as well.

I can probably make object timescales relative by putting them in a family and setting them every tick, but that doesn't sound like a good idea...
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Thu Nov 12, 2015 11:50 am

The reason it's like that is if you have a game time scale of 0, you can still set some objects to be moving at a normal rate. If it was relative to the game time scale, setting a time scale of 0 (commonly used for pausing) makes all object time scales useless. Also making this kind of change causes serious backwards compatibility problems. If we did it, cue the forums flooding with "my game is broken in the latest release, Construct sucks!".

Changing an object timescale is just like updating a variable, there shouldn't be any problem with setting it to timescale * objecttimescale every tick if that's what you are after.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests