Multiplayer Pong: synchronizing ball & paddle

Get help using Construct 2

Post » Mon Apr 07, 2014 3:57 pm

@xoros How goes it so far? any progress?
Freefall Bird
B
47
S
9
G
5
Posts: 281
Reputation: 5,803

Post » Tue Jun 24, 2014 11:26 am

Hi. I tried to create an explosion (create sprite) outside of the host and peer group to create it locally for host and peer but it seems the peer does not have collision checks enabled, is this true @Ashley?
Its a basic "on collision with ball" > create Explosion, Play Sound and it works fine on the host but the peer does not show the explosion or play any sound effect. :(

When I add the Explosion sprite to sync it with position it is created at the peer, but do you really have to transmit the explosion creation/position via the multiplayer sync action, can't the peer create objects locally? And what about the sound, do I have to send data (set bit to 1) and then play the sound if the peer receives it?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Sat Sep 26, 2015 4:19 am

agh!! I'm having the same issue .. ball going through peer's paddle (sometimes). I lowered the speed of the ball too, still happens randomly. Ideas?
B
4
Posts: 15
Reputation: 206

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests