New foam sprites (edge sprites) (#21308)

* New foam sprites (icon smoothing)

* changed to edge sprites for foam

* fix

* edges for metal foams

* fix
This commit is contained in:
brainfood1183
2023-10-29 14:13:41 +00:00
committed by GitHub
parent b5c21bcd00
commit 00523b5260
22 changed files with 167 additions and 23 deletions

View File

@@ -34,14 +34,25 @@
components:
- type: Sprite
drawdepth: Effects
color: "#ffffffcc" #Add some transparency
color: "#ffffffcc"
sprite: Effects/foam.rsi
state: foam
layers:
- state: foam
map: ["enum.FoamVisualLayers.Base"]
- map: [ "enum.EdgeLayer.South" ]
state: foam-south
- map: [ "enum.EdgeLayer.East" ]
state: foam-east
- map: [ "enum.EdgeLayer.North" ]
state: foam-north
- map: [ "enum.EdgeLayer.West" ]
state: foam-west
- type: AnimationPlayer
- type: Appearance
- type: SmoothEdge
- type: IconSmooth
key: walls
mode: NoSprite
- type: SmokeVisuals
- type: FoamVisuals
animationTime: 0.6
@@ -73,22 +84,39 @@
- type: StepTrigger
- type: entity
id: IronMetalFoam
name: iron metal foam
id: MetalFoam
name: metal foam
noSpawn: true
parent: Foam
components:
- type: Sprite
state: mfoam
drawdepth: Effects
color: "#ffffffcc"
sprite: Effects/foam.rsi
layers:
- state: mfoam
map: ["enum.FoamVisualLayers.Base"]
- state: m_foam
map: ["enum.FoamVisualLayers.Base"]
- map: [ "enum.EdgeLayer.South" ]
state: m_foam-south
- map: [ "enum.EdgeLayer.East" ]
state: m_foam-east
- map: [ "enum.EdgeLayer.North" ]
state: m_foam-north
- map: [ "enum.EdgeLayer.West" ]
state: m_foam-west
- type: Appearance
- type: SmokeVisuals
- type: FoamVisuals
animationTime: 0.6
animationState: mfoam-dissolve
animationState: m_foam-dissolve
- type: Smoke
- type: entity
id: IronMetalFoam
name: iron metal foam
noSpawn: true
parent: MetalFoam
components:
- type: SpawnOnDespawn
prototype: FoamedIronMetal
@@ -96,19 +124,8 @@
id: AluminiumMetalFoam
name: aluminium metal foam
noSpawn: true
parent: Foam
parent: MetalFoam
components:
- type: Sprite
state: mfoam
layers:
- state: mfoam
map: ["enum.FoamVisualLayers.Base"]
- type: Appearance
- type: SmokeVisuals
- type: FoamVisuals
animationTime: 0.6
animationState: mfoam-dissolve
- type: Smoke
- type: SpawnOnDespawn
prototype: FoamedAluminiumMetal
@@ -139,6 +156,11 @@
mask:
- WallLayer
- type: Occluder
- type: Appearance
- type: SmoothEdge
- type: IconSmooth
key: walls
mode: NoSprite
- type: Transform
anchored: true
- type: Airtight
@@ -161,8 +183,20 @@
parent: BaseFoamedMetal
components:
- type: Sprite
drawdepth: Effects
color: "#ffffffcc"
sprite: Effects/foam.rsi
state: ironfoam
layers:
- state: iron_foam
map: ["enum.FoamVisualLayers.Base"]
- map: [ "enum.EdgeLayer.South" ]
state: iron_foam-south
- map: [ "enum.EdgeLayer.East" ]
state: iron_foam-east
- map: [ "enum.EdgeLayer.North" ]
state: iron_foam-north
- map: [ "enum.EdgeLayer.West" ]
state: iron_foam-west
- type: entity
id: FoamedAluminiumMetal
@@ -171,5 +205,17 @@
parent: BaseFoamedMetal
components:
- type: Sprite
drawdepth: Effects
color: "#ffffffcc"
sprite: Effects/foam.rsi
state: metalfoam
layers:
- state: metal_foam
map: ["enum.FoamVisualLayers.Base"]
- map: [ "enum.EdgeLayer.South" ]
state: metal_foam-south
- map: [ "enum.EdgeLayer.East" ]
state: metal_foam-east
- map: [ "enum.EdgeLayer.North" ]
state: metal_foam-north
- map: [ "enum.EdgeLayer.West" ]
state: metal_foam-west

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -1 +1,99 @@
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi", "states": [{"name": "foam", "directions": 1}, {"name": "foam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}, {"name": "ironfoam", "directions": 1}, {"name": "metalfoam", "directions": 1}, {"name": "mfoam", "directions": 1}, {"name": "mfoam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}]}
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi, foam_directionals by brainfood1183 (github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "foam"
},
{
"name": "foam-west"
},
{
"name": "foam-east"
},
{
"name": "foam-north"
},
{
"name": "foam-south"
},
{
"name": "iron_foam"
},
{
"name": "iron_foam-north"
},
{
"name": "iron_foam-east"
},
{
"name": "iron_foam-south"
},
{
"name": "iron_foam-west"
},
{
"name": "metal_foam"
},
{
"name": "metal_foam-north"
},
{
"name": "metal_foam-east"
},
{
"name": "metal_foam-south"
},
{
"name": "metal_foam-west"
},
{
"name": "m_foam"
},
{
"name": "m_foam-north"
},
{
"name": "m_foam-east"
},
{
"name": "m_foam-south"
},
{
"name": "m_foam-west"
},
{
"name": "m_foam-dissolve",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "foam-dissolve",
"directions": 1,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB