Multiplayer problem(solved)

Get help using Construct 2

Post » Mon Oct 20, 2014 8:25 am

hello there :) all is working fine but....
this is working
1.JPG

and this is not
2.JPG

i need to apply impuls ONLY when object is dragging. why its not working?.. please help.
You do not have the required permissions to view the files attached to this post.
Last edited by Shuher on Mon Oct 20, 2014 12:00 pm, edited 1 time in total.
B
6
S
1
Posts: 53
Reputation: 506

Post » Mon Oct 20, 2014 9:09 am

Is this a multiplayer problem? Your title say so, if it is, it is impossible to tell what went wrong. I can only speculate you did not sync the dragdrop state or you did not setup the setbit/getbit for drag drop.
B
28
S
8
G
4
Posts: 553
Reputation: 4,924

Post » Mon Oct 20, 2014 9:47 am

@DuckfaceNinja is setbit/getbit necessary for mouse too? in Ashley's tutorial setbit/getbit applies only for keys. for mouse there is client input state Mouse.X and Mouse.Y
and by the way, drag and drop working fine. but the physics impuls not applies. that is the problem...
B
6
S
1
Posts: 53
Reputation: 506

Post » Mon Oct 20, 2014 11:47 am

ok. i figured it out. drag and drop returned "true" only for peer. but object was synchronized, and was dragged in peer's and in host's screen. so i simply make new variable and synchronized it.
B
6
S
1
Posts: 53
Reputation: 506


Return to How do I....?

Who is online

Users browsing this forum: ST314 and 30 guests