Skip to content

Commit 34f947e

Browse files
initial stuff
1 parent b194fc8 commit 34f947e

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Visual Body Component
2+
3+
A.K.A building a sprite out of organs!
4+
5+
## Top-Level Overview
6+
7+
Most entities a player interacts with have a sprite, defined by its sprite component.
8+
9+
These sprites can either be coded directly in YAML or be dependent on other entities or components.
10+
11+
An entity with the VisualBodyComponent, designates that much of its sprite is determined by its organs.
12+
13+
For most species, this means that their "body sprite" is actually a bunch of sprites from their organs added to them as layers.
14+
15+
As with BodySystem, there is no distinction between "internal" and "external" organs for the purposes of sprite layering.
16+
17+
```admonish note "Example"
18+
- This entity is a human by technicality, but its organs are from a variety of different species.
19+
- These changes to its organs are reflected in its sprite.
20+
- Changes to the character's skin color through zombification are applied to its organs.
21+
```
22+
23+
![visualized body](../../../assets/images/medical/peak-performance.png)
24+
25+
## How does Visual Body Component work?
26+
27+
As with BodySystem, i

0 commit comments

Comments
 (0)