nak3ddogs Posted September 21, 2014 Share Posted September 21, 2014 emitter setScale wont work. i copyed the example code and everything work just the setScale and setAlpha wont work. I found in the docs and the example code not good anyway the link for the examplehttp://examples.phaser.io/_site/view_full.html?d=particles&f=emitter+width.js&t=emitter%20width in the docs: setScale(minX, maxX, minY, maxY, rate, ease, yoyo) in the example:emitter.setScale(0.5, 0.5, 1, 1); min x scale and the max x scale is same like the y scale Link to comment Share on other sites More sharing options...
rich Posted September 21, 2014 Share Posted September 21, 2014 The example showing how particle scaling works is the auto scale example: http://examples.phaser.io/debug.php?f=particles/auto+scale.js which looks fine to me. The docs are correct. That is the order in which you should specify the parameters. And you can set the min and max values to be the same if you want, it just means it won't scale when emitted. nak3ddogs 1 Link to comment Share on other sites More sharing options...
nak3ddogs Posted September 21, 2014 Author Share Posted September 21, 2014 sry. my fault. i forget phaser.map to include js folder Link to comment Share on other sites More sharing options...
Recommended Posts