Cleanup
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ sub Run {
|
|||||||
my $ticktime = SDL::get_ticks() - $tick;
|
my $ticktime = SDL::get_ticks() - $tick;
|
||||||
my $delta = 1000/GetGameVar('TargetFPS') - $ticktime;
|
my $delta = 1000/GetGameVar('TargetFPS') - $ticktime;
|
||||||
|
|
||||||
LogData(DEBUG, "TickTime = $ticktime, Delta = $delta");
|
LogData(DEVALL, "TickTime = $ticktime, Delta = $delta");
|
||||||
SDL::delay($delta) if($delta > 0);
|
SDL::delay($delta) if($delta > 0);
|
||||||
$tick = SDL::get_ticks();
|
$tick = SDL::get_ticks();
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-2
@@ -3,7 +3,7 @@ __init__:
|
|||||||
SetAssetOption spritesheet.png Animated
|
SetAssetOption spritesheet.png Animated
|
||||||
AddSayer h "Hermione" aka01.png 200 200 200 255
|
AddSayer h "Hermione" aka01.png 200 200 200 255
|
||||||
|
|
||||||
TargetFPS = 30
|
TargetFPS = 20
|
||||||
ResourceDir = "Resources"
|
ResourceDir = "Resources"
|
||||||
|
|
||||||
drawroom:
|
drawroom:
|
||||||
@@ -20,6 +20,9 @@ drawroom:
|
|||||||
Show candlera fire.vs 400 95 12 flip
|
Show candlera fire.vs 400 95 12 flip
|
||||||
Show candlela fire.vs 240 95 12
|
Show candlela fire.vs 240 95 12
|
||||||
|
|
||||||
|
convo:
|
||||||
|
Wait
|
||||||
h "Continue..."
|
h "Continue..."
|
||||||
|
|
||||||
RecompileScripts drawroom
|
#RecompileScripts drawroom
|
||||||
|
Jump convo
|
||||||
|
|||||||
Reference in New Issue
Block a user