Commit graph

105 commits

Author SHA1 Message Date
cmclark00
2d9de31a38 Center title above high scores for both orientations 2025-04-02 00:05:35 -04:00
cmclark00
f10c0260c9 Center title text with even spacing between words 2025-04-01 23:59:02 -04:00
cmclark00
fbecf256a2 Fix title text: make lowercase and correct overlapping issue 2025-04-01 23:55:09 -04:00
cmclark00
ff1a0edd2f Hide control panels in landscape mode when title screen is visible 2025-04-01 23:50:47 -04:00
cmclark00
212e52aea8 Update title screen to show 'Mint' in mint color and disable controls in landscape mode 2025-04-01 23:46:15 -04:00
cmclark00
de46a20fc0 Adjust position of hold piece and score/lines to align with playable area 2025-04-01 23:45:26 -04:00
cmclark00
9bef4bf003 Enhance: Improve game mechanics and visuals in GameView and GameBoard
- Increased glow effect and adjusted border properties for better visual appeal.
- Updated block size calculation to ensure proper fitting within the view.
- Modified rotation logic in GameBoard to include advanced wall kick mechanics for smoother gameplay.
- Adjusted piece spawning to start from the top row and refined hold mechanics.
- Added getter and setter for rotation index in Tetromino for better encapsulation.
2025-04-01 23:25:40 -04:00
cmclark00
04b87e8f19 Fix: Resolve crash on startup due to ProGuard/Gson TypeToken issue
- Added necessary ProGuard rules to keep HighScore class, generic signatures, and annotations.

- Fixed bug where music started on title screen instead of game start.

- Fixed bug where session stats were blank on game over screen by ensuring stats are displayed correctly after high score entry.

