Repository navigation
Expand file tree
/
Copy pathpotion.fluid.json
More file actions
129 lines (129 loc) · 3.82 KB
/
Copy pathpotion.fluid.json
File metadata and controls
129 lines (129 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"format": "pixelforge-fluid",
"version": 1,
"name": "potion",
"width": 32,
"height": 40,
"palette": {
"G": "#1f6a3f",
"g": "#3fa34d",
"l": "#8be36a",
"w": "#e6ffc9",
"k": "#1b1a26",
"h": "#8fa3b8",
"H": "#e4f0ff"
},
"symbols": {
"flask": [
"................................",
"................................",
"...........kkkkkkkkkk...........",
"...........hhhhhhhhhh...........",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"............kh....hk............",
"...........kkh....hkk...........",
".........kkHkh....hkhkk.........",
"........kkHH........hhkk........",
".......kHH............hhk.......",
"......kHH..............hhk......",
".....kkH................hkk.....",
".....kH..................hk.....",
"....kHH..................hhk....",
"....kH....................hk....",
"....kH....................hk....",
"....kH....................hk....",
"....kH....................hk....",
"....kh....................hk....",
"....kh....................hk....",
"....kh....................hk....",
"....kh....................hk....",
"....khh..................hhk....",
".....kh..................hk.....",
".....kkh................hkk.....",
"......khh..............hhk......",
".......khh............hhk.......",
"........kkhh........hhkk........",
".........kkhhhhhhhhhhkk.........",
"...........kkkkkkkkkk...........",
"................................"
]
},
"effects": {
"potion": {
"kind": "liquid",
"frames": 24,
"duration": 70,
"loop": true,
"seed": 8,
"walls": ["bottom"],
"gravity": [0, 0.25],
"flip": 0.8,
"drag": 0.04,
"obstacles": [{ "symbol": "flask", "x": 0, "y": 0 }],
"fill": [{ "at": [15.5, 26.5], "radius": 10.5, "x": 0, "y": 22, "w": 32, "h": 18 }],
"emitters": [
{
"name": "heat",
"at": [15.5, 34],
"area": [8, 2],
"rate": 1,
"density": 0,
"velocity": [0, -2],
"pulse": { "amplitude": 1, "period": 12 }
},
{ "name": "boil", "at": [15.5, 24], "area": [18, 4], "rate": 1, "density": 0, "noise": 0.2 },
{
"name": "bubbles",
"at": [15.5, 33.5],
"area": [14, 3],
"rate": 1,
"density": 0,
"sparks": {
"count": 0.3,
"life": [24, 32],
"colors": ["w"],
"size": 2,
"angle": 270,
"speed": 0.8,
"gravity": [0, -0.1],
"drag": 0.05,
"follow": 0.2,
"pop": true
}
},
{
"name": "rock-1",
"at": [10, 26],
"area": [6, 6],
"rate": 1,
"density": 0,
"velocity": [0.4, -0.2],
"pulse": { "amplitude": 1, "period": 24 }
},
{
"name": "rock-2",
"at": [21, 26],
"area": [6, 6],
"rate": 1,
"density": 0,
"velocity": [-0.4, -0.2],
"pulse": { "amplitude": 1, "period": 24, "phase": 180 }
}
],
"look": [
{ "field": "density", "colors": ["g"], "thresholds": [0.5], "dither": 0 },
{ "field": "depth", "colors": ["w", "l", "g", "G"], "thresholds": [1, 2, 4, 9], "dither": 0 }
],
"cleanup": { "strays": true }
}
}
}