Taking My First Steps With The Unity Engine (Version 6.0)
Posted April 22, 2025 by Rheyan
#devlog #unity
Before attempting to create a game from scratch, I've made a few changes to the game that was built up during the first Unity tutorial that I watched.
AI Generated Summary:
Overview of the Practice Game
- The speaker discusses their plan to learn Unity by modifying a practice game derived from a tutorial.
- They demonstrate gameplay, showing how lives are lost when objects fall into the ground, leading to a "game over" scenario.
Implementing Lives System
- A new panel with three fixed hearts is created to represent player lives; this was done manually for simplicity.
- The use of a horizontal layout group simplifies heart positioning without manual adjustments.
Collision and Life Management
- The dead zone code checks for collisions and manages life loss instead of triggering an immediate game over.
- If lives reach zero, the game over sequence is initiated; otherwise, one heart is deactivated accordingly.
Timer Functionality in UI Timer Integration
- A timer has been added to the UI class, although the speaker expresses discomfort with this organization.
- The timer increments alongside game time and resets automatically at the start of each new game session.
Testing Timer Functionality
- During gameplay testing, the timer functions correctly, displaying elapsed time before resetting upon death.
Challenges with Game Logic Issues with Player Object Visibility
- The speaker notes difficulties in disabling the player object due to design limitations within the game's structure.
- There’s no overarching class controlling actions; logic resides within individual components like the dead zone object.
Adjustments Needed for Game Over Display
- Observations reveal that hearts do not disappear before displaying "game over," indicating a need for code adjustment.
Future Plans and Learning Journey Exploring New Tutorials
- After watching several tutorials during quiet workdays, they decide to tackle creating Flappy Bird as their next project.
Exploring Game Development Tutorials Learning from Multiple Sources
- The speaker discusses the value of watching various tutorials from different creators, highlighting that each offers unique approaches to solving similar challenges.
- Observing the same problem tackled in diverse ways enhances understanding and provides a broader perspective on game development techniques.