- Fixed bug where game music did not restart after playing again.
2025-04-01 17:34:40 -04:00
cmclark00
c1da5ba20f Enhance: Add gradle.properties for keystore configuration and update .gitignore to include gradle.properties and hprof files 2025-04-01 16:12:08 -04:00
cmclark00
2edac3138c Feat: Instantly update customization menu theme on selection 2025-04-01 15:41:26 -04:00
cmclark00
2e2cd92192 Refactor: Move selectedLevel and randomModeEnabled to ViewModel 2025-04-01 15:38:39 -04:00
cmclark00
301bf1e64f Fix: Play game over sound with animation start 2025-04-01 15:21:03 -04:00
cmclark00
ff0ef4b2a7 Fix: Use direct interpolation for landscape game over stats 2025-04-01 14:42:20 -04:00
cmclark00
0a5bf6bb7e Refactor: Introduce ViewModel for score/level, fix game over flow 2025-04-01 14:39:27 -04:00
cmclark00
5952cac760 Enhance back button handling in HighScoreEntryActivity and update vibration logic in MainActivity for better compatibility with Android versions. Implement edge-to-edge display adjustments for newer Android versions. 2025-04-01 12:21:28 -04:00
cmclark00
af54b735f9 Add Pixel Mint Games website with Pixel Mint Drop game showcase 2025-04-01 12:00:27 -04:00
cmclark00
6044b0d93b Fix: Adjust layout padding to respect display cutouts 2025-04-01 11:47:10 -04:00
cmclark00
501e5b37fc fix: Improve XP bar animation smoothness and text sync 2025-04-01 08:48:22 -04:00
cmclark00
eb962268ca refactor: Rename Tetris to Quad and fix related compilation errors 2025-04-01 08:15:46 -04:00
cmclark00
ce85debfe5 Rename project from Mintris to Pixel Mint Drop, updating all relevant namespaces, package names, and UI elements to reflect the new branding. Adjust styles, themes, and repository links accordingly. 2025-04-01 07:52:15 -04:00
cmclark00
5ace9d7fc5 Fix: Correct namespace and applicationId in app build.gradle 2025-04-01 07:51:52 -04:00
cmclark00
5cf8aec02a Fix: Add piece placement tracking to update session stats correctly 2025-03-31 20:30:06 -04:00
cmclark00
6958a864c1 Enhance block skin unlock logic and ensure default skin is always present. Update UI component checks for selection confirmation in BlockSkinSelector and ThemeSelector with added logging for better debugging. 2025-03-31 20:17:40 -04:00
cmclark00
915e207aca Fix hold piece view not showing after starting new game 2025-03-31 17:27:02 -04:00
cmclark00
3cd6080177 Hide all game UI elements on progression and game over screens 2025-03-31 17:20:16 -04:00
cmclark00
fad3e0863c Fix compilation errors with unresolved references 2025-03-31 17:15:58 -04:00
cmclark00
1f400238e5 Hide game controls on progression screen and game over 2025-03-31 17:12:22 -04:00
cmclark00
b60c106a08 Fix block skin changes in random mode with improved logging and UI updates 2025-03-31 17:08:16 -04:00
cmclark00
5faa780c62 Fix random mode to change themes and block skins every 10 lines/level up 2025-03-31 17:07:28 -04:00
cmclark00
b2a9c40539 Add random mode toggle and fix resource linking issues 2025-03-31 16:37:57 -04:00
cmclark00
0b78bf7833 feat: add B button support for exiting customization menu 2025-03-31 16:10:44 -04:00
cmclark00
419cd8cbdb fix: make customization button text stay on one line in portrait mode 2025-03-31 16:05:01 -04:00
cmclark00
71a8efff91 Fix customization menu navigation and layout issues: - Fix D-pad navigation between theme and block skin selectors - Prevent word wrapping in customization title - Add ThemeManager for theme color management - Improve menu item highlighting and focus handling 2025-03-31 16:02:30 -04:00
cmclark00
a8f095cf42 Add counterclockwise rotation support for gamepad controls
- Implemented rotateCounterClockwise method in GameBoard to handle piece rotation.
- Updated GameView to call rotateCounterClockwise and added haptic feedback.
- Modified GamepadController to support rotation with button B.
2025-03-31 15:20:54 -04:00
cmclark00
b739d0ec3a Make gamepad controls dialog scrollable and add missing controls 2025-03-31 13:58:30 -04:00
cmclark00
240f16be82 Fix pause menu scrolling and gamepad navigation: - Remove fillViewport from ScrollView to allow proper scrolling - Add explicit scrollToSelectedItem calls in menu navigation - Ensure selected item is always visible when navigating with gamepad 2025-03-31 13:46:44 -04:00
cmclark00
05a504bb21 Reordered pause menu items and fixed music icon resource 2025-03-31 13:42:09 -04:00
cmclark00
7d7090d7ea more gamepad support 2025-03-31 13:38:38 -04:00
cmclark00
7e4423efce Add hollow border to selected menu items and fix scroll view in landscape mode 2025-03-31 08:48:33 -04:00
cmclark00
c4f103ae1e Enhanced haptic feedback for gamepad users: - Added gamepad connection tracking - Increased vibration intensity by 50% when using gamepad - Adjusted vibration durations and amplitudes for better feedback 2025-03-31 08:40:54 -04:00
cmclark00
dbaebb8b60 Update MainActivity.kt 2025-03-31 08:30:59 -04:00
cmclark00
08c9f8a1ce Add full gamepad support to all screens including pause menu, progression screen, high scores, and game over 2025-03-31 08:01:47 -04:00
cmclark00
f4f40c4c34 Implement full gamepad menu support and title screen start 2025-03-31 07:52:01 -04:00
cmclark00
779fa8eab1 Adjust gamepad D-pad sensitivity by increasing continuous movement delay 2025-03-31 07:49:39 -04:00
Corey
36559eac4c Implemented continuous D-pad movement and Start button pause menu functionality 2025-03-31 07:35:58 -04:00
Corey
0ac25eb3a9 adding gamepad support 2025-03-31 04:52:11 -04:00
Corey
86424eac32 Update game layout and functionality in MainActivity and GameView 2025-03-31 04:05:50 -04:00
Corey
b481fb4e80 Enhance landscape support: Add click handlers for theme and block skin selectors, improve UI layout in landscape mode 2025-03-31 03:46:05 -04:00
cmclark00
94e8d313c2 Add enhanced game over animation with falling blocks, screen shake, and dynamic text effects 2025-03-30 19:39:35 -04:00
cmclark00
7dccad8d12 fix: prevent crash in game over animation by checking for zero blur radius 2025-03-30 19:14:16 -04:00