Okay okay, you don’t wanna make your own bitmap font. You don’t wanna bother matching characters from a string to a tilemap. What you really want is to use that cool font you found online. You just wanna give it a string and have it work. Hell, maybe you want to write some Japanese too. What do I know?
This tutorial will show you how to use that cool TTF font you found and how to use Unicode characters for foreign languages.
-=Expand Article=-
c++, doubletype, japanese, jwpce, kanji, sfml, ttf, unicode
[ This tutorial applies to using Code::Blocks for C++. Also, isn't it about time you upgraded to SFML? I know I did. Man, it's great. ]
I’m sure you would like to make a fancy icon for your game. It’s better than the bland generic one. Fortunately, this is a pretty easy trick.
-=Expand Article=-
c++, code::blocks, icon, rc, resource, sfml
Ragdoll Physics Using Verlet
As I’m sure you didn’t know, I’m making a game based on my death. It is called Mike’s Funeral. One of the major aspects of Mike’s Funeral will be the flying corpse and his ragdoll properties. I have to admit, nothing makes me chuckle like a body flying through the air.
But just how does one create such an object? How do you create this kind of gameplay?
It’s true I could have used a pre-built physics engine like
Box2D. However, with only one ragdoll in the game and no need for friction or density or any other advanced concepts, I felt compelled to do it on my own.
Fortunately it isn’t too difficult! If you’re interested in learning the basics of some simple ragdoll physics, you should read on. All code samples are in C/C++ and there is a source download at the end of the article.
-=Expand Article=-
allegro, c++, opengl, physics, ragdoll, tutorial, verlet