Create a high-quality 2D gameplay UI for a dark, atmospheric game called "Shadow…
- User
Create a high-quality 2D gameplay UI for a dark, atmospheric game called "Shadow Escape".
Overall Style: Use a minimal dark theme with black and dark grey tones. Focus on strong contrast between shadow and light. All UI elements should feel subtle, glowing, and non-intrusive.
Top UI Bar:
- Display current level (e.g., "Level 1") in a clean glowing font
- Place a small pause button in the top corner with a soft glow
- Keep spacing clean and balanced
Player Design:
- A shadow character (black silhouette) with small glowing eyes
- Smooth movement and subtle idle animation
Environment:
- Dark platforms and structures
- Light sources act as danger zones (white or light blue glow)
- Include moving lights for challenge
- Add soft fog and shadow layers for depth
HUD Elements:
- Health or lives shown as minimal icons or a thin glowing bar
- Keep HUD small and not distracting
Controls (for mobile gameplay):
- Left and right movement buttons (semi-transparent)
- Jump button
- Buttons should softly glow and respond to touch (slight scale effect)
Visual Effects:
- Soft glow around all light sources
- Small floating particles in dark areas
- Subtle shadow trails when the player moves
- Light flicker effects for tension
Interaction Feedback:
-
When player enters light:
- Screen slightly brightens
- Small warning glow effect
-
When damaged:
- Quick flash effect (very subtle)
-
Smooth transitions between movements and actions
Camera Feel:
- Slight smooth follow on player
- Optional very subtle screen shake on impact
Overall Feel: Keep everything clean, immersive, and smooth. The UI should support gameplay without clutter. Focus on atmosphere, soft glow, and shadow vs light mechanics.
- Assistant
I will build a playable atmospheric gameplay screen and connect it to the existing menu and level flow, including keyboard/mobile controls, light hazards, health, pause, camera follow, particles, trails, damage feedback, and an exit objective.
The current character and audio systems are reusable. I am now adding the actual side-scrolling gameplay surface with physics, a scanning-light hazard system, responsive touch controls, and pause/restart states.
The gameplay screen is implemented and now opens by default. Play and unlocked level selections enter the playable chamber directly; pause can return to either the main menu or the 100-level selector.
Implemented a playable Shadow Escape 2D gameplay screen.
Gameplay
- Keyboard controls:
A/D, arrow keys,W,Space - Responsive touch controls for movement and jumping
- Smooth acceleration, jumping, facing, and camera follow
- Moving light hazards that damage the player
- Checkpoint, lives, health, game-over, and level-complete states
- Pause menu with resume, restart, level selection, and main menu options
Atmosphere
- Dark platforms and gothic background structures
- Layered fog, floating particles, and flickering light cones
- Shadow trails during movement
- Light exposure warning and scene brightening
- Subtle damage flash and impact screen shake
- Animated shadow character with glowing eyes
Integration
- Gameplay opens by default
- Main menu Play enters gameplay
- Unlocked level selections launch the selected level
- Existing menu, settings, level selector, and loading demo remain accessible
Implemented primarily in
src/components/GameplayScreen.tsx, with gameplay animations insrc/index.cssand navigation updates insrc/App.tsx.Production build verified successfully.
- Keyboard controls: