-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
61 lines (60 loc) · 2.16 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Kelime Oyunu</title>
<meta name="description" content="Bir Kelime Oyunu">
<meta name="author" content="BaydoganMirac" >
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="data.json"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.6/lottie.min.js" integrity="sha512-BB7rb8ZBAxtdJdB7nwDijJH9NC+648xSzviK9Itm+5APTtdpgKz1+82bDl4znz/FBhd0R7pJ/gQtomnMpZYzRw==" crossorigin="anonymous"></script>
<script src="./game.js" type="text/javascript" defer></script>
</head>
<body>
<div style="position: relative; width: 100%;">
<div id='stars'></div>
<div id='stars2'></div>
<div id='stars3'></div>
</div>
<div class="container">
<div class="column">
<div class="text">
</div>
</div>
<div class="column">
<div class="navigation">
<i class="fas fa-hand-pointer draggable"></i>
<div class="randomLetter">
</div>
</div>
</div>
</div>
<div id="animation"></div>
<audio id="soundEffect">
<source src="victory.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
<script type="text/javascript">
var konfeti = bodymovin.loadAnimation({
container: document.getElementById('animation'),
path: 'animation.json',
renderer: 'svg/canvas/html',
loop: false,
autoplay: false,
rendererSettings: {
scaleMode: '100',
clearCanvas: false,
progressiveLoad: false,
hideOnTransparent: true
}
});
konfeti.addEventListener('complete', function(){
$('#animation').css("display", "none");
})
</script>
</body>
</html>