I tried to make a full screen game based on: http://www.byond.com/developer/PopLava/FullScreenExample
but mine won't work... this is the link to my try D: http://www.file-upload.net/download-4311280/ FullScreen_src.zip.html
hope someone can help me as soon as possible D:
ID:713354
Apr 28 2012, 11:48 pm
|
|
i know how to program (at least in parts) but I want to get a fullscreen first before I start with everything else D:
|
I am... and im desperate cause everything i find isnt working... as an example
mob could you just tell me how to do it? instead of redirecting me D: this way im getting way more confused and tend to giving it up... my screen always gets full but the map doesn't get stretched... this is the reason why i uploaded the "basics" of the file... screen = big but black borders... Edit: mob |
http://www.byond.com/ forum/?post=537116&hl=map%20size#comment1601449
http://www.byond.com/ forum/?post=618326&hl=map%20size#comment1721078 http://www.byond.com/ forum/?post=154739&hl=map%20size#comment641907 http://www.byond.com/forum/?post=154730&hl=map%20size - try this one Just an example of what a simple search can do... |
thanks but I also found them and still got some black borders
screenshot: http://imageshack.us/photo/my-images/861/fullscreen.png/ also used map controll to rezise. and I tried different view sizes... atm i got 22x13 (screenshot) |
If you don't mind the icons getting distorted, I believe you can set the map's icon-size to -1 to have it fit the size of the map exactly (without maintaining the aspect ratio of the icons).
Otherwise, you'll have to get the dimensions of the screen and calculate the proper view size to fill it. One way to do this is to put a hidden label in the bottom-right corner and grab its position with winget() after the window has been maximized. |
I suggest reading the DM guide, Reference and tutorials before you attempt to program..