-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.ts
25 lines (25 loc) · 951 Bytes
/
main.ts
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
namespace SpriteKind {
export const Effect = SpriteKind.create()
export const TeleportEffect = SpriteKind.create()
}
let teleportEffectSprite: Sprite = null
function teleportEffect (sprite: Sprite) {
teleportEffectSprite = sprites.create(img`
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . 9 . . . . . . . . . . . . .
. . 9 . . . . . . . . 9 . . . .
. . 9 . . . . . . . . 9 . . . .
. . . . . . . 9 . . . 9 . . . .
. . . . . . . 9 . . . 9 . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 9 . .
. . . . . 9 . . . . . . . 9 . .
. . . . . 9 . . . . . . . 9 . .
. . . . . 9 . . . . . . . . . .
. . . . . . . . . . . . . . . .
`, SpriteKind.TeleportEffect)
}