|
Viewing 1 to 13 (13 Total) Defects in Tilesheet.drawTiles |
|
|---|---|
rocksTotal Posts: 35
Joined: October 10, 2011
|
1. In flash version, rotation behaves weird, image are stretched.
Tags:
Posted on February 08, 2012 at 12:48 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesMy fix to defect1:
Posted on February 08, 2012 at 3:25 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesMy fix to defect 2:
Posted on February 08, 2012 at 3:26 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Defects in Tilesheet.drawTilesThanks for the patch, it seems to work fine
Posted on February 08, 2012 at 9:57 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesI've just made some changes in Tilesheet.hx to fix these two defects for flash target, and I also added an implementation of color-transform (i.e. to enable TILE_RGB & TILE_ALPHA flags). It's doing the color-transform on the copies of original bitmap data, so might not be a fast approach, but at least now drawTiles behaves the same across the targets.
Attachments:
Tilesheet.hx.txt
Posted on February 08, 2012 at 10:06 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Defects in Tilesheet.drawTilesAh interesting approach of the color transforms.
Posted on February 08, 2012 at 10:18 AM
|
singmajestyTotal Posts: 2147
Joined: August 25, 2011
|
Re: Defects in Tilesheet.drawTilesThanks! I've just integrated these changes into SVN.
Posted on February 08, 2012 at 11:13 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesHi, please use this optimized version.
Attachments:
Tilesheet.hx
Posted on February 10, 2012 at 3:23 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Defects in Tilesheet.drawTiles@rocks, as much as your fix were totally correct, I don't think the coloring solution is good as is: it's kind of clever but just not efficient and still broken.
Posted on February 10, 2012 at 7:29 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesThanks Philippe,
Posted on February 10, 2012 at 12:55 PM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Defects in Tilesheet.drawTilesI did try the latest version of your class.
Posted on February 10, 2012 at 1:28 PM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesHi,
Attachments:
Tilesheet.hx
Posted on February 11, 2012 at 9:56 AM
|
rocksTotal Posts: 35
Joined: October 10, 2011
|
Re: Defects in Tilesheet.drawTilesHi,
Posted on February 11, 2012 at 10:00 AM
|
