mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Update docs
This commit is contained in:
parent
7b824abe52
commit
320974074c
1 changed files with 3 additions and 1 deletions
|
|
@ -30,11 +30,13 @@ Rojo supports a JSON model format for representing simple models. It's designed
|
||||||
|
|
||||||
Rojo JSON models are stored in `.model.json` files.
|
Rojo JSON models are stored in `.model.json` files.
|
||||||
|
|
||||||
|
Starting in Rojo version **0.4.10**, model files named `init.model.json` that are located in folders will replace that folder, much like Rojo's `init.lua` support. This can be useful to version instances like `Tool` that tend to contain several instances as well as one or more scripts.
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
In the future, Rojo will support `.rbxmx` models. See [issue #7](https://github.com/LPGhatguy/rojo/issues/7) for more details and updates on this feature.
|
In the future, Rojo will support `.rbxmx` models. See [issue #7](https://github.com/LPGhatguy/rojo/issues/7) for more details and updates on this feature.
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
Prior to version 0.4.9, the `Properties` and `Children` properties are required on all instances in JSON models!
|
Prior to Rojo version **0.4.9**, the `Properties` and `Children` properties are required on all instances in JSON models!
|
||||||
|
|
||||||
JSON model files are fairly strict; any syntax errors will cause the model to fail to sync! They look like this:
|
JSON model files are fairly strict; any syntax errors will cause the model to fail to sync! They look like this:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue