0 Members and 3 Guests are viewing this topic.
bridge1=image.new(_R.IMG.bs)bridge2=image.new(_R.IMG.bola2)timer.start(0.01)function on.timer() local pc = var.recall("meter.posição") local vc = var.recall("meter.velocidade") local ac = var.recall("meter.aceleração") platform.window:invalidate()endfunction on.paint(gc) gc:drawImage(bridge1, 0, 0) gc:setColorRGB(250, 250, 250) gc:drawString("Posição-> "..pc, 22, 22) gc:drawString("Velocidade-> "..vc, 22, 44) gc:drawString("Aceleração-> "..ac, 22, 66) gc:drawImage(bridge2, 200, 28+70*pc) gc:setColorRGB(183, 119, 103) gc:fillArc(195+18*pc, 203, 10/pc, 8, 0, 360)end
I liked the "Ow...." comment a lot!