PerlRPG/Resources/script.gs

43 lines
1000 B
JavaScript

__init__:
ResourceDir = "Resources"
TargetFPS = 20
drawroom:
SetBackground 0 0 0 255
SetAssetOption spritesheet.png Animated
AddSayer h "Hermione" aka01.png 255 0 0 255
#AddSayer h2 "Hermione2" aka05.png 32 32 255 255 left flip
SpeechBorderSize = 3
SpeechBorderColor = "128 128 128 255"
SpeechBGColor = "192 192 192 255"
SpeechNameBGColor = "0 0 0 0"
Show bg main_room_day.png 0 0 10
Show window 05_window.png 350 100 11
Show cupboard cupboard.png 120 72 11
Show door door.png 840 177 11
Show fireplace fireplace.png 600 150 11
Show candler candle.png 400 100 11 flip
Show candlel candle.png 240 100 11
#Show fireplacea fireplace_fire.vs 575 147 12
#Show candlera fire.vs 400 95 12 flip
#Show candlela fire.vs 240 95 12
Show desk 11_genie_00.png 230 220 13
#Show hermione spritesheet.png 450 310 14 reverse ticks=4
convo:
Call subtest
RecompileScripts drawroom
Jump convo
subtest:
Define TestVar 1
h "Loop [TestVar]..."
TestVar = TestVar + 1
Return