Quel has pointed out a problem with the
set object texture command when used on objects with limbs. It doesn't work on all limbs unless used after
texture object.
Here's his thread:
http://forum.thegamecreators.com/?m=forum_view&t=181572&b=1&p=0
and some code showing the problem:
set display mode desktop width(), desktop height(), 32
sync on : sync rate 60 : sync
autocam off
position camera 0, 0, -100
point camera 0, 0, 0
make object plain 1, 50, 50
make mesh from object 1, 1
add limb 1, 1, 1
offset limb 1, 1, 60, 0, 0
rotate limb 1, 1, limb angle x(1,1), limb angle y(1,1)+180, limb angle z(1,1)
position object 1, 30, 0, 0
set object cull 1, 0
set object texture 1, 2, 1 ` doesn't work on all limbs here
delete mesh 1
load image "limb problem.png", 1
texture object 1, 1
`set object texture 1, 2, 1 ` but does here
repeat
sync
until spacekey()
end
I've attached a test image to highlight the problem.