-
Book Overview & Buying
-
Table Of Contents
3D Game Development with Microsoft Silverlight 3: Beginner's Guide
By :
So far, we showed a few raster sprites, and created a simple 2D scene with some animations. We also took advantage of some GPU acceleration and used 2D vectors to define locations and movements. However, games require dozens of sprites moving at different speeds and directions. How can we animate multiple independent concurrent sprites while managing a complex game loop?
We can do this by combining a good object-oriented design with the power of XAML based vector graphics. Using the same principles that we learnt for raster sprites, it is possible to create more flexible vector-based sprites.
The key to success is using smart object-oriented characters and a flexible game loop. We must understand what we are doing in order to create efficient algorithms for our games.
Change the font size
Change margin width
Change background colour