Player's point of view is quite clear now...
Since I decided to continue the project I started to think again in all the things I could make to improve it, and the first thing was to make it clear where players / foes were looking at, it's basic to make you know:
- Where are you going (the red dot did not helped a lot)
- Where are going all the other players / enemies
- Can I ambush somebody?, am I being ambushed?
SPRIG: The SDL Primitive Generator
A great job from Jhonny D
To use the library you will need the subversion client, (in linux "sudo apt-get install subversion", in Windows you can use Tortoise SVN client, for example)
To download / install it under linux:
svn checkout http://sprig.googlecode.com/svn/trunk/ sprig
sudo make install
(Haven't tested it under windows yet)
I created a new function: RotateBlitTileset( x,y,image,angle), that functions draws the rotated tile (image) at x,y.
Notice I can't just call Sprig rotate function because I would get a rotated tile with pink background, so I have to use the tmp surface to set the color-key, that way is not optimized at all so I will think in a way to make it faster later, but at the moment is ok.
In the next post: Let's chat!