Freigeben über


XNA for Windows Phone Walkthrough–Creating the Bizzy Bees game

About a year back I wrote my first XNA game for Windows Phone.   The game is called Bizzy Bees and you can download and play it for free from the Marketplace.

The idea of the app is quite simple… the goal is to collect as many rainbow flowers as you can before all the flowers hit the bottom.   You collect flowers by matching flowers and bees, so a yellow flower matches with a yellow be, a pink flower with a pink bee etc. and all bees match up with rainbow flowers.

 

 

 

In this series we’ll walk through creating a subset of that game from start to finish.

Step 1: Setting the stage (projects and assets)
Step 2: Drawing the scene
Step 3: Adding flowers
Step 4: Making things move
Step 5: Adding some bees to the mix
Step 6: User interaction
Step 7: Rounding it up

The full project is attached to this post if you want to download and play with it.

/Tess

DemoGame.zip

Comments

  • Anonymous
    March 06, 2012
    Hi, Tess! Thatnks for the interesting series of articles! You have changed my mind and now I want to play with XNA a little bit. Is it possible to download the full source code, so I could investigate the solution better?

  • Anonymous
    March 06, 2012
    Thanks for the comment and Good point Sergei, I have attached the project to this post

  • Anonymous
    March 06, 2012
    Cool! Thank you, Tess. BTW, in the end of the series you said that you've ported the game to Html5. Is there any tools that could help to automate this process? Or you've just coded it from the scratch?

  • Anonymous
    March 06, 2012
    I coded it from scratch but I was thinking that I will probably do a walkthrough of that too later on

  • Anonymous
    March 06, 2012
    That would be great to have such a walkthrough. Wish to read it soon :)

  • Anonymous
    March 12, 2012
    For the record, level 4-5 so far has been impossible to beat :(

  • Anonymous
    March 13, 2012
    I love XNA, and on the WP Platform up to now.   I really Hope that Microsoft comes to their senses, and change their mind regarding their support for XNA on Windows 8 Tablets.   We  need a common platform for WP8/ WinRT Tablets  based upon C# XNA not poorly performing HTMLS/Javascript or going back to C++/ DirectX code

  • Anonymous
    June 12, 2012
    Hi, Tess! I am a beginner  in programming and I want some help from you. I am now developing a simple game, but I have some difficulties. I want to know how can I make a small ball moving within a particular shape and it will reflect when it reaches the shape's borders. How can I create the shape first and then how can I make the ball moves inside) Note: The shape may be a triangle or any irregular shape. If you want to help me please send your ideas to my email: en_esammm@hotmail.com Thank you in advance.

  • Anonymous
    June 12, 2012
    Hi Esam, You will have to figure out the logic for when it is inside the shape, there is nothing really built in for that. If it is a rectangle it is easy since you can just check if the position+half width is less than the right side and position-half width is less than the left side etc. For other shapes you will have to create more complex functions to figure out if the edge of your ball is inside the shape.