Search found 3 matches

by Shadowren
Tue Apr 03, 2012 6:47 pm
Forum: Development of Ren'Py
Topic: NVL Autoscrolling Code
Replies: 2
Views: 848

Re: NVL Autoscrolling Code

After delving the secrets of Python and pouring over the Ren'Py documentation I've come up with a way to define a character that scrolls nvl text whenever it speaks: To 00nvl_mode.rpy add this code below the nvl_erase() definition: def nvl_scroll(): if nvl_list and len(nvl_list) > 1: nvl_list.pop(0)...
by Shadowren
Mon Apr 02, 2012 7:52 pm
Forum: Development of Ren'Py
Topic: NVL Autoscrolling Code
Replies: 2
Views: 848

Re: NVL Autoscrolling Code

Update: Adding def nvl_scroll(): if nvl_list: nvl_list.pop(0) to 00nvl_mode.rpy enables simple manual scrolling through $ nvl_scroll() There's probably an easy way to automate it off a page-end indicator, will likely look into it later. Edit: May be a way to set a "scrolling mode", declare a number ...
by Shadowren
Mon Apr 02, 2012 5:48 pm
Forum: Development of Ren'Py
Topic: NVL Autoscrolling Code
Replies: 2
Views: 848

NVL Autoscrolling Code

I found these instances of autoscrolling code, I was wondering how easily they could be implemented for games that did not wish to employ pagination: def append_txt(self, message_str): curr_time = datetime.now() msg_txt = str(curr_time.strftime("%H:%M:%S - ")) + message_str piter = msg_area.append([...