÷ ßlocal cloud_speed = 50 function init(self) msg.post(".", "acquire_input_focus") go.set_position(vmath.vector3(1055+390,542,0)) sprite.set_constant("#cloud1", "tint", vmath.vector4(1, 1, 1, 0.7)) end function update(self, dt) local pos = go.get_position("cloud1") pos.x = pos.x - cloud_speed * dt if pos.x < -390 then pos.x = 1055+390; end go.set_position(pos) end @main/clouds.script"