just a quick, basic question about SDL
Moderator: Coders of Rage
- Donutslayer7
- Chaos Rift Newbie
- Posts: 16
- Joined: Tue Aug 18, 2009 5:16 pm
- Current Project: Map-Editor
- Favorite Gaming Platforms: N64, SNES, anything Nintendo
- Programming Language of Choice: C++
- Location: U.S.
just a quick, basic question about SDL
I just starting shifting from Allegro to SDL, and I know you can use the SDL_ttf lib to print true type fonts to the screen, but does SDL have any functions to render text natively, I mean without the extra libs?
- lotios611
- Chaos Rift Regular
- Posts: 160
- Joined: Sun Jun 14, 2009 12:05 pm
- Current Project: Game engine for the PC, PSP, and maybe more.
- Favorite Gaming Platforms: Gameboy Micro
- Programming Language of Choice: C++
Re: just a quick, basic question about SDL
No.
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
Re: just a quick, basic question about SDL
Natively, SDL lacks quite a bit. You may want to try your hand at SFML, which supports most of the things natively that SDL itself does not.
(Note: I have never personally used SFML... I guess I'm just an SDL fanboy haha)
(Note: I have never personally used SFML... I guess I'm just an SDL fanboy haha)
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: just a quick, basic question about SDL
sorta... take a look at this page.Donutslayer7 wrote:I just starting shifting from Allegro to SDL, and I know you can use the SDL_ttf lib to print true type fonts to the screen, but does SDL have any functions to render text natively, I mean without the extra libs?
Basically, you can do bitmap fonts, but if you want a truetype font, you'd want to use SDL_ttf.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.