textures by Zack V1123rd Jan 2009 6:46
|
---|
Summary textures using photos Description Zack V11, Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com + Code Snippet `Sets the speed at which our object will rotate. To make it faster or slower, simply change the number. #CONSTANT rotatespeed 3 `Loads the image into the editor and assigns it to the number 1 LOAD IMAGE "earth_day.jpg", 1 `Makes a sphere object. When an object is created, the camera automatically focuses upon it. MAKE OBJECT SPHERE 1, 30 `Textures the sphere object we just made with the image we just loaded TEXTURE OBJECT 1, 1 `Starts an indefinite loop -- also referred to as the 'Main Loop' DO `Rotates our object by it's current angle minus whatever rotatespeed is set to. YROTATE OBJECT OBJECT ANGLE Y(1)+rotatespeed LOOP |