Polish UI to production quality and load textures from the web#2
Merged
Conversation
- New design system (variables for accents / glass / text, Orbitron + Rajdhani typography) - Menu / settings / pause / game-over overlays redesigned as glass cards on an animated aurora + starfield background - HUD polished: health bar with heart icon + gradient fill, score/best tile, glass FPS pill, framed minimap, live dot on bot counter - Mobile action buttons restyled with color-per-action glow + radial highlight - Game-over shows score + best stats, VICTORY/DEFEATED headline - Loading overlay with animated brand title - Web texture loading: floor grass, tree bark, stone walls, armor, chungi load from jsDelivr CDN (three.js r128 examples). Procedural canvas textures remain as automatic fallback if any CDN URL fails. Co-Authored-By: Gamer33xz <razzacharya6@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second pass on the game — the user asked to make the UI production-ready and to swap the procedural textures for real web textures while keeping everything else (perf, mobile, health/score, persistence) intact.
UI overhaul
--accent,--cool,--danger,--glass-bg, etc.), Orbitron + Rajdhani typographyWeb textures
grasslight-big.jpg,hardwood2_diffuse.jpg,brick_diffuse.jpg,hardwood2_roughness.jpg,patterns/circuit_pattern.pngloaded fromcdn.jsdelivr.net/gh/mrdoob/three.js@r128/examples/textures/(CORS-safe, known-good)upgradeMaterial()helper swaps the map in once the CDN load resolves and leaves the procedural canvas texture in place if the load fails, so network issues never produce a blank materialScreenshots:
Review & Testing Checklist for Human
Notes
mrdoob/three.js@r128, which is pinned to a specific tag so URLs are stable.Link to Devin session: https://app.devin.ai/sessions/5b14cc25db654389a1752fce6fbdfb83
Requested by: @alimohomad