cc_screen
Code: Select all
define character_img = "base.png"
screen character_customization_screen:
modal True
tag menu
# The main menu buttons.
frame:
xalign .7
yalign .5
has vbox
hbox:
vbox:
$ ui.text("Hair styles", size= 23,color="#496682")
textbutton _("hairstyle1") action [ SetVariable("hairstyle1","hair1")]
textbutton _("hairstyle2") action [ SetVariable("hairstyle2", "hair2")]
textbutton _("hairstyle3") action [ SetVariable( "hairstyle3","hair3")]
textbutton _("hairstyle4") action [ SetVariable( "hairstyle4","hair4")]
textbutton _("hairstyle5") action [ SetVariable( "hairstyle5","hair5")]
textbutton _("hairstyle6") action [ SetVariable( "hairstyle6","hair6")]
add character_img:
pos (-60,81)Code: Select all
init:
## CHARACTER APPEARANCE ##
$ body = "base"
$ hairstyle1 = "hair1"
$ hairstyle2 = "hair2"
$ hairstyle3 = "hair3"
$ hairstyle4 = "hair4"
$ hairstyle5 = "hair5"
$ hairstyle6 = "hair6"Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
image mainmenu = "hypnotic_student.png"
image ctc_animation = Animation("ctcarrow01.png", 0.2, "ctcarrow02.png", 0.2, xalign=0.9, yalign=0.9)
# Declare characters used by this game.
define story = Character(None, kind = nvl, ctc = None)
define player = Character("[playername]")
# The game starts here.
label splashscreen:
scene black
$ renpy.pause(1)
show text "The following story is a work of fiction and contain fantasy situations and does not reflect hypnosis in real life" with dissolve
$ renpy.pause(2)
hide text with dissolve
$renpy.pause(1)
$ renpy.pause(1)
show text "AmatureManga Productions Presents\na story by: AmatureManga and Art by: SilverKazeNinja" with dissolve ## fix
$ renpy.pause(2)
play music "Metaphysik.mp3"
hide text with dissolve
$renpy.pause(2)
return ## fix
label start:
show screen character_customization_screen
$renpy.pause()
$ story = Character(None, ctc="ctc_animation", ctc_position="fixed", kind=nvl)
stop music
with dissolve
window show fade
$ playername = renpy.input("Please enter your character's name below.")
$ playername = playername.strip()
window hide fade
window show fade
story "I am walking down a dark corridor. It is a corridor i am very familiar with."
story "As this is a dream i have almost every night."
story "I can feel the darkness telling every fiber in my body to turn back,"
story "but i know... i know i have to press forward as i reach the familiar corner..."
nvl clear
window hide fade
window show fade
story "I turn the corner and find myself in a familiar dark abandoned room"
nvl clear
window hide fade
return