How to render Text onscreen

Hi Everyone,

I'd like to render some text onscreen for my game.

I'm using SDL2.0 and I don't know how to do it.

I think I need to use SDL_ttf, I'd like to render the text the same way I render sprites, using Render_Copy.

Anybody knows how to do this?

Hi, I can recommend you the SDL2 tutorials by Lazyfoo.
Here is a link:
you will be interested in tutorial 16.
Topic archived. No new replies allowed.