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 Professional Discussion / Texturing Different Parts of an Object Different Textures

Author
Message
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 23rd Nov 2010 01:13
So i have been studying a dbpro game lately to see how it works, and every one of its levels are made of many different pieces floating in relation to each other, and during gameplay, different platforms (the floating 3d thingys) have different textures. Actually, so you know what game im talking about so you can see for your self, all the credits go to 'The Little Eggy That Could.'

New 3d marble game coming soon!
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 23rd Nov 2010 12:11
Use the texture limb command.
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 23rd Nov 2010 23:12
Thanks! Now how would you determine which limb is which if it's all on one object?

New 3d marble game coming soon!
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 23rd Nov 2010 23:24
limb name$ returns the name of the limb (if the level object has named limbs). Otherwise you would have to loop through each limb and assign it's number to a well suited variable name.

My computer surpasses all the technologies of the day. What computer do I have?

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 23rd Nov 2010 23:39
I see.

New 3d marble game coming soon!
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Nov 2010 23:52
Quote: "So i have been studying a dbpro game lately to see how it works, and every one of its levels are made of many different pieces floating in relation to each other, and during gameplay, different platforms (the floating 3d thingys) have different textures. "


Different platforms are generally different objects.
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 15th Dec 2010 04:25
xd

Login to post a reply

Server time is: 2026-07-21 13:38:36
Your offset time is: 2026-07-21 13:38:36