gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Text.c

#52374 - Tomik - Tue Aug 30, 2005 9:30 am

Where can I find this function ?
I need this Ham_DrawText function but I dont want to work with HAM !
the gba.h is different etc ...

Help, TK

#52380 - yamaneko - Tue Aug 30, 2005 12:23 pm

What do you want? A function that write text on screen?
You can make it by yourself. But the function will be difrent if you work on bg mode(0,1,2) or bitmap mode(3,4,5).
_________________
山猫

#52382 - Tomik - Tue Aug 30, 2005 12:44 pm

selfmade ! i work in Mode4 ..can you help me with that ??
what is your idea?

thomas

#52383 - yamaneko - Tue Aug 30, 2005 12:55 pm

Of cource. But that will take a long time and there are lot of tuto in the net explaining about that.
_________________
山猫

#52386 - Tomik - Tue Aug 30, 2005 1:08 pm

but i dont think that i am the first with this problem, so i thought someone has the header with the function for that !
i know i could abc ... single step but its much work if somebody has it already ....
have a link??

thomas

#52387 - yamaneko - Tue Aug 30, 2005 1:15 pm

Yes you'r not the only one with this trouble. And that why there some tuto.You should see gbadev's doc. You'll learn many thing.
_________________
山猫

#52389 - Tomik - Tue Aug 30, 2005 1:35 pm

did you find a special tuto for that? have you got a link?

Thanks, thomas (germany)

#52391 - yamaneko - Tue Aug 30, 2005 1:45 pm

How to display in mode4

Source of mod4 text displaying
_________________
山猫

#52392 - Tomik - Tue Aug 30, 2005 1:48 pm

Thanks, I know how to programm with pictures but not with letters ...
i hope it will help me !!
do you have email , that might make contact easier ??

thomas

#52395 - yamaneko - Tue Aug 30, 2005 1:52 pm

Letters are only small sprite.
There is my m@il adress:
yamaneko_daigaku@yahoo.fr
_________________
山猫

#52399 - tepples - Tue Aug 30, 2005 2:13 pm

Do you know how to draw each letter of the alphabet as a bitmap and put them in the order of the ASCII code? If so, then congratulations; you know how to make a font.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#52401 - Tomik - Tue Aug 30, 2005 2:17 pm

@tepples: yes ok, but thats much work, i thought someone here has already make this !!
i need a header ;)

Thomas

#52403 - yamaneko - Tue Aug 30, 2005 2:48 pm

You'r lazy. :-)
_________________
山猫

#52437 - tepples - Tue Aug 30, 2005 11:29 pm

If you're willing to work in mode 0 or mode 1 instead of mode 4, I've already made such a library: AGBTTY.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.