Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
aa9058d
Add files via upload
NourAmin Jan 3, 2018
5b2d559
Merge pull request #5 from Omran007/NourAmin-patch-1
NourAmin Jan 3, 2018
9ff9f2e
new Implimentation
mohamedgomran Jan 3, 2018
71b6cbe
New Structure
mohamedgomran Jan 4, 2018
c3f9b5c
New folder
mohamedgomran Jan 4, 2018
3b1e7c7
Jumping Pengiun
mohamedgomran Jan 4, 2018
93d6f0f
Jumping Pengiun
mohamedgomran Jan 4, 2018
ce8144c
Merge branch 'omran' of https://github.com/Omran007/HurryUP-JS-Game i…
mohamedgomran Jan 4, 2018
ce54ed3
Merge branch 'omran' of https://github.com/Omran007/HurryUP-JS-Game i…
mohamedgomran Jan 4, 2018
0a1e3cb
Fully independent
mohamedgomran Jan 5, 2018
a795724
Merge branch 'omran' of https://github.com/mohamedgomran/HurryUP-JS-G…
mohamedgomran Jan 5, 2018
12bc446
initializing objects inside classes
mohamedgomran Jan 5, 2018
f3c8198
Add files via upload
Mohamed-Hasan Jan 5, 2018
1a714e5
Add files via upload
Mohamed-Hasan Jan 5, 2018
276bd08
Random first try
mohamedgomran Jan 5, 2018
671c328
Add files via upload
Mohamed-Hasan Jan 5, 2018
ccfc5ea
With collision detection
mohamedgomran Jan 5, 2018
b10e95a
With collision detection
mohamedgomran Jan 5, 2018
fffe9c4
header added to main page
Mohamed-Hasan Jan 6, 2018
1097a97
css file updated
Mohamed-Hasan Jan 6, 2018
cc8a990
Random Obs
mohamedgomran Jan 7, 2018
f3cc380
Random Obs
mohamedgomran Jan 7, 2018
2e2f3f9
Coins work now
mohamedgomran Jan 7, 2018
7c25c79
commit from Centos
Mohamed-Hasan Jan 7, 2018
be74d3b
Coins work now
mohamedgomran Jan 7, 2018
bc6bf54
Conins
mohamedgomran Jan 7, 2018
533b448
version 1
Mohamed-Hasan Jan 7, 2018
6cc890e
Header border
mohamedgomran Jan 7, 2018
fd4af53
Erasing
mohamedgomran Jan 7, 2018
57e13e8
Erasing
mohamedgomran Jan 7, 2018
87250b0
Merge
mohamedgomran Jan 7, 2018
cf0966a
Demo release
mohamedgomran Jan 7, 2018
c19a394
Merging
mohamedgomran Jan 7, 2018
398dd2e
no reload
Jan 8, 2018
96d3f7d
no reload
mohamedgomran Jan 8, 2018
b212bd8
footer
mohamedgomran Jan 9, 2018
90dbe55
footer
mohamedgomran Jan 9, 2018
bae0669
footer
mohamedgomran Jan 9, 2018
ea40180
Static Methods creatrandom()
mohamedgomran Jan 9, 2018
5848cdb
Static method change
mohamedgomran Jan 9, 2018
badac52
Levels
mohamedgomran Jan 12, 2018
1c76b15
Levels
mohamedgomran Jan 13, 2018
b2670dd
Merge with hassan
mohamedgomran Jan 13, 2018
61e3a7f
adding
mohamedgomran Jan 13, 2018
cd3b18f
Jump
mohamedgomran Jan 13, 2018
8f1ead6
last edit
Mohamed-Hasan Jan 13, 2018
2c97094
Charcter & Badges
mohamedgomran Jan 13, 2018
acc78c3
merge
mohamedgomran Jan 13, 2018
fd2c159
merge
mohamedgomran Jan 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed 2d-cartoon-cat-e1428130477580.png
Binary file not shown.
Binary file removed 3668359089fc1ec6e1757438563f7369.png
Binary file not shown.
Binary file removed 500px-Tux.svg.png
Binary file not shown.
Binary file removed Apatosaurus.png
Binary file not shown.
72,121 changes: 0 additions & 72,121 deletions Different shapes wooden banners vector 01.eps

This file was deleted.

45,601 changes: 0 additions & 45,601 deletions Hand drawn red heart 02 vector graphics.eps

This file was deleted.

674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

