Skip to content

Commit

Permalink
Merge pull request #89590 from markdibarry/parallax2D_so_close_yet
Browse files Browse the repository at this point in the history
[Doc] Fix Parallax2D use of closer/further
  • Loading branch information
akien-mga committed Mar 24, 2024
2 parents 428ba4c + 22c2610 commit 55d051e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Parallax2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</member>
<member name="scroll_scale" type="Vector2" setter="set_scroll_scale" getter="get_scroll_scale" default="Vector2(1, 1)">
Multiplier to the final [Parallax2D]'s offset. Can be used to simulate distance from the camera.
For example, a value of [code]1[/code] scrolls at the same speed as the camera. A value greater than [code]1[/code] scrolls faster, making objects appear closer. Less than [code]1[/code] scrolls slower, making object appear closer and a value of [code]0[/code] stops the objects completely.
For example, a value of [code]1[/code] scrolls at the same speed as the camera. A value greater than [code]1[/code] scrolls faster, making objects appear closer. Less than [code]1[/code] scrolls slower, making objects appear further, and a value of [code]0[/code] stops the objects completely.
</member>
</members>
</class>

0 comments on commit 55d051e

Please sign in to comment.