veryafe Posted November 28, 2013 Share Posted November 28, 2013 Im trying to generate different characters by combining multiple sprite sheets.One combination might be: green body + pink shirt + hat. I have created a BitmapData object with my combined sprites but have not found a way to animate it. Is there any support for this today? Or do I approach this the wrong way? Link to comment Share on other sites More sharing options...
rich Posted November 28, 2013 Share Posted November 28, 2013 You should use a Group for this really. A BitmapData is like a blank canvas you can perform drawing operations on, it's not for animation. bk0606 1 Link to comment Share on other sites More sharing options...
bk0606 Posted November 29, 2013 Share Posted November 29, 2013 You should use a Group for this really. A BitmapData is like a blank canvas you can perform drawing operations on, it's not for animation. Please, help me make it work: var btmDrw = game.add.bitmapData(100, 100); btmDrw.beginFill(0xFF0000); btmDrw.beginPath(); btmDrw.moveTo(200, 200); btmDrw.lineTo(300, 300); btmDrw.stroke(); why line is not appears? Link to comment Share on other sites More sharing options...
Recommended Posts