Every X seconds question...

Discussion and feedback on Construct 2

Post » Thu May 10, 2012 5:33 pm

I've been making some tests with my fluid simulation(60FPS) and when I replaced every tick, with every X seconds(0.2) My FPS dropped to around 5-10.

I always thought that the every X seconds is speeding up my game as a similar function in Game Maker did.

Does C2 do extra processing and still check every tick and wait until that 0.2 seconds has passed?

Long time ago when I was using Game Maker it was really slow and the best trick was to skip some ticks when checking conditions.
B
41
S
5
G
5
Posts: 407
Reputation: 5,686

Post » Thu May 10, 2012 6:00 pm

It really depends on how you are using it... it certainly shouldn't slow down your game!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,465

Post » Thu May 10, 2012 6:41 pm

This should definitely have made it faster since you're doing less work, so this is a very weird result, maybe share your .capx?
Scirra Founder
B
366
S
217
G
82
Posts: 23,243
Reputation: 183,484


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests