Sign in to follow this  
mybluehair

Need help with a simple Allegro problem (textout_ex)

Recommended Posts

mybluehair    100
I'm just now learning Allegro, and all the tutorials I have looked at have used a function called textout_ex to print things out to the screen. The problem is - textout_ex is really starting to piss me off horribly because of how specific you must be in the info you give it. (for example, you can only print out char* variables, and nothing else, unless its inside quotations, and you can only print out 1 set of info - unlike cout, where you can print whatever you feel like) question - is there anything better to use besides textout_ex?

Share this post


Link to post
Share on other sites
nGamer    184
There are also a few text justification methods,

textprintf_centre_ex () - center justification
textprintf_justify_ex () - left justification
textprintf_right_ex () - right justification

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this