help needed with animating texture

Blitz3D Forums/Blitz3D Programming/help needed with animating texture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm trying using CopyRect to fill the textures buffer, but all i get is a block square....|-[

[update] got the parameters wrong, now i i see nothing!

[update] got it working!
1) use two textures, one to show and another to store the animated texture (i use textures with alpha channels)
2) on each new frame lock both texture buffers and readpixelfast/writepixelfast the current frame to the shown texture. voila.