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