' "Game Name"
' Created with QDK Pro 4.0 Beta 2
define game <Game Name>
asl-version <391>
gametype singleplayer
start <Limbo>
game author <Your Name>
game version <1.0>
game copyright <© 2006 ...>
game info <Enter any additional information about this game here.>
end define
define options
debug on
panes on
end define
define room <Limbo>
script {
msg <Want to increment the counter? (Y/N)>
enter <yesno>
if (#yesno# = Y) then {
inc <counter>
msg <You pressed Y.>
}
else {
msg <You did not press Y.>
}
}
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define
command <!objsetprop #object# #prop# #value#> {
if exists <#object#> then {
if property <#object#; #prop#> then {
property <#object#; #prop#=#value#>
msg <|n[GC] Property |b#prop#|xb in object |b#object#|xb set.>
}
else {
msg <|n[GC] Warning: |b#object#|xb property '|b#prop#|xb' does not exist. Create it (Y/N)?>
enter <yesno>
' if (#yesno# = Y) then {
property <#object#; #prop#=#value#>
msg <[GC] Property |b#prop#|xb in object |b#object#|xb set.>
' }
else {
msg <[GC] Property not created.>
}
}
}
else {
msg <|n[GC] Error: |b#object#|xb does not exist.>
}
}
command <!objsetprop #object# #prop# #value#>
command <!objsetprop #object#, #prop#, #value#>