From 73c92917e2d949865b0aa54bf8181b20df936eff Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 24 Aug 2011 23:32:00 +0200 Subject: [PATCH] Slightly increase intro text scrolling speed. Scrolling 1/4 pixel per frame results in jerky motion, mostly because 4 times 16 2/3 milliseconds is not a round number. Scrolling 1/3 pixel per frame results in much smoother scrolling. --- code/title.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/title.cpp b/code/title.cpp index fdbb69b..99df9d9 100644 --- a/code/title.cpp +++ b/code/title.cpp @@ -544,7 +544,7 @@ void showStory() { for (int i = 0 ; i < 9 ; i++) { - graphics.textShape[i].y -= 0.25; + graphics.textShape[i].y -= 0.33333; graphics.blitText(i); } }