Multiplayer, i need help!

Get help using Construct 2

Post » Mon Jun 02, 2014 7:48 pm

Hello, me and my friend want to make a game on multiplayer extension. Here is the capx
http://www.speedyshare.com/UdkbK/enjoytimem.capx

I want to make both sprites follow peer's and host's mouse, don't only fix the capx, but please explain if you can.
B
24
S
5
G
5
Posts: 150
Reputation: 3,806

Post » Tue Jun 03, 2014 2:38 pm

anyone
B
24
S
5
G
5
Posts: 150
Reputation: 3,806

Post » Tue Jun 03, 2014 3:01 pm

I would suggest looking at the Pong demo again. I notice you are destroying the Sprite on start-of-layout, which the demo does not do. Disabling that event does get one of the Sprites working on both clients.
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Tue Jun 03, 2014 3:10 pm

I have problem with sync, when i see i'm moving my cursor properly, i see the other people have their cursors moving, but in left upper corner to right down corner.
B
24
S
5
G
5
Posts: 150
Reputation: 3,806

Post » Wed Jun 04, 2014 12:08 pm

refresh
B
24
S
5
G
5
Posts: 150
Reputation: 3,806

Post » Wed Jun 04, 2014 1:28 pm

Event 16: both values are set to mouse.x
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Thu Jun 05, 2014 11:41 am

Yes! It's half done. Host sees everyone but the peer is seeing anyone else in corner, i guess it's becouse the sync.

@edit, how does the sync works, once i sync object it will sync for whole game? If not, how to sync it, i guess not every x seconds
B
24
S
5
G
5
Posts: 150
Reputation: 3,806

Post » Wed Jun 18, 2014 10:12 pm

Guys, please, i'm still waiting for someone to help me :( .
B
24
S
5
G
5
Posts: 150
Reputation: 3,806


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests

cron