Bizzy Bees XNA to DirectX/DirectXTK – Introduction
Bizzy Bees is super simple. It is raining flowers, and the task at hand is to match up same colored flowers with same colored bees to remove them before the flowers reach the bottom of the screen. Rainbow flowers can be matched with all bees and if you match a rainbow flower you score a point.
I’ve divided the walkthrough into 8 small articles to make the information a bit more digestable
1. Setting up the base project with DirectX and DirectTK
2. Creating the game assets (sprites and fonts)
3. Drawing the scene – Background/Foreground/HUD
4. Adding flowers
5. Making things move
6. Adding bees
7. User Interaction
8. Tidying up and adding finishing touches
If you want to follow along, you can download DirectXTK (DirectX ToolKit) from codeplex. DirectXTK is a toolkit that sits on top of DirectX enabling you to use XNA like constructs like the SpriteBatch, SpriteFont etc. making the transition from XNA to DirectX fairly easy and it comes directly from some of the guys that made XNA so it’s good stuff:)
Disclaimer: I am not really a C++ developer since I work mainly in C# so keep that in mind when you look at the code since there might be better ways to do things. I welcome any and all comments that could make things better.