Detail Course
Scratch Intermediate for Game
Mode Preview
BAB 3 — Broadcast System untuk Game Multi-Scene

3.8 Membuat Sistem Menu dengan Broadcast

7 Menit Lesson Teks Lesson Gratis

Lesson Berbasis Teks. Pelajari materi di tab Overview di bawah. Kerjakan quiz setelah selesai membaca.

Suka kontennya? Beli course ini!

Kamu sedang melihat preview. Enroll untuk akses semua lesson, quiz, materi, dan sertifikat.

Menu adalah layar awal sebelum game dimulai.


Contoh alur menu:

  • backdrop menu muncul
  • tombol start tampil
  • tombol instruction tampil
  • tombol setting tampil

Saat tombol start diklik:

  • menu hilang
  • gameplay dimulai

Contoh script tombol Start:


when this sprite clicked
broadcast [start_game v]

Contoh script pemain:


when I receive [start_game v]
show
go to x: 0 y: -50

Contoh script backdrop:


when I receive [start_game v]
switch backdrop to [Game v]

Contoh script enemy:


when I receive [start_game v]
show

Hasil:

Saat Start diklik, semua elemen game mulai aktif bersama-sama.

Materi Download Tersedia

Enroll untuk mengakses semua materi dan file download dari course ini.

Enroll Sekarang