Unidad 5: Interfaz de usuario

CourseBeginner7h 10m

unity_wnnqkDlOvh5RSg

Descripción general del curso

En esta Unidad programarás un juego para probar los reflejos del jugador, en el cual el objetivo es hacer clic y destruir objetos lanzados por el aire aleatoriamente antes de que caigan y desaparezcan por la parte inferior de la pantalla. Al crear este prototipo, aprenderás a implementar una interfaz de usuario (UI) en tus proyectos. Agregarás una pantalla de título con un menú de selección de dificultad que controlará el nivel de desafío de la jugabilidad, agregarás un monitor de puntaje que dará seguimiento a los puntos que ha obtenido el jugador y agregarás una pantalla de Fin del juego que permitirá a los jugadores reiniciar y intentar de nuevo. Al aprender estas habilidades, podrás crear una experiencia «jugable» completa que el usuario puede disfrutar de inicio a fin sin tener que reiniciar la aplicación para intentarlo de nuevo.

Languages available:

XP ADICIONALES OBTENIDOS AL COMPLETAR EL CURSO
+600
TOTAL DE XP POSIBLES
720 XP

Recursos para instructores

By the end of this unit, you will be able to:

  • Create a Game Manager object that controls game states
  • Detect where the user has clicked their mouse in order to create a click-based program
  • Use the Canvas to create UI elements like a Title, Buttons, or score display
  • Lock elements and objects into place on the UI with Anchors
  • Use variables and script communication to update elements in the UI
  • Make UI elements appear and disappear with .SetActive
  • Use script communication and Game states to implement working “Game Over” screen
  • Restart the game using a UI button and SceneManagement class
  • Add listeners to detect when a UI Button has been clicked and trigger functionality
  • Set difficulty of gameplay from title screen by passing parameters between scripts