Binary file removed a60db654711a66a5d135202d9fc788f4.zip
Binary file not shown.
Binary file removed badges - Copy.png
Binary file not shown.
Binary file removed badges.png
Binary file not shown.
Binary file removed christmas_tree_gif_by_bennythebeast-d5o81hy.gif
Binary file not shown.
31 changes: 31 additions & 0 deletions cloud.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/* Container properties */
#scene {
width: 400px;
height: 300px;
position: relative;
overflow: hidden;
background: #0099ff;
/* general syntax */
background: linear-gradient(top, #0099ff, #00ccff);
}

/* Image Properties */

.cloud {
position: absolute;
animation: cloudDrift linear infinite;
}

.lrg {
/*width 130px*/
top: 40px;
left: 400px;
animation-duration: 4s;
}


/* Clouds drifting */
@keyframes cloudDrift {
from { transform: translateX(0px); }
to { transform: translateX(540px); }
}
14 changes: 14 additions & 0 deletions cloud.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Keyframe Animation Demo</title>
<link rel="stylesheet" type="text/css" href="cloud.css">
</head>
<body>
<div id="scene">

<img class="cloud lrg" src="ground.png" width="400" height="67"/>
</div>
</body>
</html>
157 changes: 157 additions & 0 deletions css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@

button#ChooseCharacter {
width:300px;
background: #673AB7;
padding: 8px 14px 10px;
border:1px solid #3e9cbf;
cursor:pointer;
font-size:1.5em;
font-family:Oswald, sans-serif;
letter-spacing:.1em;
text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3);
color: #fff;
box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
border-radius: 10px;
align-items: center;
}
button#Play {
width:300px;
background: #673AB7;
padding: 8px 14px 10px;
border:1px solid #3e9cbf;
cursor:pointer;
font-size:1.5em;
font-family:Oswald, sans-serif;
letter-spacing:.1em;
text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3);
color: #fff;
box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
border-radius: 10px;
}
button#start {
width:300px;
background: #673AB7;
padding: 8px 14px 10px;
border:1px solid #3e9cbf;
cursor:pointer;
font-size:1.5em;
font-family:Oswald, sans-serif;
letter-spacing:.1em;
text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3);
color: #fff;
box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
border-radius: 10px;
}

