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 / Loading textures.

Author
Message
Clbembry
18
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 20th Dec 2006 02:37
How do I load textures into DBC to put on my objects? Also how do I put it on my objects?

Please help!
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 20th Dec 2006 11:52
to load textures:

load image filename$, imgnr

And to texture your object:

texture object objnr, imgnr

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Login to post a reply

Server time is: 2025-05-26 03:09:21
Your offset time is: 2025-05-26 03:09:21