summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-02-10 22:37:07 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-02-10 22:37:07 -0300
commitabb985e755ccf858149294868eff8a9a9feca67e (patch)
tree2a82fd9f87ddecfb14b08d8599bb2417b3cea7ff /doc
parent1c7726820ec53b486e946bb42cac98a600c5bdb5 (diff)
Reverted to older version of WebP, newer one crashed on Android.
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 9a7259df7f..51b135d248 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -4743,13 +4743,20 @@
</brief_description>
<description>
Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of [CanvasItem] based nodes.
+ This node is intended to be a simple helper get get things going quickly
+ and it may happen often that more functionality is desired to change
+ how the camera works. To make your own custom camera node, simply
+ inherit from [Node2D] and change the transform of the canvas by
+ calling get_viewport().set_canvas_transform(m) in [Viewport].
+
</description>
<methods>
<method name="set_offset" >
<argument index="0" name="offset" type="Vector2">
</argument>
<description>
- Set the scroll offset.
+ Set the scroll offset. Useful for looking around or
+ camera shake animations.
</description>
</method>
<method name="get_offset" qualifiers="const" >