Skip to main content
gamedev.net
🔒 Locked

Animating textures

Started by Kryptus May 30, 2003 at 4:20 AM 1 replies 550+ views
Original Post
Kryptus
Kryptus
how do i animate a texture?
billybob
billybob
keep textures in an array, depending on the frame, use whichever one in the array when you call SetTexture(...)
Pipo DeClown
Pipo DeClown
quote:
Original post by billybob
keep textures in an array, depending on the frame, use whichever one in the array when you call SetTexture(...)


Talk about optimization
I think you're better off, if you do all the Animation Frames in one file, and use RECT's or UV-co's to animate.


.lick


[edited by - Pipo DeClown on May 30, 2003 6:07:15 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.