TGC Codebase Backup



Quick Code To animate by Stig Design Stig Magne

15th Mar 2008 0:27
Summary

Quick Code To animate a Object



Description

A Quick Code To animate a Plain Object
no media Nedded

Quick Code To animate a Crane,Radar to make it rotate 360 Decredes
like a animation.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    Make Object Plain 1,100,100
Color Object 1,rgb(200,50,50
Set Object 1,1,1,0

Position Object 1,0,0,0
Position Camera 0,10,-10
Do

YRotate Object 1,CranRot#
If CranRot#=<358
inc CranRot#,(0.8)
Else
CranRot#=0
endif

Loop