Search found 15 matches

by picobyte
Sun Sep 19, 2021 9:05 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Added context menu, i.e. right mouse button menu. This is still work in progress. Implemented are changing styles and changing language. Instructions in README for Russian language (requires updated databases). However, couldn't get it to display Cyrillic, other languages seemed ok. Could be UTF-8 o...
by picobyte
Mon Sep 06, 2021 9:24 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Font and font_size should can now be adjusted more easily. Two fonts are preconfigured: Inconsolata and ProggyClean. Adding a different custom mono font should be doable, but requires tweaking font_w_ratio and font_h_ratio: adjust font_h_ratio until selection shadows lines vertically, if shadow is s...
by picobyte
Sun Sep 05, 2021 7:37 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

updated the undo/redo code: Changes in history are stored per line, now only the initial state is stored, not every small edit. Cursor updates are now also stored in history. The result is that edits between cursor updates can now undone / redone together, which is more intuitive. The view is now al...
by picobyte
Wed Sep 01, 2021 6:31 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Added spelling replacement suggestion dropdown menus
explanation on github how to install libraries for editor in windows
by picobyte
Sun Aug 29, 2021 6:17 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Added a spell checker. Currently mistakes can be shown (in red) or toggled off. Suggesting alternatives is still under development. The language is set on the line lang = SpellChecker(language='en') the checker also supports other languages, with 'ru', 'es', 'fr', 'pt' or 'de' Edit: Added some instr...
by picobyte
Sat Aug 28, 2021 6:17 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Added search with Ctrl+f and fixed some more issues. Also see the animated gif which displays what the current version looks like.
by picobyte
Fri Aug 27, 2021 7:29 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Runtime visual novel editor

Fixed selection, some cursor issues, and error display.
by picobyte
Wed Nov 15, 2017 7:46 pm
Forum: Ren'Py Cookbook
Topic: Convert Python(.py) files to Ren'Py(.rpy)
Replies: 2
Views: 2502

Re: Convert Python(.py) files to Ren'Py(.rpy)

You can probably extend your script with more features, but for this task I believe this may do the same. sed -r '1s/^/init python:\n /;2,$s/^/ /' source.py > dest.rpy sed -r -n '/^(import renpy.exports as renpy|from renpy\.)/b;1s/^/init python:\n /;2,$s/^/ /;p' source.py > dest_strict.rpy
by picobyte
Fri Nov 10, 2017 7:26 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Edit dialogue + Code button for developer

added undo (ctrl+z) and redo (ctrl+y)
by picobyte
Sat Nov 04, 2017 8:14 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Edit dialogue + Code button for developer

A new version is pushed to the github repository. Pygments is now a requirement. Highlights: Editing is improved. There is some mouse support (cursor movement by mouseclick). Live highlighting and debugging. Debug check that allows only applying code that cause no parse errors. The visual novel scri...
by picobyte
Sat Aug 27, 2016 9:56 am
Forum: Ren'Py Questions and Announcements
Topic: Journal System for RenPy Games (& Python in Screen Language)
Replies: 26
Views: 14091

Re: Journal System for RenPy Games (& Python in Screen Langu

FWIW: I think you could add some coloring using the pygments library, you'd have to write a parser and lexer to do the coloring for your purpose, though.
by picobyte
Tue Aug 23, 2016 6:39 pm
Forum: Development of Ren'Py
Topic: Ren'Py Integration: gVim Portable
Replies: 4
Views: 3737

Re: Ren'Py Integration: gVim Portable

The new config.editor guidelines can be used to implement gvim support; store as gvim.edit.py import renpy import subprocess class Editor(renpy.editor.Editor): def begin(self, new_window=False, **kwargs): self.arguments = ["/usr/bin/gvim", "--servername", "RenPy", "...
by picobyte
Tue Aug 23, 2016 5:47 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Edit dialogue + Code button for developer

Ah yes, that seems right.
by picobyte
Tue Aug 23, 2016 5:32 pm
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Re: Edit dialogue + Code button for developer

Taleweaver wrote:Wrong forum. Thread moved.
So what exactly seems to be my question?
by picobyte
Sun Aug 21, 2016 9:50 am
Forum: Ren'Py Cookbook
Topic: Runtime visual novel editor
Replies: 13
Views: 6274

Runtime visual novel editor

# EditButton Add a quick fix/edit button for Ren'Py developerment. Without config.developer the editor is not be accessible. The editor provides a means to proofread your visual novel while running it and without leaving. One button in the quickmenu provides access to this editor that shows the Ren'...