Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
bb96094
Add lua:attribute support to check_helptexts.py
jfperusse Mar 16, 2026
def755b
Add missing helptexts to color.rst (15 entries)
jfperusse Mar 16, 2026
02ee0b4
Add missing helptexts to entity.rst (58 entries)
jfperusse Mar 16, 2026
9e38d39
Add missing helptexts to image.rst (18 entries)
jfperusse Mar 16, 2026
1b188ba
Add missing helptexts to input.rst (169 entries)
jfperusse Mar 16, 2026
e8e66dc
Add missing helptexts to light.rst (14 entries)
jfperusse Mar 16, 2026
92ccc42
Add missing helptexts to math_types.rst (20 entries)
jfperusse Mar 16, 2026
dc0fd53
Add missing helptexts to mesh.rst (17 entries)
jfperusse Mar 16, 2026
13b12cf
Add missing helptexts to motion.rst (6 entries)
jfperusse Mar 16, 2026
ff75267
Add missing helptexts to pasteboard.rst (14 entries)
jfperusse Mar 16, 2026
22f3254
Add missing helptexts to physics2d.rst (84 entries)
jfperusse Mar 16, 2026
cfab917
Add missing helptexts to physics3d.rst (20 entries)
jfperusse Mar 16, 2026
bd4562f
Add missing helptexts to pick.rst (1 entries)
jfperusse Mar 16, 2026
ab882a7
Add missing helptexts to require.rst (1 entries)
jfperusse Mar 16, 2026
273e299
Add missing helptexts to shader.rst (1 entries)
jfperusse Mar 16, 2026
f9c26ff
Add missing helptexts to sound.rst (7 entries)
jfperusse Mar 16, 2026
f8bfb0e
Add missing helptexts to style.rst (78 entries)
jfperusse Mar 16, 2026
c0a796c
Add missing helptexts to tween.rst (3 entries)
jfperusse Mar 16, 2026
996240f
Add missing helptexts to ui.rst (15 entries)
jfperusse Mar 16, 2026
6d75fff
Potential fix for pull request finding
jfperusse Mar 16, 2026
8a1bf5d
Potential fix for pull request finding
jfperusse Mar 16, 2026
ca86f2b
Potential fix for pull request finding
jfperusse Mar 16, 2026
6e5b114
Potential fix for pull request finding
jfperusse Mar 16, 2026
212c286
Potential fix for pull request finding
jfperusse Mar 16, 2026
ef3f3f0
Potential fix for pull request finding
jfperusse Mar 16, 2026
1fe8508
Potential fix for pull request finding
jfperusse Mar 16, 2026
9e9f2e9
Potential fix for pull request finding
jfperusse Mar 16, 2026
e371ea4
Potential fix for pull request finding
jfperusse Mar 16, 2026
a021a79
Potential fix for pull request finding
jfperusse Mar 16, 2026
8986d0d
Update docs/source/api/entity.rst
jfperusse Mar 16, 2026
f02a87b
Update docs/source/api/image.rst
jfperusse Mar 16, 2026
b8eea84
Update docs/source/api/image.rst
jfperusse Mar 16, 2026
963d100
Update docs/source/api/input.rst
jfperusse Mar 16, 2026
65e38db
Update docs/source/api/ui.rst
jfperusse Mar 16, 2026
fea05eb
Update docs/source/api/ui.rst
jfperusse Mar 16, 2026
4c4fde9
Apply suggestions from code review
jfperusse Mar 16, 2026
457ac3c
Apply suggestions from code review
jfperusse Mar 16, 2026
6ab4561
Remove duplicate touchpadSurface documentation
jfperusse Mar 16, 2026
924a02d
Potential fix for pull request finding
jfperusse Mar 16, 2026
ffb2fc3
Potential fix for pull request finding
jfperusse Mar 16, 2026
d46db5b
Potential fix for pull request finding
jfperusse Mar 16, 2026
c757a1c
Potential fix for pull request finding
jfperusse Mar 16, 2026
e994d3b
Potential fix for pull request finding
jfperusse Mar 16, 2026
c6d25f3
Update docs/source/api/input.rst
simsaens Mar 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/source/api/color.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,27 @@ color
.. lua:attribute:: r: number

The red component of the color

.. helptext:: get or set the red component

.. lua:attribute:: g: number

The green component of the color

.. helptext:: get or set the green component

.. lua:attribute:: b: number

The blue component of the color

.. helptext:: get or set the blue component

.. lua:attribute:: a: number

The alpha component of the color

.. helptext:: get or set the alpha component

.. lua:method:: linear() -> color

Returns the color converted to linear space
Expand Down Expand Up @@ -80,17 +88,39 @@ color
*****************

.. lua:attribute:: black: const

.. helptext:: predefined black color constant
.. lua:attribute:: white: const

.. helptext:: predefined white color constant
.. lua:attribute:: clear: const

.. helptext:: predefined clear (transparent) color constant
.. lua:attribute:: cyan: const

.. helptext:: predefined cyan color constant
.. lua:attribute:: gray: const

.. helptext:: predefined gray color constant
.. lua:attribute:: grey: const

.. helptext:: predefined grey color constant
.. lua:attribute:: red: const

.. helptext:: predefined red color constant
.. lua:attribute:: green: const

.. helptext:: predefined green color constant
.. lua:attribute:: blue: const

.. helptext:: predefined blue color constant
.. lua:attribute:: magenta: const

.. helptext:: predefined magenta color constant
.. lua:attribute:: yellow: const

.. helptext:: predefined yellow color constant

Color operators
***************

Expand Down
Loading
Loading