Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMG Optimization Task #212

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

KevinSunIMG
Copy link

No description provided.

Copy link

@raydelto raydelto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove documented code lines

@@ -118,10 +118,11 @@ function Archer:init3D()
self:initPuff()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setScale(1.6)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could remove this line

@@ -83,10 +83,11 @@ function Dragon:init3D()
self:initShadow()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setScale(10)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could remove this commented line as well

@@ -135,10 +135,11 @@ function Knight:init3D()
self:initPuff()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setScale(25)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this commented line

@@ -75,10 +75,11 @@ function Mage:init3D()
self:initPuff()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setScale(1.9)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line

@@ -67,10 +67,11 @@ function Piglet:init3D()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setTexture("model/piglet/zhu0928.jpg")
self._sprite3d:setScale(1.3)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line

@@ -54,10 +54,11 @@ function Rat:init3D()
self:initShadow()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setScale(20)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line

@@ -63,10 +63,11 @@ function Slime:init3D()
self._sprite3d = cc.EffectSprite3D:create(file)
self._sprite3d:setTexture("model/slime/baozi.jpg")
self._sprite3d:setScale(17)
self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
--self._sprite3d:addEffect(cc.V3(0,0,0),CelLine, -1)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants