This is part of a blog series… if you came here directly you might want to read the introduction first.
Animating objects in DirectX is just as simple as in XNA. In the update method we just change the position of the objects and since they are drawn every frame with their respective positions they will start moving.
If you want to create some more advanced animations, like if we would want the bees to flap their wings, you would create sprite maps with images of the various states and then just swap which portion of the sprite map you want to display each time.
Animating the flowers
The flowers are going to move down at a steady pace. We’ll move them down at 0.4 pixels per frame (at least initially). The 0.4 is an arbitrary number that I have picked by testing the app on my family until I ...
Go to the complete details ...