page flipping
Blitz3D Forums/Blitz3D Beginners Area/page flipping
| ||
I'm making an animator and need to be able to go backwards and forwards through the frames to make corrections etc. I have this code but can't get it to work Case btn002 If Frame>1 Then Frame=Frame-1 SendMessage( lbl002, "LM_SETTEXT", "Frame #: " + Frame ) ;SetBuffer ImageBuffer(TestImage) pseudo=LoadImage ("test" +(Frame) +".bmp") DrawImage pseudo,232,100 (this is the "previous" button. each frame is being saved as "test" plus the frame number in the "next" function) Case btn003 If Frame>0 Then Frame=Frame+1 SendMessage( lbl002, "LM_SETTEXT", "Frame #: " + Frame ) SaveImage (TestImage,"test" +(Frame-1) +".bmp") (This button does work so far as I can tell) Any help=thanks! EDIT: Figured it out. at least so far. might have to revisit this post...LOL DOG |
| ||
Not sure what you are after, but you seemed to have fixed it I guess? Oh..that dog image reminds me of something out of Doom3... |
| ||
I was just trying to figure how to use a next/prev function to view animation frames. The problem was I was saving the image every time I did a next so I added a "save" button instead. blah blah blah . I'm working on a sprite editor that saves to imagestrips. It's functional already but needs more features. Look for it sometime soon. The dog image is a model I made with Archipelis. Great for making animals but not a lot else. DOG |