Wednesday, September 14, 2011

Event based game development & platformer

I'm not feeling all that well and I find it a bit more difficult to concentrate, but I've studied some code again and delved a little deeper into C#.

Up until now, I've only used events in Windows Forms programming and used polling (updating and checking everything every frame) for my game concepts.
This tutorial however has helped me understand how to implement and use events to make my code better and easier to reuse.
Simple menu
I've made simple Menu and MenuItem classes together with events to easily create functional menus.
They're a bit ugly now, but I'm still working on improving the logic so bear with me.

I'm studying the platformer sample from App Hub now and seeing how they did the basics, so I can make my own platformer style game and hopefully add some unique twists.



No comments:

Post a Comment