starvia RPG art pack
====================

Original pixel art for RPG Quest in Godot: the village of Fernhollow, the Windy Path,
Echo Cave, its people and its creatures. Everything is drawn on a 16 pixel grid for a
320x180 game viewport. Free to use for anything (CC0, see LICENSE.txt).

Importing into Godot
--------------------
1. Drag the starvia-rpg-art folder into your project's FileSystem dock.
2. Project > Project Settings > Rendering > Textures > Default Texture Filter: Nearest.
   Without this the pixels look blurry.
3. Every PNG has a transparent background except the ground tiles.

Colours
-------
21 colours, the same in every file: navy outline 1d2b53, navy 34487c, blue 3a6fd8,
light blue 8db8f2, paper f6f2e6, yellow f6c445, cream fbe8a6, orange e9893a, red d9534a,
skin f3c29b and b9794f, brown 9a6236, dark brown 5e3b25, tan d8b47c, green 5ca04a,
dark green 387a3e, light green a3d16a, grey 9aa0ae, dark grey 5d6375, purple 7b5cc4,
glow teal 6fe3d2.

tiles/town_tiles.png (128x128, 8 columns x 8 rows of 16x16 tiles, no margins)
------------------------------------------------------------------------------
Coordinates are (column, row), the same numbers the TileSet editor shows.
Tiles marked * have a transparent background: put them on a Decor layer over grass.

Row 0  (0,0) grass  (1,0) grass with tufts  (2,0) grass with a daisy
       (3,0) tall grass (for encounters)  (4,0) flowers*  (5,0) bush*  (6,0) rock*  (7,0) sign*
Rows 1-3, columns 0-2: dirt path, a 3x3 block
       (0,1) top left   (1,1) top    (2,1) top right
       (0,2) left       (1,2) path   (2,2) right
       (0,3) bottom left (1,3) bottom (2,3) bottom right
Rows 1-3, columns 3-5: water with a sandy shore, the same 3x3 layout
       (4,2) is open water.
(6,1) fence, left to right*   (7,1) fence post* (use at the ends)
(6,2) fence, top to bottom*   (7,2) bridge, crossing left to right   (7,3) bridge, crossing top to bottom
(6,3) tree top*  (6,4) tree trunk*   Place the top directly above the trunk.
Rows 4-5, columns 0-2: roof. Row 4 is the ridge (left, middle, right), row 5 the eaves.
       Repeat the middle column for wider houses.
(3,4) wood wall   (3,5) wood wall with stone footing (bottom row of a house)
(4,4) stone wall  (4,5) stone wall with footing
(5,4) window in a wood wall   (5,5) window in a stone wall
(7,4) door in a wood wall     (7,5) door in a stone wall
(6,5) tree stump*
Row 6: inner corners, for where a path or the shore turns a corner.
       (0,6) to (3,6) path with grass in the top left, top right, bottom left, bottom right corner.
       (4,6) to (7,6) water, same order.
Row 7: (0,7) path with pebbles  (1,7) water with a lily pad  (2,7) crate*  (3,7) barrel*
       (4,7) garden soil  (5,7) more flowers*  (6,7) berry bush*  (7,7) cave entrance

Grass, path, water, walls, roof, tall grass and soil all tile seamlessly.
For y-sort, set the tree top's Y Sort Origin to 16 in the TileSet so it sorts with its trunk.
Walls, roof, fence, trees, rocks, bushes, water and the cave entrance are the tiles that
usually get collision.

tiles/cave_tiles.png (128x32, 8 columns x 2 rows of 16x16 tiles)
----------------------------------------------------------------
(0,0) cave floor  (1,0) cave floor, pebbles  (2,0) cave floor, cracks
(3,0) wall top (the dark mass of rock seen from above)  (4,0) wall face  (5,0) wall face with glints
(6,0) stairs up (the way out)  (7,0) darkness
(0,1) rocks*  (1,1) crystals*  (2,1) glowcap mushrooms*  (3,1) stone pedestal, empty*
(4,1) pedestal with the lantern stone*  (5,1) stalagmites*  (6,1) puddle on the floor  (7,1) torch*
A cave wall is a row of wall top tiles with wall face tiles below them.

