-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
100 lines (95 loc) · 4.22 KB
/
index2.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
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
<!DOCTYPE html>
<html>
<style>
.gamePicture {
margin: 0 1em 1em 0em;
float: left;
}
.center {
margin-left: auto;
margin-right: auto;
}
.clearfix {
overflow: auto;
}
body{
font: 12px Helvetica, sans-serif;
max-width: 900px;
}
.projectTitle {
background: lightgreen;
padding:10px;
border-radius: 5px;
}
.floatRight {
float: right;
}
</style>
<title>Anand Devan (JavaScript projects)</title>
<body class="center">
<h4 class="projectTitle">Tile based jigsaw puzzle</h4>
<div class="center clearfix">
<a href="http://ananddevan.github.io/JigsawPuzzle/"> <img src="assets/images/jigsawPuzzle.jpg" alt="Tiled jigsaw puzzle" class="gamePicture"></a>
<p>Play game by rearranging the tiles to form the original image. You can even load your own image to create a custom puzzle.
<br/><br/><br>
<span><b>Libraries, technology</b>:</span> <br>
<font color="orange"> <b> HTML5 canvas, audio, JavaScript </b> </font> <br><br>
+ using html canvas drawImage to create tiles <br>
+ radomize tile order to create puzzle <br>
+ capture mouse, touch events to drag and place tiles <br>
+ add html audio to confirm tile placement <br>
+ use html input to load user images <br><br>
<span>Recorded demo: <a href="http://youtu.be/rpQZX4gtHyQ"> <img src='assets/images/YouTubeIcon.png' style=" vertical-align: middle;"></a></span><br>
<span> Software project details <a href = "jigsawPuzzle.html">here</a>
</p>
</div>
<div class="center clearfix">
<h4 class="projectTitle">Picture and sound game</h4>
<a href="http://ananddevan.github.io/PictureAndSounds/"><img src="assets/images/pictureAndSounds.jpg" alt="Dropping ball game" class="gamePicture"></a><br/>
<p>Click (or touch) a dropping object to play sound!<br>
<br/><br/><br>
<b>Libraries, technology</b>: <br>
<font color="orange"> <b> JavaScript, RequireJS, Box2D, HTML5 audio </b> </font><br><br>
+ use Box2D to simulate dropping of the object with gravity and impact<br>
+ create a ground with arcs so that impact is interesting<br>
+ use html audio to play sound for ball impact<br/>
+ use gimp to edit image and circular image with transparency<br/><br/>
<span>Recorded demo: <a href="https://youtu.be/-LTdD0cUFlI"> <img src='assets/images/YouTubeIcon.png' style=" vertical-align: middle;"></a></span>
</p>
</div>
<div class="center clearfix">
<h4 class="projectTitle">Ball projectile game</h4>
<a href="http://ananddevan.github.io/DroppingBall/"><img src="assets/images/droppingBall.jpg" alt="Dropping ball game" class="gamePicture"></a><br/>
<p>Play by dropping the ball from a height to hit target<br>
WebGL will not work on ipad, some andriod phones (desktop, chrome should work)
<br/><br/><br>
<b>Libraries, technology</b>: <br>
<font color="orange"> <b> webGL (three.js), custom physics engine, JavaScript </b> </font><br><br>
+ use three.js library to create game graphics <br>
+ developed a custom game engine to move ball accounting for sliding, contact, gravity<br>
+ use html audio to play sound for ball impact<br/><br/>
<span>Recorded demo: <a href="http://youtu.be/Jd-bKzGUCbg"> <img src='assets/images/YouTubeIcon.png' style=" vertical-align: middle;"></a></span>
</p>
</div>
<div class="center clearfix">
<h4 class="projectTitle">Balloon Burst</h4>
<a href="http://ananddevan.github.io/BalloonBurst/"><img src="assets/images/ballonBurst.jpg" alt="Balloon burst game" class="gamePicture"></a><br/>
<p>Play game by touching (or clicking on) balloon to burst<br>
<br/><br/><br>
<b>Libraries, technology</b>: <br>
<font color="orange"> <b> Box2D, HTML5 canvas, JavaScript </b> </font> <br> <br>
+ Used only canvas rendering to draw balloon <br>
+ Used Box2D physics engine for simulation, detecting and handling collisions <br>
+ use html audio to play sound for bursting balloon<br/><br/>
</p>
</div>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-52385733-1', 'auto');
ga('send', 'pageview');
</script>
</html>