mirror of
https://github.com/open-scratch/ScratchJr.git
synced 2024-11-25 16:35:23 +08:00
1.5 KiB
1.5 KiB
文件格式:
字段名 | 类型 | 值 |
---|---|---|
gallery | string | samples |
version | string | iOSv01 |
thumbnail | json | {"pagecount": 1,"md5": "samples/AnimalRace.png"} |
ctime | string | 2016-01-15 19:54:45 |
deleted | string | NO |
mtime | string | 1452887756770 |
name | string | Animal Race |
id | string | 5 |
json | json |
字段json详细信息:
字段名 | 类型 | 值 |
---|---|---|
currentPage | string | page 1 |
pages | Array | ["page 1"] |
page 1 | json |
字段page1详细信息:
字段名 | 类型 | 值 |
---|---|---|
textstartat | float | 84.6 |
md5 | string | 背景图片:samples/63b6fade5e12e1abe9c97806a04984ad.svg |
num | int | 1 |
lastSprite | string | Pig 1 |
sprites | Array | ["Pig 1","Horse 1","Chicken 1","Barn 1","Text 1"] |
layers | Array | ["Barn 1","Pig 1","Text 1","Chicken 1","Horse 1"] |
对象详细信息:
字段名 | 类型 | 值 |
---|---|---|
id | string | Horse 1 |
md5 | string | Horse.svg |
name | string | key_farm_horse |
type | string | sprite |
homeflip | bool | true |
flip | bool | true |
shown | bool | true |
homeshown | bool | true |
homescale | float | 0.3 |
defaultScale | float | 0.5 |
speed | float | 2 |
scale | float | 0.3 |
angle | float | 0 |
------- | ----- | ------------ |
w/h | float | 422/417 |
cx/cy | float | 208/211 |
xcoor/ycoor | float | 335/195 |
homex/homey | float | 335/195 |
------- | ----- | ------------ |
sounds | Array | ["pop.mp3","samples/horse.wav"] |
scripts | Array | ["onclick","null",225,33],["playusersnd",1,298,33,"onclick","null",439,36],["repeat",2,512,20,[["right",1,547,36],["left",2,612,36],["right",1,677,36]]] |