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.

DarkBASIC Discussion / Animated Texture..?

Author
Message
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 4th Jul 2009 23:07
Is it possible to load an animation in DB, and get it to play on an object As a texture?

-DD

Your signature has been erased by a mod because it was too big.CHANGE IT OR DIE!!!!!
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 4th Jul 2009 23:16
Yes, but it is very slow. Download the attachment, and have fun!

TheComet


Make the path of your enemies easier with Waypoint Pro!

Attachments

Login to view attachments
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 4th Jul 2009 23:17
I will, Thanks, will post if i have questions.....hmmmm.....

Your signature has been erased by a mod because it was too big.CHANGE IT OR DIE!!!!!
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 5th Jul 2009 02:29
i havent seen the attachment but it seems to me if you played it on an offscreen bitmap and repeatedly used get image and textured the object with it then it would work

Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 5th Jul 2009 03:46
Thats whats on the attachment, Ur correct. I dont see how its "slow"
Though.

Your signature has been erased by a mod because it was too big.CHANGE IT OR DIE!!!!!
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 5th Jul 2009 04:22
Could probably speed it up by using some memblock commands (specifically: MAKE MEMBLOCK FROM BITMAP and MAKE IMAGE FROM MEMBLOCK) instead of get image, though I don't know if there is a significant speed change.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose

Login to post a reply

Server time is: 2024-05-20 12:22:36
Your offset time is: 2024-05-20 12:22:36