Rotating a Bitmap
But, I feel that the *best* way to learn, is to *try* and figure it out for yourself. The second best is to read a text book on the subject (or an faq). And as a last resort, ask someone on a message board.
I find that just asking someone doesn't really help you in the long run, and thier answer doesn't not mean that it is the right answer or the best.
When you start your on your way as a game developer, you can't just ask people how to do something evertime you run into a problem. I have once spent two weeks trying to figure out a solution to a problem, (to no avail) and finally I looking it up on a web page. Even though I didn't do it myself, atleast I now know the complexity and general nature of the problem. So maybe next time, I will be able to do it myself, and it might be a better solution then the one I got from a web page.
So sorry everyone if I offended. =(
Now to get back on the proper topic... ummm.. direct draws bitmap rotation sucks.
ps. why was my message locked? and what does that mean? (see, I'm a newbie too.)
Reg. direct draw rotation: Never used or plan on using. Using pre-rotated images or optimized, hand-written rotations that are calculated at initialization and NOT at blit are the way to go.
Reg. the locking of your message, the moderators obviously did not want a flame-war of sorts to explode under that topic. But it was on topic and not mean, so they couldn't (in good conscience) delete it. So they locked it so people could see but not respond.
- Splat
I'm now looking for a way to rotate a bitmap(I don't want to make all these bitamps with photoshop: ~15~20 bitmaps for all direction * by all the animation = too many).
There's certainly a way to rotate a sprite, if someone can tell me how, I'll appreciate.
Lafo
- Splat