move to another tileset, larger tiles, bigger screen
|
@ -21,11 +21,9 @@ yarn build
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
Textures all from [OpenGameArt](https://opengameart.org/). More specifically:
|
Art, Music and all from [OpenGameArt](https://opengameart.org/). More specifically:
|
||||||
|
|
||||||
* https://opengameart.org/content/nature-tileset
|
* https://opengameart.org/content/voxel-pack (Kenneys Game Art is just incredible!)
|
||||||
* https://opengameart.org/content/platform-tileset-nature
|
* https://opengameart.org/content/oves-essential-game-audio-pack-collection-160-files-updated
|
||||||
* https://opengameart.org/content/cave-tileset-2
|
|
||||||
* https://opengameart.org/content/monsterboy-in-wonder-world-mockup-assets
|
|
||||||
|
|
||||||
and partially adapted to my needs.
|
and partially adapted to my needs.
|
||||||
|
|
19
index.html
|
@ -3,17 +3,28 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/dirt.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/dirt_grass.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/gravel_dirt.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/gravel_stone.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/stone.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/stone_dirt.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/sand.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/stone_sand.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/stone_grass.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/trunk_mid.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/trunk_bottom.png" />
|
||||||
|
<link rel="preload" as="image" href="/Tiles/leaves_transparent.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Dig!</title>
|
<title>Dig!</title>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--block-size: 32px;
|
--block-size: 64px;
|
||||||
--blocks-x: 32;
|
--blocks-x: 20;
|
||||||
--blocks-y: 18;
|
--blocks-y: 12;
|
||||||
--spare-blocks: 2;
|
--spare-blocks: 2;
|
||||||
--field-width: calc(var(--block-size) * var(--blocks-x));
|
--field-width: calc(var(--block-size) * var(--blocks-x));
|
||||||
--field-height: calc(var(--block-size) * var(--blocks-y));
|
--field-height: calc(var(--block-size) * var(--blocks-y));
|
||||||
--spare-blocks: 2;
|
|
||||||
}
|
}
|
||||||
html,body,#app {
|
html,body,#app {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
BIN
public/Characters/Alien/alien_arm.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
public/Characters/Alien/alien_body.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
public/Characters/Alien/alien_head.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
public/Characters/Alien/alien_leg.png
Normal file
After Width: | Height: | Size: 168 B |
BIN
public/Characters/Boar/boar_body.png
Normal file
After Width: | Height: | Size: 920 B |
BIN
public/Characters/Boar/boar_head.png
Normal file
After Width: | Height: | Size: 611 B |
BIN
public/Characters/Boar/boar_leg.png
Normal file
After Width: | Height: | Size: 213 B |
BIN
public/Characters/Boar/boar_tail.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
public/Characters/Fox/fox_body.png
Normal file
After Width: | Height: | Size: 499 B |
BIN
public/Characters/Fox/fox_ear.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
public/Characters/Fox/fox_leg.png
Normal file
After Width: | Height: | Size: 165 B |
BIN
public/Characters/Fox/fox_tail.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
public/Characters/Gnome/gnome_arm.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
public/Characters/Gnome/gnome_body.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
public/Characters/Gnome/gnome_head.png
Normal file
After Width: | Height: | Size: 864 B |
BIN
public/Characters/Gnome/gnome_leg.png
Normal file
After Width: | Height: | Size: 176 B |
BIN
public/Characters/Hedgehog/hedgehog_body.png
Normal file
After Width: | Height: | Size: 432 B |
BIN
public/Characters/Player1/female_arm.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
public/Characters/Player1/female_body.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
public/Characters/Player1/female_head.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
public/Characters/Player1/female_leg.png
Normal file
After Width: | Height: | Size: 191 B |
BIN
public/Characters/Player2/male_arm.png
Normal file
After Width: | Height: | Size: 200 B |
BIN
public/Characters/Player2/male_body.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
public/Characters/Player2/male_head.png
Normal file
After Width: | Height: | Size: 433 B |
BIN
public/Characters/Player2/male_leg.png
Normal file
After Width: | Height: | Size: 191 B |
BIN
public/Characters/Skeleton/skeleton_arm.png
Normal file
After Width: | Height: | Size: 241 B |
BIN
public/Characters/Skeleton/skeleton_body.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
public/Characters/Skeleton/skeleton_head.png
Normal file
After Width: | Height: | Size: 492 B |
BIN
public/Characters/Skeleton/skeleton_leg.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
public/Characters/Zombie/zombie_arm.png
Normal file
After Width: | Height: | Size: 305 B |
BIN
public/Characters/Zombie/zombie_body.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
public/Characters/Zombie/zombie_head.png
Normal file
After Width: | Height: | Size: 593 B |
BIN
public/Characters/Zombie/zombie_leg.png
Normal file
After Width: | Height: | Size: 191 B |
BIN
public/Items/apple.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
public/Items/arrow.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
public/Items/axe_bronze.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/axe_diamond.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/axe_gold.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/axe_iron.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/axe_silver.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/boat.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public/Items/bow.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/bowArrow.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
public/Items/bowl.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
public/Items/fish.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/fish_cooked.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
public/Items/fishingPole.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
public/Items/flail_bronze.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/Items/flail_diamond.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/Items/flail_gold.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/Items/flail_iron.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/Items/flail_silver.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
public/Items/hammer_bronze.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/hammer_diamond.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/hammer_gold.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/hammer_iron.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/hammer_silver.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/hoe_bronze.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/hoe_diamond.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/hoe_gold.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/hoe_iron.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/hoe_silver.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/minecart.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public/Items/ore_coal.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public/Items/ore_diamond.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public/Items/ore_emerald.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public/Items/ore_gold.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public/Items/ore_iron.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public/Items/ore_ironAlt.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public/Items/ore_ruby.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
public/Items/ore_silver.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public/Items/pick_bronze.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/pick_diamond.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/pick_gold.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/pick_iron.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/pick_silver.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/Items/seed.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/Items/shovel_bronze.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public/Items/shovel_diamond.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/shovel_gold.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/Items/shovel_iron.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public/Items/shovel_silver.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public/Items/stew.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
public/Items/sword_bronze.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/sword_diamond.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/sword_gold.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/sword_iron.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
public/Items/sword_silver.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/Items/wheat.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
public/Other/clouds.png
Normal file
After Width: | Height: | Size: 790 B |
BIN
public/Other/moon.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
public/Other/skybox_bottom.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
public/Other/skybox_side.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
public/Other/skybox_sideClouds.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
public/Other/skybox_sideHills.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
public/Other/skybox_top.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
public/Other/sun.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
public/Particles/square_blue.png
Normal file
After Width: | Height: | Size: 140 B |