additional x and y velocity for platform behavior

New releases and general discussions.

Post » Mon Jul 27, 2009 3:46 pm

set time scale takes care of all that for you. You were talking about making things run normal when you slow down the time scale.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Mon Jul 27, 2009 9:46 pm

Hummm a per-sprite timescale would also be really nice

set timescale(0.5)
sprite set timescale (0.5)

total timescale for sprite would be 0.25

seems simple to code... hmmm request :D
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Wed Jul 29, 2009 9:27 am

No, Aeal5566,

Timescale effects the entire game and every thing in it does it not? I want to effect time on a per-sprite basis. I wish and had originally requested for a PER sprite timescale. I want some sprites to run in slow motion, and some at normal speed and maybe some at zero speed, including animation speed, inertia, jumping, falling etc...per sprite.

Madster understands what I want. This is what I requested when I suggested timescale in the first place.:

[url:zru191m0]http://www.scirra.com/phpBB3/viewtopic.php?f=2&t=1136&p=7803&hilit=slow+motion#p7733[/url:zru191m0]
B
2
S
2
G
4
Posts: 124
Reputation: 1,698

Post » Wed Jul 29, 2009 5:12 pm

It's perfectly plausible to custom code independent timescales for objects - even jumping - you just have to adjust the gravity accordingly as well. Gravity is a uniform acceleration applied to all objects, and acceleration is dependent on the timescale. If you're read the article on timedelta, you'll know that adjusting a speed by an acceleration involves speed + acceleration * timedelta.

The main reason timescale is global is that it was easy to code :P Per-object timescales is possible, but would have to wait until Construct 2.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Mon Aug 03, 2009 11:01 am

Thanks Ashley. Construct 1 is shaping up to be an awesome authoring system and at this rate version 2 will be earth-shaking! I hope per-sprite time scaling makes it in 2.

In the mean-time, any chance of the original request of this thread? Additional x velocity and additional Y velocity for making things like conveyor belts and wind super easy?

thanks
B
2
S
2
G
4
Posts: 124
Reputation: 1,698

Post » Thu Aug 06, 2009 9:27 pm

I find myself in need of the additional X/Y velocity lately too.

Would be really really great if this feature could be added soon. :)
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest