makotok / Hanappe

Hanappe is a game framework for MOAI SDK.
Other
107 stars 41 forks source link

Flower Particles System #97

Closed tangzero closed 10 years ago

tangzero commented 11 years ago

Request #70

makotok commented 11 years ago

Thank you for the new feature! It is pointed out.

(1) This fix is breaking the cache of Deck.

function M:setSize(width, height)
    local deck = DeckMgr:getImageDeck (width, height)
    deck:setRect(-0.5, -0.5, 0.5, 0.5) -- Destruction of the cache
    self:setDeck(deck)
    self:setPivToCenter ()
end

(2) I feel there is no need to inherit from the Image class is. Those who inherit from the DisplayObject would be better.

(3) Because it is an important feature, I want to try for a while. I want you to pull request to the dev branch.

makotok commented 10 years ago

To merge. Then I modify a little.

tangzero commented 10 years ago

:+1: