Nội dung bài họcLesson content
Kể chuyện bằng ScratchStorytelling with Scratch
Scratch không chỉ làm game — nó còn kể chuyện! Bạn có thể tạo nhiều cảnh (scene), đổi backdrop, thêm hội thoại giữa các nhân vật, và đồng bộ sự kiện. Một câu chuyện Scratch thường có 3 phần: mở đầu, giữa, và kết.Scratch is not just for games — it can tell stories too! You can create multiple scenes, change backdrops, add dialogue between characters, and sync events. A Scratch story usually has 3 parts: beginning, middle, and end.
Broadcast: gửi tin nhắn giữa các spriteBroadcast: sending messages between sprites
Khối "broadcast [message]" gửi một tin nhắn đến tất cả sprite. Khi sprite khác nhận được tin nhắn, nó có thể phản ứng bằng khối "when I receive [message]". Đây là cách đồng bộ: sprite A nói xong → broadcast → sprite B bắt đầu nói.The "broadcast [message]" block sends a message to all sprites. When another sprite receives the message, it can react with the "when I receive [message]" block. This is how you sync: sprite A finishes talking → broadcast → sprite B starts talking.
-- Sprite 1 (Mèo) --
when flag clicked
say "Chào bạn!" for 2 seconds
broadcast "đến lượt chó"
-- Sprite 2 (Chó) --
when I receive "đến lượt chó"
say "Chào mèo!" for 2 seconds
Đổi backdrop để tạo cảnh mớiChange backdrop to create new scenes
Dùng khối "switch backdrop to [name]" để đổi hình nền. Mỗi backdrop là một cảnh trong câu chuyện. Ví dụ: cảnh 1 = "Woods" (rừng), cảnh 2 = "Castle" (lâu đài). Đổi backdrop + đổi hội thoại = chuyển cảnh tự nhiên.Use the "switch backdrop to [name]" block to change the background. Each backdrop is a scene in the story. For example: scene 1 = "Woods", scene 2 = "Castle". Changing backdrop + changing dialogue = natural scene transitions.
Thêm âm thanhAdding sounds
Dùng khối "play sound [name]" để thêm âm thanh. Scratch có sẵn thư viện âm thanh: vỗ tay, tiếng chó sủa, nhạc nền. Bạn cũng có thể tải âm thanh riêng. Âm thanh giúp câu chuyện sống động hơn.Use the "play sound [name]" block to add sounds. Scratch has a built-in sound library: clapping, dog barking, background music. You can also upload your own sounds. Sounds make the story more lively.