gaesup-world 0.9.60 → 0.9.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -9
- package/output.md +0 -327
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaesup-world",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,14 +18,20 @@
|
|
|
18
18
|
"test": "jest",
|
|
19
19
|
"publish": "yarn prepare && yarn npm publish --access public"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
21
|
+
"peerDependencies": {
|
|
22
22
|
"@dimforge/rapier3d": "^0.14.0",
|
|
23
23
|
"@dimforge/rapier3d-compat": "^0.14.0",
|
|
24
|
-
"@react-icons/all-files": "^4.1.0",
|
|
25
24
|
"@react-three/drei": "9.112.0",
|
|
26
25
|
"@react-three/fiber": "8.17.7",
|
|
27
|
-
"@react-three/postprocessing": "^2.16.2",
|
|
28
26
|
"@react-three/rapier": "^1.4.0",
|
|
27
|
+
"react": "^18.3.1",
|
|
28
|
+
"react-dom": "^18.3.1",
|
|
29
|
+
"three": "^0.168.0",
|
|
30
|
+
"three-stdlib": "^2.32.2"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@react-icons/all-files": "^4.1.0",
|
|
34
|
+
"@react-three/postprocessing": "^2.16.2",
|
|
29
35
|
"@types/lodash": "^4.17.7",
|
|
30
36
|
"@types/three": "^0.168.0",
|
|
31
37
|
"gh-pages": "^6.1.1",
|
|
@@ -34,13 +40,9 @@
|
|
|
34
40
|
"lodash": "^4.17.21",
|
|
35
41
|
"lru-cache": "^11.0.1",
|
|
36
42
|
"node-fetch": "3.3.2",
|
|
37
|
-
"react": "^18.3.1",
|
|
38
43
|
"react-device-detect": "^2.2.3",
|
|
39
|
-
"react-dom": "^18.3.1",
|
|
40
44
|
"react-icons": "^5.3.0",
|
|
41
|
-
"react-use-refs": "^1.0.1"
|
|
42
|
-
"three": "^0.168.0",
|
|
43
|
-
"three-stdlib": "^2.32.2"
|
|
45
|
+
"react-use-refs": "^1.0.1"
|
|
44
46
|
},
|
|
45
47
|
"devDependencies": {
|
|
46
48
|
"@types/react": "^18.3.5",
|
package/output.md
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
# 코드 추출 결과
|
|
2
|
-
|
|
3
|
-
## CSS TypeScript Files (.css.ts)
|
|
4
|
-
|
|
5
|
-
### gaesup/tools/gamepad/style.css.ts
|
|
6
|
-
|
|
7
|
-
```typescript
|
|
8
|
-
// style.css.ts
|
|
9
|
-
import { globalStyle, style } from "@vanilla-extract/css";
|
|
10
|
-
|
|
11
|
-
export const gamePad = style({
|
|
12
|
-
display: "grid",
|
|
13
|
-
alignItems: "center",
|
|
14
|
-
justifyContent: "center",
|
|
15
|
-
gridTemplateColumns: "repeat(3, 1fr)",
|
|
16
|
-
gridTemplateRows: "repeat(3, 1fr)",
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export const padButton = style({
|
|
20
|
-
display: "flex",
|
|
21
|
-
justifyContent: "center",
|
|
22
|
-
alignItems: "center",
|
|
23
|
-
position: "relative",
|
|
24
|
-
width: "5rem",
|
|
25
|
-
height: "5rem",
|
|
26
|
-
borderRadius: "50%",
|
|
27
|
-
fontSize: "1rem",
|
|
28
|
-
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
29
|
-
color: "white",
|
|
30
|
-
boxShadow: "0 0 0.5rem rgba(0, 0, 0, 0.5)",
|
|
31
|
-
cursor: "pointer",
|
|
32
|
-
transition: "all 0.3s ease-in",
|
|
33
|
-
margin: "0.5rem",
|
|
34
|
-
selectors: {
|
|
35
|
-
"&:hover": {
|
|
36
|
-
boxShadow: "0 0 1rem rgba(0, 0, 0, 0.5)",
|
|
37
|
-
},
|
|
38
|
-
"&::after": {
|
|
39
|
-
content: '""',
|
|
40
|
-
position: "absolute",
|
|
41
|
-
width: "4rem",
|
|
42
|
-
height: "4rem",
|
|
43
|
-
borderRadius: "50%",
|
|
44
|
-
background: "rgba(0, 0, 0, 0.2)",
|
|
45
|
-
zIndex: 100000,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export const isClicked = style({
|
|
51
|
-
background:
|
|
52
|
-
"radial-gradient(circle at center, rgba(245, 177, 97, 1) 0.4%, rgba(236, 54, 110, 1) 100.2%)",
|
|
53
|
-
boxShadow: "0 0 1rem rgba(245, 177, 97, 1)",
|
|
54
|
-
color: "black",
|
|
55
|
-
transition: "all 0.3s ease-in",
|
|
56
|
-
selectors: {
|
|
57
|
-
"&:hover": {
|
|
58
|
-
boxShadow: "0 0 2rem rgba(245, 177, 97, 1)",
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
// 사용자 선택 방지 글로벌 스타일
|
|
64
|
-
globalStyle(`${gamePad} *`, {
|
|
65
|
-
WebkitTouchCallout: "none",
|
|
66
|
-
WebkitUserSelect: "none",
|
|
67
|
-
MozUserSelect: "none",
|
|
68
|
-
msUserSelect: "none",
|
|
69
|
-
userSelect: "none",
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### gaesup/tools/teleport/style.css.ts
|
|
75
|
-
|
|
76
|
-
```typescript
|
|
77
|
-
import { style } from "@vanilla-extract/css";
|
|
78
|
-
|
|
79
|
-
export const teleport = style({
|
|
80
|
-
display: "flex",
|
|
81
|
-
justifyContent: "center",
|
|
82
|
-
alignItems: "center",
|
|
83
|
-
textAlign: "center",
|
|
84
|
-
margin: "1rem",
|
|
85
|
-
fontSize: "0.8rem",
|
|
86
|
-
borderRadius: "50%",
|
|
87
|
-
width: "5rem",
|
|
88
|
-
height: "5rem",
|
|
89
|
-
color: "white",
|
|
90
|
-
background: "rgba(0, 0, 0, 0.6)",
|
|
91
|
-
boxShadow: "0 0 5px 0 rgba(0, 0, 0, 0.6)",
|
|
92
|
-
transition: "all 0.2s ease-in",
|
|
93
|
-
cursor: "pointer",
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### gaesup/tools/minimap/style.css.ts
|
|
99
|
-
|
|
100
|
-
```typescript
|
|
101
|
-
// style.css.ts
|
|
102
|
-
import { globalFontFace, keyframes, style } from "@vanilla-extract/css";
|
|
103
|
-
|
|
104
|
-
// @font-face 정의
|
|
105
|
-
globalFontFace("Open Sans", {
|
|
106
|
-
src: 'url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap")',
|
|
107
|
-
fontWeight: "300",
|
|
108
|
-
fontStyle: "normal",
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
// 키프레임 정의
|
|
112
|
-
const pulseWhite = keyframes({
|
|
113
|
-
"0%": {
|
|
114
|
-
boxShadow: "0 0 0 0 rgba(255, 255, 255, 0.7)",
|
|
115
|
-
opacity: 1,
|
|
116
|
-
},
|
|
117
|
-
"70%": {
|
|
118
|
-
boxShadow: "0 0 0 10px rgba(255, 255, 255, 0)",
|
|
119
|
-
opacity: 0.7,
|
|
120
|
-
},
|
|
121
|
-
"100%": {
|
|
122
|
-
boxShadow: "0 0 0 0 rgba(255, 255, 255, 0)",
|
|
123
|
-
opacity: 1,
|
|
124
|
-
},
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
// 스타일 정의
|
|
128
|
-
export const minimap = style({
|
|
129
|
-
margin: "1rem",
|
|
130
|
-
borderRadius: "50%",
|
|
131
|
-
background: "rgba(0, 0, 0, 0.6)",
|
|
132
|
-
boxShadow: "0 0 10px rgba(0, 0, 0, 0.5)",
|
|
133
|
-
backdropFilter: "blur(1rem)",
|
|
134
|
-
WebkitBackdropFilter: "blur(1rem)",
|
|
135
|
-
width: "18rem",
|
|
136
|
-
height: "18rem",
|
|
137
|
-
border: "4px solid rgba(0, 0, 0, 0.5)",
|
|
138
|
-
overflow: "hidden",
|
|
139
|
-
"@media": {
|
|
140
|
-
"screen and (max-width: 1024px)": {
|
|
141
|
-
width: "17rem",
|
|
142
|
-
height: "17rem",
|
|
143
|
-
},
|
|
144
|
-
"screen and (max-width: 768px)": {
|
|
145
|
-
width: "16rem",
|
|
146
|
-
height: "16rem",
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
export const minimapOuter = style({
|
|
152
|
-
position: "absolute",
|
|
153
|
-
display: "flex",
|
|
154
|
-
alignItems: "center",
|
|
155
|
-
justifyContent: "center",
|
|
156
|
-
textAlign: "center",
|
|
157
|
-
width: "18rem",
|
|
158
|
-
height: "18rem",
|
|
159
|
-
overflow: "hidden",
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
export const minimapInner = style({
|
|
163
|
-
position: "relative",
|
|
164
|
-
display: "flex",
|
|
165
|
-
top: "50%",
|
|
166
|
-
left: "50%",
|
|
167
|
-
width: "18rem",
|
|
168
|
-
height: "18rem",
|
|
169
|
-
transformOrigin: "50% 50%",
|
|
170
|
-
borderRadius: "50%",
|
|
171
|
-
overflow: "hidden",
|
|
172
|
-
"@media": {
|
|
173
|
-
"screen and (max-width: 1024px)": {
|
|
174
|
-
width: "17rem",
|
|
175
|
-
height: "17rem",
|
|
176
|
-
},
|
|
177
|
-
"screen and (max-width: 768px)": {
|
|
178
|
-
width: "16rem",
|
|
179
|
-
height: "16rem",
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
export const avatar = style({
|
|
185
|
-
position: "absolute",
|
|
186
|
-
display: "flex",
|
|
187
|
-
alignItems: "center",
|
|
188
|
-
justifyContent: "center",
|
|
189
|
-
textAlign: "center",
|
|
190
|
-
top: "50%",
|
|
191
|
-
left: "50%",
|
|
192
|
-
transform: "translate(-50%, -50%)",
|
|
193
|
-
width: "2rem",
|
|
194
|
-
height: "2rem",
|
|
195
|
-
borderRadius: "50%",
|
|
196
|
-
background: "rgba(5, 222, 250, 1)",
|
|
197
|
-
boxShadow: "0 0 10px rgba(5, 222, 250, 1)",
|
|
198
|
-
border: "2px solid transparent",
|
|
199
|
-
objectFit: "cover",
|
|
200
|
-
zIndex: 100,
|
|
201
|
-
animation: `${pulseWhite} 2s infinite`,
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
export const plusMinus = style({
|
|
205
|
-
position: "relative",
|
|
206
|
-
display: "flex",
|
|
207
|
-
justifyContent: "center",
|
|
208
|
-
alignItems: "center",
|
|
209
|
-
width: "2rem",
|
|
210
|
-
height: "2rem",
|
|
211
|
-
borderRadius: "50%",
|
|
212
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
213
|
-
boxShadow: "0 0 5px rgba(0, 0, 0, 0.5)",
|
|
214
|
-
transition: "all 0.5s ease-in",
|
|
215
|
-
cursor: "pointer",
|
|
216
|
-
border: "2px solid transparent",
|
|
217
|
-
":hover": {
|
|
218
|
-
boxShadow: "0 0 10px rgba(0, 0, 0, 0.5)",
|
|
219
|
-
},
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
export const scale = style({
|
|
223
|
-
position: "absolute",
|
|
224
|
-
width: "13rem",
|
|
225
|
-
bottom: "-5rem",
|
|
226
|
-
left: "50%",
|
|
227
|
-
transform: "translateX(-50%)",
|
|
228
|
-
display: "flex",
|
|
229
|
-
alignItems: "center",
|
|
230
|
-
justifyContent: "space-between",
|
|
231
|
-
textAlign: "center",
|
|
232
|
-
fontSize: "1.2rem",
|
|
233
|
-
color: "white",
|
|
234
|
-
textShadow: "0 0 10px black",
|
|
235
|
-
padding: "0.5rem",
|
|
236
|
-
borderRadius: "0.5rem",
|
|
237
|
-
boxShadow: "0 0 10px black",
|
|
238
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
239
|
-
zIndex: 3,
|
|
240
|
-
WebkitBackdropFilter: "blur(2rem)",
|
|
241
|
-
backdropFilter: "blur(2rem)",
|
|
242
|
-
fontFamily: '"Open Sans", sans-serif',
|
|
243
|
-
fontWeight: 300,
|
|
244
|
-
});
|
|
245
|
-
|
|
246
|
-
export const text = style({
|
|
247
|
-
position: "relative",
|
|
248
|
-
fontSize: "1rem",
|
|
249
|
-
color: "black",
|
|
250
|
-
padding: "0.5rem",
|
|
251
|
-
borderRadius: "0.5rem",
|
|
252
|
-
background: "rgba(255, 255, 255, 0.5)",
|
|
253
|
-
boxShadow: "0 0 10px rgba(255, 255, 255, 0.5)",
|
|
254
|
-
zIndex: 3,
|
|
255
|
-
});
|
|
256
|
-
|
|
257
|
-
export const minimapObject = style({
|
|
258
|
-
position: "absolute",
|
|
259
|
-
display: "flex",
|
|
260
|
-
alignItems: "center",
|
|
261
|
-
justifyContent: "center",
|
|
262
|
-
textAlign: "center",
|
|
263
|
-
borderRadius: "2px",
|
|
264
|
-
background: "rgba(0, 0, 0, 0.3)",
|
|
265
|
-
});
|
|
266
|
-
|
|
267
|
-
export const imageObject = style({
|
|
268
|
-
position: "absolute",
|
|
269
|
-
display: "flex",
|
|
270
|
-
alignItems: "center",
|
|
271
|
-
justifyContent: "center",
|
|
272
|
-
textAlign: "center",
|
|
273
|
-
background: `
|
|
274
|
-
linear-gradient(to bottom, transparent 95%, rgba(0, 0, 0, 0.2) 20%) 0 0 / 100% 40px repeat-y,
|
|
275
|
-
linear-gradient(to right, transparent 38px, rgba(0, 0, 0, 0.2) 38px) 0 0 / 40px 100% repeat-x transparent
|
|
276
|
-
`,
|
|
277
|
-
});
|
|
278
|
-
|
|
279
|
-
export const textObject = style({
|
|
280
|
-
position: "absolute",
|
|
281
|
-
display: "flex",
|
|
282
|
-
alignItems: "center",
|
|
283
|
-
justifyContent: "center",
|
|
284
|
-
textAlign: "center",
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
const directionBase = style({
|
|
288
|
-
position: "absolute",
|
|
289
|
-
color: "white",
|
|
290
|
-
fontSize: "1.5rem",
|
|
291
|
-
zIndex: 2000,
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
export const east = style([
|
|
295
|
-
directionBase,
|
|
296
|
-
{
|
|
297
|
-
top: "50%",
|
|
298
|
-
right: 0,
|
|
299
|
-
},
|
|
300
|
-
]);
|
|
301
|
-
|
|
302
|
-
export const west = style([
|
|
303
|
-
directionBase,
|
|
304
|
-
{
|
|
305
|
-
top: "50%",
|
|
306
|
-
left: 0,
|
|
307
|
-
},
|
|
308
|
-
]);
|
|
309
|
-
|
|
310
|
-
export const south = style([
|
|
311
|
-
directionBase,
|
|
312
|
-
{
|
|
313
|
-
top: 0,
|
|
314
|
-
left: "50%",
|
|
315
|
-
},
|
|
316
|
-
]);
|
|
317
|
-
|
|
318
|
-
export const north = style([
|
|
319
|
-
directionBase,
|
|
320
|
-
{
|
|
321
|
-
bottom: 0,
|
|
322
|
-
left: "50%",
|
|
323
|
-
},
|
|
324
|
-
]);
|
|
325
|
-
|
|
326
|
-
```
|
|
327
|
-
|