Mothroach movement state (#24385)

Moth movement sprite
This commit is contained in:
MilenVolf
2024-01-22 05:01:42 +03:00
committed by GitHub
parent c77eb8691d
commit 6cb11e9f0a
5 changed files with 35 additions and 2 deletions

View File

@@ -443,8 +443,15 @@
- type: Sprite - type: Sprite
sprite: Mobs/Animals/mothroach.rsi sprite: Mobs/Animals/mothroach.rsi
layers: layers:
- map: ["enum.DamageStateVisualLayers.Base"] - map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: mothroach state: mothroach
- type: SpriteMovement
movementLayers:
movement:
state: mothroach-moving
noMovementLayers:
movement:
state: mothroach
- type: Item - type: Item
size: Normal size: Normal
- type: Clothing - type: Clothing

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

After

Width:  |  Height:  |  Size: 548 B

View File

@@ -1,7 +1,7 @@
{ {
"version": 1, "version": 1,
"license": "CC-BY-SA-3.0", "license": "CC-BY-SA-3.0",
"copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447", "copyright": "Taken from fulpstation at https://github.com/fulpstation/fulpstation/commit/edb232b692ec9f356ec554ea1971da552b9bc447. 'mothroach-moving' by MilenVolf",
"size": { "size": {
"x": 32, "x": 32,
"y": 32 "y": 32
@@ -14,6 +14,32 @@
"name": "mothroach", "name": "mothroach",
"directions": 4 "directions": 4
}, },
{
"name": "mothroach-moving",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{ {
"name": "mothroach_lazy", "name": "mothroach_lazy",
"directions": 4 "directions": 4

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB