Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
/ ‘game/Event Editor/EE_auto_res.rpy’ / ‘game/Event Editor/EE_main.rpy’ + ‘game/Event Editor/base_colors.rpy’ / ‘game/Event Editor/base_speakers.rpy’ / ‘game/Event Editor/images.rpy’ + ‘game/Event Editor/mods.rpy’ / ‘game/Event Editor/tango.rpy’ / ‘game/Event Editor/test_event.rpy’ + ‘game/events/EEout_start.rpy’ / ‘game/images/events/concert/1.jpg’ / ‘game/images/events/concert/2.jpg’ / ‘game/images/events/concert/3.jpg’ / ‘game/main_menu.rpy’ + ‘game/mods/test/events/EEout_test_two.rpy’ + ‘game/mods/test/events/EEout_test_zero.rpy’ + ‘game/mods/test/imgs/bgs/club.jpg’ + ‘game/mods/test/imgs/bgs/lecturehall.jpg’ + ‘game/mods/test/imgs/bgs/meadow.jpg’ + ‘game/mods/test/imgs/bgs/uni.jpg’ + ‘game/mods/test/imgs/sprites/sylvie/giggle.png’ + ‘game/mods/test/imgs/sprites/sylvie/green/giggle.png’ + ‘game/mods/test/imgs/sprites/sylvie/green/normal.png’ + ‘game/mods/test/imgs/sprites/sylvie/green/smile.png’ + ‘game/mods/test/imgs/sprites/sylvie/green/surprised.png’ + ‘game/mods/test/imgs/sprites/sylvie/normal.png’ + ‘game/mods/test/imgs/sprites/sylvie/smile.png’ + ‘game/mods/test/imgs/sprites/sylvie/surprised.png’ + ‘game/mods/test/mod.conf.rpy’ / ‘game/options.rpy’
- Loading branch information
Showing
30 changed files
with
311 additions
and
61 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
init -300 python: | ||
|
||
base_colors_dir = { | ||
"Red": "#ff0000", | ||
"Blue": "#0500fc", | ||
"Green": "#00ff12", | ||
"White": "#ffffff", | ||
"Black": "#000" | ||
} | ||
|
||
base_colors = [] | ||
for c in base_colors_dir.items(): | ||
name = c[0] | ||
renpy.image(name, Solid(c[1])) | ||
base_colors.append(name) |
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,13 +1,18 @@ | ||
init -90 python: | ||
init -300 python: | ||
|
||
speakers = [] | ||
|
||
base_speakers = {"boy":"#729fcf", "girl":"#e65fc8", "men":"#3465a4", | ||
"women":"#ad7fa8", "devloper":"#cc0000", "debug":"#ef2920"} | ||
base_speakers = { | ||
"boy":"#729fcf", "boy1":"#729fcf", "boy2":"#729fcf", | ||
"boy3":"#729fcf", "girl":"#e65fc8", "girl1":"#e65fc8", | ||
"girl2":"#e65fc8","girl3":"#e65fc8", | ||
"men":"#3465a4", "women":"#ad7fa8", | ||
"developer":"#cc0000", "debug":"#ef2920" | ||
} | ||
|
||
for sp in base_speakers.items(): | ||
var_name = sp[0] | ||
ch_name = var_name.title().replace('_', ' ') | ||
ch_name = var_name.title() | ||
xcolor = sp[1] | ||
globals()[var_name] = Character(ch_name, color = xcolor) | ||
speakers.append(globals()[var_name]) |
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,39 +1,35 @@ | ||
init -300 python: | ||
bgs = [] | ||
ev_bgs = [] | ||
characters = [] | ||
|
||
init -100: | ||
define bgs = [] | ||
define ev_bgs = [] | ||
define characters = [] | ||
image black = "#000" | ||
exts = ['.png', '.jpg'] | ||
spaces = ['/', '_'] | ||
|
||
python: | ||
def addImgs(src, prefix, li): | ||
for file in renpy.list_files(): | ||
if file.startswith(src): | ||
if file.endswith(tuple(exts)): | ||
name = file.replace(src, prefix) | ||
|
||
exts = ['.png', '.jpg'] | ||
spaces = ['/', '_'] | ||
for space in spaces: | ||
name = name.replace(space, ' ') | ||
|
||
def addImgs(src, prefix, li): | ||
for file in renpy.list_files(): | ||
if file.startswith(src): | ||
if file.endswith(tuple(exts)): | ||
name = file.replace(src, prefix) | ||
for ext in exts: | ||
name = name.replace(ext,'') | ||
|
||
for space in spaces: | ||
name = name.replace(space, ' ') | ||
renpy.image(name, Image(file)) | ||
li.append(name) | ||
|
||
for ext in exts: | ||
name = name.replace(ext,'') | ||
def addBGs(src, prefix = 'bg'): | ||
addImgs(src, prefix, bgs) | ||
|
||
renpy.image(name, Image(file)) | ||
li.append(name) | ||
def addEVs(src, prefix = 'event'): | ||
addImgs(src, prefix, ev_bgs) | ||
|
||
def addBGs(src, prefix = 'bg'): | ||
addImgs(src, prefix, bgs) | ||
def addChs(src, prefix = ''): | ||
addImgs(src, prefix, characters) | ||
|
||
def addEVs(src, prefix = 'event'): | ||
addImgs(src, prefix, ev_bgs) | ||
|
||
def addChs(src, prefix = ''): | ||
addImgs(src, prefix, characters) | ||
|
||
addBGs('images/bgs') | ||
addEVs('images/events') | ||
addChs('images/characters') | ||
addBGs('images/bgs') | ||
addEVs('images/events') | ||
addChs('images/characters') |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
init -300: | ||
$ mods = {} | ||
|
||
label mods_sec: | ||
scene bg start code | ||
|
||
developer "Here you can play custom scenarios or read about installed mods" | ||
|
||
label EE_mods_repeat: | ||
call screen mods_selection | ||
call expression _return | ||
jump mods_sec | ||
|
||
return | ||
|
||
screen mods_selection: | ||
vbox: | ||
box_wrap True | ||
yalign 0.5 | ||
xalign 0.5 | ||
|
||
for mod in mods.items(): | ||
$n = mod[0] | ||
$mod_start = mod[1] | ||
|
||
textbutton _(n) action Return(mod_start) xminimum 200 |
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,4 +1,4 @@ | ||
init -100 python: | ||
init -300 python: | ||
|
||
tango_base = {"Butter":("#fce94f", "#edd400", "#c4a000"), | ||
|
||
|
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
label EEout_start: | ||
scene bg start code | ||
developer "Hi! Welcome in Ren'Py Event Editor." | ||
scene bg start imgs | ||
developer "First put right images(png and jpg) to right folders:\n | ||
- backgrounds to 'game/images/bgs'\n | ||
- character sprites to 'game/images/charaters'\n | ||
- events images in 'game/images/events'" | ||
menu: | ||
"I done this already": | ||
scene bg start code | ||
developer "Now see Tutorial then 'Add New Event' and call it 'start'.\n | ||
It will over write this file." | ||
jump EE_start | ||
|
||
"I will comeback later": | ||
pass | ||
|
||
return |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.