Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update properties.md #280

Merged
merged 145 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
d7cd470
update physics
CocosGames Jan 4, 2021
8cad637
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 5, 2021
1ea7aa9
update input
CocosGames Jan 5, 2021
2798009
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 7, 2021
73c6676
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 12, 2021
a8076bf
update
CocosGames Jan 12, 2021
aca2372
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 16, 2021
e0a4d20
update code sharing in getting-help.md
CocosGames Jan 16, 2021
236dd8b
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 19, 2021
e74d03e
Export Compliance
CocosGames Jan 19, 2021
86a4fb1
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 26, 2021
e357675
update on file i/o
CocosGames Jan 26, 2021
710d960
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 3, 2021
0fcdc16
pi / 4
CocosGames Feb 3, 2021
3495923
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 7, 2021
9f4dfe2
inputs
CocosGames Feb 7, 2021
48d87da
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 8, 2021
d9d0a07
forum url
CocosGames Feb 8, 2021
67d3519
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 9, 2021
1384675
read only user
CocosGames Feb 9, 2021
26c8ba4
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 12, 2021
3f3abaa
html5 gamepad
CocosGames Feb 12, 2021
79f8e9b
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 15, 2021
bab01d9
sdk api update
CocosGames Feb 15, 2021
a03e06b
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 15, 2021
4c1b7dc
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 26, 2021
8c90dce
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 3, 2021
1cb14e7
update
CocosGames Mar 3, 2021
5948512
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 5, 2021
3830962
image properties
CocosGames Mar 5, 2021
3a0bb17
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 9, 2021
c61bc38
update editor
CocosGames Mar 9, 2021
61c2567
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 14, 2021
6c4897e
defold sdk update
CocosGames Mar 14, 2021
d767605
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 16, 2021
7533c9c
animation updates
CocosGames Mar 16, 2021
3fd48b0
animation fix
CocosGames Mar 16, 2021
86a6452
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 23, 2021
f287fe0
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 5, 2021
02e2295
run as admin
CocosGames Apr 5, 2021
7db3b63
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 7, 2021
36a405c
update bob
CocosGames Apr 7, 2021
03a043d
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 11, 2021
3cd24c6
update about AndroidX support
CocosGames Apr 11, 2021
447cd3e
software render
CocosGames Apr 13, 2021
a3cf58a
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 13, 2021
baf5be6
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 24, 2021
b288a36
linux-faq.md update
CocosGames Apr 24, 2021
8d3a59f
Merge branch 'master' of https://github.com/defold/doc
CocosGames Apr 29, 2021
2fde132
4.28.2021 updates
CocosGames Apr 29, 2021
cedfb59
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 2, 2021
adfa000
Basis Universal format
CocosGames May 2, 2021
428670f
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 6, 2021
40c9c21
sound & mesh
CocosGames May 6, 2021
53cffda
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 18, 2021
1716143
gamepad event mapping
CocosGames May 18, 2021
c09ca2a
admob url
CocosGames May 22, 2021
6d9ce16
Minor edit to building blocks intro text
CocosGames May 28, 2021
18531f8
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 28, 2021
7b1c40f
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jun 18, 2021
da1a1d1
update gamepad & ios
CocosGames Jun 18, 2021
3770c1a
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jun 21, 2021
601b442
project settings
CocosGames Jun 21, 2021
8bff0dd
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jun 28, 2021
35feca8
libffi version
CocosGames Jun 28, 2021
7066e7a
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jul 11, 2021
ad7ed0c
scaling
CocosGames Jul 11, 2021
627e70b
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jul 13, 2021
eda6c34
image compression
CocosGames Jul 13, 2021
a7ffd1c
Merge branch 'master' of https://github.com/defold/doc
CocosGames Aug 10, 2021
81ae25f
update gamepads
CocosGames Aug 10, 2021
0c3070c
Merge branch 'master' of https://github.com/defold/doc
CocosGames Aug 19, 2021
6fbf531
increase memory
CocosGames Aug 19, 2021
3758381
Merge branch 'master' of https://github.com/defold/doc
CocosGames Aug 26, 2021
9f94968
caching assets
CocosGames Aug 26, 2021
c775fb1
Merge branch 'defold:master' into master
CocosGames Oct 6, 2021
3864422
update 2021/10/6
CocosGames Oct 6, 2021
c6ba096
Merge branch 'master' of https://github.com/defold/doc
CocosGames Oct 16, 2021
903a6c0
update 2021/10/16
CocosGames Oct 16, 2021
c339cd6
Merge branch 'defold:master' into master
CocosGames Nov 12, 2021
6041435
update 2021/11/12
CocosGames Nov 12, 2021
b1f1cdf
Merge branch 'master' of https://github.com/defold/doc
CocosGames Dec 2, 2021
4533e78
allow dynamic transforms update
CocosGames Dec 2, 2021
6fba741
Merge branch 'master' of https://github.com/defold/doc
CocosGames Dec 13, 2021
fdd1df5
Bundle update
CocosGames Dec 13, 2021
1f11750
Merge branch 'master' of https://github.com/defold/doc
CocosGames Dec 31, 2021
dca745e
update faq
CocosGames Dec 31, 2021
68308d2
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 15, 2022
ed539b5
bullet & bob
CocosGames Jan 15, 2022
d735be1
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jan 30, 2022
540f8f6
script properties update
CocosGames Jan 30, 2022
ea1a134
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 13, 2022
56fb1d1
editor-styling
CocosGames Feb 13, 2022
f1c820e
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 15, 2022
e1cfaf4
build server url
CocosGames Feb 15, 2022
c00f838
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 17, 2022
91b39b8
editor templates
CocosGames Feb 17, 2022
d1ab398
Merge branch 'master' of https://github.com/defold/doc
CocosGames Feb 23, 2022
883af4b
spine extension update
CocosGames Feb 23, 2022
a49dbd2
Merge branch 'master' of https://github.com/defold/doc
CocosGames Mar 27, 2022
22988f3
Merge branch 'defold:master' into master
CocosGames Apr 7, 2022
79f317f
Merge branch 'defold:master' into master
CocosGames Apr 15, 2022
c2a31fd
Merge branch 'defold:master' into master
CocosGames May 3, 2022
92b6cd4
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 12, 2022
4dbc35d
Merge branch 'defold:master' into master
CocosGames May 12, 2022
04dad01
Merge remote-tracking branch 'origin/master'
CocosGames May 12, 2022
4a029a0
Merge branch 'defold:master' into master
CocosGames May 14, 2022
0d0f301
Merge remote-tracking branch 'origin/master'
CocosGames May 14, 2022
4d78c26
Fix typo in the "optimizations" word in Chinese docs
CocosGames May 14, 2022
ffe5e2d
Update to material.md - Constants buffers
CocosGames May 22, 2022
7b5d7ce
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 23, 2022
0e21e12
Verify Graphics Calls
CocosGames May 23, 2022
dd6aa27
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 26, 2022
9635e06
H5 parameters
CocosGames May 26, 2022
56d3eb0
Merge branch 'master' of https://github.com/defold/doc
CocosGames May 30, 2022
59d03fe
OpenJDK downloads
CocosGames May 30, 2022
4d8ce40
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jun 23, 2022
de7c130
cn update corresponds to [pull 259](https://github.com/defold/doc/pul…
CocosGames Jun 24, 2022
060d514
Merge branch 'master' of https://github.com/defold/doc
CocosGames Jul 1, 2022
04d0a83
application security
CocosGames Jul 1, 2022
34860a8
porting guidelines
CocosGames Jul 11, 2022
f26f08f
Merge branch 'defold:master' into master
CocosGames Jul 11, 2022
e306c22
update for 8f1651f
CocosGames Jul 17, 2022
1d6acae
Merge branch 'defold:master' into master
CocosGames Jul 17, 2022
a75f6e0
cn update for 094bf6f
CocosGames Jul 17, 2022
083e231
cn update for 20fdfc5 & 6263317
CocosGames Jul 17, 2022
bd3236b
Merge branch 'defold:master' into master
CocosGames Jul 19, 2022
76d916d
cn update for 7/19/2022
CocosGames Jul 19, 2022
342cf2f
title
CocosGames Jul 22, 2022
8463c44
Merge branch 'defold:master' into master
CocosGames Jul 22, 2022
f99fd9b
Merge branch 'defold:master' into master
CocosGames Aug 12, 2022
b9b6d19
profiling update
CocosGames Aug 12, 2022
d662809
update editor.md
CocosGames Aug 31, 2022
d1bebaa
Merge branch 'defold:master' into master
CocosGames Aug 31, 2022
31a1d82
Merge remote-tracking branch 'origin/master'
CocosGames Aug 31, 2022
b29ab3a
update bob.md
CocosGames Sep 6, 2022
732dedb
Merge branch 'master' into master
CocosGames Sep 6, 2022
d7ffac0
update shortcuts
CocosGames Sep 10, 2022
3bad72b
Merge branch 'defold:master' into master
CocosGames Sep 10, 2022
c14e30c
Merge remote-tracking branch 'origin/master'
CocosGames Sep 10, 2022
3cdbe24
Merge branch 'defold:master' into master
CocosGames Sep 15, 2022
2548247
update fixed update note
CocosGames Sep 15, 2022
323ec7b
Merge branch 'defold:master' into master
CocosGames Sep 27, 2022
54df99a
Update properties.md
CocosGames Sep 27, 2022
8e6f0d8
Merge remote-tracking branch 'origin/master'
CocosGames Sep 27, 2022
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
5 changes: 4 additions & 1 deletion docs/zh/manuals/editor-keyboard-shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ brief: 本教程介绍了当前编辑器快捷键以及如何自定义快捷键.
| Realign camera | <kbd>Period</kbd> | <kbd>Period</kbd> | <kbd>Period</kbd> |
| Rebuild | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>B</kbd> | <kbd>Shift</kbd>+<kbd>Cmd</kbd>+<kbd>B</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>B</kbd> |
| Rebundle | <kbd>Ctrl</kbd>+<kbd>U</kbd> | <kbd>Cmd</kbd>+<kbd>U</kbd> | <kbd>Ctrl</kbd>+<kbd>U</kbd> |
| Recent files | <kbd>Alt</kbd>+<kbd>R</kbd> | <kbd>Ctrl</kbd>+<kbd>R</kbd> | <kbd>Alt</kbd>+<kbd>R</kbd> |
| Redo | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Z</kbd> | <kbd>Shift</kbd>+<kbd>Cmd</kbd>+<kbd>Z</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Z</kbd> |
| Reindent | <kbd>Ctrl</kbd>+<kbd>I</kbd> | <kbd>Ctrl</kbd>+<kbd>I</kbd> | <kbd>Ctrl</kbd>+<kbd>I</kbd> |
| Reload stylesheet | | <kbd>Ctrl</kbd>+<kbd>R</kbd> | |
| Rename | <kbd>F2</kbd> | <kbd>F2</kbd> | <kbd>F2</kbd> |
| Reopen closed file | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>T</kbd> | <kbd>Shift</kbd>+<kbd>Cmd</kbd>+<kbd>T</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>T</kbd> |
| Replace next | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>H</kbd> | <kbd>Alt</kbd>+<kbd>Cmd</kbd>+<kbd>G</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>H</kbd> |
| Replace text | | <kbd>Alt</kbd>+<kbd>Cmd</kbd>+<kbd>F</kbd> | |
| Right | <kbd>Right</kbd> | <kbd>Right</kbd> | <kbd>Right</kbd> |
Expand Down Expand Up @@ -92,6 +93,8 @@ brief: 本教程介绍了当前编辑器快捷键以及如何自定义快捷键.
| Step out | <kbd>Shift</kbd>+<kbd>F11</kbd> | <kbd>Shift</kbd>+<kbd>F11</kbd> | <kbd>Shift</kbd>+<kbd>F11</kbd> |
| Step over | <kbd>F10</kbd> | <kbd>F10</kbd> | <kbd>F10</kbd> |
| Stop debugger | <kbd>Shift</kbd>+<kbd>F5</kbd> | | <kbd>Shift</kbd>+<kbd>F5</kbd> |
| Switch to next tab | <kbd>Ctrl</kbd>+<kbd>Tab</kbd> | <kbd>Ctrl</kbd>+<kbd>Tab</kbd> | <kbd>Ctrl</kbd>+<kbd>Tab</kbd> |
| Switch to previous tab | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Tab</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Tab</kbd> | <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Tab</kbd> |
| Tab | <kbd>Tab</kbd> | <kbd>Tab</kbd> | <kbd>Tab</kbd> |
| Toggle breakpoint | <kbd>F9</kbd> | <kbd>F9</kbd> | <kbd>F9</kbd> |
| Toggle comment | <kbd>Ctrl</kbd>+<kbd>Slash</kbd> | <kbd>Cmd</kbd>+<kbd>Slash</kbd> | <kbd>Ctrl</kbd>+<kbd>Slash</kbd> |
Expand Down
7 changes: 4 additions & 3 deletions docs/zh/manuals/properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ local color = gui.get_color(node)
`get+set`{.mark}
: 表示可以使用 [`go.get()`](/ref/go#go.get) 读取并且可以使用 [`go.set()`](/ref/go#go.set) 写入. 数值类型的属性可以使用 [`go.animate()`](/ref/go#go.animate) 制作属性动画.

::: 注意
以前用于读写游戏对象某些属性的老函数并没有被删除. 比如像 `go.get_position()`, `go.set_position()`, `go.get_rotation()`, `go.set_rotation()` 之类的.
:::

*游戏对象属性*

Expand All @@ -61,6 +58,10 @@ local color = gui.get_color(node)
| *euler* | 游戏对象的旋转, 以欧拉角表示. | `vector3` | `get+set`{.mark} |
| *scale* | 游戏对象的非等比缩放, 以向量表示. 比如在 x 和 y 方向放大2倍, 就是 vmath.vector3(2.0, 2.0, 0) | `vector3` | `get+set`{.mark} |

::: 注意
对于位移专用的函数也是有的; 即 `go.get_position()`, `go.set_position()`, `go.get_rotation()`, `go.set_rotation()`, `go.get_scale()` 和 `go.set_scale()`.
:::

*SPRITE 组件属性*

| 属性 | 描述 | 类型 | |
Expand Down