mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
Add animated plant assets and update room configurations: Introduce new animated plant images for enhanced visual effects in the game. Update room JSON and TMJ files to include these assets, ensuring proper integration with the existing room management system. Refactor player effects to trigger animations when interacting with animated plants, improving gameplay dynamics.
This commit is contained in:
12
css/main.css
12
css/main.css
@@ -11,6 +11,18 @@ body {
|
||||
|
||||
#game-container {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
background: #333;
|
||||
}
|
||||
|
||||
/* Canvas styling for pixel-perfect rendering */
|
||||
#game-container canvas {
|
||||
image-rendering: pixelated;
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: crisp-edges;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#loading {
|
||||
|
||||
Reference in New Issue
Block a user