Add sprite movement states (#22940)

* Add sprite movement states

Did it for borgs for reference for future implementations.

* Fix

* Fix prediction issue

* review
This commit is contained in:
metalgearsloth
2023-12-25 18:34:21 +11:00
committed by GitHub
parent 721a445bbd
commit 9a40cf81f5
13 changed files with 227 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -41,6 +41,10 @@
},
{
"name": "janitor",
"directions": 4
},
{
"name": "janitor_moving",
"directions": 4,
"delays": [
[
@@ -107,6 +111,32 @@
]
]
},
{
"name": "medical_moving",
"directions": 4,
"delays": [
[
0.1,
0.2,
0.1
],
[
0.1,
0.2,
0.1
],
[
0.1,
0.2,
0.1
],
[
0.1,
0.2,
0.1
]
]
},
{
"name": "medical_e",
"directions": 4
@@ -121,6 +151,10 @@
},
{
"name": "miner",
"directions": 4
},
{
"name": "miner_moving",
"directions": 4,
"delays": [
[

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB