add first batch of house graphics
9
assets/overworld/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# Powercreep - Overworld Assets
|
||||||
|
|
||||||
|
These assets were designed by us.
|
||||||
|
|
||||||
|
## Design
|
||||||
|
|
||||||
|
- All assets (with few exceptions for those that are meant to be included in other assets) have a `viewBox` of `0,0 64,64`.
|
||||||
|
- We strech all assets to `512,512` so they can be displayed easily in a browser without having to zoom much.
|
||||||
|
- We use asset composition whenever possible, however note that images don't recursively include other images (at least when viewed in firefox), so whenever an assets that is meant to be included needs another asset, that other asset needs to be included first.
|
19
assets/overworld/house-bottom-door.svg
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="grass.svg"/>
|
||||||
|
<image x="0" y="0" width="64" height="64" href="house-bottom.svg"/>
|
||||||
|
|
||||||
|
<!-- path to the door -->
|
||||||
|
<path d="M8,64 v-8 h48 v8 z" stroke="none" fill="sandybrown"/>
|
||||||
|
<path d="M8,64 v-8 h48 v8"/>
|
||||||
|
|
||||||
|
<!-- the door -->
|
||||||
|
<path d="M24,48 v-32 h16 v32 z" fill="white"/>
|
||||||
|
<circle cx="27" cy="32" r="1" stroke="none" fill="black"/>
|
||||||
|
|
||||||
|
<!-- the steps -->
|
||||||
|
<path d="M16,48 H48 V56 H16 z" fill="#aaa"/>
|
||||||
|
<path d="M20,48 H44 V52 H20 z" fill="#888"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 649 B |
12
assets/overworld/house-bottom-left.svg
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="grass.svg"/>
|
||||||
|
|
||||||
|
<!-- fill the inner part of the house -->
|
||||||
|
<path d="M0,56 H48 V0 H0 z" stroke="none" fill="darkred"/>
|
||||||
|
|
||||||
|
<!-- border -->
|
||||||
|
<path d="M0,56 H48 V0"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 365 B |
9
assets/overworld/house-bottom-right.svg
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="grass.svg"/>
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="house-bottom-left.svg"
|
||||||
|
transform="translate(32,0) scale(-1,1) translate(-32,0)"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 351 B |
8
assets/overworld/house-bottom-window.svg
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="grass.svg"/>
|
||||||
|
<image x="0" y="0" width="64" height="64" href="house-bottom.svg"/>
|
||||||
|
<image x="16" y="8" width="32" height="32" href="window.svg"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 350 B |
12
assets/overworld/house-bottom.svg
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="grass.svg"/>
|
||||||
|
|
||||||
|
<!-- fill the inner part of the house -->
|
||||||
|
<path d="M0,56 H64 V0 H0 z" stroke="none" fill="darkred"/>
|
||||||
|
|
||||||
|
<!-- border -->
|
||||||
|
<path d="M0,56 H64"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 362 B |
0
assets/overworld/house-example.svg
Normal file
6
assets/overworld/house-mid-window.svg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
|
<image x="0" y="0" width="64" height="64" href="house-mid.svg"/>
|
||||||
|
<image x="16" y="8" width="32" height="32" href="window.svg"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 239 B |
5
assets/overworld/house-mid.svg
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
|
||||||
|
<rect x="0" y="0" width="64" height="64" stroke="none" fill="darkred"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 182 B |
8
assets/overworld/window.svg
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<svg version="1.1" width="512" height="512" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
stroke="black" stroke-width="1" fill="none">
|
||||||
|
|
||||||
|
<rect x="0.5" y="0.5" width="31" height="31" fill="white"/>
|
||||||
|
|
||||||
|
<path d="M0,16 H32 M16,0 V32"/>
|
||||||
|
|
||||||
|
</svg>
|
After Width: | Height: | Size: 250 B |