generated from remarkablegames/renpy-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(game): replace dialogue and images
- Loading branch information
1 parent
4b1e4e9
commit 8d95318
Showing
21 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,68 @@ | ||
# The script of the game goes in this file. | ||
# Declare characters used by this game. | ||
define alex = Character("Alex", color="#c8ffc8") | ||
define player = Character("[player_name]", color="#c8c8ff") | ||
|
||
# Declare characters used by this game. The color argument colorizes the | ||
# name of the character. | ||
# Variables. | ||
default affection = 0 | ||
|
||
define e = Character("Eileen") | ||
# The game starts here. | ||
label start: | ||
"I see a cute girl walking up to me..." | ||
|
||
# Show a background. | ||
scene bg uni | ||
with fade | ||
|
||
# The game starts here. | ||
# Show a character sprite. | ||
show sylvie blue normal | ||
with dissolve | ||
|
||
label start: | ||
# Ask player for name. | ||
python: | ||
player_name = renpy.input("Hi there! What's your name?", length=32) | ||
player_name = player_name.strip() | ||
|
||
if not player_name: | ||
player_name = "Player" | ||
affection -= 1 | ||
else: | ||
affection += 1 | ||
|
||
# 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. | ||
show sylvie blue giggle | ||
|
||
scene bg panorama | ||
# Display lines of dialogue. | ||
alex "Nice to meet you, [player_name]!" | ||
alex "[player_name], do you want the good or bad ending?" | ||
|
||
# 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. | ||
menu: | ||
"Good ending.": | ||
$ affection += 1 | ||
show sylvie blue smile | ||
jump good_ending | ||
|
||
show eileen happy | ||
"Bad ending.": | ||
$ affection -= 1 | ||
show sylvie blue surprised | ||
jump bad_ending | ||
|
||
# These display lines of dialogue. | ||
label good_ending: | ||
if affection > 0: | ||
"Affection: [affection]" | ||
|
||
scene black | ||
with dissolve | ||
|
||
"{b}Good Ending{/b}." | ||
|
||
return | ||
|
||
e "You've created a new Ren'Py game." | ||
label bad_ending: | ||
if affection < 0: | ||
"Affection: [affection]" | ||
|
||
e "Once you add a story, pictures, and music, you can release it to the world!" | ||
scene black | ||
with dissolve | ||
|
||
# This ends the game. | ||
"{b}Bad Ending{/b}." | ||
|
||
return |