Sponsors





Top Zune Sites
Microsoft Zune Player Top Site List
Top Zune Sites
Zune Cards

Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 05-13-2008, 06:40 PM   #21 (permalink)
Zuner
 
Join Date: May 2008
Posts: 63
Reputation: 11
$zB: 25
Donate
Default

Hang on a second, the code you used is
LocalNetworkGamer gamer in networkSession.LocalGamers
Didn't it say somewhere that Zune is SystemLink which is NetworkGamer, not LocalNetworkGamer?

Man, I spent like 3 hours trying to get this to work with NetworkGamer because I thought that <_<



amoo3 is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 05-13-2008, 07:56 PM   #22 (permalink)
Squirt
 
Join Date: May 2008
Posts: 12
Reputation: 24
$zB: 11
Donate
Default

Yeah...I thought that was a little strange too. That is how the P2P tank example did it, and it does in fact work, so i don't know.



ionman is offline   Reply With Quote
Old 05-14-2008, 01:56 AM   #23 (permalink)
Zuner
 
Join Date: May 2008
Posts: 63
Reputation: 11
$zB: 25
Donate
Default

Yeah, I saw the example but it said it was about local gamers sending their data (or receiving) to everyone else. Whatever, thanks man. Big help.



amoo3 is offline   Reply With Quote
Old 05-14-2008, 10:08 AM   #24 (permalink)
Developper
zB Programmer
Experienced Zuner
 
Khao's Avatar
 
Join Date: May 2008
Location: Québec, Canada!
Posts: 104
Reputation: 25
$zB: 89
Donate
Default

You should clean your code a little ionman :P
I specially like this part or 99% useless code :

Code:
 Color background = Color.Gray;

            switch (this.multiplayerRole)
            {
                case MultiplayerRole.None:
                    background = Color.Black;
                    break;
                case MultiplayerRole.Server:
                    background = Color.Black ;
                    break;
                case MultiplayerRole.Client:
                    background = Color.Black;
                    break;
            }

            graphics.GraphicsDevice.Clear(background);
Could be only graphics.GraphicsDevice.Clear(Color.Black);
update :
VERY IMPORTANT FIND!:
When the wireless is turned off in the zune parameters, a NetworkException is created on this code :

AvailableNetworkSessionCollection availableSessions = NetworkSession.EndFind(result);
(line 173)

You need to add a try{} catch{} in case the wireless is turned off on the Zune!
I though it would turn on the wireless in case a game requests a network connection but it doesn't seem like it, also I believe you cannot turn it on with the XNA framework!
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


My website is down! Temporary download link :
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


Feel free to contact me to get my msn/gtalk address if you develop games, I love to help and I know a lot about programming!

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Last edited by Khao : 05-14-2008 at 10:16 AM.



Khao is offline   Reply With Quote
Old 05-14-2008, 02:19 PM   #25 (permalink)
Zuner
 
Join Date: May 2008
Posts: 63
Reputation: 11
$zB: 25
Donate
Default

Got it working on Pong:
http://www.zuneboards.com/forums/dow...unepong-2.html

Thanks for the help!



amoo3 is offline   Reply With Quote
Old 05-14-2008, 02:21 PM   #26 (permalink)
Support Team
Expert Zuner
 
soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 2,516
Reputation: 122
$zB: 2491
Donate
Default

Quote:
Originally Posted by amoo3 View Post
Got it working on Pong:
http://www.zuneboards.com/forums/dow...unepong-2.html

Thanks for the help!
Edit: nm
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




soccerfreak24 is online now   Reply With Quote
Old 05-14-2008, 06:40 PM   #27 (permalink)
Experienced Zuner
 
mikenike's Avatar
 
Join Date: May 2008
Posts: 157
Reputation: 11
Send a message via Yahoo to mikenike
$zB: 112
Donate
Default

hmm... had some problems deploying, wish i could try it



mikenike is offline   Reply With Quote
Old 05-27-2008, 03:31 PM   #28 (permalink)
Zuner
 
Join Date: Aug 2007
Posts: 65
Reputation: 11
$zB: 28
Donate
Default

This is a little off topic, however, this is a great example of how swell this community is!



Also, I'll try to put this into that one gues zEtch a sketch, maybe it could be a whiteboard type thing too!


Can't wait to get ma zune!



Superaison is offline   Reply With Quote
Old 06-07-2008, 08:01 AM   #29 (permalink)
Jr. Zuner
 
Frank9000's Avatar
 
Join Date: Mar 2008
Location: NJ
Posts: 49
Reputation: 8
Send a message via MSN to Frank9000
$zB: 43
Donate
Default

thnx guys for making this happen



Frank9000 is online now   Reply With Quote
Old 06-07-2008, 01:32 PM   #30 (permalink)
Experienced Zuner
 
ZeroCool2021's Avatar
 
Join Date: May 2007
Location: Zune land
Posts: 218
Reputation: 13
$zB: 12
Donate
Default

That old school tanks game would be a good multiplayer game



ZeroCool2021 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 09:15 AM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007