<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7825228553392473517.post4268559893080585306..comments</id><updated>2011-02-08T22:26:55.285Z</updated><category term='Guitar Hero'/><category term='xbox live'/><category term='xbla'/><category term='live'/><category term='development diary'/><category term='barfly'/><category term='Game4'/><category term='top ten'/><category term='puzzle quest'/><category term='playstation 3'/><category term='World of Warcraft'/><category term='Team Mango'/><category term='C#.net'/><category term='Band'/><category term='Gravsheep'/><category term='AJAX'/><category term='playing house'/><category term='Nokia Lumia 800'/><category term='general'/><category term='orange box'/><category term='Stalker'/><category term='Windows Phone 7 Development'/><category term='camden fire'/><category term='game development'/><category term='WP7Dev'/><category term='overlord'/><category term='games development'/><category term='portal'/><category term='app'/><category term='Dysnomia'/><category term='Geocaching'/><category term='ame4'/><category term='WP7 Development'/><category term='half life'/><category term='Retrobution'/><category term='the dan bignell experience'/><category term='facebook'/><category term='pointless quest'/><category term='Dreamland'/><category term='N+'/><category term='Gaming'/><category term='Dream Build Play'/><category term='stored procedures'/><category term='ps3'/><category term='best of 2007'/><category term='play.com live'/><category term='Christmas'/><category term='IG'/><category term='XBLIG'/><category term='WP7'/><category term='ASP'/><category term='music'/><category term='xna'/><category term='pennys dropped'/><category term='2007'/><category term='Tombstoning'/><category term='web services'/><category term='Blogging'/><category term='online'/><category term='dark tranquillity'/><category term='html mmorpg'/><category term='7cache'/><category term='Webservices'/><category term='Windows Phone 7'/><category term='Development'/><category term='camden'/><category term='gdc'/><category term='gig'/><category term='Samsung Omnia 7'/><category term='metal'/><category term='sql'/><category term='Call of Duty 4'/><category term='Puritan Slain'/><category term='community games'/><category term='Japan'/><category term='tile engine'/><category term='Myself'/><category term='xbox 360'/><category term='origin unknown'/><category term='Indie Games'/><category term='post mortem'/><category term='run'/><category term='gears of war 2'/><category term='adventure game'/><category term='Asteroid Armageddon'/><category term='dorset'/><category term='.NET'/><category term='wedgewood rooms'/><title type='text'>Comments on So I got this Blog thing...: Tombstoning in Phone 7 XNA games</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.garethpw.co.uk/feeds/4268559893080585306/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html'/><author><name>Gareth</name><uri>http://www.blogger.com/profile/07434732812542651095</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_1p44RM4wSTU/SVAHHGQQ-0I/AAAAAAAAAQE/iXiomTSSS9Y/S220/meeee.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-1908559019866857040</id><published>2011-02-08T22:26:55.285Z</published><updated>2011-02-08T22:26:55.285Z</updated><title type='text'>I figured it out.  I read somewhere else that the ...</title><content type='html'>I figured it out.  I read somewhere else that the List and ArrayList does not serialize properly in XNA.  Well that is how I store the cards for the player and the hands, List so I just need to strip those lists down and do a good job of readding them to the players.&lt;br /&gt;&lt;br /&gt;Thanks for the help though.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1908559019866857040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1908559019866857040'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1297204015285#c1908559019866857040' title=''/><author><name>James Stephenson</name><uri>http://www.blogger.com/profile/10426749284008341453</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-412682683'/></entry><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-4287665930272791253</id><published>2011-02-08T20:07:10.535Z</published><updated>2011-02-08T20:07:10.535Z</updated><title type='text'>Well my problem is the card.class...  I look at th...</title><content type='html'>Well my problem is the card.class...  I look at the appservice data when it writes out to it and it all looks fine.&lt;br /&gt;&lt;br /&gt;When I reload it, all the cards default to 0,0 which in this case 2 of diamonds.  So I thought I would just write the cards individually for each player than readd them to the player class upon load.  That does not look like it worked, although only had a few minutes this morning before I had to leave for my real job to see if I was even close there.&lt;br /&gt;&lt;br /&gt;Anyway, thanks for the reply.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/4287665930272791253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/4287665930272791253'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1297195630535#c4287665930272791253' title=''/><author><name>James Stephenson</name><uri>http://www.blogger.com/profile/10426749284008341453</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-412682683'/></entry><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-1446423309069229930</id><published>2011-02-07T18:40:51.393Z</published><updated>2011-02-07T18:40:51.393Z</updated><title type='text'>So I need to come back and revisit this post in th...</title><content type='html'>So I need to come back and revisit this post in the future, and perhaps put together a sample project. There&amp;#39;s a few problems with the code I&amp;#39;ve posted, but nothing too serious.&lt;br /&gt;&lt;br /&gt;James, if it was me I would have a Player class that had a public List&amp;lt;Card&amp;gt; generic list field on it. I&amp;#39;d then serialise the Player class when my GameplayScreen Serialize method is called.&lt;br /&gt;&lt;br /&gt;What you&amp;#39;d need to watch out for is the event order for when the screens are reloaded. LoadContent is called after Deserialize, so you&amp;#39;d either need to initialise your Player class in the GameplayScreen constructor, or set a flag on Deserialisation and check it in LoadContent, and not initialize the Player class if you&amp;#39;re coming back from tombstone.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1446423309069229930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1446423309069229930'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1297104051393#c1446423309069229930' title=''/><author><name>Gareth</name><uri>http://www.blogger.com/profile/07434732812542651095</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_1p44RM4wSTU/SVAHHGQQ-0I/AAAAAAAAAQE/iXiomTSSS9Y/S220/meeee.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1240452088'/></entry><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-6374794270858855023</id><published>2011-02-07T17:12:36.588Z</published><updated>2011-02-07T17:12:36.588Z</updated><title type='text'>So I am new to the XNA game scene.  My first game ...</title><content type='html'>So I am new to the XNA game scene.  My first game only kept track of the level you were on, mainly because I did not want people to come back into a huge array of shots being fired at them.  However, I may actually change it after reading your blog.&lt;br /&gt;&lt;br /&gt;But to my question.  I am making a card game, boring, I know, but I want a spades game for my phone.  Anyway, when I deserialize my classes that contain a class for card, the cards are coming back as 2 of diamonds, all of them.  Do I need to do something special in my deserialize of the hand and player class that has a list of card classes contained within?&lt;br /&gt;&lt;br /&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/6374794270858855023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/6374794270858855023'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1297098756588#c6374794270858855023' title=''/><author><name>James Stephenson</name><uri>http://www.blogger.com/profile/10426749284008341453</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-412682683'/></entry><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-1102195050511147571</id><published>2010-12-19T17:10:55.003Z</published><updated>2010-12-19T17:10:55.003Z</updated><title type='text'>When I was replacing the old deserialization code ...</title><content type='html'>When I was replacing the old deserialization code with yours I&amp;#39;m getting an error: &amp;quot;The name &amp;#39;StartupMode&amp;#39; does not exist in the current context&amp;quot;. I&amp;#39;m not sure why I&amp;#39;m getting this, I have the using statement for Microsoft.Phone.Shell and a reference to Microsoft.Phone.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1102195050511147571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/1102195050511147571'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1292778655003#c1102195050511147571' title=''/><author><name>YaTaF</name><uri>http://www.blogger.com/profile/16972993746108592823</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-642104375'/></entry><entry><id>tag:blogger.com,1999:blog-7825228553392473517.post-6104377998775768228</id><published>2010-12-01T00:28:05.705Z</published><updated>2010-12-01T00:28:05.705Z</updated><title type='text'>Make sure you cover all aspects of how Tombstoning...</title><content type='html'>Make sure you cover all aspects of how Tombstoning is supposed to be implemented.  Only leave what you need to actually need to store at the last minute to tombstoning events to get arround the performance issues with XML serialisation.&lt;br /&gt;Store as you go along in your game wherever you can (so long as it doesn&amp;#39;t impact in game perf :D ).&lt;br /&gt;check out the Tombstoning articles on XNA-UK.net for such info.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/6104377998775768228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7825228553392473517/4268559893080585306/comments/default/6104377998775768228'/><link rel='alternate' type='text/html' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html?showComment=1291163285705#c6104377998775768228' title=''/><author><name>Simon (Darkside) Jackson</name><uri>http://www.blogger.com/profile/11886586409059479949</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wUtHul7tT3E/SWs-NgGihPI/AAAAAAAAAAM/7j4LtA9_pAY/S220/avatarpic-l.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.garethpw.co.uk/2010/11/tombstoning-in-phone-7-xna-games.html' ref='tag:blogger.com,1999:blog-7825228553392473517.post-4268559893080585306' source='http://www.blogger.com/feeds/7825228553392473517/posts/default/4268559893080585306' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-408309504'/></entry></feed>
