inputs prediction bug

Report Construct 2 bugs here.

Post » Tue May 20, 2014 9:59 pm

Problem Description
I got wrong inputs prediction and bug
https://www.youtube.com/watch?v=oJKQ2mX ... e=youtu.be
Description of Capx
the capx look to not working on firefox so better try it on chrome
test multi3.capx

Steps to Reproduce Bug
Connect as peer
jump on the rigth of the wall and position rigth under
jump and loo
jump while moving and look the player annimation bug

Observed Result
Bug annimation and collision

Expected Result
i expected more smooth and no bug

Affected Browsers
Chrome: YES
FireFox: YES

Operating System and Service Pack
windows7
Construct 2 Version ID
169

and this problem look recurent
here another post were someone posted a multi player platform test
viewtopic.php?f=147&t=100256&p=779403&hilit=multiplayer#p779403
I tryed the game and here what i get : https://www.youtube.com/watch?v=TnCn2jz ... e=youtu.be
I think its a Construct bug cuz as u can see in the first video i sended when i disable input prediction all work fine (but the latency is huge)

Im making a clean capx if u really need it but its look that they is a problem bewteen platform colision and input prediction

Here the cleanest capx i can make
multi 4.capx
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 11
Reputation: 431

Post » Wed Jun 25, 2014 7:57 pm

Sorry for uping this subject by i think there is a misunderstanding, this bug is now close to the only one thing which's keeping me out to publish my game atm because i dont want latency problem or bug with colision like described. Pleas take a look or explain me in wich way that not a bug if you think it isnt but i would be very happy to be fixed. I apologise for any inconvenience.
B
7
S
1
Posts: 11
Reputation: 431

Post » Wed Jun 25, 2014 8:02 pm

I can't help with your problem, but may I suggest you test using the latest stable release at the very least, as any bugs in r169 may have subsequently been already fixed.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

Post » Wed Jul 16, 2014 4:23 pm

Confirmed, testing with your capx on the latest construct 2 beta build.

It seems like the actual client is always 1 pixel further than the host sees your location.
About the animation, please note that you have not synced the animation in your example.

I would also not recommend do to that as it's a big waste of sent data, but it would probably fix the animation issue.

Looking forward to some tweaks and enhancements of the multiplayer system.
B
40
S
8
G
3
Posts: 159
Reputation: 3,019

Post » Wed Jul 16, 2014 5:06 pm

You could try syncing instructions in stead of objects. I use extrapolation (predict location based on active state) instead of interpolation (plot movement based on known points) to coordinate movement.

My way is much more complicated but for platform games it provides the results your looking for. What I do is call functions simultaneously on each device to sync the action instead of the object. Here is an example capx to demonstrate the theory. Open on multiple browsers, click connect. use arrow keys to move objects. Try it with 2,3,4 players and see
multiplayerPlatformFn.capx

Edit: I have reduced all the code from this example to simple plugin but haven't released the plugin yet (I'm debating on whether its worth the head ache of supporting it). In the mean time this example with out the plugin works if you want to give it try.
You do not have the required permissions to view the files attached to this post.
B
20
S
7
G
1
Posts: 221
Reputation: 2,077

Post » Wed Sep 17, 2014 10:08 pm

Even your solution show a little graphic inconvenience when we stick on the wall, i wonder if this bug i solvable now :s. I created this topic long time ago and still no update or reaction from the dev team, i guess they have more fun to work on other and new plugin but this really anoy me for my game who is based on wall jumping :)
B
7
S
1
Posts: 11
Reputation: 431


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests