-
Notifications
You must be signed in to change notification settings - Fork 1
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_speakers.rpy’ + ‘game/Event Editor/test_event.rpy’ / ‘game/events/start.rpy’ + ‘game/images/bgs/washington.jpg’ + ‘game/images/bgs/whitehouse.jpg’ + ‘game/images/characters/eileen/concerned.png’ + ‘game/images/characters/eileen/happy.png’ + ‘game/images/characters/eileen/vhappy.png’ + ‘game/images/events/concert/1.jpg’ + ‘game/images/events/concert/2.jpg’ + ‘game/images/events/concert/3.jpg’ / ‘game/main_menu.rpy’ + ‘game/pystuff.py’
- Loading branch information
Showing
16 changed files
with
74 additions
and
17 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
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,23 @@ | ||
label EE_test: | ||
scene bg start code | ||
|
||
devloper "Here you can test yours events.\n | ||
If you don't see your event on list just restart game." | ||
|
||
$ EE__label_list = renpy.get_all_labels() | ||
|
||
label EE_watch_event_list_repeat: | ||
call screen EE_label_list | ||
call expression _return | ||
jump EE_test | ||
|
||
return | ||
|
||
screen EE_label_list: | ||
vbox: | ||
xalign 0.5 | ||
yalign 0.5 | ||
box_wrap True | ||
for ii in EE__label_list: | ||
if "EEout_" in ii: | ||
textbutton _(ii) action Return(ii) 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
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
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,31 @@ | ||
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 space in spaces: | ||
name = name.replace(space, ' ') | ||
|
||
for ext in exts: | ||
name = name.replace(ext,'') | ||
|
||
renpy.image(name, Image(file)) | ||
li.append(name) | ||
|
||
def addBGs(src, prefix = 'bg'): | ||
addImgs(src, prefix, bgs) | ||
|
||
def addEVs(src, prefix = 'event'): | ||
addImgs(src, prefix, ev_bgs) | ||
|
||
def addChs(src, prefix = ''): | ||
addImgs(src, prefix, characters) | ||
|
||
try: | ||
from tkinter import Tk | ||
from tkinter.filedialog import askdirectory as ask | ||
|
||
except ImportError: | ||
from Tkinter import Tk | ||
from tkFileDialog import askdirectory as ask |