<?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/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6498380258549659097</id><updated>2011-11-27T18:01:50.498-08:00</updated><category term='draw point'/><category term='Reporting Server Winform WebService CSharp'/><category term='Network'/><category term='game development'/><category term='gamertag'/><category term='animated background'/><category term='Kinect C# Csharp SURF'/><category term='Game Physics'/><category term='Kinect C# Windows movement recognition'/><category term='Article'/><category term='xna car cup'/><category term='walking man'/><category term='simple animation'/><category term='Sprites'/><category term='XNA PlayerIndex conversion'/><category term='xna'/><category term='Collission Detection'/><category term='2D platform scrolling'/><category term='XNA Racing Game'/><category term='c# gamertag'/><category term='Silverlight WCF'/><category term='DNDJ'/><category term='xna game studio'/><category term='XNA Game Programming'/><title type='text'>Berndt's blog</title><subtitle type='html'>Microsoft technologies related information.
CSharp, SQLServer, Visual Studio, XNA Game Studio and so on and so forth.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-737267420454829553</id><published>2010-11-21T13:37:00.001-08:00</published><updated>2010-11-21T13:39:23.688-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kinect C# Csharp SURF'/><title type='text'></title><content type='html'>Kinect sample extended....now using SURF library.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/HJsg29zvOPA"&gt;  &lt;embed src="http://www.youtube.com/v/HJsg29zvOPA" type="application/x-shockwave-flash" width="425" height="350"&gt;&lt;/embed&gt;  &lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Stay tuned ...&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-737267420454829553?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/737267420454829553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=737267420454829553' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/737267420454829553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/737267420454829553'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2010/11/kinect-sample-extended.html' title=''/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-4786493669640438048</id><published>2010-11-21T11:09:00.000-08:00</published><updated>2010-11-21T11:24:36.920-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kinect C# Windows movement recognition'/><title type='text'>Kinect and Movement recognition in C#</title><content type='html'>&lt;p&gt;Inspired from what's going on around Kinect the last few days on the web I wanted to have my own Kinect C# sample application, which recognizes movement.&lt;/p&gt;&lt;p&gt;Sitting back for a second, I was thinking about what's necessary to make Kinect recognize my moves:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The Kinect Windows driver: &lt;a href="http://www.codelaboratories.com/nui/"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;A library which does some recognition on images: &lt;a href="http://www.aforgenet.com/framework/downloads.html/"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Have a look at the outcome so far below:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/G21nB9RyDH0"&gt;  &lt;embed src="http://www.youtube.com/v/G21nB9RyDH0" type="application/x-shockwave-flash" width="425" height="350"&gt;&lt;/embed&gt;  &lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Stay tuned as Kinect looks very promising and has unlimited potential!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-4786493669640438048?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/4786493669640438048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=4786493669640438048' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/4786493669640438048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/4786493669640438048'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2010/11/kinect-and-movement-recognition-in-c.html' title='Kinect and Movement recognition in C#'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-6303956753632992660</id><published>2009-09-20T06:27:00.001-07:00</published><updated>2009-09-20T06:32:51.996-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight WCF'/><title type='text'>Silverlight 3 from WinForm to RIA</title><content type='html'>The last weeks I was quite busy trying to move an existing WinForm application to Silverlight.&lt;div&gt;I would like to show you all the problems I had to solve, from the beginning to the end.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Today, I would like to explain the architecture to you, as this was one of the first problems on the long list.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The existing application talks to a TCP/IP server, listening on a special port. As Silverlight is not capable of talking to neither SQLServer nor a TCP/IP port directly I had to split the application to the Client part (Silverlight) and a WCF service, which talks to the TCP/IP server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This means for all companies (which would like to use the web client) that they will need IIS, right?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Wrong, as I was using a WCF service the TCP/IP server can easily learn to respond to WCF requests, which I will show you in my next post.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-6303956753632992660?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/6303956753632992660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=6303956753632992660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6303956753632992660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6303956753632992660'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2009/09/silverlight-3-from-winform-to-ria.html' title='Silverlight 3 from WinForm to RIA'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-8391236444480695493</id><published>2008-05-07T10:27:00.000-07:00</published><updated>2008-05-07T10:28:37.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='XNA Racing Game'/><title type='text'>Upcoming XNA Racing Game</title><content type='html'>Soon, very soon......&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/Ldrx_c8SwLM"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/Ldrx_c8SwLM" type="application/x-shockwave-flash" width="425" height="350"&gt; &lt;/embed&gt; &lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-8391236444480695493?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/8391236444480695493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=8391236444480695493' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/8391236444480695493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/8391236444480695493'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/05/upcoming-xna-racing-game.html' title='Upcoming XNA Racing Game'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-8242079286253156370</id><published>2008-05-04T10:26:00.000-07:00</published><updated>2008-12-11T21:02:10.617-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='c# gamertag'/><category scheme='http://www.blogger.com/atom/ns#' term='gamertag'/><category scheme='http://www.blogger.com/atom/ns#' term='xna game studio'/><title type='text'>XNA and current Gamertag</title><content type='html'>As I reached my 10.000 (YEAH!) gamerpoints I wanted to see this in&lt;br /&gt;&lt;ol&gt;&lt;li&gt;My Blog&lt;/li&gt;&lt;li&gt;In a XNA application&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Soooo, I registered at &lt;a href="http://www.mygamercard.net/"&gt;http://www.mygamercard.net/&lt;/a&gt; - which is just a 1 click action - and wrote the app you find below, which gives me a PNG image.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_DTu3UKKtMvs/SB3y_sZwIcI/AAAAAAAAACs/ZUhc13tzWy0/s1600-h/XNA+Gamertag.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5196576721120272834" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_DTu3UKKtMvs/SB3y_sZwIcI/AAAAAAAAACs/ZUhc13tzWy0/s320/XNA+Gamertag.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Download source: &lt;a href="http://hamboeck.googlepages.com/XNAGamertag.zip"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-8242079286253156370?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/8242079286253156370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=8242079286253156370' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/8242079286253156370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/8242079286253156370'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/05/xna-and-current-gamertag.html' title='XNA and current Gamertag'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DTu3UKKtMvs/SB3y_sZwIcI/AAAAAAAAACs/ZUhc13tzWy0/s72-c/XNA+Gamertag.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-6046329889959695109</id><published>2008-05-02T06:04:00.000-07:00</published><updated>2008-05-02T06:06:15.700-07:00</updated><title type='text'>XNA 2D Animated Coin</title><content type='html'>Something I wanted to do a while ago.&lt;br /&gt;An animated coin.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/BirR3BKdUMM"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/BirR3BKdUMM" type="application/x-shockwave-flash" width="425" height="350"&gt; &lt;/embed&gt; &lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Be patient source code and description will be released soon!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-6046329889959695109?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/6046329889959695109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=6046329889959695109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6046329889959695109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6046329889959695109'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/05/xna-2d-animated-coin.html' title='XNA 2D Animated Coin'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-1164589680739397744</id><published>2008-05-01T04:02:00.000-07:00</published><updated>2008-05-01T05:10:37.782-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='2D platform scrolling'/><category scheme='http://www.blogger.com/atom/ns#' term='xna game studio'/><title type='text'>XNA Randy walking on a slope</title><content type='html'>&lt;p&gt;Inspired from &lt;a href="http://www.kersson.com/articles/article.aspx?ar=44"&gt;Kersson's article&lt;/a&gt; about How to move a sprite in a continuous map, I thought it might be cool if :&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The terrain also moves around and not only Randy.&lt;/li&gt;&lt;li&gt;There would be a nice background,&lt;/li&gt;&lt;li&gt;and maybe it starts raining.&lt;/li&gt;&lt;li&gt;If Randy starts jumping around, this would make it close for beeing perfect.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Have look at the outcome so far below (sorry, might take a while to load):&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/XliQy1wH0GI"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/XliQy1wH0GI" type="application/x-shockwave-flash" width="425" height="350"&gt; &lt;/embed&gt; &lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Stay tuned as Randy should do some more things soon!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-1164589680739397744?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/1164589680739397744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=1164589680739397744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1164589680739397744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1164589680739397744'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/05/xna-randy-walking-on-slope.html' title='XNA Randy walking on a slope'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-3367716442202797172</id><published>2008-04-02T12:26:00.000-07:00</published><updated>2008-12-11T21:02:10.856-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Collission Detection'/><title type='text'>XNA Randy Collission prevention</title><content type='html'>I tried Nicks collission detection example with Randy and a stone texture.&lt;br /&gt;You can see the outcome below:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_DTu3UKKtMvs/R_PeXbCe95I/AAAAAAAAACk/z5IXPxlrY-Y/s1600-h/XNARandyWalkingCollission.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5184732090010105746" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_DTu3UKKtMvs/R_PeXbCe95I/AAAAAAAAACk/z5IXPxlrY-Y/s320/XNARandyWalkingCollission.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Still start the app 2 times and use H and C for Host or Client.&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Source:&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://hamboeck.googlepages.com/XNARandyWalkingCollission.zip"&gt;http://hamboeck.googlepages.com/XNARandyWalkingCollission.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-3367716442202797172?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/3367716442202797172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=3367716442202797172' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/3367716442202797172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/3367716442202797172'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/04/xna-randy-collission-prevention.html' title='XNA Randy Collission prevention'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_DTu3UKKtMvs/R_PeXbCe95I/AAAAAAAAACk/z5IXPxlrY-Y/s72-c/XNARandyWalkingCollission.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-6665526682997332407</id><published>2008-03-29T12:46:00.000-07:00</published><updated>2008-03-29T12:58:10.675-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA PlayerIndex conversion'/><title type='text'>Converting XNA PlayerIndex to string and int</title><content type='html'>It might be obvious, but I needed it today for the networking stuff to pass player data around. I wanted to convert the current Playerindex to a string or int and vice versa.:&lt;br /&gt;&lt;br /&gt;&lt;pre class="csharpcode"&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;PlayerIndex&lt;/span&gt; pix = PlayerIndex.Two;&lt;br /&gt;&lt;span class="kwrd"&gt;string&lt;/span&gt; ps = pix.ToString(); &lt;span class="rem"&gt;// "Two"&lt;/span&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;int&lt;/span&gt; pi = (&lt;span class="kwrd"&gt;int&lt;/span&gt;)pix; &lt;span class="rem"&gt;// 1&lt;/span&gt;&lt;br /&gt;pix = (&lt;span class="kwrd"&gt;PlayerIndex&lt;/span&gt;) Enum.Parse(&lt;span class="kwrd"&gt;typeof&lt;/span&gt; (PlayerIndex), &lt;span class="str"&gt;"Three"&lt;/span&gt;);&lt;br /&gt;ps = pix.ToString(); &lt;span class="rem"&gt;// "Three"&lt;/span&gt;&lt;br /&gt;pi = (&lt;span class="kwrd"&gt;int&lt;/span&gt;) pix; &lt;span class="rem"&gt;// 2&lt;/span&gt;&lt;br /&gt;pi = 0;&lt;br /&gt;pix = (&lt;span class="kwrd"&gt;PlayerIndex&lt;/span&gt;) pi;&lt;span class="rem"&gt;// "One"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-6665526682997332407?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/6665526682997332407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=6665526682997332407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6665526682997332407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/6665526682997332407'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/converting-xna-playerindex-to-string.html' title='Converting XNA PlayerIndex to string and int'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-7658126787514676719</id><published>2008-03-28T02:00:00.000-07:00</published><updated>2008-12-11T21:02:11.085-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><category scheme='http://www.blogger.com/atom/ns#' term='Sprites'/><title type='text'>XNA Randy and Lindgren Networking lib</title><content type='html'>Inspired from two articles I found on ZiggyWare I wrote this short Network sample.&lt;br /&gt;It uses a tile map of Randy and he Lidgren Network library.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_DTu3UKKtMvs/R-y0sbCe94I/AAAAAAAAACc/UPERyuf5OYM/s1600-h/XNARandyWalking.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5182715946462017410" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_DTu3UKKtMvs/R-y0sbCe94I/AAAAAAAAACc/UPERyuf5OYM/s320/XNARandyWalking.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download it from &lt;a href="http://hamboeck.googlepages.com/XNARandyWalking.zip"&gt;here&lt;/a&gt; (link updated on March 29th)&lt;br /&gt;&lt;br /&gt;You find the initial articles here:&lt;br /&gt;&lt;span style="color:#000000;"&gt;Moving A Sprite In A Tile Map:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.kersson.com/articles/article.aspx?ar=42"&gt;http://www.kersson.com/articles/article.aspx?ar=42&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Lidgren, A Safe alternative to using XNA's Networking:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=168"&gt;http://www.ziggyware.com/readarticle.php?article_id=168&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;You should start the application 2 times.&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;Press H or S to be the Host&lt;br /&gt;Press C to act as a client&lt;br /&gt;&lt;br /&gt;Move Randy around by using the cursor keys.&lt;br /&gt;&lt;br /&gt;Depending on which application has focus you will move Randy around and in the other application you will see the Network Randy moving around.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-7658126787514676719?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/7658126787514676719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=7658126787514676719' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/7658126787514676719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/7658126787514676719'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/xna-randy-and-lindgren-network.html' title='XNA Randy and Lindgren Networking lib'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DTu3UKKtMvs/R-y0sbCe94I/AAAAAAAAACc/UPERyuf5OYM/s72-c/XNARandyWalking.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-1269518724300238960</id><published>2008-03-26T13:18:00.001-07:00</published><updated>2008-12-11T21:02:11.280-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XNA Game Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Article'/><category scheme='http://www.blogger.com/atom/ns#' term='DNDJ'/><title type='text'>.NETDJ Article Online</title><content type='html'>My first article about the XNA Car Cup game is now online.&lt;br /&gt;&lt;br /&gt;Read more here: &lt;a href="http://pdf.sys-con.com/Dotnet/XNA_Spread.pdf"&gt;PDF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_DTu3UKKtMvs/R-qvw7Ce93I/AAAAAAAAACU/_9Svn3kXPlM/s1600-h/DNDJ-0601-460.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5182147576259868530" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_DTu3UKKtMvs/R-qvw7Ce93I/AAAAAAAAACU/_9Svn3kXPlM/s320/DNDJ-0601-460.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-1269518724300238960?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/1269518724300238960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=1269518724300238960' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1269518724300238960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1269518724300238960'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/netdj-article-online.html' title='.NETDJ Article Online'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DTu3UKKtMvs/R-qvw7Ce93I/AAAAAAAAACU/_9Svn3kXPlM/s72-c/DNDJ-0601-460.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-1518572866603944461</id><published>2008-03-16T14:04:00.000-07:00</published><updated>2008-12-11T21:02:11.628-08:00</updated><title type='text'>Simple XNA Walking Man Animation includes 2D Shadow</title><content type='html'>A small update to my walking man:&lt;br /&gt;It contains now a 2D shadow for the guy....&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R92LhfP6FII/AAAAAAAAACM/tqMfA8BjF-Q/s1600-h/XNAWalkingManShadowAnimation.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5178448553986102402" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R92LhfP6FII/AAAAAAAAACM/tqMfA8BjF-Q/s320/XNAWalkingManShadowAnimation.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;Source:&lt;/em&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://hamboeck.googlepages.com/XNAWalkingShadowManAnimation.zip"&gt;http://hamboeck.googlepages.com/XNAWalkingShadowManAnimation.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-1518572866603944461?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/1518572866603944461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=1518572866603944461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1518572866603944461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/1518572866603944461'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/simple-xna-walking-man-animation_16.html' title='Simple XNA Walking Man Animation includes 2D Shadow'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DTu3UKKtMvs/R92LhfP6FII/AAAAAAAAACM/tqMfA8BjF-Q/s72-c/XNAWalkingManShadowAnimation.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-3021657234444123192</id><published>2008-03-16T06:14:00.000-07:00</published><updated>2008-12-11T21:02:11.877-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='walking man'/><category scheme='http://www.blogger.com/atom/ns#' term='simple animation'/><category scheme='http://www.blogger.com/atom/ns#' term='xna game studio'/><category scheme='http://www.blogger.com/atom/ns#' term='xna'/><title type='text'>Simple XNA Walking Man Animation</title><content type='html'>My daughter wanted to see a man walking on the screen. You can see the outcome below.&lt;br /&gt;Special thanks to Gary Darby, Intellitech Systems Inc., who posted a few years ago some Pascal source and the images.....&lt;br /&gt;&lt;br /&gt;The amount, the size as well as the speed of the runners is configurable. Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R90dVfP6FHI/AAAAAAAAACE/P1-54sb4XQE/s1600-h/XNAWalkingManAnimation.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5178327401548616818" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R90dVfP6FHI/AAAAAAAAACE/P1-54sb4XQE/s320/XNAWalkingManAnimation.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Source:&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://hamboeck.googlepages.com/XNAWalkingManAnimation.zip"&gt;http://hamboeck.googlepages.com/XNAWalkingManAnimation.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-3021657234444123192?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/3021657234444123192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=3021657234444123192' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/3021657234444123192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/3021657234444123192'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/simple-xna-walking-man-animation.html' title='Simple XNA Walking Man Animation'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DTu3UKKtMvs/R90dVfP6FHI/AAAAAAAAACE/P1-54sb4XQE/s72-c/XNAWalkingManAnimation.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-5094782159818516578</id><published>2008-03-15T11:36:00.000-07:00</published><updated>2008-12-11T21:02:12.044-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='draw point'/><category scheme='http://www.blogger.com/atom/ns#' term='animated background'/><category scheme='http://www.blogger.com/atom/ns#' term='xna game studio'/><title type='text'>Animated Starry Background</title><content type='html'>As my wife was out with the kids I played around with the VertexPositionColor class and the DrawUserPrimitives in XNA. The outcome is this sample of a starry background where the stars change the color on a random basis.&lt;br /&gt;&lt;br /&gt;The image does not really show how cool it really looks like :(&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9wX-vP6FGI/AAAAAAAAAB8/ijx6M_g6w5I/s1600-h/XNAStarBackground.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5178040038171743330" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9wX-vP6FGI/AAAAAAAAAB8/ijx6M_g6w5I/s400/XNAStarBackground.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;Source Code:&lt;/em&gt;&lt;br /&gt;&lt;a href="http://hamboeck.googlepages.com/XNAStarBackground.zip"&gt;http://hamboeck.googlepages.com/XNAStarBackground.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-5094782159818516578?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/5094782159818516578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=5094782159818516578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5094782159818516578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5094782159818516578'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/animated-starry-background.html' title='Animated Starry Background'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DTu3UKKtMvs/R9wX-vP6FGI/AAAAAAAAAB8/ijx6M_g6w5I/s72-c/XNAStarBackground.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-5386004784020579994</id><published>2008-03-13T16:06:00.000-07:00</published><updated>2008-12-11T21:02:12.189-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Game Physics'/><category scheme='http://www.blogger.com/atom/ns#' term='game development'/><category scheme='http://www.blogger.com/atom/ns#' term='xna'/><title type='text'>Marco Monster's Car Physics Demo in XNA</title><content type='html'>&lt;div&gt;Today I had a little bit of time and I found a very nice (work/learning wise not really graphics wise) little demo about a small car, which one can drive around and all the interesting values when it comes to in game physics and a fast driving car are shown on the screen.&lt;br /&gt;&lt;br /&gt;It was written a while ago in C++ and uses Allegro. I thought it would be nice to have a XNA version. I do not know if this is already available or not, maybe the geeks have this already for a while. If you do not have it please feel free to play around with it.&lt;br /&gt;&lt;br /&gt;BTW, I have finished my second article for the DNDJ about my XNA Car Cup Simple racing game already, but this might be something for part 3 ;)&lt;br /&gt;&lt;br /&gt;People aready start pushing me, but it is done when it is done :))&lt;br /&gt;So stay tuned, there is much more to come. If you have any ideas or wishes, let me know!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9qD5PP6FEI/AAAAAAAAABs/YvV0CGW_xYo/s1600-h/XNACardemo.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5177595740984841282" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9qD5PP6FEI/AAAAAAAAABs/YvV0CGW_xYo/s320/XNACardemo.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is still &lt;strong&gt;slow&lt;/strong&gt;, far from beeing perfect, but I am too tired today to look into it again, but I bet you get the idea and there will be an updated version soon....&lt;br /&gt;&lt;br /&gt;&lt;em&gt;UPDATE: I uploaded a newer version today, I replaced the drawing method for the lines, I am using the PrimitiveBatch class from the creats.xna.com web site, which makes it much faster.&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;The keyboard keys used:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Escape ................................. Exit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;F12 ...................................... Reset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Up/Down/Left/Right ....... Drive the car around&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Q/W .................................... Zoom in/Zoom out&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;R/F/Space ......................... Slip around (Rear, Front, Both)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Source code:&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://hamboeck.googlepages.com/XNACardemo.zip"&gt;http://hamboeck.googlepages.com/XNACardemo.zip&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-5386004784020579994?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/5386004784020579994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=5386004784020579994' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5386004784020579994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5386004784020579994'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/marco-monsters-car-physics-demo-in-xna.html' title='Marco Monster&apos;s Car Physics Demo in XNA'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DTu3UKKtMvs/R9qD5PP6FEI/AAAAAAAAABs/YvV0CGW_xYo/s72-c/XNACardemo.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-5037328513075774918</id><published>2008-03-11T02:45:00.000-07:00</published><updated>2008-12-11T21:02:12.486-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='game development'/><category scheme='http://www.blogger.com/atom/ns#' term='xna game studio'/><category scheme='http://www.blogger.com/atom/ns#' term='xna'/><category scheme='http://www.blogger.com/atom/ns#' term='xna car cup'/><title type='text'>XNA Car Cup Article for DNDJ Part1</title><content type='html'>A while ago I bought my XBOX360 elite. As a C# freak I quickly jumped on the XNA Game Studio train. The first outcome of this is a game development series for the DNDJ where I explain some parts I developed for the XNA Car Cup game. The first part is going to be printed this month, below you can find the full source code for VS2005 Prof. and XNA 2.0.&lt;br /&gt;&lt;br /&gt;Source code for part1:&lt;br /&gt;&lt;a href="http://hamboeck.googlepages.com/XNACarCupSimplePart1.zip"&gt;http://hamboeck.googlepages.com/XNACarCupSimplePart1.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9ZXnPP6FCI/AAAAAAAAABc/1LSimJORq_k/s1600-h/XNA_RaceSample.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5176421153328731170" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R9ZXnPP6FCI/AAAAAAAAABc/1LSimJORq_k/s320/XNA_RaceSample.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-5037328513075774918?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/5037328513075774918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=5037328513075774918' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5037328513075774918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/5037328513075774918'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/03/xna-car-cup-article-for-dndj-part1.html' title='XNA Car Cup Article for DNDJ Part1'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DTu3UKKtMvs/R9ZXnPP6FCI/AAAAAAAAABc/1LSimJORq_k/s72-c/XNA_RaceSample.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6498380258549659097.post-4907058756832591823</id><published>2008-01-29T00:38:00.000-08:00</published><updated>2008-12-11T21:02:18.666-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reporting Server Winform WebService CSharp'/><title type='text'>WinForm Client for Reporting Server</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_DTu3UKKtMvs/R57uV3L4psI/AAAAAAAAAAc/VieEkYz3Dp8/s1600-h/ReportingClient.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5160824282371630786" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_DTu3UKKtMvs/R57uV3L4psI/AAAAAAAAAAc/VieEkYz3Dp8/s320/ReportingClient.jpg" border="0" /&gt;&lt;/a&gt; &lt;span style="color:#3366ff;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color:#000000;"&gt;I started to play around with MS Reporting Server. Honestly speaking: I like it. It needs some minor enhancements, but overall it is a very nice product. You create your reports in minutes from within Visual Studio and deploy it to your IIS. The reports are immediatly visible for the audience (if they have the proper rights to access your IIS) and the reports look quite nice from the beginning (do not forget to add a footer with a page counter, today's date and maybe the user name to your reports so that also management likes them). Nice, but a web client alone is not what I was looking for. It is great for your end users, but as a developer I want a WinForm client.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#3366ff;"&gt;The Winform Client requirements&lt;/span&gt; &lt;/div&gt;&lt;div&gt;With this client I wanted to be able to test my reports and use it as a little helper tool during development (check header, footer and the overall outcome of the reports). &lt;/div&gt;&lt;ul&gt;&lt;li&gt;connect to any reporting server&lt;/li&gt;&lt;li&gt;use default credentials or&lt;/li&gt;&lt;li&gt;pass a username and password combination&lt;/li&gt;&lt;li&gt;get the list of reports dynamically&lt;/li&gt;&lt;li&gt;I want to decide how many reports I would like to see&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style="color:#3366ff;"&gt;The implementation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;It turned out that this is quite easy to implement.&lt;/div&gt;&lt;div&gt;The steps to reproduce are quite short: &lt;/div&gt;&lt;ol&gt;&lt;li&gt;Create a new Winform application in Visual Studio.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Place the following controls on the form:&lt;br /&gt;A Textbox for the server URL&lt;br /&gt;A Combobox used to populate with a list of available reports&lt;br /&gt;Two buttons - one to fill the combo and one to run the report&lt;br /&gt;A tab control with two pages and on both pages we need a ReportViewer control&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#3366ff;"&gt;Let's start coding&lt;br /&gt;&lt;/span&gt;We need to create a web reference (right mouse button on References in solution explorer) which gives us a local proxy to the reporting server web service (the url for a local installation is &lt;a href="http://localhost/reportserver/reportservice.asmx"&gt;http://localhost/reportserver/reportservice.asmx&lt;/a&gt;). I gave it the name RSWebService.&lt;/p&gt;&lt;p&gt;We need to instance variables to hold the web service proxy and the current ReportViewer control:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;private ReportingService _rs = null;&lt;br /&gt;private ReportViewer _currentViewer;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Also, a small helper class to hold the report name and report URL comes in handy:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_DTu3UKKtMvs/R58Bw3L4pyI/AAAAAAAAABM/Tzy9ZAV2PfU/s1600-h/ReportItemClass.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5160845636949026594" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_DTu3UKKtMvs/R58Bw3L4pyI/AAAAAAAAABM/Tzy9ZAV2PfU/s320/ReportItemClass.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;The next thing we need to code is the button to connect to the web service using the proxy, retrieve a list of reports and fill the combobox. You see the full code below (click on the image to get it readable).&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_DTu3UKKtMvs/R57wunL4ptI/AAAAAAAAAAk/f1Mdz5TOb2A/s1600-h/reportListButton.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5160826906596648658" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_DTu3UKKtMvs/R57wunL4ptI/AAAAAAAAAAk/f1Mdz5TOb2A/s320/reportListButton.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now, our users would like to choose a report and show the report in the tab page.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_DTu3UKKtMvs/R58Az3L4pxI/AAAAAAAAABE/0gl2oZQDY84/s1600-h/ChooseReportButton.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5160844588977006354" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_DTu3UKKtMvs/R58Az3L4pxI/AAAAAAAAABE/0gl2oZQDY84/s320/ChooseReportButton.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Last but not least we would like to create a new tab page with a ReportViewer control on it if the user clicks on the last tab page on the tab control - which means we have to code the&lt;br /&gt;SelectedIndexChanged event as you can see below.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_DTu3UKKtMvs/R58ACHL4puI/AAAAAAAAAAs/mYTpcKdDYTc/s1600-h/SelectedIndexChanged.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5160843734278514402" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_DTu3UKKtMvs/R58ACHL4puI/AAAAAAAAAAs/mYTpcKdDYTc/s320/SelectedIndexChanged.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;Conclusion&lt;br /&gt;&lt;/span&gt;Rporting server is really a cool piece of Microsoft SQL Server. With this small helper application development with it becomes even more fun and a bit easier (at least for me).&lt;/p&gt;&lt;p&gt;I hope you enjoyed this small article!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6498380258549659097-4907058756832591823?l=hamboeck.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hamboeck.blogspot.com/feeds/4907058756832591823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6498380258549659097&amp;postID=4907058756832591823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/4907058756832591823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6498380258549659097/posts/default/4907058756832591823'/><link rel='alternate' type='text/html' href='http://hamboeck.blogspot.com/2008/01/winform-client-for-reporting-server.html' title='WinForm Client for Reporting Server'/><author><name>Berndt Hamböck</name><uri>http://www.blogger.com/profile/02193442288327772363</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_DTu3UKKtMvs/SrYwKspRoyI/AAAAAAAAAEI/hy9WaI3wMI0/s1600-R/8c0ba2946.3316446,1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_DTu3UKKtMvs/R57uV3L4psI/AAAAAAAAAAc/VieEkYz3Dp8/s72-c/ReportingClient.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
