Created
December 14, 2012 03:17
-
-
Save anonymous/4282425 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can place the script of your game in this file. | |
# Declare images below this line, using the image statement. | |
# eg. image eileen happy = "eileen_happy.png" | |
# Declare characters used by this game. | |
init: | |
$ d = NVLCharacter(None, kind=nvl) | |
$ _preferences.set_volume("music", 0.7) | |
image bg black = "#000" | |
screen start_screen: | |
modal False | |
python: | |
xSize = int(config.screen_width * 0.9) | |
ySize = int(config.screen_height * 0.9) | |
window: | |
background None | |
xminimum xSize | |
xmaximum xSize | |
yminimum ySize | |
ymaximum ySize | |
menu: | |
"Info": | |
jump info | |
"Combat Demo": | |
jump combat_demo | |
# The game starts here. | |
label start: | |
scene bg black | |
stop music fadeout 1.0 | |
show screen start_screen | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment