About Store Forum Documentation Contact
Donations:
178$/mo



Post Reply 
TextDS Problem
Author Message
Qpalzmx Offline
Member

Post: #1
TextDS Problem
Hello,

I just want to print some words with different TextDS. But

It don't work. No text is printed.
Code:
TextDS tds;
Bool Init()
{
    tds.color = RED;
    return true;
}
void Draw()
{
    D.clear(BLACK);
    D.text(tds,0,0,"ABC");
}

It works!
Code:
void Draw()
{
    D.clear(BLACK);
    TextDS tds;
    tds.color = RED;
    D.text(tds,0,0,"ABC");
}

What's the problem?
Thanks!
01-22-2010 07:14 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: TextDS Problem
in first you'll need to call tds.reset first
01-22-2010 05:28 PM
Find all posts by this user Quote this message in a reply
Post Reply