characters/ (48x64 each: 3 columns x 4 rows of 16x16 frames)
------------------------------------------------------------
player.png  the player (brown hair, blue top, yellow backpack)
ada.png     Mayor Ada (top hat, purple coat, mayor's chain)
pip.png     Pip the shopkeeper (orange hair, apron)
tomas.png   Old Tomas the fisher (cap, white beard, yellow raincoat)
rina.png    Rina (smaller, ponytail with a yellow bobble)
juno.png    Juno (blonde, long red scarf)

Rows: 0 down, 1 left, 2 right, 3 up. Columns: 0 standing, 1 step A, 2 step B.
In SpriteFrames, use "Add frames from sprite sheet" with Horizontal 3, Vertical 4.
Frame numbers: down 0-2, left 3-5, right 6-8, up 9-11.
A walk animation reads well as step A, standing, step B, standing (for down: 1, 0, 2, 0) at 8 FPS.
The idle animation is the standing frame on its own.

creatures/ (battle sprites, 2 frames side by side: frame 0 rest, frame 1 breathing in)
------------------------------------------------------------------------------------
bramblit.png    64x32 (two 32x32 frames)  LEAF, a hedgehog of brambles
sproutling.png  64x32  LEAF, a seedling spirit
cinderpup.png   64x32  EMBER, a charcoal pup with ember ears and tail
emberwing.png   64x32  EMBER, a small ember bird
puddlefin.png   64x32  TIDE, a fish-newt (Rina's creature)
shellbub.png    64x32  TIDE, a soft blob in a spiral shell
grumblestone.png 128x64 (two 64x64 frames)  STONE, the mossy guardian of Echo Cave
puddlefin_overworld.png     16x16, Puddlefin on the map (Windy Path)
grumblestone_overworld.png  32x32, Grumblestone on the map (Echo Cave)

All creatures face left, towards the player's side. Set flip_h to face right.
For a single still picture (a CreatureData texture), use an AtlasTexture with region
x 0, y 0, w 32, h 32 (64 and 64 for Grumblestone). For the idle bob, use a Sprite2D with
Hframes 2, or an AnimatedSprite2D with both frames at 2 FPS.

items/ (16x16)
--------------
berry.png  glowcap.png  lantern_stone.png  coin.png

ui/
---
dialogue_panel.png  24x24, 9-slice with 8 px borders. Use a NinePatchRect with all four
                    Patch Margins set to 8, or a StyleBoxTexture with Texture Margins of 8.
arrow_down.png      8x8, "press to continue" marker
arrow_right.png     8x8, menu cursor
heart.png           8x8, full heart;  heart_empty.png 8x8, empty heart
coin_small.png      8x8, coin for the HUD
types.png           32x8, four 8x8 icons in the same order as the Type enum:
                    LEAF (x 0), EMBER (x 8), TIDE (x 16), STONE (x 24). Region x = type * 8.

effects/ (battle effects: horizontal strips of 32x32 frames, transparent background)
-----------------------------------------------------------------------------------
leaf_burst.png   160x32, 5 frames  leaves scattering (LEAF moves)
ember_burst.png  160x32, 5 frames  sparks and a flame puff (EMBER moves)
splash.png       160x32, 5 frames  a water splash with droplets (TIDE moves)
dust.png         160x32, 5 frames  a dust and pebble puff (STONE moves, and Nudge)
hit_spark.png    128x32, 4 frames  a small impact star, for any hit
sparkle.png      192x32, 6 frames  a friendly twinkle, for befriending
level_up.png     192x32, 6 frames  rising arrows and stars

On a Sprite2D, set Hframes to the frame count and animate the frame property.
Or in SpriteFrames, use "Add frames from sprite sheet" with Horizontal = the frame count
and Vertical 1. Play them at 12 FPS with Loop turned off, then hide the effect when the
animation_finished signal fires.

preview.png         Everything at 3x on one sheet, with a sample village scene.

Making changes
--------------
The art is drawn from data: ASCII pixel grids and simple shapes in GDScript.
The generator is kept with starvia's course files; run its build.sh with Godot 4.7.
