What patterns do you think are best for silverlight games? Some main areas of focus are game performance, maximum number of objects reasonably updated in real time, ease of development and testing.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually the blog Shawn mentioned should be http://www.bluerosegames.com/silverlight-games-101/
I’ve been fighting this one for a while, and in XNA games I am leaning towards a Model-View pattern but in Silverlight I like using a combination of inheritance and composition that I detail here:
http://www.bluerosegames.com/silverlight-games-101/post/An-improved-Silverlight-Sprite-class.aspx
It just seemed that when I went to implement a Model-View pattern in Silverlight for games that it got in the way more than it helped. It could also be that I just don’t understand the pattern well enough and I’d love to see if someone who’s better at it to see if what I do is applicable to that pattern.