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 / Trying to figure the network code out.

Author
Message
DMJ
13
Years of Service
User Offline
Joined: 6th Sep 2011
Location: Australia
Posted: 26th Nov 2014 07:13




I used these two images and called them 1.png and 2.png



I need help making the host and client's movement visible.
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 27th Nov 2014 04:01
im busy this week but if nobody answers this for you by friday night, i will make you a quick mp example.

the commands for networking are actually very well done with agk.

DMJ
13
Years of Service
User Offline
Joined: 6th Sep 2011
Location: Australia
Posted: 28th Nov 2014 21:51
Thank you!!1
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 29th Nov 2014 02:18 Edited at: 29th Nov 2014 02:29
ok using those same 2 images...



what i recommend doing is coding something to smoothen out both players so they are closer to looking the same across both machines over your local network.

what i tested this with was windows and blackberry playbook.
connected devices using wifi... have a fair bit of lag. so you
need to program in a way that you compensate or estimate where a player is headed.

currently its sending 15 messages a second... thats as smooth as i would go. You can test writting every sync but your network will lag something bad...even more if your using wifi.

SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 2nd Dec 2014 01:31
did you find this helpfull?

Login to post a reply

Server time is: 2024-11-25 11:52:55
Your offset time is: 2024-11-25 11:52:55