SFML community forums
Bindings - other languages => DotNet => Topic started by: EBrown on August 25, 2010, 01:33:39 am
-
Hello
How would I go about making SFML.NET fullscreen? I have a VERY specific resolution I want, and I want it fullscreen, as in no window borders, etc.
Any advice?
Thanks,
EBrown
-
If your resolution is "standard", you can pass the Fullscreen style to the constructor of the Window / RenderWindow classes.
-
If your resolution is "standard", you can pass the Fullscreen style to the constructor of the Window / RenderWindow classes.
How so? Sorry if I sound like a noob, but this is the first time I have used SFML.NET.
RenderWindow App = new RenderWindow(new VideoMode(800, 600, 32), "SFML.NET");
App.SetFramerateLimit(30);
That is my initialization.
Thanks,
EBrown
-
You can look at the constructor of RenderWindow and/or the documentation, to know which additional parameters it takes.
-
Aha, I got it. Thank you. :)
Thanks,
EBrown