@angelheart
Quote:
1.Very nice ! what screen res did you use ? no. colours ?
Quite responsive on my XP laptop, smooth animation. small file size :)
2.Why did you choose allegro rather than SDL ?
3.Does Allegro support vector gfx ?
4.Was is hard to program ? Im interested in Allegro programming if its easy to code/compiler setup.
cheers. nice one.
I've added numbers to your post to reply to your points.
1. 640x480 16bit depth.
2. I wanted to use the scroll screen command, but I couldnt figure it out properly.. but I found after I had ported my little SDL parts to Allegro that it had better and simpler ways of doing things. Like draw_sprite() handles transparency automatically. Sound is much simpler to play with Allegro too.
3. I dont know sorry.
4. Allegro itself is easy, the hard part was creating the game itself. I.e. jumping, collision detection, creating a virtual world to explore and scroll around automatically in, etc. Oh, actually keyboard input was fiddly, and I had to get help on that. Thats the only thing SDL did better I think.
Also when you're compiling, you just need to download the dev files, copy them to the right places, then #include allegro.h , and link with -lalleg .. or whatever its called.
Currently Allegro appears to be slower than SDL on OS4, but the porter is looking into speeding things up. I hope he achieves it!