UPDATE 08/06/2015: done some improvement. Version 2.1 here: http://lemmasoft.renai.us/forums/viewto ... 08#p374045
UPDATE (first): now there is also a version that gives you the possilbity to create menu choices from the event editor. Link: http://lemmasoft.renai.us/forums/viewto ... 08#p302300
New version of the Editor.
There are a lot of addition and bugfixes, but first what is it?
(Note: I often refer to "events" since I made it for an events based game)
Why this Editor:
Writing with Renpy I soon got bored of continously relaunching tha game to see if what I was doing had a nice visual effect. Really if you use paperdolls with many expressions it is incredibly painfull.
The advantage of the Editor:
- You can write while actually seeing the screen as the player will see it. This means you don't need to launch the game (or reload it continuosly) to see if the text and the elements on the screen work well together. ---> You can write a lot faster and at the same time improve the quality of the output!
- You know someone that would like to help you with the game but they don't have any programming skills and they don't want to loose time to learn? Well with these the "writers" don't need to have scripting skills too anymore. Like in a real dev team everyone can do what they are good at.
- Add the editor to your game!! This way the player can create their own events/story and share it. You have the possibilty to increse the game potential/replayability without doing anything! (of course you will have to do some more work/modifactions to use this option)
First, someone with programming skills will always be needed: the Editor covers only the most basic options and that means that more complex effects must be added trough code editing. Also the Editor itself, before it can be used, must be "synchronized" with the game.
Synchronize the editor:instructions are written inside the Event_writer.rpy.
Write: Well the step above is the only "hard" one. I think this is just self explanatory^^
Export: to export there is a button in the MENU. It will create a .rpy file with the renpy code for the event. You just need to give the file to the "code expert" of the dev team and he can edit it trough the code to add all the finishing touches and then he can add it to the main game.
What can be done with this tool:
Write Text: You can write text in the same window that will display it to the player. You can use text macro and tag normally, like \n for newline. NOTE: the code uses "" for the text, that means that you need to write \" to use that apice for in-game text!!
Select the speaker: You can select the speaker of a line of dialogue (or leave the spaker to "none" if it is narration text). The speaker can be already defined: in this case you simply needs to press one button and the speaker will also have all the properties you have defined with it (in the editor you can see only the color properties but in the game all the properties will be applied). Or you can write a speaker "name" if you don't have already defined it.
Background:very easy function, change the background image simply with one click.
Characters:This is probably the best part of the editor since it allows you to see tons of different combination incredibly fast (before you had to reload the game to see any change). The editor supports a max of 3 characters on the screen at the same times (you can easly change this number). You can decide the position on the X axis by using one of the default one or writing the exact position (float number that will be used for xpos) you want to use.
Comments:You can add a comment for each page. It will be shown in the code too (with # of course).Good to remember yourself some modification you wanted to do trough code editing or, if you are a writer working in team, it is good to pass some info to the rest of the team (the scripter maybe).
Save&Load:For this you can use the normal Save&Load system of renpy. press "ESC" and save, BUT REMEBER: the editor won't notice (and thus remeber) any changes you have done until you "change page". So change page before saving or exporting.
Export: This function is in the MENU. Just press it and a .rpy file will be created in the same folder as the .exe that started the editor.
Tutorial:there is a tutorial too... lol it is horrible I should delete it. But, probably it is better than nothing.
EDIT: changed the attached file. That one didn't have the "write new speaker" option.
Attached four screenshots. The third one is the page to view, add or change comments. The last one is the exported code.