SetSky /Material:"MilkyWay Skybox" /AmbientLight:0, 0, 0, 255 AddSun sun /Scale:0.7, 0.7, 0.7 AddPointLight plight1 /Intensity:4.0 /Range:100 /LightShadows:Hard AddEmptyObject earth_center AddEmptyObject moon_center /Parent:earth_center /Position:5, 0, 0 AddEarth earth /Parent:moon_center /Orientation:0, 180, 0 AddMoon moon /Parent:moon_center /Position:2, 0, 0 /Scale:0.3, 0.3, 0.3 AddJoystick /OnRightJoystickPressed:f1 /OnLeftJoystickPressed:f2 void f1() { moon_center.Rotate(0, -0.1, 0) } void f2() { moon_center.Rotate(0, 0.1, 0) } SetCameraView /Parent:earth /Position:5, 0, 0 /LookTarget:moon