"Texture mode" in particles does not work #620

Closed
ricardoquesada opened this Issue Nov 6, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@ricardoquesada
Contributor

ricardoquesada commented Nov 6, 2012

How to reproduce it:

  • Download cocos2d-html5 master
  • run the Particle test
  • Press "Left" arrow... It will take you to the "Phoenix" test
  • Press the "Shape mode" button

Crash (...)

The error in the console is:

[20:48:58.261] Image corrupt or truncated: data:image/png;base64,TU0AKgAAQAgAA...
[...]
...D13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c/23//w==
--
[20:49:10.920] NS_ERROR_NOT_AVAILABLE: Component is not available @ http://localhost/cocos2d-html5/cocos2d/sprite_nodes/CCSprite.js:50

Tested on:

  • Chrome 22 OS X
  • FF 16 OS X
@dingpinglv

This comment has been minimized.

Show comment
Hide comment
@dingpinglv

dingpinglv Nov 6, 2012

Contributor

Yes, this is a mistake in decode image data. Because ParticleDesigner encodes image data into a string, sometimes using tiff format, sometimes using png format. when using png format, ParticleSystem can decode the data, but if tiff format is used, the error is generated.

Contributor

dingpinglv commented Nov 6, 2012

Yes, this is a mistake in decode image data. Because ParticleDesigner encodes image data into a string, sometimes using tiff format, sometimes using png format. when using png format, ParticleSystem can decode the data, but if tiff format is used, the error is generated.

@dingpinglv

This comment has been minimized.

Show comment
Hide comment
@dingpinglv

dingpinglv Sep 16, 2013

Contributor

This problem has been solved at #847

Thank you, Riq.

Contributor

dingpinglv commented Sep 16, 2013

This problem has been solved at #847

Thank you, Riq.

@dingpinglv dingpinglv closed this Sep 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment