Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Please help with my simple multiplayer soccer game. I made most of it.

Author
Message
DMJ
13
Years of Service
User Offline
Joined: 6th Sep 2011
Location: Australia
Posted: 22nd May 2019 03:49
It would be nice to use Types instead. Im still working on it, just trying to learn the networking side of things. The players work, but the ball doesnt sync. Please help. Thank you!

Attachments

Login to view attachments
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd May 2019 06:57
Can you be a bit more specific on what your issue is?
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 22nd May 2019 08:27
Ive removed the double post you placed in the newcomers forum
it appears your not so new and repeat posts are frowned upon
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
DMJ
13
Years of Service
User Offline
Joined: 6th Sep 2011
Location: Australia
Posted: 22nd May 2019 13:14
The characters sync up but not the ball.
DMJ
13
Years of Service
User Offline
Joined: 6th Sep 2011
Location: Australia
Posted: 22nd May 2019 13:20
Sorry for double posting fubarpk, I didn't know that was bad.
TamBam
12
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 29th Jun 2019 10:39
I try to help you. Give me 1day.
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 29th Jun 2019 11:23
Some code would be useful., as we each will likely have different solutions / approaches to Netcode … as there are various approaches to handle Local / Network / Internet / Latency Adaptation.
Now it should be noted that IF you're using Physics (Bullet) for the Ball., then instead of Synchronising the Ball Position; what you want is to swap the Physics Seed and update the Impulse Strength / Vector... making sure to update it at the same rate as the Physics (15Hz / 66.67ms)
I'd also focus on updating the Ball (Primarily) as part of the Package Data; then including only the Nearest Players (say top 3 from each side) in the same Packet; then using a Secondary Packet for the Rest of the Team(s).

As these are essentially the Prioritisation Data you always want Synchronised; while Players Off-Screen / Out-of-Play cant be a bit glitchy.
TamBam
12
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 30th Jun 2019 16:47 Edited at: 30th Jun 2019 17:45
MODEDIT Can you please in future make use of the program tags like I have it now

Login to post a reply

Server time is: 2024-11-22 21:19:54
Your offset time is: 2024-11-22 21:19:54