<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Game Development</title><link>http://forums.silverlight.net/forums/52.aspx</link><description>A forum for discussions around casual game development using Silverlight.  Ask about game logic, animations, etc. with regard to game development.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Simple Transforms...</title><link>http://forums.silverlight.net/forums/thread/328439.aspx</link><pubDate>Mon, 30 Nov 2009 12:02:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328439</guid><dc:creator>bobg2009</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/328439.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=328439</wfw:commentRss><description>&lt;p&gt;Hi Guys,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m not sure if this post is in the right place, but because it involves animation and transforms I figure the games section might not be a bad place to ask.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am trying &amp;quot;stack&amp;quot; or put into a carousel some tab controls I have. So the user can just click on one and it moves to the front. Similar to the following, but with tab controls.&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm#/?sref=AnimatedPerspective&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve been looking for the source code for this example, because I thought it was a good place to start.&lt;/p&gt;&lt;p&gt;If anyone can assist. It would be very much appreciated.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>New Silverlight high score service for Silverlight Games</title><link>http://forums.silverlight.net/forums/thread/295862.aspx</link><pubDate>Thu, 01 Oct 2009 21:14:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:295862</guid><dc:creator>APIJunkie</dc:creator><slash:comments>5</slash:comments><comments>http://forums.silverlight.net/forums/thread/295862.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=295862</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 10pt 0.25in;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;Hello all,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt 0.25in;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;I’ve seen several posts regarding how to build and use a high score system in a Silverlight game. I Just wanted to give you a heads up that we are starting a free high score/in-game event service for Silverlight games. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;The service is currently in early adopter beta stage. If you are interested in more information or wish to participate in the early adopter program check out the official forum announcement post at &lt;/font&gt;&lt;a href="http://www.mashooo.com/forumpage.aspx?g=posts&amp;amp;m=581"&gt;&lt;font size="3" face="Calibri"&gt;http://www.mashooo.com/forumpage.aspx?g=posts&amp;amp;m=581&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Bevel pixel shader effect?</title><link>http://forums.silverlight.net/forums/thread/328190.aspx</link><pubDate>Mon, 30 Nov 2009 01:38:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:328190</guid><dc:creator>Timmy G</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/328190.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=328190</wfw:commentRss><description>&lt;p&gt;Hi all, I&amp;#39;ve been all over the web looking for a pixel shader that would create a bevel (like the BevelBitmapEffect bitmap effect in WPF) and have concluded that there isn&amp;#39;t one *yet*. Next step of course is to write my own.&lt;/p&gt;
&lt;p&gt;But before I start, can anyone think of a reason why it would not be technically possible? I found &lt;a href="http://marlongrech.wordpress.com/2008/05/15/effects-in-net-sp1-for-wpf/"&gt;a blog post about how the WPF effects are being replaced by Effects&lt;/a&gt; explaining that &amp;quot;certain effects from the old pipeline will never be accelerated in the new pipeline. These include BevelBitmapEffect, OuterGlowBitmapEffect, and EmbossBitmapEffect.&amp;quot;&lt;/p&gt;
&lt;p&gt;... that makes me worried that maybe there&amp;#39;s something about a bevel that makes it technically not possible to do in a pixel shader. Does anyone know one way or the other? Or better yet, does anyone know of a bevel pixel shader that I missed?&lt;/p&gt;</description></item><item><title>How to increase performance of drawing a multitude of UI elements?</title><link>http://forums.silverlight.net/forums/thread/309495.aspx</link><pubDate>Mon, 26 Oct 2009 23:25:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:309495</guid><dc:creator>Grey Matter</dc:creator><slash:comments>13</slash:comments><comments>http://forums.silverlight.net/forums/thread/309495.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=309495</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;1. Now my application operates with 2513 polygons (25321 points for all of these polygons) and it takes about 0.4 second to change their coordinates (for moving or scaling). A similar application written in C++ that uses GDI API makes the same operation within 10-20 milliseconds. So, it&amp;#39;s a great difference and it&amp;#39;ll be even greater if the amount of objects is increased. But I&amp;#39;m not trying to complain about Silverlight performance, I just have a very slim hope that there may be any trick to get it just a little faster.&lt;/p&gt;&lt;p&gt;2. But it&amp;#39;s only a half of my trouble that it may take too much time. The second half of the trouble is that it causes my user interface to stop responding for all of the operating period. I was trying to solve it with a background thread but it didn&amp;#39;t help because any UI element cannot be created beyond UI thread, and it returned me to the same trouble with UI freezing.&lt;/p&gt;&lt;p&gt;If someone has any ideas about question 1 or 2, I would be very grateful for it.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Framerate is strange from EnableFrameRateCounter</title><link>http://forums.silverlight.net/forums/thread/327166.aspx</link><pubDate>Thu, 26 Nov 2009 20:39:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:327166</guid><dc:creator>Grahf</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/327166.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=327166</wfw:commentRss><description>&lt;p&gt;I am confused about the FPS counter that appears when I set enableFrameRateCounter to true.&amp;nbsp; I have 1 rectangle on the screen and it says 1.6/60.&amp;nbsp; I added a character and moved him around and I could push it up to 600/60.&amp;nbsp; Does it not calculate when it has nothing to redraw?&amp;nbsp; This makes it difficult to use the FPS counter for performance debugging.&lt;/p&gt;</description></item><item><title>Collision detection... again.</title><link>http://forums.silverlight.net/forums/thread/325312.aspx</link><pubDate>Mon, 23 Nov 2009 23:50:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:325312</guid><dc:creator>drnomad</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/325312.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=325312</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m doing some experimenting and research on pixel-based collision detection. Ofcourse I came across Andy&amp;#39;s &lt;a href="http://www.andybeaulieu.com/Home/tabid/67/EntryID/160/Default.aspx" target="_blank"&gt;article&lt;/a&gt; on this, using WriteableBitmap. As I was afraid of a performance drain, so&amp;nbsp;I started implementing some optimized variant, based on the same idea.&lt;/p&gt;
&lt;p&gt;But with any optimization, you loose something. It doesn&amp;#39;t work with images which have a rotationtransform working on it. My guess is, that Andy&amp;#39;s algorithmn could still work if you use Writeable bitmap for UIElement and use the rotatetransformed image as input. I have not tested this though.&lt;/p&gt;
&lt;p&gt;I also came across an article of Mike Snow, stating in bullet number 4, that he uses &lt;a href="http://blogs.silverlight.net/blogs/msnow/archive/2009/03/09/silverlight-tip-of-the-day-98-silverlight-3-game-programming-book.aspx" target="_blank"&gt;polygons&lt;/a&gt; to represent collision areas. Does anybody know more about this? &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve used polygon-to-polygon collision before in &lt;a href="http://www.seujogo.com/Game.aspx?gameId=37" target="_blank"&gt;Avios&lt;/a&gt;. I coded this, for actually the reason that I wanted the collision area to rotate along with the player. But in Avios, I created the collision areas manually. Does anybody know about an algorithm, which automatically detects the outline of an image? I&amp;#39;ve already been studying how to do it myself, but I don&amp;#39;t want to reinvent the wheel if I don&amp;#39;t have to.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Best way to load animated and non animated images?</title><link>http://forums.silverlight.net/forums/thread/324503.aspx</link><pubDate>Sun, 22 Nov 2009 18:31:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:324503</guid><dc:creator>Grahf</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/324503.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=324503</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;What is the best way to do the following?&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;strong&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Load images for animations&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp; 
&lt;ul&gt;
&lt;li&gt;&lt;font size="3" face="Calibri"&gt;Using a spritesheet and an image brush to fill a rectangle&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3" face="Calibri"&gt;Using a spritesheet and a clipping region on the spritesheet&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3" face="Calibri"&gt;Using separate .png files&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3" face="Calibri"&gt;Other, please explain&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;Load non-animated images&lt;/font&gt;&lt;/font&gt;&lt;/strong&gt;&amp;nbsp; 
&lt;ul&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3" face="Calibri"&gt;Using a spritesheet and a clipping region on the spritesheet&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:Symbol;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font size="3" face="Calibri"&gt;Using separate .png files&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3" face="Calibri"&gt;Other, please explain&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt; &lt;font size="3" face="Calibri"&gt;How does GPU acceleration affect the techniques above?&amp;nbsp; Should all my images be powers of 2?&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Game/Chat Server and Sockets question</title><link>http://forums.silverlight.net/forums/thread/322592.aspx</link><pubDate>Thu, 19 Nov 2009 01:33:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:322592</guid><dc:creator>ScCrow</dc:creator><slash:comments>4</slash:comments><comments>http://forums.silverlight.net/forums/thread/322592.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=322592</wfw:commentRss><description>&lt;p&gt;I wrote a Windows based Scrabble game that would allow users to play people on other computers over the Lan.&amp;nbsp; I think its kind of cool.&amp;nbsp; I even allow playing in&amp;nbsp;different languages and Klingon.&lt;/p&gt;
&lt;p&gt;However I was not able to get this to work so that it could be used over the internet.&amp;nbsp; I used Sockets in this code.&amp;nbsp;&amp;nbsp;However, this soon became an issue with routers and other things.&amp;nbsp;I couldnt get get addressable ipAddresses thru firewalls, etc. So I thought about perhaps having something running, registering people who want to play, and routing the trafic thru the server instead of having the two computers talking directly.&amp;nbsp; I didnt want to do this because it just increases the traffic on the website.&lt;/p&gt;
&lt;p&gt;Now Im looking at rewriting it&amp;nbsp;in Silverlight and runnning it in a browser.&amp;nbsp; However, I think that there is going to be a problem with getting a server going.&amp;nbsp; I have an ISP and a website&amp;nbsp;but purchasing a dedicated server is not an option.&amp;nbsp; My previous ISP would not allow me to have a program running to listen on the ports.&amp;nbsp; Im fairly sure I will have this problem with my new ISP.&lt;/p&gt;
&lt;p&gt;Ive found samples of chat programs, game servers, etc.&amp;nbsp; But unless Im mistaken, they need to have an exe running to do the listening on the ports.&lt;/p&gt;
&lt;p&gt;So at this point Im looking for some direction and perhaps some sample code / links.&amp;nbsp; Or am I just wrong and seeing a problem that doesnt exist?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;ScCrow&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Making money with Silverlight Games Apps?</title><link>http://forums.silverlight.net/forums/thread/263842.aspx</link><pubDate>Tue, 04 Aug 2009 21:26:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:263842</guid><dc:creator>mrmop</dc:creator><slash:comments>19</slash:comments><comments>http://forums.silverlight.net/forums/thread/263842.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=263842</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been working with Silverlight for a while now. The first app that I created a while back (to get used to Silverlight) was a game (&lt;a href="http://www.battleballz,com/"&gt;www.battleballz,com&lt;/a&gt;&amp;nbsp;- still needs the programmer graphics replacing and a few other bits implementing)&lt;/p&gt;
&lt;p&gt;My latest app (still in development) is a social networking tool and is much more ambitious. and has taken me considerable time and money to develop.&lt;/p&gt;
&lt;p&gt;Looking around the web I cant seem to see many games / apps being developed with Silverlight. I also dont see much in the way of employment in Silverlight. This to me begs the question, is there any money in Silverlight games / apps? Don&amp;#39;t get me wrong, Silverlight is wonderful to use, but that doesnt feed the family.&lt;/p&gt;
&lt;p&gt;Has anyone had any success either with developing games or apps in Silverlight?&lt;/p&gt;</description></item><item><title>Need Silverlight graphist for my multiplayer online game</title><link>http://forums.silverlight.net/forums/thread/319198.aspx</link><pubDate>Thu, 12 Nov 2009 17:06:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:319198</guid><dc:creator>Skyrunner</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/319198.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=319198</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I just created a multiplayer turn-based online game and I&amp;#39;m looking for a Silverlight graphist to realize the design of the game itself and of the hosting website (room, room chat, in-game chat...).&lt;/p&gt;&lt;p&gt;The game is 90% completed, I just need to create the platform around (a players create a game (room) -&amp;gt; players join the game -&amp;gt; the host starts the game / statistics...)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I you are interested send me an email to skyrunner _at_ live _dot_ com &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Long Road for My Car racing Game.</title><link>http://forums.silverlight.net/forums/thread/321352.aspx</link><pubDate>Tue, 17 Nov 2009 12:08:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:321352</guid><dc:creator>Pravinkumar R. D.</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/321352.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=321352</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have worked with Behaviors in Silverlight including Physics Behaviors. This is the reference which I took while working - &lt;a href="http://physicshelper.codeplex.com/"&gt;http://physicshelper.codeplex.com/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I tried below things-&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) I am trying to design a car which will move on the ground by&amp;nbsp;Left key and Right key&amp;nbsp;press events. I did it successfully. Its working fine.&lt;/p&gt;
&lt;p&gt;2) I designed a nice ground which is having couple of disturbances. I was able to make it successfully. My car is moving on this ground now.&lt;/p&gt;
&lt;p&gt;The things which I am not able to implement are as below-&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) The ground for my car should be long in distance. I don&amp;#39;t want scroll bars for this. I saw in one of the video that you can achive this. But I am not able to find the Behavior for the same. It&amp;#39;s like Mario game sort of thing. As you can move front and back.&lt;/p&gt;
&lt;p&gt;4) When My car starts moving, I want to show speed as well. This I am not able to calculate.&lt;/p&gt;
&lt;p&gt;Requesting all of you to help me implement this. and finding a Behavior for the same.&lt;/p&gt;
&lt;p&gt;Most importantly - This complete implementation (Applying behaviors ) should be without code. Just a drag and Drop. Whatever I have completed till the time is without code.&lt;/p&gt;
&lt;p&gt;Thanks in Advance !!&lt;/p&gt;</description></item><item><title>Reading XML from a PHP script</title><link>http://forums.silverlight.net/forums/thread/321737.aspx</link><pubDate>Wed, 18 Nov 2009 03:04:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:321737</guid><dc:creator>bluedot</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/321737.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=321737</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using Silverlight to display a map and the GUI for small game. I am currently trying to get a dot to move around the map based on X-Y coordinates that are stored and updated in a MySQL database.&lt;/p&gt;&lt;p&gt;I have a 8 buttons on my GUI, 1 for each direction when one of the buttons is pressed the something like following function is called:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt; &lt;span class="kwd"&gt;private void&lt;/span&gt; North_Click(&lt;span class="kwd"&gt;object&lt;/span&gt; sender, RoutedEventArgs e)
        {
            WebClient wc = &lt;span class="kwd"&gt;new&lt;/span&gt; WebClient();
            wc.DownloadStringCompleted += (s1, e1) =&amp;gt; txtResultPar.Text = e1.Result + Environment.NewLine + txtResultPar.Text;
            wc.DownloadStringAsync(&lt;span class="kwd"&gt;new&lt;/span&gt; Uri(&amp;quot;http://myurl.com/&lt;span class="cmt"&gt;phpSLparse.php?move=&amp;quot; + N.Name, UriKind.Absolute));&lt;/span&gt;
            
        }&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;The php script that is called looks something like:&lt;/p&gt;&amp;nbsp;&lt;pre class="coloredcode"&gt; if($_GET[&amp;#39;move&amp;#39;])
{

*code to query a characters current X-Y location on the map and then some math to determine the new X-Y and update the characters location in the MySQL database*

 echo &amp;quot;You have moved to $newX - $newY&amp;lt;&lt;span class="tag"&gt;br&lt;/span&gt;&amp;gt;&amp;quot;;

 }&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;The text that is echoed by the php script is then displayed in a textblock in the Silverlight gui.&lt;/p&gt;&lt;p&gt;What I would like to do is have the php script write XML, and have the C# read the XML and be able to store the X-Y values in variables that can be&amp;nbsp; manipulated by the C#. &lt;/p&gt;&lt;p&gt;Having the PHP write XML is easy enough, it is the C# reading the XML that I run into problems. I would greatly appreciate some help. I have gone through some tutorials however, my limited experience with C# has caused me to constantly run into problems. &lt;/p&gt;&lt;p&gt;Thank you! &lt;br /&gt;&lt;/p&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;</description></item><item><title>Store information - database, datagrid, array or?</title><link>http://forums.silverlight.net/forums/thread/320857.aspx</link><pubDate>Mon, 16 Nov 2009 15:38:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:320857</guid><dc:creator>HenrikSkov</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/320857.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=320857</wfw:commentRss><description>&lt;p&gt;Im working on a&amp;nbsp;Silverlight multiplayer game. What would be the best way to handle all the dynamic data. I might have 100 objects with 50 properties on each. I need to have fast access to these information all the time, as this is a real time game.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here are my thoughts:&lt;/p&gt;
&lt;p&gt;Database:&lt;br /&gt;Always get data from database each time a function needs it. I think this will be way to slow and the application will need to query the database all the time.&lt;/p&gt;
&lt;p&gt;DataGrid:&lt;br /&gt;All needed information is&amp;nbsp;loaded from the database to an invisible&amp;nbsp;DataGrid. The gameloop will then query the datagrid and update the data in it. An other function will then query and submit from the database or send/receive data through the socket service, but only every 5 seconds.&lt;/p&gt;
&lt;p&gt;Array:&lt;br /&gt;The same method as with the DataGrid, but temp data is stored in an array insted of DataGrid.&lt;/p&gt;
&lt;p&gt;Other option:&lt;br /&gt;Maybe it need to use a 4th option?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I hope you can understand what i mean. :)&lt;/p&gt;</description></item><item><title>Simple 2d layer drawing problem</title><link>http://forums.silverlight.net/forums/thread/311821.aspx</link><pubDate>Fri, 30 Oct 2009 08:34:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:311821</guid><dc:creator>Grofit</dc:creator><slash:comments>6</slash:comments><comments>http://forums.silverlight.net/forums/thread/311821.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=311821</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hey,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Similar to one of my old posts but this one is a bit simpler a problem... but i still cant think of a *decent* solution without having to do LOTS of checks and nasty things...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://grofit.co.uk/stuff/uploads/layer_example.jpg" width="124" height="154" alt="" /&gt;&lt;/p&gt;&lt;p&gt;In the above example you can see there are 3 elements in the *imaginary* scene, 2 characters and 1 element in the level. You can for all intents and purposes think of the level item as a tree bark, so the blue player is standing in front of the tree, the red player however is standing behind the tree...&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now currently my level is split up into 3 layer, underfoot layer which contains all ground sprites. Player layer, which contains all players/characters and can also contain sprites that should react as shown above, then finally an overhead layer which is always displayed overhead...&lt;/p&gt;&lt;p&gt;Now in a similar game i did with XNA (although never finished) i did a simple y axis check every time i drew something to the screen, so each object that was within this *player* layer was assigned a layer based on its y value, so the blue player may be at 30,100 and the bark is at 30, 30 so it would give the bark a layer of like 3 or something like that, and the player would have a layer of like 10 which would display it over the static entity, however the red player would have a layer of about 2 or similar so he would be displayed behind the tree bark.&lt;/p&gt;&lt;p&gt;Thing is in XNA im pretty sure i could use decimals so there was no chance of me running out of layers, but im not sure if silverlight is as flexible in this department, and as it doesnt render things per frame, i would need to keep cycling through active elements in the scene updating their layer somehow, and im not sure how slow that would be....&lt;/p&gt;&lt;p&gt;&amp;nbsp;Anyone had anything similar to this and solved it with a *nice* solution? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Make your own games</title><link>http://forums.silverlight.net/forums/thread/319001.aspx</link><pubDate>Thu, 12 Nov 2009 12:28:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:319001</guid><dc:creator>Glenlake</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/319001.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=319001</wfw:commentRss><description>&lt;p&gt;The following paragraph was posted yesterday to a different thread:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m not (yet) a game programmer, although I once wrote a Scrabble
program using Delphi (single computer, option to play against the
computer). Here is my 2 cents on this issue: I believe Silverlight is
potentially an excellent platform for making a game-creation&amp;nbsp;system
(end-user programming). There are over 200 game-creation system
projects hosted by SourceForge.net, and very few of them, if any,
target the Silverlight platform. My own project, &lt;a href="http://www.pyxelation.com/" class="" title="Pyxelation"&gt;Pyxelation&lt;/a&gt;,
lets you use IronPython as a scripting language for creating
Silverlight multiplayer games. (I haven&amp;#39;t started implementing it yet.)
If anyone wants to contribute to my project, I already contacted TheNut
(nutty.ca) about Pyxelation (a couple of hours ago), so he has first
crack at it. I&amp;nbsp;intend to&amp;nbsp;use C# to implement Pyxelation (and maybe
IronPython as well). I know Delphi, C, Python, and Java, in descending
order of competence, so it won&amp;#39;t be hard for me to learn C#. Learning
how to program games&amp;nbsp;will certainly be a challenge, though. In case my
Pyxelation project proposal gets a lukewarm reception in this forum, I
intend to continue plugging away&amp;nbsp;at it as an open source project in my
spare time.&lt;/p&gt;&lt;p&gt;It turns out that TheNut is too busy to help me implement Pyxelation. My original plan was to make Pyxelation open source. However, if I make it closed source and pay a Silverlight game programmer to develop the game engine for me, while I work on the Pyxelator (game editor), then I can get this product to market much sooner. Being the first is all-important in this business. If you are interested in developing my game engine, please send me your resume. If I feel that you would be a good candidate for this position, we can negotiate your remuneration (a fixed price contract). For more info, please visit my web site at pyxelation.com and click on Pyxelation Wiki. Feel free to critique my Pyxelation idea by replying to this post. Thank you.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Can this game be done in Silverlight?</title><link>http://forums.silverlight.net/forums/thread/315246.aspx</link><pubDate>Thu, 05 Nov 2009 22:41:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:315246</guid><dc:creator>ksleung</dc:creator><slash:comments>11</slash:comments><comments>http://forums.silverlight.net/forums/thread/315246.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=315246</wfw:commentRss><description>&lt;p&gt;I didn&amp;#39;t write the game and I don&amp;#39;t know the author so this is not an ad.&amp;nbsp; Click the link next to the colorful spaceship in the following link to get to the game (but you can read the Reddit comment posted by the solo author):&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.reddit.com/r/gaming/comments/a0yn3/hey_reddit_i_made_a_2d_flash_shooter_game/" title="http://www.reddit.com/r/gaming/comments/a0yn3/hey_reddit_i_made_a_2d_flash_shooter_game/"&gt;http://www.reddit.com/r/gaming/comments/a0yn3/hey_reddit_i_made_a_2d_flash_shooter_game/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s a 2D shooter game, but it has very good graphics, actions, and choice of sound.&amp;nbsp; The solo developer developed this game in 2 months in his free time.&amp;nbsp; I want to know, among our SL game developers, how hard is it to develop this game in Silverlight?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Well, actually, I expect a popular answer would be, of course, this can be done in SL.&amp;nbsp; The key flash concepts required to develop this game (graphics, vectors, frame-based game loop, WriteableBitmap for the display, math) are all available in SL.&amp;nbsp; If this is the case, can something actually develop something like this game, just so once and for all make a convincing argument as such?&amp;nbsp; I mean, come on, so far all the games posted here (that I&amp;#39;ve seen) are of the category of &amp;quot;Hello World&amp;quot; or &amp;quot;Gaming 101&amp;quot;.&amp;nbsp; Can someone do something that is a bit more impressive, like what the author of this game did?&lt;/p&gt;&lt;p&gt;Currently I assume that the lack of high quality game is a matter of economics -- the return on investment (ROI) is simple too low for Silverlight-based games.&amp;nbsp; This reasoning, however, can only be used for so long, unless we are all collectively saying SL is not going anywhere.&amp;nbsp; That aside, is there any technical roadblock that makes developing a game like this difficult in SL, like UIElement too heavy, sound API broken, bitmap functions too slow, etc?&amp;nbsp; This game is by no mean a stretch goal...&amp;nbsp; After all, it was doable in Flash.&amp;nbsp; In 2 months.&amp;nbsp; By one person.&amp;nbsp; Under moonlight.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Curious to see what you guys think.&amp;nbsp; PM me if you like to say something private or want to make it anon.&amp;nbsp; Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Home Page for Silverlight Application.</title><link>http://forums.silverlight.net/forums/thread/316054.aspx</link><pubDate>Sat, 07 Nov 2009 09:15:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:316054</guid><dc:creator>Furukoo</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/316054.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=316054</wfw:commentRss><description>&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Hello ... I try to developp game application on &lt;a href="http://www.furukoo.fr"&gt;www.furukoo.fr&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Have you some sample of Home page (html code) for Silverlight Application ? &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Many peoples comes on my same site, but don&amp;#39;t enter on the site. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Perhaps, they think they are nothing to see ? &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;I want to clarify the home page for helping persons. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;I need suggest and or html code sample for building one better home page. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Give me link of sample home page. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;span class="Apple-style-span" style="WORD-SPACING:0px;FONT:medium &amp;#39;Times New Roman&amp;#39;;TEXT-TRANSFORM:none;TEXT-INDENT:0px;WHITE-SPACE:normal;LETTER-SPACING:normal;BORDER-COLLAPSE:separate;-webkit-text-size-adjust:auto;orphans:2;widows:2;-webkit-border-horizontal-spacing:0px;-webkit-border-vertical-spacing:0px;-webkit-text-decorations-in-effect:none;-webkit-text-stroke-width:0px;"&gt;&lt;span class="Apple-style-span" style="FONT-SIZE:13px;FONT-FAMILY:monospace;"&gt;Thanks a lot&lt;br /&gt;
&lt;br /&gt;
Yvan&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Adding animation to a web application</title><link>http://forums.silverlight.net/forums/thread/313286.aspx</link><pubDate>Mon, 02 Nov 2009 21:21:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:313286</guid><dc:creator>Chamster</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/313286.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=313286</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been kindly asked to repost this question here.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I created a Silverlight application, consisting of two projects -
TheCoolest and TheCoolest.Web. The current functionality is (the
coolestly possible) dragging and dropping a rectangle within a canvas.
So far, so good.&lt;/p&gt;&lt;p&gt;Now, i&amp;#39;d like to make the rectangle pulse
shifting colors while dragged (or just hoovered upon). After several
hours of different approaches, all of which resulted in failures
(run-time crashes with different error messages, no pulsing nor
dragging etc.), i realized that my ratio of patience to competence
doesn&amp;#39;t bear this anymore.&lt;/p&gt;&lt;p&gt;So, i&amp;#39;m going to restart and i&amp;#39;d like someone to hold my hand on this. My best (still not working) attempt is as follows. &lt;/p&gt;&lt;p&gt;In the XAML i add the event of mouse entering.&lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;UserControl&lt;/span&gt; ...&amp;gt;&lt;br /&gt;  &amp;lt;&lt;span class="tag"&gt;Canvas&lt;/span&gt;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;span class="tag"&gt;Rectangle&lt;/span&gt; ...&lt;br /&gt;&lt;span class="attr"&gt;      MouseEnter=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Rectangle_MouseEnter&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span class="attr"&gt;      Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Rectumangle&amp;quot;&lt;/span&gt;&lt;br /&gt;      ... /&amp;gt; &lt;br /&gt;  &amp;lt;/&lt;span class="tag"&gt;Canvas&lt;/span&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;span class="tag"&gt;UserControl&lt;/span&gt;&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;In
the code behind, i add a Storyboard object as a private field and in
the constructor i create and add a ColorAnimation object to it. Also, i
configure the rectangle and its property to be targeted by the
storyboard/animation. &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;&lt;span class="kwd"&gt;public&lt;/span&gt; partial &lt;span class="kwd"&gt;class&lt;/span&gt; MainPage : UserControl&lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;{&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;  &lt;span class="kwd"&gt;private&lt;/span&gt; Storyboard _storyboard;&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;  ...&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;&lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;  &lt;span class="kwd"&gt;public&lt;/span&gt; MainPage()&lt;br /&gt;&lt;b id="7"&gt;7    &lt;/b&gt;  {&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt;    InitializeComponent();&lt;br /&gt;&lt;b id="9"&gt;9    &lt;/b&gt;&lt;br /&gt;&lt;b id="10"&gt;10   &lt;/b&gt;    ColorAnimation animation = &lt;span class="kwd"&gt;new&lt;/span&gt; ColorAnimation&lt;br /&gt;&lt;b id="11"&gt;11   &lt;/b&gt;    {&lt;br /&gt;&lt;b id="12"&gt;12   &lt;/b&gt;      From = Colors.Blue,&lt;br /&gt;&lt;b id="13"&gt;13   &lt;/b&gt;      To = Colors.Yellow,&lt;br /&gt;&lt;b id="14"&gt;14   &lt;/b&gt;      Duration = TimeSpan.FromSeconds(5),&lt;br /&gt;&lt;b id="15"&gt;15   &lt;/b&gt;      AutoReverse = &lt;span class="kwd"&gt;true&lt;/span&gt;,&lt;br /&gt;&lt;b id="16"&gt;16   &lt;/b&gt;      RepeatBehavior = RepeatBehavior.Forever,&lt;br /&gt;&lt;b id="17"&gt;17   &lt;/b&gt;    };&lt;br /&gt;&lt;b id="18"&gt;18   &lt;/b&gt;&lt;br /&gt;&lt;b id="19"&gt;19   &lt;/b&gt;    _storyboard = &lt;span class="kwd"&gt;new&lt;/span&gt; Storyboard();&lt;br /&gt;&lt;b id="20"&gt;20   &lt;/b&gt;    _storyboard.Children.Add(animation);&lt;br /&gt;&lt;b id="21"&gt;21   &lt;/b&gt;    Storyboard.SetTargetName(animation, Rectumangle.Name);&lt;br /&gt;&lt;b id="22"&gt;22   &lt;/b&gt;    Storyboard.SetTargetProperty(animation, &lt;span class="kwd"&gt;new&lt;/span&gt; PropertyPath(SolidColorBrush.ColorProperty));&lt;br /&gt;&lt;b id="23"&gt;23   &lt;/b&gt;  }&lt;br /&gt;&lt;b id="24"&gt;24   &lt;/b&gt;  ...&lt;br /&gt;&lt;b id="25"&gt;25   &lt;/b&gt;  &lt;span class="kwd"&gt;private void&lt;/span&gt; Rectangle_MouseEnter(Object sender, MouseEventArgs eventaArgs)&lt;br /&gt;&lt;b id="26"&gt;26   &lt;/b&gt;  {&lt;br /&gt;&lt;b id="27"&gt;27   &lt;/b&gt;    _storyboard.Begin();&lt;br /&gt;&lt;b id="28"&gt;28   &lt;/b&gt;  }&lt;br /&gt;&lt;b id="29"&gt;29   &lt;/b&gt;}&lt;br /&gt;&lt;b id="30"&gt;30   &lt;/b&gt;...&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;This
doesn&amp;#39;t work, because the storyboard hasn&amp;#39;t any knowledge about the
rectangle Rectumangle. I understand i should register it somehow BUT
the examples i&amp;#39;ve seen refer to methods and classes in WPF application
(e.g. NameScope in PresentationFramwork.DLL), which i can&amp;#39;t add as a
reference to the project.&lt;/p&gt;&lt;p&gt;Should i register it in an other way?
If so, what way? If it&amp;#39;s correct to use NameScope - how do i get to
make it available? (I&amp;#39;ve installed SL3, latest version on the site and
i&amp;#39;m using VS2008SP1.)&lt;/p&gt;&lt;p&gt;Suggestions? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>A single DoubleCollection for a number of StrokeDashArrays causes an exception</title><link>http://forums.silverlight.net/forums/thread/312566.aspx</link><pubDate>Sun, 01 Nov 2009 02:09:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:312566</guid><dc:creator>Grey Matter</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/312566.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=312566</wfw:commentRss><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Could anyone explain it to me?&lt;br /&gt;If I create a single SolidColorBrush for a great number of Shapes it works OK, but if I create a single DoubleCollection for a number of shapes and set it to their StrokeDashArray it causes an exception or a strange behaviour. What it depends on?&lt;/p&gt;</description></item><item><title>How to invert superimposing colors?</title><link>http://forums.silverlight.net/forums/thread/311608.aspx</link><pubDate>Thu, 29 Oct 2009 23:11:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:311608</guid><dc:creator>Grey Matter</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/311608.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=311608</wfw:commentRss><description>&lt;p&gt;There are text lines over a picture. I need to make these texts be well visible for any picture with any palette. Usually I saw a technique like inverting a text&amp;#39;s color depending on a picture&amp;#39;s color laying under the text or IOW inverting text&amp;#39;s pixels depending on picture&amp;#39;s pixels superimposed on them. How it may be done in Silverlight?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Has anyone read "Foundation Silverlight 3 Animation" book?</title><link>http://forums.silverlight.net/forums/thread/308547.aspx</link><pubDate>Sat, 24 Oct 2009 22:22:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:308547</guid><dc:creator>Grey Matter</dc:creator><slash:comments>3</slash:comments><comments>http://forums.silverlight.net/forums/thread/308547.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=308547</wfw:commentRss><description>&lt;p&gt;Are there significant differences from previous edition &amp;quot;Foundation Silverlight 2 Animation&amp;quot; to learn about?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Game Related Graphic Artists?</title><link>http://forums.silverlight.net/forums/thread/309205.aspx</link><pubDate>Mon, 26 Oct 2009 13:59:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:309205</guid><dc:creator>Grofit</dc:creator><slash:comments>2</slash:comments><comments>http://forums.silverlight.net/forums/thread/309205.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=309205</wfw:commentRss><description>&lt;p&gt;Not the ideal place to post, but thought i would give it a try anyway...&lt;/p&gt;&lt;p&gt;I have been working on a silverlight game for a while in my spare time, and ive got to the point where i could do with someone who is fairly decent with UIs and design work in general to possibly help me out with either sprucing it up a bit or providing images and i would just dump them in at the relevent places... &lt;/p&gt;&lt;p&gt;The project is fantasy based, and i would mainly be after someone whos good at drawing the UI art and make it all fit in place well... i will admit that im awful at art related activities so the current prototypes i work with look like someone has thrown random tilesets at the screen and prayed they stuck there... The UI itself is just a lot of stand-in controls which are waiting relevent art/design goodness...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Anyway as its a *spare time* project, im unfortunatly not paying for anyone to help out, but if i get it finished you can put your name in the credits and use anything you create for me elsewhere... Doubt there will be any takers but thought it would be worth a try... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>My project: Silverlink</title><link>http://forums.silverlight.net/forums/thread/249069.aspx</link><pubDate>Tue, 14 Jul 2009 04:40:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:249069</guid><dc:creator>Trojan_56</dc:creator><slash:comments>1</slash:comments><comments>http://forums.silverlight.net/forums/thread/249069.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=249069</wfw:commentRss><description>Basically, i am re-creating a game which came out a while ago. Here is a preview: &lt;a href="http://www.youtube.com/watch?v=NQy0Xz2uZhk" title="Silverlink Video" target="_blank"&gt;Silverlink Video&lt;/a&gt;&lt;br /&gt;&lt;p&gt;I have been working alot on the GUI to start off with and have managed to get some pretty kool effects:&lt;/p&gt;&lt;p&gt;The App resizes as the browser resizes, but keeping the aspect-ratio of the App(600x480).&amp;nbsp; The App can be fullscreened, which resizes the App (keeping aspect-ratio) and makes it central.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I develop mainly in VB.NET, and this is my 1st big grasp on XAML, which at 1st i was a bit confused, but now i have picked it up and working quite well with it.&amp;nbsp; If anyone is interested in certain parts of this project, i may be willing to release part of the source. &lt;/p&gt;&lt;p&gt;If anyone with graphical expertise is interested, i am looking for someone to create some of the GUI graphics, like buttons, backgrounds, borders, icons, etc. &lt;/p&gt;&lt;p&gt;Also, near the end of the development, i may be looking for someone to do some music, so bare that in mind if you would like your music featured(mainly soft techno, trance)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to add or insert png or emoticon in a textbox ?</title><link>http://forums.silverlight.net/forums/thread/304400.aspx</link><pubDate>Sat, 17 Oct 2009 21:57:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:304400</guid><dc:creator>Furukoo</dc:creator><slash:comments>5</slash:comments><comments>http://forums.silverlight.net/forums/thread/304400.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=304400</wfw:commentRss><description>&lt;p&gt;I develop chat box for my project.&lt;br /&gt;I want add support for emoticons (like msn) to mu chat box.&lt;br /&gt;Can you tell me simple way to add or insert image (png)&amp;nbsp;in textbox ? (VB code if possible ?&amp;nbsp; or xaml ? )&lt;br /&gt;Thanks a lot&lt;br /&gt;&lt;br /&gt;try chat here : UserName : guest / Pass : guest&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.furukoo.fr/furukoov2/TestPage.html"&gt;http://www.furukoo.fr/furukoov2/TestPage.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks a lot&lt;br /&gt;&lt;br /&gt;Yvan&lt;/p&gt;</description></item><item><title>where i can learn about visual state manager ?</title><link>http://forums.silverlight.net/forums/thread/307882.aspx</link><pubDate>Fri, 23 Oct 2009 10:14:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:307882</guid><dc:creator>hardy</dc:creator><slash:comments>4</slash:comments><comments>http://forums.silverlight.net/forums/thread/307882.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=52&amp;PostID=307882</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;hello everybody..&lt;/p&gt;&lt;p&gt;i want to learn about visual state manager in blend 3..&lt;/p&gt;&lt;p&gt;but i am trying in http://blogs.developpeur.org/raptorxp/archive/2008/06/20/silverlight-2-petit-coup-d-il-au-visualstatemanager.asp is confusion..&lt;/p&gt;&lt;p&gt;it&amp;#39;s difficult for understand it..&lt;/p&gt;&lt;p&gt;i want the tutorial using video tutorial..&lt;/p&gt;&lt;p&gt;where can i download it?&lt;/p&gt;&lt;p&gt;thx.. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>