body#firstpage {
background-image: url('5.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}

body#secondpage {
background-image: url('5.jpeg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
body#thirdpage {
background-image: url('4.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: inherit;
background-size: cover;
}
p.hurry {
color: #673AB7;
font-size: 80px;
font-family:
}
p.name {
color: #673AB7;
font-size: 100px;
font-family: "Gill Sans", sans-serif;
direction: ltr;
}
#pname{
width: 60%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 5px solid #e74c3c;
border-radius: 4px;
box-sizing: border-box;
text-align: center;
}
@import url(https://fonts.googleapis.com/css?family=Mr+Dafoe);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:900);
@import url(https://fonts.googleapis.com/css?family=Righteous);
@import url(https://fonts.googleapis.com/css?family=Candal);

@import url(https://fonts.googleapis.com/css?family=Permanent+Marker);

@import url(https://fonts.googleapis.com/css?family=Monoton);


/*body { background: #000; color: #fff; position: relative;}*/

.hurry {
position: relative;
background-image: -webkit-linear-gradient(#378DBC 0%, #B6E8F1 46%, #ffffff 50%, #32120E 54%, #FFC488 58%, #582C11 90%, #EC9B4E 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 4px #f5f5f5;
font-size: 150px;
font-family: 'Titillium Web', sans-serif;
font-style: italic;
margin: 0;
line-height: 1;
text-align: center;
}

.hurry:before {
content: 'Hurry';
position: absolute;
top: 0px;
z-index: 10;
background-image: -webkit-linear-gradient(-40deg, transparent 0%, transparent 40%, #fff 50%, transparent 60%, transparent 100%);
background-position:-680px 0;
-webkit-background-clip: text;
-webkit-text-stroke: 0;
padding-right: 300px;
-webkit-animation-name: chrome_effect;
-webkit-animation-duration: 6s;
-webkit-animation-delay: 2s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;

}

.up {
position: absolute;
margin: 0px;
font-family: 'Mr Dafoe', cursive;
font-size: 100px;
color:#18FFFF;
transform:rotate(-15deg);
-ms-transform:rotate(-15deg); /* IE 9 */
-webkit-transform:rotate(-15deg); /* Safari and Chrome */
margin-left: 300px;
margin-top: -100px;
-webkit-text-stroke: 1px #311B92);
-webkit-filter: drop-shadow(2px 2px 20px #311B92);
z-index: 20;
text-align: center;
}

.windows .up {
-webkit-text-stroke: 4px #18FFFF;
}
@-webkit-keyframes chrome_effect {
0% {background-position:-680px 0;}
10% {background-position:420px 0;}
100% {background-position:420px 0;}
}
17 changes: 0 additions & 17 deletions d.html

This file was deleted.

Binary file removed different_shapes_wooden_banners_vector_580484.zip
Binary file not shown.
Binary file removed hand_drawn_red_heart_vector_graphics_579312.zip
Binary file not shown.
Binary file removed iceland-1904295.jpg
Binary file not shown.
Binary file removed images.png
Binary file not shown.
Binary file added imgs/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/badge1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/brokenHeart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/cactus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/cat.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/coin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/coinMaster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/coins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/gameMaster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/gameOver.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/gameOver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added imgs/heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/lives.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/newRecord.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/ninja.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added imgs/pause.png
Binary file added imgs/peng.gif
Binary file added imgs/penguin.png
Binary file removed mountains-482689.jpg
Diff not rendered.
132 changes: 132 additions & 0 deletions newbegin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
#main{
width: 750px;
height: 500px;
position: relative;
margin: auto;
overflow: hidden;
size: fixed;
box-shadow: 13px 9px 76px 5px rgba(0,0,0,0.43);
border-radius: 24px 24px 24px 24px;

}

#main2{
width: 750px;
height: 500px;
position: relative;
margin: auto;
overflow: hidden;
size: fixed;
box-shadow: 13px 9px 76px 5px rgba(0,0,0,0.43);
border-radius: 24px 24px 24px 24px;

}
.footer{
position: absolute;
z-index: -1;

}



.obs{
position: absolute;
z-index: -2;
}

.imgindiv{
width: 100%;
height: 100%;
}

.header{

background-color: #16a085;
height: 10%;
position: absolute;
width: 100%;
box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
border-radius: 0px;
font-size: 15px;
font-family:Oswald, sans-serif;
color: white;
}

.fixedCells{
text-align: right;
width: 10%;
}
.changingCells{
text-align: left;
width:10%;
}

.headerImages{
width: 35px;
height: 35px;
}

.badges{
width: 35px;
height: 35px;
opacity: 0.4;
}
@keyframes example {
from{width: 300px; height: 50px; }
to{width: 300px; height: 400px;}
/*30%{width: 100px; height: 50px; }
60%{width: 200px; height: 100px; }
100%{width: 300px; height: 150px; }*/
}
#messageDiv{
position: relative;
margin: auto;
border-radius: 47px 47px 47px 47px;
border: 6px solid #c90e46;
box-shadow: 13px 15px 29px 7px rgba(87,87,87,1);
text-align:center;
font-size: 20px;
font-family: cursive;
visibility: hidden;
width: 300px;
height: 400px;
padding: 10px;
margin-top: -22em;
/*margin-left: 770px;*/
z-index: 10;
/*overflow-y: scroll;*/
}

#messageImg{
position: relative;
}

.messageAnimation{
animation-name: example;
animation-duration: 1s;
}

.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 25px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
cursor: pointer;
}

.button {
background-color:#f44336 ;
color: white;
border-radius: 20px;
}
.button:hover {
background-color: white;
color: #f44336;
}
40 changes: 40 additions & 0 deletions newbegin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Hurry Up</title>
</head>
<body>
<div id="main">
<div class="header"></div>
<table class="header">
<tr>
<th class="fixedCells">Player:</th>
<th id="player" class="changingCells"></th>
<th class="fixedCells">level:</th>
<th id="level" class="changingCells">1</th>
<th class="fixedCells" colspan="2" > <th><img src="imgs/heart.png" class="headerImages"></th> <th>X</th> </th>
<th id="lives" class="changingCells">3</th>
<th class="fixedCells" colspan="2" > <th><img src="imgs/coins.png" class="headerImages"></th> <th>X</th> </th>
<th id="coins" class="changingCells">0</th>
<th class="fixedCells">Score:</th>
<th id="score" class="changingCells">0</th>
<th class="fixedCells"><img id="highScoreBadge" src="imgs/badge1.png" class="badges"></th>
<th><img id="coinMaster" src="imgs/coinMaster.png" class="badges"></th>
<th><img id="gameMaster" src="imgs/gameMaster.png" class="badges"></th>
</tr>
</table>
</div>
<div id="messageDiv">
<img id="messageImg" src="" style="height:150px; width:200px; border-radius: 50px;">
</br>
<p id="message"></p>
<h6>press Space to continue</h6>
<!-- <button id="continue">continue</button> -->
</div>

<script type="text/javascript" src="newbegin.js"></script>
<link rel="stylesheet" type="text/css" href="newbegin.css">

</body>
</html>
Loading