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 / Problem with multiplayer game

Author
Message
ALeN
10
Years of Service
User Offline
Joined: 7th May 2014
Location: Bosnia and Herzegovina
Posted: 30th Jan 2015 15:17
I am trying to make LAN multiplayer game but it doesn't work the way it should work. It doesn't update sprite position. Here is my code:



This is my first multiplayer game and I don't know what is wrong with this code. I hope that someone can help me with this. Thanks.
shadey
14
Years of Service
User Offline
Joined: 25th Jan 2010
Location:
Posted: 30th Jan 2015 20:21 Edited at: 30th Jan 2015 20:23
All I know is that the multiplayer/getting started example in the projects folder of agk works!
So have a gander at that code?! I have AppGameKit 2 myself so not sure if there is an example if you are on AppGameKit 1.x .. but I think there should be.

Hail to the king, baby!
http://davidjohnwheeler.blogspot.co.uk
ALeN
10
Years of Service
User Offline
Joined: 7th May 2014
Location: Bosnia and Herzegovina
Posted: 30th Jan 2015 23:27
I am using AppGameKit 2, too. And yes, the example works. This code looks like one in example so I don't know why it doesn't work.

Login to post a reply

Server time is: 2024-11-25 17:39:54
Your offset time is: 2024-11-25 17:39:54