How do I Reduce Lag in Multiplayer and Connection problem

Get help using Construct 2

Post » Mon Jun 23, 2014 11:26 am

i already implemented Ashley example in my game and it's working, the only problem is the lag. also, i tested on the School wi-fi and the game works online now, it's weird, i cant get it working at home and i tried at like 4 different homes..
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Post » Mon Jun 23, 2014 4:40 pm

Unfortunately i don't think so. I had the same problem and ended up coming up with this solution. Pros and cons because Ashley's method is so much easier but you end up sacrificing functionality and speed for it. I tested by sending messages back and forth at first with x,y pos and noticed they were lightning quick so the lag has to be due to something else which i can only assume is CPU related to back end code linking the objects (the part that makes it easy).
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Mon Jun 23, 2014 5:54 pm

so, I only need to the the part of the movement? So i understand i dont need to sync objects. So just send the positions and angles maybe?
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Post » Mon Jun 23, 2014 6:00 pm

the thing that makes more confusion about your example is the lot of using functions..
i almost never use functions xD
B
16
S
3
G
1
Posts: 85
Reputation: 2,260

Previous

Return to How do I....?

Who is online

Users browsing this forum: chrisinfinger, YoHoho and 15 guests