Is Timer frame rate dependent in multiplayer?

Discussion and feedback on Construct 2

Post » Mon Sep 14, 2015 2:44 pm

Hey,

I have noticed that a Timer that is set for 4 seconds triggers correctly on a computer running the game at 60 FPS, but it only triggers after like 6 (six) seconds when run at 20 FPS.

How is this?

Edit: I didn't mention it, but I was talking about a multiplayer game. I tested it in a not multiplayer game, and it works just fine. Is there a problem with the Timer in multiplayer? Only the host starts the timers, reacts when the timers trigger, and updates the peers.
B
10
S
3
Posts: 28
Reputation: 756

Post » Mon Sep 14, 2015 4:21 pm

Further tests:

- Timer set to 10 seconds --> triggers in 15 seconds
- set to 20 --> triggers in 30
- Tried not starting the Timer from a function --> nothing
- Tried writing my own timer, subtracting dt every tick --> same result

Only happens when I host the room on the computer running the game at 20 FPS. Reason for that is, it's an older computer with integrated graphics, and no WebGL support. When my more powerful computer hosts the room (60 FPS), everything works fine.
B
10
S
3
Posts: 28
Reputation: 756


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests