GMdsam icon indicating copy to clipboard operation
GMdsam copied to clipboard

Images have anti-aliasing?

Open colinator27 opened this issue 8 years ago • 5 comments

I've noticed that sprites strangely have anti-aliasing on them. This isn't supposed to be happening...

Do you have any idea of fixing this?

Could it potentially be https://github.com/WarlockD/GMdsam/blob/master/GMdsam/GameMaker/ChunkTypes.cs#L276?

Or is it literally just https://github.com/WarlockD/GMdsam/blob/master/GMdsam/GameMaker/ChunkTypes.cs#L975?

colinator27 avatar Jul 07 '16 12:07 colinator27

Humm I think it has to do with the second one? I am fairly sure drawing using a Graphics object, unless you put in the settings, doesn't turn on anti-aliasing.

From what I have tried to figure out, the Font values are all set up, then game maker prints out the text to a bitmap then outputs that bitmap. Might check the textures directory (I think its texture_6) and look to see if its still antialissied.

WarlockD avatar Jul 10 '16 16:07 WarlockD

Okay! :P

Also... can you possibly detect whether or not a sprite/background is a tileset or not? I kind of need it for https://github.com/colinator27/UnderGMX to work.

colinator27 avatar Jul 10 '16 21:07 colinator27

One more thing: Images seem to be cut off for me for some strange reason...

colinator27 avatar Jul 10 '16 22:07 colinator27

Oh yea that part is easy. Well sort of. Each room tile has a "background_index" and that index is to the "backgrounds" chunk. As for the image cut off humm. I have to check. I haven't checked all the images and I am still iffy about how the sprites are sized. Mainly cause frames have both a x,y AND an offset x,y. I have been fighting on witch works or not.

WarlockD avatar Jul 16 '16 15:07 WarlockD

Okay! :D

colinator27 avatar Jul 16 '16 20:07 colinator27