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.
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?
Thanks for the comment and Good point Sergei, I have attached the project to this post
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?
I coded it from scratch but I was thinking that I will probably do a walkthrough of that too later on
That would be great to have such a walkthrough. Wish to read it soon :)
For the record, level 4-5 so far has been impossible to beat :(
I love XNA, and on the WP Platform up to now.
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: firstname.lastname@example.org
Thank you in advance.
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.