PT
Developer Forums
Register
Login
Code Snippets
->
wavey flag object
<
1
>
P
Phaelax
Joined:
16th Apr 2003
Location:
Metropia
Posted:
6th May 2003 23:52
With a simple set of functions, you can now easily create an animated flag object for CTF style FPS games, or anything else. Scale it, move it, rotate it any way you like, it all works. Library file and sample code included.
http://www.realgametools.net/forums/attachments/flaglimb2.zip
B
BatVink
Joined:
4th Apr 2003
Location:
Gods own County, UK
Posted:
7th May 2003 4:17
Nice One, someone else was doing the same a week or so ago, although I never checked out the code.
Can I suggest you swap the large bmp for a small jpg in your zip file, it'll save you some bandwidth!
P
Phaelax
Joined:
16th Apr 2003
Location:
Metropia
Posted:
8th May 2003 0:43
i'm on a T3, so bandwidth isn't an issue with me. But there's a reason it's a bmp format if you look at the code. A jpg cannot be pasted to the screen for image capture, which is what you have to do to map it to the flag properly.