You can earn stars only in match-3 mode; each match-3 level you pass earns you a star. However, the hack version of Homescapes offers unlimited stars without playing match-3.