How do you create a text actor?

Non-platform specific questions.

How do you create a text actor?

Postby lverona » Tue May 08, 2012 10:25 am

I read this many times on forums. Tried to create an actor and add code like this to Draw Actor:

sprintf(text, "%03d%%", (int)((float)real_fps/64*100));

But the actor just displays a default GE pacman.

So how do you create a text actor?
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: How do you create a text actor?

Postby MrJolteon » Tue May 08, 2012 12:22 pm

To create a text actor, just click the 'Text' button in the actor control.
It's next to 'Tile'
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron