TGC Codebase Backup



Texture limb by ozmoz

20th Mar 2008 14:22
Summary

If you want texture limb any .jpg,.bmp... image ,you must write this code :~)



Description

If you want texture limb any .jpg,.bmp... image ,you must write this code :~)



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    rem load object and image
load object "adam.x",1
load image "kapla.jpg",1
rem texture model limb this image
texture limb 1,11,1
do
rem Press right key and object turn right
set cursor 10,10 : print "Press right key ! object turn..."
if rightkey()=1 then don=don+1
if don>359 then don=0
yrotate object 1,don
loop