|
26.
|
|
|
Saves occur at the start of a Ren'Py statement in the outermost interaction context.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:100
|
|
27.
|
|
|
What's important here is to note that saving occurs at the **start** of a statement. If a load or rollback occurs in the middle of a statement that interacts multiple times, the state will be the state that was active when the statement began.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:103
|
|
28.
|
|
|
This can be a problem in python-defined statements. In code like::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:108
|
|
29.
|
|
|
if the user saves and loads in the middle, the loop will begin anew. Using similar code in Ren'Py - rather than Python - avoids this problem.::
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:116
|
|
30.
|
|
|
What Ren'Py can Save
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:126
|
|
31.
|
|
|
Ren'Py uses the python pickle system to save game state. This module can save:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:128
|
|
32.
|
|
|
Basic types, such as True, False, None, int, str, float, complex, str, and unicode objects.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:131
|
|
33.
|
|
|
Compound types, like lists, tuples, sets, and dicts.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:132
|
|
34.
|
|
|
Creator-defined objects, classes, functions, methods, and bound methods. For pickling these functions to succeed, they must remain available under their original names.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:133
|
|
35.
|
|
|
Character, Displayable, Transform, and Transition objects.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/save_load_rollback.rst:136
|