I give up :( i can´t to fit my texture inside the screen area :,(

please take a look to my webplayer, and see it by your self…

how can i solve this ? please …

http://dl.dropbox.com/u/15814398/testing/WebPlayer.html (uploading, this take a while)

is supposed it must to look like this shot :

The rendering seems OK, but only if you’ve set the position in pixels, and not in % of the screen.

Try to set public Rect with % of screen, and while rendering GUI, use this rect values times Screen.with/height.

Hey Krysalgir, thanks…

yeah, actually i´m trying to deal with Screen width and height, i’m following this :

i’m understanding how it works, basically it takes the screen height and width and subtract the texture width and height, but i´m thinking that only serves for all four corners… i´m trying to understand how to do if the texture is in somewhere that is not a corner…

Solved it !!!, again… and i hope not to disturb anymore with this… i only pray it will work for ever…

i added this line to the OnGUI function :

GUI.matrix = Matrix4x4.TRS(new Vector3(0, 0, 0), Quaternion.identity, new Vector3(Screen.width / 1024.0f, Screen.height / 768.0f, 1));

Murphy please… go away and go practice your laws to some other guy here :smile: