diff options
Diffstat (limited to 'test/testcard.rb')
| -rw-r--r-- | test/testcard.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testcard.rb b/test/testcard.rb index a6341c7..b573579 100644 --- a/test/testcard.rb +++ b/test/testcard.rb @@ -239,16 +239,16 @@ end update do pointer.x = (get :mouse_x) - 5 pointer.y = (get :mouse_y) - 7 - + if flash > 0 pointer_outline.color = [0, 1, 0, 1] flash -= 1 else pointer_outline.color = [0, 1, 0, 0] end - + s1.animate(:forwards) - + if (get :frames) % 20 == 0 fps.text = "FPS: #{(get :fps).round(3)}" end |
