script:
Code: Select all
# 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)
image ccbackground = "cc_background.png"
# 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:
stop music
play music "Necropolis.mp3"
with dissolve
scene ccbackground
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
Code: Select all
init python:
hair = 1
def draw_character(st, at): # combine the dressup items into one displayable
return LiveComposite(
(361, 702), # image size
(0, 0), "base.png",
(0, 0), "hair%d.png"%hair,
),.1
init:
image character = DynamicDisplayable(draw_character)
screen character_customization_screen:
modal True
tag menu
frame:
xalign .7
yalign .5
has vbox
hbox:
vbox:
$ ui.text("Hair styles", size= 23,color="#496682")
textbutton _("hairstyle1") action [ SetVariable("hair", 1)]
textbutton _("hairstyle2") action [ SetVariable("hair", 2)]
textbutton _("hairstyle3") action [ SetVariable( "hair", 3)]
textbutton _("hairstyle4") action [ SetVariable( "hair", 4)]
textbutton _("hairstyle5") action [ SetVariable( "hair", 5)]
textbutton _("hairstyle6") action [ SetVariable( "hair", 6)]
add "character":
pos (-60,81)




