ID:272624
 
Well, i just saw a fullscreen game on BYOND, i was wondering...., how may i do that?, instantly after seeing that i went to the interface editor, i tried designing it, but i failed.

SCREENSHOT : Free Image Hosting at www.ImageShack.us

Upon the creation of a new client, use winset() to maximize the window and remove the title/status bars.

Just remember they take true and false as values, and not 1 and 0. Literally, they take the strings true and false.
In response to Jeff8500
Mind explaining some more? i am kind stuck (my primary language isn't english).

client
New()
. = ..()
winset()


By the way, on DM reference it never says i can maximize the window and remove the tile and status bars with winset().
In response to Danny Kenobi
Look in the skin reference. The params you want to edit are is-maximized, titlebar, and statusbar.

[EDIT]: I made some posts on how to properly use winset() before, along with complete explanations. It can be a little intimidating at first, but it's very simple in the end. Just search and find them.
In response to Danny Kenobi
client
New()
. = ..()
winset(src, "default", "is-maximized=TRUE;titlebar=FALSE;statusbar=FALSE")


I believe thats the way you would do it.
In response to Lord Ulquiorra
You have to make them work for it unless they're completely lost! Just point them in the right direction, give them some resources, and tell them what they need to do. If they still have problems, then you help them :P
In response to Jeff8500
Jeff8500 wrote:
You have to make them work for it unless they're completely lost! Just point them in the right direction, give them some resources, and tell them what they need to do. If they still have problems, then you help them :P


Noted.
In response to Lord Ulquiorra
Thank you!, but actuaclly i am more likely stuck on doing the game fullscreen no removing the title bar and status, i may remove those in the interface editor.
In response to Danny Kenobi
Setting window.is-maximized to true does make it fullscreen.
In response to Jeff8500
Actually it doesnt make it fullscreen at all, i still can see the task bar under the DS(Dream Seeker) window.

Well, it's NEAR to fullscreen now:

Free Image Hosting at www.ImageShack.us




EDIT: It might be my new monitor, it's acting kind of weird, i shall set it's configurations.
In response to Danny Kenobi
Remove the title and status bars, too. Works perfectly for me when I do that.

And set the menu to false.
In response to Jeff8500
I removed then with the interface editor and with winset(), i deleted the 'menu', now i cant see the top of the window, but i can see my tasks bar, any kind of help would be appreciate.
In response to Danny Kenobi
ummmm do u remember what game it was? i can tell its one of the Naruto games but wich one?
In response to Lord Ulquiorra
Hi I have been tryin to do the same Fullscreen thing to my game. I am completely lost with removing the titlebar and the statusbar let alone actually makin it a fullscren game :(. could someone explain it a bit clearer or write a code i could use? (i'd rather understand it than simply getting someone else to do it for me) i tried the code written in the subject and it did nothing for me.

i will be grateful to any help!

-Triomax
In response to Triomax202
All these things are edited in the interface editor. Just create a skin file and edit your windows from there. No code needed.
In response to Kaiochao
Now i'm more lost...

I made a new skin file and was messin around with it but i couldnt find out how to get rid of the status bar ect and make it fullscreen ;_;
In response to Triomax202
Look up winset() (I made a post on it it detail a while back you can search for) and the title-bar, status-bar, and is-maximized window params. Just set them all to false besides is-maximized, which you set to true.
In the interface editor, set your main window to invisible so that players won't be able to see it until after modifications take place. Also, remove the title, status bar and resize options in the interface editor.

When a client logs in, do this:

client
New()
..()
winset(src, "mainwindow", "is-maximized=true")
winshow(src, "mainwindow", 1)


Make sure that you also assign anchors to your window elements in the interface editor, otherwise you'll end up with your game stuck up in one of the corners. It would also be good to provide an easy way to get exit the game, too.
In response to Foomer
Did anyone find out what this game is called? It looks good.
In response to Jeff8500
That or edit it in the window's options in the skin editor. The only thing you need in code is to set is-maximized to true.
Page: 1 2