half a sphere gone by Slayer9326th Nov 2004 13:00
|
---|
Summary it makes half a sphere invisible Description it makes half a sphere invisible by geting an image and making it transparent Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com `half a sphere gone `change the last two numbers in box lower `then 635,470 and see what happens box 0,0,235,400 `gets the image on the screen(dont change) get image 1,0,0,635,470 `create sphere make object sphere 1,10 `texture object texture object 1,1 set object 1,1,0,0 `loop do `see object if upkey()=1 then pitch object down 1,5 if downkey()=1 then pitch object up 1,5 if leftkey()=1 then turn object left 1,5 if rightkey()=1 then turn object right 1,5 if spacekey()=1 set object 1,1,1,1 else set object 1,1,0,0 endif sync loop |