BAB 3 — Broadcast System untuk Game Multi-Scene
3.10 Broadcast untuk Pause Game
7 Menit
Lesson Teks
Lesson Gratis
Suka kontennya? Beli course ini!
Kamu sedang melihat preview. Enroll untuk akses semua lesson, quiz, materi, dan sertifikat.
Pause sangat penting di game intermediate.
Saat pause:
- player berhenti bergerak
- musuh berhenti
- timer berhenti
- animasi bisa berhenti
Contoh tombol pause:
when this sprite clicked broadcast [pause_game v]
Contoh player:
when I receive [pause_game v] stop [other scripts in sprite v]
Contoh backdrop pause:
when I receive [pause_game v] switch backdrop to [Pause Screen v]
Kenapa pause tidak cukup dengan stop all?
Karena stop all menghentikan semuanya secara total.
Kadang kita ingin game berhenti sementara, bukan dihentikan permanen.
Materi Download Tersedia
Enroll untuk mengakses semua materi dan file download dari course ini.
Enroll Sekarang