Oh, I forgot, thank you tons, that was it!
On 9/15/12, tarn...@tarnyko.net wrote:
>
> Hi David,
>
> Do you have the following line at the beginning of your method :
>
> SDLTTF.init ();
>
>
> Regards, Tarnyko
>
>
>
> David Gomes writes:
>
>> Hello there, first of all here's the relevant part of my
Hi David,
Do you have the following line at the beginning of your method :
SDLTTF.init ();
Regards, Tarnyko
David Gomes writes:
Hello there, first of all here's the relevant part of my code:
using SDLTTF;
(...)
public void draw_string (string text, int x, int y, Color color)
Hello there, first of all here's the relevant part of my code:
using SDLTTF;
(...)
public void draw_string (string text, int x, int y, Color color) {
Rect destination = {};
Font pixel_font = new Font ("font.ttf", 20);
if (pixel_font == null) print ("Font not found\n");
(...)
}