Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Framerate is strange from EnableFrameRateCounter

    I am confused about the FPS counter that appears when I set enableFrameRateCounter to true.  I have 1 rectangle on the screen and it says 1.6/60.  I added a character and moved him around and I could push it up to 600/60.  Does it not calculate when it has nothing to redraw?  This makes it difficult to use the FPS counter for ...
  • Best way to load animated and non animated images?

    What is the best way to do the following?   Load images for animations  Using a spritesheet and an image brush to fill a rectangle Using a spritesheet and a clipping region on the spritesheet Using separate .png files Other, please explain Load non-animated images   Using a spritesheet and a clipping ...
  • Re: Re: Make security in a game

    I assumed he was accessing the XML or database from the server.  As you said qBus a good topic to discuss as far as security is sending your data from the silverlight app to your web service securely.  I am interested in anyone's strategies on how to do so.  In games there are always cheaters.
  • Re: Breakpoints can not be reached at random times

    Alok I rebuilt/cleaned the code many times, but it did not help.  I am curious if anyone else has tried using Google Chrome and what their results are.
  • Re: Make security in a game

    You also might want to check out Entity framework.  It is new and still has some issues, but I like it.  It creates a conceptual model based on a database which you then use to access the data.  You can use any database you want as the backend, sql server, mysql, Oracle, ect.
  • Re: Stack panel ignores custom control with auto width and height

    Thanks that makes sense.  The reason I have that canvas there is so that I could move the user control anywhere on my screen while still having the user control originally in another type of layout.  I believe I can accomplish this with translate transform instead of the canvas. 
  • Re: Breakpoints can not be reached at random times

    I changed to using Internet Explorer to test instead of Google chrome and I can now hit my break points.  Something with Google Chrome was causing me to not be able to do so sometimes.  I do not yet know what the problem with Google chrome was.
  • Stack panel ignores custom control with auto width and height

    I accidently posted this in the game dev forum.  It does happen to be for a game, but it is not specifically game dev related.  If a mod wants to move this to the general silverlight programming forum that would be good.  I created a custom control named DraggableControl.  I tried adding two of the controls to a ...
  • Re: Make security in a game

    I also don't see the reason to not use a database. A database would be much faster, easier to use, and allow you to do quicker development. MySQL is free if your worried about cost.
  • dragdrop bring to front using zindex

    I implemented a drag drop system where the last dragged item is above the items below it. Currently to achieve this I keep track of the current highest z-index and when I drag something I set its z-index to the current highest + 1. Is there a better way of doing this? I know the max z-index is like 1 million, but still it just seems weird to ...
1 2 3 Next >
Microsoft Communities