Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images have anti-aliasing? #6

Open
colinator27 opened this issue Jul 7, 2016 · 5 comments
Open

Images have anti-aliasing? #6

colinator27 opened this issue Jul 7, 2016 · 5 comments

Comments

@colinator27
Copy link

colinator27 commented Jul 7, 2016

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?

@WarlockD
Copy link
Owner

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.

@colinator27
Copy link
Author

colinator27 commented Jul 10, 2016

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
Copy link
Author

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

@WarlockD
Copy link
Owner

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.

@colinator27
Copy link
Author

Okay! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants