-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.coffee
94 lines (76 loc) · 1.59 KB
/
app.coffee
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
# Import file "revo"
sketch = Framer.Importer.load("imported/revo@2x", scale: 1)
# Import file "revo"
ViewController = require 'ViewController'
view = new ViewController
initialView: song_page
share_panel2.opacity = 0
share_group.opacity = 0
#finger.opacity = 0.5
flashP1 = new Animation flash,
opacity: 0.9
backgroundColor: "#fff"
options:
time: 0.22
curve: Bezier.easeOut
flashP2 = flashP1.reverse()
song_page.onTap ->
flashP1.start()
flashP1.onAnimationEnd ->
flashP2.start()
share_panel_img.opacity=0
flashP2.onAnimationEnd ->
view.switchInstant(song_page2)
share_panel_img.animate
opacity: 1
y: 346
options:
time: 0.50
curve: Bezier.ease
share_panel_img.onAnimationEnd ->
share_panel_img.onTap ->
share_panel2.animate
y: 174
opacity: 1
options:
time: 0.40
curve: Bezier.ease
share_group.animate
y: 334
opacity: 1
options:
time: 0.40
curve: Bezier.ease
share_panel_img.animate
opacity: 0
y: 350
options:
time: 0.1
if share_panel_img.y < 365
tester.animate
x: 50
options:
time: 2
curve: Bezier.ease
tester.onAnimationEnd ->
if share_panel_img.y < 365
share_panel_img.animate
opacity: 0
view.fadeIn(song_page)
revo_bg_1.onTap ->
share_panel_img.animate
opacity: 0
view.fadeIn(song_page)
tester2.onTap ->
view.fadeIn(sketch.step3)
sketch.message_sent.opacity = 0
sketch.message_sent.opacity = 0
sketch.message_sent.y = 324
sketch.tester3.onTap ->
view.fadeIn(sketch.step4)
sketch.message_sent.animate
opacity: 1
y: 107
options:
time: 0.4
curve: Bezier.ease