Files
freeCodeCamp/tools/challenge-parser/parser/__fixtures__/scene.md

48 lines
785 B
Markdown

# --description--
This challenge has a scene.
# --scene--
```json
{
"setup": {
"background": "company2-center.png",
"characters": [
{
"character": "Maria",
"position": { "x": 50, "y": 0, "z": 1.5 },
"opacity": 0
}
],
"audio": {
"filename": "1.1-1.mp3",
"startTime": 1,
"startTimestamp": 2.6,
"finishTimestamp": 4
}
},
"commands": [
{
"character": "Maria",
"opacity": 1,
"startTime": 0
},
{
"character": "Maria",
"startTime": 0.7,
"finishTime": 2.4,
"dialogue": {
"text": "I'm Maria, the team lead.",
"align": "center"
}
},
{
"character": "Maria",
"opacity": 0,
"startTime": 3.4
}
]
}
```