Introducción y configuración inicial
Bienvenida al curso
Cargando el proyecto
El sistema de UI de Unity
El sistema de UI de Unity
El componente Canvas
El Rect Transform
Componente de imagen
Máscaras y efectos
Cómo crear texto en Unity
Creando botones en nuestra interfaz
Otros elementos de UI
Auto layout
Scroll views
Canvas groups
Haciendo interfaces para el juego
Revisión de las interfaces del juego
Importando nuestros assets
Diagramación de la pantalla del título
Animando el fondo con shader graph
Agregando lógica a la pantalla de título
Diagramación de la pantalla de selección de nivel
Implementación pantalla de selección de nivel
Ajustando el sistema de interfaz
Mejora de la interfaz del juego
Implementando la interfaz del juego
Diagramando la pantalla de pausa
Implementando la pantalla de pausa
Mejorando la pantalla de Game Over
Diagramación de la pantalla de configuración
Implementación de la pantalla de configuración
Muestra final y conclusiones
You don't have access to this class
Keep learning! Join and start boosting your career
Creating an effective level selection screen is fundamental to provide a smooth and clear user experience in any game. This process may seem complicated at first, but with the right techniques and tools, such as those offered by Unity, it is possible to achieve it efficiently. Let's take a look at the steps necessary to diagram a level selection screen.
To begin with, it is crucial to see a representation of the screen you want to create. In this case, we use a list with a Scroll View
to display the levels, along with a "Back" button to return to the main screen.
UI Level Selection
.Stretch
in all directions with a background color of your choice, in this case, a blue.Dividing the level selection screen into panels helps to better organize the elements.
Rect Transform
. Remove the image component later if only the Rect Transform
is needed.Stretch
and adjust the position and size of the elements to create a space where the "Back" button will go.LevelList
. All levels will be placed here.LevelList
, create a new element called container
with a Vertical Layout Group
.Content Size Filter
to Horizontal Fit
without restrictions and Vertical Fit
to Preferred Size
.Stretch
and set the padding.LevelList
with zero opacity and a Mask
component to prevent levels from being visible outside their list.Scroll Rect
component to define the content of the Scroll
and the Viewport. Activate vertical scrolling only.btnBack
and adjust its orientation and size to align the icon where you want.With these steps, you have a well laid out and visually coherent level selection screen. Don't forget that these elements can be further adjusted and customized according to the needs of your project. Keep experimenting and learning to take your game to the next level - keep going, practice makes perfect!
Contributions 2
Questions 0
Want to see more contributions, questions and answers from the community?