Back to Freecodecamp

Dialogue 1: If It Doesn't Boot

curriculum/challenges/english/blocks/learn-how-to-use-conditionals/66609feb0374fd5b449eabcf.md

latest3.9 KB
Original Source

--description--

Watch the video below to understand the context of the upcoming lessons.

--assignment--

Watch the video.

--scene--

json
{
"setup": {
  "background": "company2-center.png",
  "characters": [
    {
      "character": "Sarah",
      "position": { "x": -25, "y": 0, "z": 1 }
    },
    {
      "character": "Mark",
      "position": { "x": 125, "y": 0, "z": 1 }
    }
  ],
  "audio": {
    "filename": "B1_7-1.mp3",
    "startTime": 1
  },
  "alwaysShowDialogue": true
},
"commands": [
  {
    "character": "Sarah",
    "position": { "x": 25, "y": 0, "z": 1 },
    "startTime": 0
  },
  {
    "character": "Mark",
    "position": { "x": 70, "y": 0, "z": 1 },
    "startTime": 0.5
  },
  {
    "character": "Sarah",
    "startTime": 1,
    "finishTime": 4.26,
    "dialogue": {
      "text": "Hey Mark, have you noticed that some computers aren't booting properly?",
      "align": "left"
    }
  },
  {
    "character": "Mark",
    "startTime": 4.7,
    "finishTime": 10,
    "dialogue": {
      "text": "Yes, I have. If the power cable isn't connected securely, the computer won't turn on. Did you check that?",
      "align": "right"
    }
  },
  {
    "character": "Sarah",
    "startTime": 10.32,
    "finishTime": 14.78,
    "dialogue": {
      "text": "I did, but the problem seems to be more than just the power connection. Have you seen anything similar?",
      "align": "left"
    }
  },
  {
    "character": "Mark",
    "startTime": 15.32,
    "finishTime": 19.46,
    "dialogue": {
      "text": "Sometimes if the BIOS is corrupted, it prevents the computer from starting.",
      "align": "right"
    }
  },
  {
    "character": "Mark",
    "startTime": 19.76,
    "finishTime": 22.06,
    "dialogue": {
      "text": "If that's the case, it can be tricky to fix.",
      "align": "right"
    }
  },
  {
    "character": "Sarah",
    "startTime": 22.84,
    "finishTime": 27.08,
    "dialogue": {
      "text": "Yeah, it can. Speaking of which, another thing we can check is if the hard drive is failing.",
      "align": "left"
    }
  },
  {
    "character": "Sarah",
    "startTime": 27.4,
    "finishTime": 30.36,
    "dialogue": {
      "text": "If it's not functioning, the operating system won't load, will it?",
      "align": "left"
    }
  },
  {
    "character": "Mark",
    "startTime": 30.36,
    "finishTime": 37.4,
    "dialogue": {
      "text": "Right, it won't. And if there's a software crash, it can be because of incompatible drivers or outdated software.",
      "align": "right"
    }
  },
  {
    "character": "Mark",
    "startTime": 37.9,
    "finishTime": 39.64,
    "dialogue": {
      "text": "Have you updated the drivers recently?",
      "align": "right"
    }
  },
  {
    "character": "Sarah",
    "startTime": 40.16,
    "finishTime": 42.54,
    "dialogue": {
      "text": "Not yet. I was thinking about updating them this week.",
      "align": "left"
    }
  },
  {
    "character": "Sarah",
    "startTime": 42.84,
    "finishTime": 44.6,
    "dialogue": {
      "text": "What else could cause software to crash?",
      "align": "left"
    }
  },
  {
    "character": "Mark",
    "startTime": 45.1,
    "finishTime": 47.92,
    "dialogue": {
      "text": "If the application has memory leaks, it can lead to crashes.",
      "align": "right"
    }
  },
  {
    "character": "Mark",
    "startTime": 48.5,
    "finishTime": 51.94,
    "dialogue": {
      "text": "If you notice the system slowing down or freezing, that's a sign.",
      "align": "right"
    }
  },
  {
    "character": "Sarah",
    "startTime": 52.48,
    "finishTime": 54.24,
    "dialogue": {
      "text": "Absolutely. Thanks for the insights, Mark.",
      "align": "left"
    }
  },
  {
    "character": "Mark",
    "position": { "x": 125, "y": 0, "z": 1 },
    "startTime": 54.74
  },
  {
    "character": "Sarah",
    "position": { "x": -25, "y": 0, "z": 1 },
    "startTime": 55.24
  }
]
}