Dimensions of the webplayer

Hi everybody,

I have installed Unity since a few days and I have made some nice things already.
Now I want to build my project for the web player.

In the settings for Web Player you can set the screen width and height (for example 600 and 400).
But I would like to have the screensize as big as the browser and that the screen resizes when you resize the browser.
Is that possible?

I hope you understand what I mean and sorry for my bad English, it’s not my main language :slight_smile:

Hi mr.,
Your english is good ,dont feel shy,and more over u should maintain resolutions when u r making web player means how much u need u should change there;and for resize every time put buttons for that (proper resolutions).

Hi,

Thanks for reply.

Actually, now Unity 3.5 is available and publishing to Adobe SWF format is possible.
But how can I make my SWF full screen (width 100% and height 100% in any browser)?
Do I have to change some things in the HTML file?

@ herbs: You’ll have to do a little bit of HTML / Javascript work. Not sure if this is any easier with Flash Export , you’ll still need to handle resizing properly. Have a look at this site : virtualPlayground | 3d technology, walkthroughs, presentations, games . Is this close to what you want to achieve? If it is,take a look at how he’s doing the html javascript. You can see it by right click → “view source” in Firefox or Chrome.

A related discussion is at : Unity 3.0 Webplayer at 100% - Questions & Answers - Unity Discussions

Good luck!