Unity Web Player Stretching Game Pixels?

I’ve been following tutorials on how to make 2D games with Unity. I made a website to upload my games and the games I make with the tutorials to show what is learned from them. I’m having a problem with the Unity Web Player.Somehow to game is getting stretched but only in the web player, when i build to a windows stand alone everything is fine.

this is a screenshot from the windows stand alone

and this is a screenshot from the web player

and if needed here is the html file from the web player build

Unity Web Player | Unity 2D Platformer Tutorial

Unity Web Player | Unity 2D Platformer Tutorial

« created with Unity »

In the JS you are setting width and height to 960x600, where-as your standalone version is much smaller.

1 Like

Thanks I’m new to this, you helped a lot.