Skip to content

Commit

Permalink
Fix size and density of map.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDiBernardo committed Aug 29, 2024
1 parent ef60e61 commit 51b78f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Settings. If you change the tilesize (256px) you also have to change it in
// the CSS.
const numRocks = 500;
// Settings. If you change the tilesize (256px) or the gridSize (25600px) you
// also have to change those values in the CSS.
const numRocks = 600;
const gridSize = 25600 / 256;
const bugDanceDuration = 2000;
const bugAgitateDuration = 1000;
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ body {
}

#scrollable-area {
width: 51200px;
height: 51200px;
width: 25600px;
height: 25600px;
background-image: url("./assets/img/forest-tile-512x512.jpg");
background-repeat: repeat;
display: grid;
Expand Down

0 comments on commit 51b78f2

Please # to comment.