The blue stars represent your progress through the levels. You earn stars by buying items in the Island Shop. Every item and its upgrade is worth 1 star. For example, a ship upgraded twice is worth 2 stars total.
If an item is destroyed by being attacked twice, you lose the total star value and have to rebuild it from the beginning.
* Note: You get 5 extra stars by connecting to Facebook!