FPS drop affecting speed / collisions

Discussion and feedback on Construct 2

Post » Wed Jan 22, 2014 2:03 pm

@deviever your game is cool i also like the retro
B
7
S
2
Posts: 44
Reputation: 668

Post » Wed Jan 22, 2014 5:15 pm

@deviever, thank you for posting your timescale solution. It makes sense that that would work. I'm now thinking of throwing that into my current game as well.
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Wed Jan 22, 2014 11:27 pm

Hey, this is weird...I've just been trying to figure out a solution to this problem myself!

What you are looking for is Framerate Independance. @deviever : check out my thread and the attached capx; I ended up with a similar approach, expect that I set the timescale dynamically in relation to the fps. It works pretty good, though not as good as I'd like.

http://www.scirra.com/forum/framerate-dependant-mode_topic84422.html

P.S.: Game looks good, love the art! TiAm2014-01-22 23:27:51
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Thu Feb 06, 2014 2:04 pm

Just wanted to revisit this topic and say I'm still having hella-trouble with FPS spikes / lag affecting things in a game breaking kinda way, even after implementing my hack. ;-;
B
5
S
1
Posts: 24
Reputation: 423

Post » Thu Feb 06, 2014 2:44 pm

Have you tried setting the hitbox to be longer than your knifes? I played your demo, it was fun and retro-cool, if you have issues with knife flying through walls etc due to their tiny hit box, just make it longer, but not fatter if you get what i mean. I won't interfere with knife hitting walls mechanic with a longer hitbox, but it will make collisions much more stable at lower FPS.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: lukewasthefish and 6 guests