Compare commits

...

7 Commits

Author SHA1 Message Date
Tom Rothamel 3c2d00cd9a Fix docs. 2015-12-21 23:50:30 -05:00
Tom Rothamel 3f89f80e2b Merge branch 'master' into release-6.99.8 2015-12-21 23:36:18 -05:00
Tom Rothamel e79fc2b18f New documentation. 2015-12-16 23:59:26 -05:00
Tom Rothamel 994ae9bdf9 Merge branch 'master' into release-6.99.8 2015-12-16 23:12:23 -05:00
Tom Rothamel b9fe899cdb Drop version to make a 6.99.8 release. 2015-12-12 16:48:24 -05:00
Tom Rothamel 74d596ff22 Merge branch 'master' into release-6.99.8 2015-12-12 16:45:16 -05:00
Tom Rothamel c88a7b8c18 Do not adjust window placement on win 8.1 or less.
This matches OS behavior.
2015-12-02 22:10:31 -05:00
11 changed files with 55 additions and 11 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ except ImportError:
vc_version = 0
# The tuple giving the version number.
version_tuple = (6, 99, 9, vc_version)
version_tuple = (6, 99, 8, vc_version)
# The name of this version.
version_name = "Here's to the crazy ones."
+1 -1
View File
@@ -662,7 +662,7 @@ else:
windows_dpi_scale_head = 1.0
# Should rollback_side be enabled?
enable_rollback_side = True
enable_rollback_side = False
del renpy
del os
-1
View File
@@ -232,7 +232,6 @@ def choose_variants():
renpy.config.variants.insert(0, 'large')
def main():
log_clock("Bootstrap to the start of init.init")
+5 -2
View File
@@ -32,7 +32,7 @@
the file will not be loadable.
`confirm`
If true, prompt if loading the file will end the game.
If true and not at the main menu, prompt for confirmation before loading the file.
`page`
The page that the file will be loaded from. If None, the
@@ -104,9 +104,12 @@
be used to ensure that the screenshot is accurate, by taking
a picture of the screen before a file save screen is shown.
.. function:: QuickLoad()
.. function:: QuickLoad(confirm=True)
Performs a quick load.
`confirm`
If true and not at the main menu, prompt for confirmation before loading the file.
.. function:: QuickSave(message='Quick save complete.', newest=False)
+1 -1
View File
@@ -31,7 +31,7 @@
fails. If the product has been registered as consumable, the purchase
is consumed before this call returns.
.. function:: iap.register(product, identifier=None, amazon=None, google=None, ios=None, consumable=True)
.. function:: iap.register(product, identifier=None, amazon=None, google=None, ios=None, consumable=False)
Registers a product with the in-app purchase system.
+10
View File
@@ -222,6 +222,12 @@
player. If false, we check if the line has been seen in the current
play-through.
.. function:: renpy.is_start_interact()
Returns true if restart_interaction has not been called during the current
interaction. This can be used to determine if the interaction is just being
started, or has been restarted.
.. function:: renpy.load_module(name, **kwargs)
This loads the Ren'Py module named name. A Ren'Py module consists of Ren'Py code
@@ -243,6 +249,10 @@
`filename` is the name of the filename that statements in the string will
appear to be from.
.. function:: renpy.maximum_framerate(t)
Forces Ren'Py to draw the screen at the maximum framerate for `t` seconds.
.. function:: renpy.munge(name, filename=None)
Munges `name`, which must begin with __.
+4
View File
@@ -94,6 +94,10 @@
* Preference("clipboard voicing", "disable") - Disable clipboard-voicing.
* Preference("clipboard voicing", "toggle") - Toggles clipboard-voicing.
* Preference("rollback side", "left") - Touching the left side of the screen causes rollback.
* Preference("rollback side", "right") - Touching the right side of the screen causes rollback.
* Preference("rollback side", "disable") - Touching the screen will not cause rollback.
Values that can be used with bars are:
* Preference("text speed")
+5
View File
@@ -70,6 +70,7 @@
* :func:`PlayCharacterVoice`
* Position
* :func:`Preference`
* :func:`PushMove`
* :func:`Queue`
* :func:`QuickLoad`
* :func:`QuickSave`
@@ -180,6 +181,10 @@
* ord
* :var:`pixellate`
* pow
* pushdown
* pushleft
* :var:`pushright`
* pushup
* range
* reduce
* renpy.Keymap
+5
View File
@@ -102,6 +102,7 @@
* :func:`PlayCharacterVoice`
* Position
* :func:`Preference`
* :func:`PushMove`
* :func:`Queue`
* :func:`QuickLoad`
* :func:`QuickSave`
@@ -235,6 +236,10 @@
* :var:`pixellate`
* predict_menu
* predict_say
* pushdown
* pushleft
* :var:`pushright`
* pushup
* python_dict
* python_list
* python_object
+20
View File
@@ -267,3 +267,23 @@
creates pixels about twice the size of those in the previous step,
so a 5-step pixellation will create 32x32 pixels.
.. function:: PushMove(time, mode="pushright")
Returns a transition that works by taking the new scene and using it to
"push" the old scene off the screen.
`time`
The time the transition takes.
`mode`
There are four possible modes: "pushright", "pushleft", "pushup",
and "pushdown", which push the old scene off the screen in the
direction indicated.
::
define pushright = PushMove(1.0, "pushright")
define pushleft = PushMove(1.0, "pushleft")
define pushup = PushMove(1.0, "pushup")
define pushdown = PushMove(1.0, "pushdown")
+3 -5
View File
@@ -22,11 +22,9 @@ with the same id. Ids are generated automatically by the screen
language, but when doing things by hand, they must be manually
specified.
Warning: UI Functions are deprecated and not recommended::
Warning: UI Functions are deprecated and not recommended.
Here's an example python screen:
::
Here's an example python screen::
init python:
def say_screen(who, what, **kwargs):
@@ -53,7 +51,7 @@ screens.
UI Functions
============
With the advent of SL2, UI Functions are deprecated and not recommended::
With the advent of SL2, UI Functions are deprecated and not recommended.
The UI functions are python equivalents of the screen language
statements. For each screen language statement, there is a ui function