More sprite movement states (#24237)

* More sprite movement states

* what
This commit is contained in:
themias
2024-01-18 18:48:27 -05:00
committed by GitHub
parent 3506e67e88
commit 0c944ed81e
34 changed files with 170 additions and 83 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -9,6 +9,10 @@
"states": [
{
"name": "crab",
"directions": 4
},
{
"name": "crab-moving",
"directions": 4,
"delays": [
[
@@ -34,12 +38,7 @@
]
},
{
"name": "dead",
"delays": [
[
1
]
]
"name": "dead"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -11,14 +11,40 @@
[
{
"name": "fox",
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
"directions": 4
},
{
"name": "fox_dead",
"directions": 1,
"delays": [[1]]
"name": "fox-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
],
[
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "fox_dead"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 862 B

View File

@@ -9,6 +9,10 @@
"states": [
{
"name": "frog",
"directions": 4
},
{
"name": "frog-moving",
"directions": 4,
"delays": [
[

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -12,6 +12,10 @@
},
{
"name": "hamster-0",
"directions": 4
},
{
"name": "hamster-moving-0",
"directions": 4,
"delays": [
[

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -9,6 +9,10 @@
"states": [
{
"name": "hunter",
"directions": 4
},
{
"name": "hunter-moving",
"directions": 4,
"delays": [
[
@@ -33,8 +37,12 @@
]
]
},
{
{
"name": "midwife",
"directions": 4
},
{
"name": "midwife-moving",
"directions": 4,
"delays": [
[
@@ -61,6 +69,10 @@
},
{
"name": "viper",
"directions": 4
},
{
"name": "viper-moving",
"directions": 4,
"delays": [
[
@@ -87,6 +99,10 @@
},
{
"name": "tarantula",
"directions": 4
},
{
"name": "tarantula-moving",
"directions": 4,
"delays": [
[
@@ -111,8 +127,12 @@
]
]
},
{
{
"name": "nurse",
"directions": 4
},
{
"name": "nurse-moving",
"directions": 4,
"delays": [
[
@@ -139,6 +159,10 @@
},
{
"name": "guard",
"directions": 4
},
{
"name": "guard-moving",
"directions": 4,
"delays": [
[

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB