SFML community forums

Help => General => Topic started by: nevets_19 on January 10, 2011, 01:07:05 pm

Title: Is there anyway not to have a console window?
Post by: nevets_19 on January 10, 2011, 01:07:05 pm
i have been learning sfml for 2 days and i dunno if I'm the only one who gets annoyed by this, is there any option in visual c++ so it wont show a console window or anyway not to have it come using some kind of code in SFML

also does anyone know how to make click able buttons like what u would have in a menu of a game

and finally does anyone know how to make it full screen, the window covering the whole screen with no start bar and stuff.

Thanks, your guys have been so helpful
Title: Re: Is there anyway not to have a console window?
Post by: Nexus on January 10, 2011, 02:33:31 pm
Quote from: "nevets_19"
i have been learning sfml for 2 days and i dunno if I'm the only one who gets annoyed by this, is there any option in visual c++ so it wont show a console window or anyway not to have it come using some kind of code in SFML
Use a window application instead of a console application. You have to link to sfml-main if you do this. This is written in the window tutorial, by the way.

Quote from: "nevets_19"
also does anyone know how to make click able buttons like what u would have in a menu of a game
You need a GUI library, see here (http://www.sfml-dev.org/wiki/en/projects/gui). For simple things, you can also draw the shapes yourself.

Quote from: "nevets_19"
and finally does anyone know how to make it full screen, the window covering the whole screen with no start bar and stuff.
Yes, that's also explained in the tutorials.
Title: Is there anyway not to have a console window?
Post by: nevets_19 on January 10, 2011, 02:48:34 pm
Wow thanks for the response all the answers i needed, thank you

P.S the windows application worked sweet as, thanks
Title: Is there anyway not to have a console window?
Post by: Nexus on January 10, 2011, 02:52:40 pm
By the way, the poll is quite inappropriate.
Title: Is there anyway not to have a console window?
Post by: nevets_19 on January 10, 2011, 03:17:45 pm
haha, yeah i just wanted to see what people thought, and i wanted to see where it appears and stuff as i am new to the forums