v0.5a -Refactoring Code.


# Devlog Update - UI and Level System Refactor

## Major Changes

1. **UI System Refactoring**
- Created reusable LevelUI scene for all levels
- Moved pause menu into LevelUI for consistency
- Added keyboard/gamepad support for menus
- Improved button focus and hover effects

2. **Level System Improvements**
- Created base_level.gd for shared level functionality
- Implemented proper level inheritance system
- Added preloading for main menu scene
- Improved save/load system for level progression

3. **Menu Navigation**
- Added full controller/keyboard support
- Implemented consistent button highlighting
- Set up cross-panel navigation
- Added focus management for better UX

4. **Code Organization**
- Separated UI logic from level logic
- Centralized level completion handling
- Improved error handling and node checks
- Added proper signal connections

5. **Version Control**
- Updated .gitignore to handle Godot files better
- Removed editor config files from tracking
- Better organization of project files

## Technical Details

- Created base_level.gd as parent for all level scripts

- Implemented LevelUI.gd for consistent UI across levels

- Added proper focus system for menu navigation

- Improved save data handling for level unlocks

## Next Steps

- Create Level 2 using new inheritance system

- Test level progression system

- Add more visual feedback for unlocks

- Polish menu navigation

Files

v0.5a.zip 95 MB
7 days ago

Leave a comment

Log in with itch.io to leave a comment.