Jump to content
  • Advertisement
Sign in to follow this  
Tsumuji

SDL can run in the console mode?

This topic is 4317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is possoible to run a game or the like in a pure console mode? So it'll be running in framebuffer right? If not, what API exist to this purpose?

Share this post


Link to post
Share on other sites
Advertisement
Do you mean full-screen mode? If so, then yes, SDL can take control of the whole screen, assuming your operating system allows it. (Most do.) Usually console mode means text-based however, typically 80x25 characters, but I don't think that's what you meant.

Share this post


Link to post
Share on other sites
yep, that is. without windows, without X11... whitout nothing :) Console mode. Like start linux with the init un runlevel 3...

Share this post


Link to post
Share on other sites
That's a pretty unusual terminology there.

Anyhow, you're looking for the SDL_FULLSCREEN flag for SDl_SetVideoMode() (or something like that). Just look up "fullscreen" in the documents.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!