Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sun May 19, 2013 7:16 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Aug 31, 2011 9:03 am 
Miko-Class Veteran

Joined: Fri Dec 16, 2005 5:21 pm
Posts: 621
Location: Canada
Completed: Fading Hearts, Infinite Game Works
Projects: Don't Save the World
Organization: Sakura River
It's not really a bug but something to consider.

I recently had an issue with trying to fix a bug with my "tons of code" Ui. I actually removed a string from a list directly after hiding a Ui window that depended on it. I also had a selected index which marked which one in the list was currently displayed on screen (a screen worth of stuff to display for each thing in the list). So if the selected index was the last item on the list renpy would crash because while hiding the window renpy still references that item in the list.

I got around it by making a copy of the list and having the Ui reference the copy while action modifying the original list.

_________________
Fading Hearts is RELEASED
http://www.sakurariver.ca


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group