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 / Texturing matrix

Author
Message
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 10th Mar 2004 19:20
Despite reading all the tutorials, I still don't understand how you texture individual matrix squares/tiles.
Please help.
eg.
I have a 5 by 5 matrix and I want to texture tile 1,1 with texture 1
but the rest with trexture 2.
What is the code for that?

David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th Mar 2004 19:39 Edited at: 10th Mar 2004 19:40
I think the command fill matrix will do for filling the whole matrix with tile 2, and set matrix tile for the first square.

set matrix tile 1,5,5,1

Tile 5,5 textured with texture 1.

"To do is to be" - Descartes
"To be is to do" - Voltaire
"Do be do be do" - Frank Sinatra
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 11th Mar 2004 11:32
It keeps telling me that the tile does not exist!

Login to post a reply

Server time is: 2025-05-23 11:18:41
Your offset time is: 2025-05-23 11:18:41