• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

text quality gone bad in html5

RizbIT

Member
making a simple login form, on windows desktop it looks good, but when compiled to html5 the text and general image quality deteriorates, see image

badcopy.png

the room size is 1920x1080 and the fonts are antialiased and high quality open sans.

Is it cos im using scaling to fit the room to the full browser height using this script:
Code:
var aspect = argument0 / argument1;

if ((argument2 / aspect) > argument3)
    {
    window_set_size((argument3 * aspect), argument3);
    }
else
    {
    window_set_size(argument2, (argument2 / aspect));
    }

if (argument4) window_center();

view_wport[0] = window_get_width();
view_hport[0] = window_get_height();

surface_resize(application_surface, window_get_width(), window_get_height());

so how you improve this?

Also is there a script to help with allowing the user to pinch and zoom the room view?
 
Last edited:
Top