Another useful thing I just though of and tested out. (It worked good)
You can cause a Scroller effect, of even silly little backwards / upside-down image.
Al you have to do is something like:
As a Global:
int scroller (-200); // Global. Start off screen.
And you Pixelize like this now, with a If right under it:
Pixelize(scroller, 300, 200, 50);
// Scroll on screen untill Start Pos on X is 200
if (scroller < 200) { scroller += 2; };
Just something I just played with, haha
[Edited by - PorkChop Conrad on July 23, 2007 1:39:41 AM]
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
GIF Textures (ADD: And others)
Quote: Original post by Ezbez
I just want to through in that GIFs really aren't great for games. It's a highly lossy format.
You are surely thinking of JPEG.
Quote:
I haven't used it, but DevIL is a popular image loading library.
I use DevIL. It has an OpenGLy workflow, and when you're in a hurry it can give you an OpenGL texture name from a file name in a single function call.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement