Skip to content

Commit 66ecb26

Browse files
authored
Merge branch 'main' into pathfinding-IsCurrentWaypointReached
2 parents 70d09ed + c91e1cf commit 66ecb26

File tree

7 files changed

+21
-22
lines changed

7 files changed

+21
-22
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This repository holds source code for the creator documentation at [create.roblox.com/docs](https://create.roblox.com/docs).
44

5-
**Note**: Currently, the repository has guides, tutorials, educational content, and the Engine API reference. Code samples are coming soon.
5+
**Note**: Currently, the repository has guides, tutorials, educational content, and a read-only version of the Engine API reference.
66

77
If you're unfamiliar with the GitHub contribution process, see [About pull requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) and the following video.
88

@@ -77,14 +77,14 @@ The Roblox documentation has three main document types:
7777

7878
Guides benefit massively from practical, real-world use cases, images, code snippets, and diagrams. Most task-based content should include a numbered list.
7979

80-
- API reference docs in `.yaml` files in [content/en-us/reference](./content/en-us/reference)
81-
82-
APIs are entirely reference content and should use functional descriptions, linking to guides where appropriate. More than other content types, reference content should be terse and direct; summaries for properties, methods, events, and callbacks don't need to be full sentences.
83-
8480
- Tutorials in `.md` files in [content/en-us/tutorials](./content/en-us/tutorials)
8581

8682
Compared to task-based guides, tutorials are more self-contained and take you from _nothing_ to _something_. This focus on creating something specific means they're typically much more prescriptive than guides. Tutorials often touch multiple features and concepts at the same time, demonstrating the connections between tools and strategies.
8783

84+
- API reference docs in `.yaml` files in [content/en-us/reference](./content/en-us/reference)
85+
86+
We provide these files so that you can view the source and use them in your own projects, but we **no longer** accept pull requests on the reference `.yaml` files.
87+
8888
If your contribution doesn't fit within these categories or covers a particularly narrow subject, it might not be a good fit for the documentation. Consider posting it to the [Roblox developer forum](https://devforum.roblox.com/c/resources/71).
8989

9090
## Contribution Basics

content/en-us/cloud-services/data-stores/versioning-listing-and-caching.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ You can specify a prefix when listing all data stores or keys, and get back only
123123
For new experiences, use [listing and prefixes](#listing-and-prefixes) to organize keys in your data store instead of the legacy scopes feature. For existing experiences that use scopes, continue using them.
124124
</Alert>
125125

126-
Every key in a data store has a default global scope. You can organize keys further by setting a unique string as a scope for the second parameter of `Class.DataStoreService:GetDataStore()|GetDataStore()`. This automatically attaches the scope to the beginning of all keys in all operations done on the data store.
126+
You can organize keys in a data store further by setting a unique string as a scope for the second parameter of `Class.DataStoreService:GetDataStore()|GetDataStore()`. The default scope (if no scope is given) is `global`. The scope is automatically prepended to the beginning of all keys in all operations done on the data store.
127127

128128
<table>
129129
<thead>
@@ -148,7 +148,7 @@ Every key in a data store has a default global scope. You can organize keys furt
148148
</tbody>
149149
</table>
150150

151-
The combination of data store name, scope, and key uniquely identifies a key. All three values are required to identify a key with a scope. For example, you can read a global key named `User_1234` as:
151+
The combination of data store name, scope, and key uniquely identifies a key. All three values are required to identify a key with a scope. For example, you can read a `global`-scoped key named `User_1234` as:
152152

153153
```lua
154154
local DataStoreService = game:GetService("DataStoreService")
@@ -158,7 +158,7 @@ local success, currentGold = pcall(function()
158158
end)
159159
```
160160

161-
If the key `User_1234` has a scope of gold, though, you can only read it as:
161+
If the key `User_1234` has a scope of `gold`, though, you can only read it as:
162162

163163
```lua
164164
local DataStoreService = game:GetService("DataStoreService")
@@ -184,7 +184,7 @@ local ds = DataStoreService:GetDataStore("DS1", "", options)
184184
```
185185

186186
<Alert severity="info">
187-
When you use the `Class.DataStoreOptions.AllScopes|AllScopes` property, `Class.DataStore:ListKeysAsync()|ListKeysAsync()` returns every key with their scope as the prefix argument, such as `global/player_data_1234` or `houses/house3`. The default scope is `global`.
187+
When you use the `Class.DataStoreOptions.AllScopes|AllScopes` property, `Class.DataStore:ListKeysAsync()|ListKeysAsync()` returns every key with their scope as the prefix argument, such as `global/player_data_1234` or `houses/house3`. Remember that the default scope is `global`.
188188
</Alert>
189189

190190
If you enable the `Class.DataStoreOptions.AllScopes|AllScopes` property and create a new key in the data store, you must always specify a scope for that key in the format of scope/keyname. If you don't, the APIs throw an error. For example, `gold/player_34545` is acceptable with gold as the scope, but `player_34545` leads to an error.

content/en-us/effects/particle-emitters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Note that changing `Class.ParticleEmitter.Speed|Speed` does not affect active pa
204204

205205
### Rate
206206

207-
The `Class.ParticleEmitter.Rate|Rate` property sets the number of particles that emit per second. A single particle emitter can create up to 500 particles per second. For best performance, keep the particle rate as low as possible and experiment with [size](#size) and [other properties](#other-properties) to achieve the desired visual effect.
207+
The `Class.ParticleEmitter.Rate|Rate` property sets the number of particles that emit per second. A single particle emitter can create up to 400 particles per second (100 per second on mobile). For best performance, keep the particle rate as low as possible and experiment with [size](#size) and [other properties](#other-properties) to achieve the desired visual effect.
208208

209209
<Alert severity="warning">
210210
Particle count can impact performance due to overdraw, especially when particles are overlapping. The more layers of transparent effects on screen, the more costly it is on the GPU.

content/en-us/reference/engine/classes/DataStoreService.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ methods:
7979
`Class.DataStoreService:GetDataStore()|GetDataStore()` function.
8080
8181
Note that the `Class.DataStore` returned by this function always uses the
82-
scope `u`. See [Data stores](../../../cloud-services/data-stores/index.md)
82+
scope `u`. See
83+
[Versioning, listing, and caching](../../../cloud-services/data-stores/versioning-listing-and-caching.md#scopes)
8384
for details on scope.
8485
code_samples:
8586
- get-a-globaldatastore-instance

content/en-us/reference/engine/classes/OrderedDataStore.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,20 @@ memory_category: Instances
88
summary: |
99
A GlobalDataStore that also allows for ordered data store entries.
1010
description: |
11-
A **OrderedDataStore** is essentially a `Class.GlobalDataStore` with the
12-
exception that stored values must be **positive integers**. It exposes a
13-
method `Class.OrderedDataStore:GetSortedAsync()|GetSortedAsync()` which allows
14-
inspection of the entries in sorted order using a `Class.DataStorePages`
15-
object.
11+
An **OrderedDataStore** is essentially a `Class.GlobalDataStore` with stored values that are **integers**.
12+
It exposes the `Class.OrderedDataStore:GetSortedAsync()|GetSortedAsync()` method, which allows for the
13+
inspection of entries in sorted order using a `Class.DataStorePages` object.
1614
1715
Ordered data stores do not support versioning and metadata, so
1816
`Class.DataStoreKeyInfo` is always `nil` for keys in an
1917
`Class.OrderedDataStore`. If you need versioning and metadata support, use a
2018
`Class.DataStore`.
2119
22-
Ordered data stores do not support the optional `userIds` parameter for
20+
Ordered data stores also do not support the optional `userIds` parameter for
2321
`Class.OrderedDataStore:SetAsync()|SetAsync()` or
2422
`Class.OrderedDataStore:IncrementAsync()|IncrementAsync()`.
2523
26-
See [Data Stores](../../../cloud-services/data-stores/index.md) for an
24+
See [Data stores](../../../cloud-services/data-stores/index.md) for an
2725
overview on using ordered data stores.
2826
code_samples:
2927
- OrderedDataStore-Basics
@@ -44,7 +42,7 @@ methods:
4442
**minValue**/**maxValue** are optional parameters which filter the
4543
results.
4644
47-
See [Data Stores](../../../cloud-services/data-stores/index.md) for
45+
See [Error codes and limits](../../../cloud-services/data-stores/error-codes-and-limits.md) for
4846
request limits and descriptions of the error codes.
4947
code_samples: []
5048
parameters:

content/en-us/reference/engine/classes/PackageLink.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ properties:
3636
`Class.PackageLink` will be automatically updated to the latest version.
3737
By default this property will be false upon creation of a package.
3838
39-
This property would allows you to decide if a given package should be
39+
This property would allow you to decide if a given package should be
4040
automatically updated to the latest version when entering a given place.
4141
The game will periodically check for new updates while a place is open.
4242
code_samples: []

content/en-us/reference/engine/classes/Players.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ methods:
631631
summary: |
632632
Returns information about the character appearance of a given user.
633633
description: |
634-
This function returns information about a player's avatar (ignoring gear)
635-
on the Roblox website in the form of a dictionary. It is not to be
634+
This function returns information about a player's avatar on
635+
the Roblox website in the form of a dictionary. It is not to be
636636
confused with
637637
`Class.Players:GetCharacterAppearanceAsync()|GetCharacterAppearanceAsync`,
638638
which actually loads the assets described by this method. You can use

0 commit comments

Comments
 (0)