Here's my code.
Code: Select all
transform arguecg1():
alpha 1.0
xpos 100
ypos 150
linear 6.0 xpos 500
transform arguecg2():
alpha 1.0
xpos 500
ypos 500
linear 6.0 xpos 50
transform arguecg3():
alpha 1.0
xpos 300
ypos 200
linear 6.0 xpos 50 ypos 900
transform arguecg4():
alpha 1.0
xpos 0.1
ypos 0.5
linear 6.0 xpos 500
define e = Character("Michiko Okane")
define a = Character("Aya Masaki")
define k = Character("Kenji Kimura")
define m = Character("Ayumi Takenaka")
define h = Character("Haruko Omura")
# The game starts here.
label start:
# Show a background. This uses a placeholder by default, but you can
# add a file (named either "bg room.png" or "bg room.jpg") to the
# images directory to show it.
scene bg room
# This shows a character sprite. A placeholder is used, but you can
# replace it by adding a file named "eileen happy.png" to the images
# directory.
show kyoko think
# These display lines of dialogue.
e "It's clear that someone was in the gym with Ichiro..."
e "It's impossible that he was killed elsewhere."
e "So think about it. Who else was in the gym?"
call screen argument1
screen argument1():
hbox:
textbutton _("{color=#FFFFFF}Kazumi must have killed Ichiro!{/color}"):
at arguecg1
text_outlines [(2, "#000000", 0, 0)]
text_font "Benjamin Bold.ttf"
text_size 50
timer 5.0 action Jump("argument2")
label argument2:
call screen argument2
screen argument2():
hbox:
textbutton _("{color=#FFFFFF}Yeah, she was the{/color} {color=#F8C832}only other one{/color} {color=#FFFFFF}in the gym!{/color}"):
action Jump ("nottheonlyoneingym")
at arguecg2
text_outlines [(2, "#000000", 0, 0)]
text_font "Benjamin Bold.ttf"
text_size 60
timer 5.0 action Jump("argument3")
label argument3:
call screen argument3
screen argument3():
textbutton _("{color=#FFFFFF}When I found the body, {/color} {color=#F8C832}no one else was on the scene{/color} {color=#FFFFFF}with me.{/color}"):
action Jump ("only_one_that_discovered")
at arguecg3
text_outlines [(2, "#000000", 0, 0)]
text_font "Benjamin Bold.ttf"
text_size 50
timer 5.0 action Jump("argument4")
label argument4:
call screen argument4
screen argument4():
textbutton _("{color=#FFFFFF}Kazumi must have fled the scene...{/color}"):
at arguecg4
text_outlines [(2, "#000000", 0, 0)]
text_font "Benjamin Bold.ttf"
text_size 50
timer 5.0 action Jump("again")
label again:
show kyoko think
a "No, something doesn't seem right about that...."
jump start
label nottheonlyoneingym:
show kyoko think with hpunch
a "No, that's wrong!"
h "What? No, it's not!"
a "Kazumi wasn't the only one in the gym. Because...."
# This ends the game.
return
label only_one_that_discovered:
show kyoko think with hpunch
a "No, that's wrong!"
m "What? Um... But I was the only one that found his body?"
m "Kenji came in after me. He can back me up."
k "She's right, Aya. No one was on the scene with her."
show kyoko think2 with hpunch
a "A-ah.... I should rethink that..."
jump start