Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / a simple tile sprite function for you : ) - using uv texture coords

Author
Message
shiny
20
Years of Service
User Offline
Joined: 17th Jan 2004
Location: Santa Monica
Posted: 25th Aug 2005 11:51 Edited at: 25th Aug 2005 12:41
I know its a very simple function, but its fiddly so I thought I'd post it : ). - It tiles a sprite, all you have to do is pass it the new size you want and the image will repeat itself : ). Very usefull for backgrounds & such (saves using multiple sprites too, so much faster).

Hope it comes in usefull to someone : ).



MiR
20
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 25th Aug 2005 12:51
Thank you for the function. One day I want to make a zelda style rpg for it will come in handy.


Gimme teh votez!!!!

Login to post a reply

Server time is: 2024-04-18 08:03:16
Your offset time is: 2024-04-18 08:03:16