You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: artlayer.lua
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ layerNum = 1
11
11
--- The alpha of the art layer, represented by a number in the range of 0 - 1. An alpha of 0 means the layer is completely transparent; 1 means fully visible. By default 1.
12
12
alpha=1
13
13
14
-
--- The blend mode of the art layer. Use @{_G.BlendMode|BlendMode} enum values. By default `BlendMode.NORMAL`.
14
+
--- The blend mode of the art layer. Use @{Globals.BlendMode|BlendMode} enum values. By default `BlendMode.NORMAL`.
15
15
--- Not all blend modes are guaranteed to have any effect when used by art layers
16
-
--- @see_G.BlendMode
16
+
--- @seeGlobals.BlendMode
17
17
blendMode="normal"
18
18
19
19
--- Whether or not the art layer was destroyed. Calling `destroy` sets this to true. Read-only.
Copy file name to clipboardExpand all lines: config.ld
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
file = "./"
2
2
project = "PR3R Lua"
3
3
title = "PR3R Lua Documentation"
4
-
description = "Platform Racing 3 is two-dimensional online racing game. Create your own levels and blocks, or play levels created by other players! Feature rich tools to make your vision come true! Draw amazing art or create unique consepts using different combinations of block types!"
4
+
full_description = "Platform Racing 3 is two-dimensional online racing game. Create your own levels and blocks, or play levels created by other players! Feature rich tools to make your vision come true! Draw amazing art or create unique consepts using different combinations of block types!"
5
5
format = "markdown"
6
6
output = "index"
7
7
dir = "../PR3-Doc/" -- This is relative to working directory from which LDoc is called, NOT the source directory LDoc is reading from
@@ -15,10 +15,17 @@ wrap = true
15
15
sort_modules = false -- Custom sorting is implemented in postprocess_html
16
16
17
17
--- Modifies the display name for a reference link.
18
-
--- @param item string
19
-
--- @param default_handler function
18
+
--- @param item string The item whose display name is being modified
19
+
--- @param default_handler function The default display_name function
Copy file name to clipboardExpand all lines: sprite.lua
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,8 @@ greenOffset = 0
46
46
--- A number value from -255 to 255 that is added to the alpha channel after it is multiplied by blueMultiplier. By default 0.
47
47
blueOffset=0
48
48
49
-
--- The blend mode of the sprite. Use @{_G.BlendMode|BlendMode} enum values. By default `BlendMode.NORMAL`.
50
-
--- @see_G.BlendMode
49
+
--- The blend mode of the sprite. Use @{Globals.BlendMode|BlendMode} enum values. By default `BlendMode.NORMAL`.
50
+
--- @seeGlobals.BlendMode
51
51
blendMode="normal"
52
52
53
53
--- Whether or not the sprite was destroyed. Calling `destroy` sets this to true. Read-only.
@@ -110,9 +110,9 @@ end
110
110
---- * !interpolationMethod: (***string***) Which color space interpolation method to use. Use ColorInterpolationMethod.RGB or ColorInterpolationMethod.LINEAR_RGB. By default ColorInterpolationMethod.RGB.
111
111
----
112
112
--- @seeendFill
113
-
--- @see_G.GradientType
114
-
--- @see_G.GradientSpreadMethod
115
-
--- @see_G.ColorInterpolationMethod
113
+
--- @seeGlobals.GradientType
114
+
--- @seeGlobals.GradientSpreadMethod
115
+
--- @seeGlobals.ColorInterpolationMethod
116
116
--- @usage local colors = toarray{0xFF0000FF, 0xFFFFFFFF} -- The gradient will be blue on the left and white on the right
117
117
---- local ratios = toarray{0.3 * 255, 1 * 255} -- The gradient will be fully blue up to 30% of the way through the fill, then transition from blue to white across the remaining 70%
118
118
---- someSprite.beginGradientFill(colors, ratios, toobject{type = GradientType.LINEAR, width = 100, height = 200}) -- The width and height of the gradient box will now match that of our next draw call.
@@ -183,13 +183,13 @@ end
183
183
----
184
184
---- + !horizontal: Do not scale the line thickness if the sprite is scaled only horizontally and not vertically.
185
185
----
186
-
---- * !caps: (***string***) The type of caps at the end of lines drawn with this line style. Use @{_G.CapsStyle|CapsStyle} enum values. By default `CapsStyle.ROUND`.
186
+
---- * !caps: (***string***) The type of caps at the end of lines drawn with this line style. Use @{Globals.CapsStyle|CapsStyle} enum values. By default `CapsStyle.ROUND`.
187
187
----
188
-
---- * !joints: (***string***) The type of joint appearance at the angles formed by lines drawn with this line style. Use @{_G.JointStyle|JointStyle} enum values. By default `JointStyle.ROUND`. When using JointStyle.MITER, the length of miters is limited by the `miterLimit` parameter.
188
+
---- * !joints: (***string***) The type of joint appearance at the angles formed by lines drawn with this line style. Use @{Globals.JointStyle|JointStyle} enum values. By default `JointStyle.ROUND`. When using JointStyle.MITER, the length of miters is limited by the `miterLimit` parameter.
189
189
----
190
190
---- * !miterLimit: (***int***) The maximum length, in pixels, of mitered joints used for the angles formed by lines drawn with this line style. By default 3. This value is clamped between 1 and 255.
191
-
--- @see_G.CapsStyle
192
-
--- @see_G.JointStyle
191
+
--- @seeGlobals.CapsStyle
192
+
--- @seeGlobals.JointStyle
193
193
--- @usage someSprite.lineStyle(0xFFFF0000, 5) -- Draw a solid red line with a thickness of 5 pixels
194
194
---- someSprite.lineTo(000, 100) -- Draw the line from (0, 0) to (0, 100)
195
195
---- someSprite.lineStyle(0xFF000000, 1) -- Draw a solid black line with a thickness of 1 pixel
@@ -228,9 +228,9 @@ end
228
228
---- * !interpolationMethod: (***string***) Which color space interpolation method to use. Use ColorInterpolationMethod.RGB or ColorInterpolationMethod.LINEAR_RGB. By default ColorInterpolationMethod.RGB.
229
229
----
230
230
--- @seeendFill
231
-
--- @see_G.GradientType
232
-
--- @see_G.GradientSpreadMethod
233
-
--- @see_G.ColorInterpolationMethod
231
+
--- @seeGlobals.GradientType
232
+
--- @seeGlobals.GradientSpreadMethod
233
+
--- @seeGlobals.ColorInterpolationMethod
234
234
--- @usage local colors = toarray{0xFF0000FF, 0xFFFFFFFF} -- The gradient will be blue on the left and white on the right
235
235
---- local ratios = toarray{0.3 * 255, 1 * 255} -- The gradient will be fully blue up to 30% of the way through the fill, then transition from blue to white across the remaining 70%
236
236
---- someSprite.lineStyle(0,24)
@@ -333,7 +333,7 @@ end
333
333
--- @tparam string commands A string containing all of the commands for the path, e.g "M 100 100 L 250.5 -130.221 L 300 300 L 100 100". A command string can be built with the GraphicsPathCommand helper.
334
334
--- @tparam string winding A string defining the winding for the path. Use GraphicsPathWinding.EVEN_ODD or GraphicsPathWinding.NON_ZERO. By default GraphicsPathWinding.EVEN_ODD.
335
335
--- @seeGraphicsPathCommand
336
-
--- @see_G.GraphicsPathWinding
336
+
--- @seeGlobals.GraphicsPathWinding
337
337
--- @usage local path = GraphicsPathCommand.new().moveTo(100,100).lineTo(250.5,-130.221).lineTo(300,300).lineTo(100,100).toString()
0 commit comments