Character Selection & Prefab Assignment
Gauntlet Legacy Reborn » Devlog
Overview
This week focused on enhancing the main menu with a character selection system, implementing confirmation dialogs, and resolving prefab assignment issues to enable arrow functionality for the Elf character. Additionally, we identified animation glitches and the lack of combat capabilities in the Valkyrie character.
Main Menu Enhancements
Character Selection:
- Implemented a character selection screen allowing players to choose between Elf and Valkyrie.
- Added interactive buttons for each character with accompanying visuals.
Confirmation Dialog:
- Introduced a popup window prompting players to confirm their selected character.
- This ensures players make intentional selections, enhancing the user experience.
Prefab Assignment Fix
Issue Encountered:
- Error:
UnassignedReferenceException
forarrowPrefab
in thePlayerMovement
script. - Cause: The
arrowPrefab
was not assigned in the Inspector for the Elf prefab, leading to null references when attempting to instantiate arrows.
Solution Implemented:
- Direct Assignment: Manually assigned the Arrow Prefab to the
arrowPrefab
field in thePlayerMovement
script of the Elf prefab via the Unity Inspector. - Outcome: Resolved the error, restoring arrow-shooting functionality for the Elf character.
Lessons Learned:
- Always ensure that all public fields in scripts are properly assigned in the Inspector to prevent runtime errors.
- Regularly review prefab configurations after making script changes to maintain consistency.
Valkyrie Character Challenges
Animation Glitches:
- Issue: Valkyrie’s animations exhibit stuttering and unnatural transitions.
- Impact: Reduces visual quality and player immersion.
Combat Capabilities:
- Current Status: Valkyrie lacks implemented offensive and defensive abilities.
- Next Steps:
- Develop and integrate combat mechanics for offensive and defensive actions.
- Refine animation transitions to ensure smooth and natural movements.
Upcoming Goals
- Valkyrie Enhancements: Address animation issues and implement combat mechanics to make Valkyrie a fully functional character.
- UI Improvements: Further refine the main menu and confirmation dialogs for a better user experience. Currenty taking two key presses to select a character.
- Comprehensive Testing: Conduct thorough playtesting to ensure stability and functionality after recent changes.
Key Takeaways
- Prefab Management: Properly assigning and managing prefab references in the Inspector is crucial to prevent runtime errors and ensure smooth gameplay.
- User Interface Design: Implementing confirmation dialogs enhances user experience by reducing accidental inputs.
- Character Development: Ensuring each character is fully functional and visually appealing is essential for game balance and player satisfaction.
Files
The Gauntlet.zip Play in browser
74 days ago
Gauntlet Legacy Reborn
Status | In development |
Author | stealthmode61 |
Genre | Adventure |
Tags | Dungeon Crawler, Pixel Art, Retro, Singleplayer, Top-Down |
More posts
- Documentation & User Guide48 days ago
- Week 12—User Interface / Polish52 days ago
- Presentation and Graphics59 days ago
- Devlog – Checkpoint 3: Enemies / Interaction / Puzzles66 days ago
- Pause Game Menu69 days ago
- Basic Level Blocking73 days ago
- Gameplay Refinements and Core System Enhancements76 days ago
- Devlog Update - Enhancing Gameplay with Raycasting and Strategic Item Usage78 days ago
- Devlog Update: Scoring Enhancements and Enemy Behaviour79 days ago
Leave a comment
Log in with itch.io to leave a comment.