Mac OSX Images are in poor quality

Discussion in 'Programming' started by Tehiro, Dec 5, 2018.

  1. Tehiro

    Tehiro Member

    Joined:
    Dec 4, 2018
    Posts:
    5
    Hi, I'm currently working on a game on GMS2 (free version, I'm studying the software at the moment), but the global image quality looks poor to me when I run the game.

    Here's some example of how I see the sprite in room in editing phase, then you see the the output version when the game runs.

    How can I fix it?

    logo.jpg
     
  2. RangerX

    RangerX Member

    Joined:
    Jun 20, 2016
    Posts:
    2,546
    What's the sprite's size?
    What's your texture page size?
     
  3. Tehiro

    Tehiro Member

    Joined:
    Dec 4, 2018
    Posts:
    5
    Sprite frame is 150x250 px, texture page is 2048x2048 and I have no option to change it.
     
  4. RangerX

    RangerX Member

    Joined:
    Jun 20, 2016
    Posts:
    2,546
    Which one is 150x250, your original sprite or the in-game result?
    Anyhow, if it isn't larger than a texture page you should loose detail.
    However, if your game resolution is too low for how wide is your view, you might again loose detail at output.

    What's your view/cam and application size compared to your monitor's resolution? Scaling can also cause graphical loss.
     
  5. Tehiro

    Tehiro Member

    Joined:
    Dec 4, 2018
    Posts:
    5
    The sprite file and in game are on the same size. Even if I make it littler than his original size will provide a low quality output. Don’t know how to fix it.
     
  6. PretzelBrosStudios

    PretzelBrosStudios Member

    Joined:
    Mar 26, 2017
    Posts:
    11
    In your image the right guy is a few pixels smaller in height than the left one, but the width of both is the same. Maybe the aspect ratio of your camera/viewport is wrong? And have you turned on "Interpolate Colors Between Pixels" in the graphics settings? In my version of GMS2 it's turned off by default.

    I think it looks like a scaling issue due to a bad aspect ratio. And those scaling artifacts might result from a deactivated color interpolation.

    [​IMG][​IMG]
     
  7. Tehiro

    Tehiro Member

    Joined:
    Dec 4, 2018
    Posts:
    5
    Here are the settings. I also tried to make the character tinier. Still poor quality.
    image.png
     
  8. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    3,405
    Is it a vector (swf) image or a normal bitmap?
     
  9. Tehiro

    Tehiro Member

    Joined:
    Dec 4, 2018
    Posts:
    5
    It’s a PNG sprite, can’t use vectors on the free version I’m studying with..
     
  10. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    3,405
    Can you link / host the image somewhere?

    I can test it using the Windows IDE, as I'm wondering if this might be a Mac issue / bug?
     
  11. RangerX

    RangerX Member

    Joined:
    Jun 20, 2016
    Posts:
    2,546
    Ok, your game is 1024x768, what is the resolution of the monitor your display it in ?
     
  12. TheouAegis

    TheouAegis Member

    Joined:
    Jul 3, 2016
    Posts:
    5,651
    What are the coordinates of the sprite? Fractional screen coordinates will cause distortion, too.

    You said the sprite is 150x250. How many frames of animation are in that sprite?
     
  13. icuurd12b42

    icuurd12b42 TMC Founder GMC Elder

    Joined:
    Apr 22, 2016
    Posts:
    1,824
    the sprite on the right is shorter and less wide than the one on the left. shrinking down sprite means removal of lines at regular intervals. with interpolation the spot where the lines are removed may cause bumps a wrinkles. if you turn interpolation off, you will see the missing lines more clearly.

    Long story short something in the render chain is scaling the image down. check your image x/yscale, your port settings (in room vies and port), to be the same size... and if the problem persists, change application surface size to match the port as well...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice