Sfont / SDLMonoFont / SDL_ttf
:?
wich one use ?
Sfont / SDLMonoFont / SDL_ttf
:?
wich one use ?
From brazil (:
Pascal pownz!
...oooor... you could instead use your own font sheet and use bitmap fonts.More colorful!
In fact you don't get to do too much of that with TTF fonts.
I use this technique in some of my other games. The next part in my tutorial series will be using my FontsUnit.pas I use in all my games. (well, a simplier version anyway)
I'll send you a copy of my canceled 'Subject 33' game's source so you can have a look at it. It's fairly simple in concept so you can se how you could start your own if you need more features.
Fonts on SDL is complicated, i read some demo codes.....Originally Posted by WILL
thinking im go use TTF fonts but i can't run any demo =/
i have to put de .ttf file on same dif as the exe ?
From brazil (:
Pascal pownz!
http://lazyfoo.net/SDL_tutorials/index.php
There are great tutorials about SDL. Samples in C++ but it is very very similar and I have no problems to write in Pascal.
I found something interesting (pixel check colision check), vry useful site ;]Originally Posted by tsr
tnx!
From brazil (:
Pascal pownz!
I have played and take a look at the code, simply awesome :shock:Originally Posted by WILL
you just write a large n¬? of functions to make your life easyer, constant units,i have never programmed something in that organization
*Just sorry my englishops:
From brazil (:
Pascal pownz!
Bookmarks