A pretty silly but usefull function
I neaded it for my editor.
i also added it to the codebase in case anyone neads it later on.
rem
rem AGK Application
rem
SetVirtualResolution( 480, 480 )
SetCameraPosition(1,0,0,0-100)
SetCameraRotation(1,0,0,0)
createlightdirectional(1,50,0-25,20,255,255,255)
object1=createobjectbox(20,20,20)
object2=createobjectbox(20,10,40)
object3=createobjectbox(10,10,10)
rem A Wizard Did It!
do
rotateobjectlocalx(object1,1)
rotateobjectlocaly(object1,1)
limb( object1,object2,0-20,15,0 )
limb( object2,object3,10,10,0 )
Sync()
loop
Function limb(obj1,obj2,xstep#,ystep#,zstep#)
setobjectposition(obj2,getobjectX(obj1),getobjectY(obj1),getobjectZ(obj1))
setobjectrotation(obj2,getobjectanglex(obj1),getobjectangleY(obj1),getobjectangleZ(obj1))
moveobjectlocalx(obj2,xstep#)
moveobjectlocaly(obj2,ystep#)
moveobjectlocalz(obj2,zstep#)
endfunction
Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz