mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
Remove trailing space characters in the formatting script
This commit is contained in:
@@ -11,7 +11,7 @@ Renderer: GLES 2
|
||||
The Pong game is rendered to a custom
|
||||
[`Viewport`](https://docs.godotengine.org/en/latest/classes/class_viewport.html)
|
||||
node rather than the main Viewport. In the code,
|
||||
`get_texture()` is called on the Viewport to get a
|
||||
`get_texture()` is called on the Viewport to get a
|
||||
[`ViewportTexture`](https://docs.godotengine.org/en/latest/classes/class_viewporttexture.html),
|
||||
which is then assigned to the quad's material's albedo texture.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Renderer: GLES 2
|
||||
The 3D robot is rendered to a custom
|
||||
[`Viewport`](https://docs.godotengine.org/en/latest/classes/class_viewport.html)
|
||||
node rather than the main Viewport. In the code,
|
||||
`get_texture()` is called on the Viewport to get a
|
||||
`get_texture()` is called on the Viewport to get a
|
||||
[`ViewportTexture`](https://docs.godotengine.org/en/latest/classes/class_viewporttexture.html),
|
||||
which is then assigned to the sprite's texture.
|
||||
|
||||
|
||||
@@ -2,20 +2,20 @@ extends Spatial
|
||||
|
||||
# Handle the motion of both players' camera as well as communication with the
|
||||
# SplitScreen shader to achieve the dynamic split screen effet
|
||||
#
|
||||
# Cameras are place on the segment joining the two players, either in the middle
|
||||
#
|
||||
# Cameras are place on the segment joining the two players, either in the middle
|
||||
# if players are close enough or at a fixed distance if they are not.
|
||||
# In the first case, both cameras being at the same location, only the view of
|
||||
# the first one is used for the entire screen thus allowing the players to play
|
||||
# In the first case, both cameras being at the same location, only the view of
|
||||
# the first one is used for the entire screen thus allowing the players to play
|
||||
# on a unsplit screen.
|
||||
# In the second case, the screen is split in two with a line perpendicular to the
|
||||
# segement joining the two players.
|
||||
#
|
||||
#
|
||||
# The points of customization are:
|
||||
# max_separation: the distance between players at which the view starts to split
|
||||
# split_line_thickness: the thickness of the split line in pixels
|
||||
# split_line_color: color of the split line
|
||||
# adaptive_split_line_thickness: if true, the split line thickness will vary
|
||||
# adaptive_split_line_thickness: if true, the split line thickness will vary
|
||||
# depending on the distance between players. If false, the thickness will
|
||||
# be constant and equal to split_line_thickness
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ achieve the effect.
|
||||
|
||||
The cameras are placed on the segment joining the two players,
|
||||
either in the middle if they're close enough or at a fixed
|
||||
distance otherwise.
|
||||
distance otherwise.
|
||||
|
||||
## How to use it
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Screen Capture
|
||||
|
||||
An example showing how to take screenshots of the screen.
|
||||
An example showing how to take screenshots of the screen.
|
||||
|
||||
Language: GDScript
|
||||
|
||||
|
||||
Reference in New Issue
Block a user