Hi Everyone, i want to ask something about Time Script...
i want, if player input press A, "cat graphic" shown and when it runs 10 seconds the "cat graphic" bitmap.clear..
iam confused when i try create for determine time..
look:
if Time.now > 10
how is the right script to determine the time?
sorry for bad eng,..
thankyou very much....
Code:
if Input.press?(A)
self.bitmap.blt(width, height, "cat graphic", rect, opacity)
if Time.now > 10
self.bitmap.clear
end
end
i want, if player input press A, "cat graphic" shown and when it runs 10 seconds the "cat graphic" bitmap.clear..
iam confused when i try create for determine time..
look:
if Time.now > 10
how is the right script to determine the time?
sorry for bad eng,..
thankyou very much....