Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching Same Level of main and master branch for Responsive Game Area #1

Merged
merged 2 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions css/Duration Mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
}

#myCanvas {
object-fit: cover;
display: none;
}

Expand Down Expand Up @@ -97,6 +98,7 @@
}

#myCanvas {
object-fit: cover;
z-index: -1;
}

Expand Down
2 changes: 2 additions & 0 deletions css/Infinite Drive.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
}

#myCanvas {
object-fit: cover;
display: none;
}

Expand Down Expand Up @@ -96,6 +97,7 @@
}

#myCanvas {
object-fit: cover;
z-index: -1;
}

Expand Down
2 changes: 2 additions & 0 deletions css/Racing Mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
}

#myCanvas {
object-fit: cover;
display: none;
}

Expand Down Expand Up @@ -96,6 +97,7 @@
}

#myCanvas {
object-fit: cover;
z-index: -1;
}

Expand Down
1 change: 1 addition & 0 deletions js/Casual Mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ var interval = 0;

addEventListener("keydown", (event) => {

event.preventDefault();
if (event.keyCode !== 32) {
key = event.keyCode;
}
Expand Down
7 changes: 3 additions & 4 deletions js/Duration Mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ Till Learning Resize orr For Static Purpose Both Are 200
And Dynamicity Will Be Applied After Learning
Event Listner Of Body And Windows */



height = canvas.height = innerHeight - 5;
width = canvas.width = innerWidth - 0;
height = canvas.height = Math.max(750, innerHeight) * 0.99;
width = canvas.width = Math.max(1400, innerWidth);

var start, end, dist, track_len, med = [], common;

Expand Down Expand Up @@ -1083,6 +1081,7 @@ var interval = 0;

addEventListener("keydown", (event) => {

event.preventDefault();
if (event.keyCode !== 32) {
key = event.keyCode;
}
Expand Down
7 changes: 3 additions & 4 deletions js/Infinite Drive.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ Till Learning Resize orr For Static Purpose Both Are 200
And Dynamicity Will Be Applied After Learning
Event Listner Of Body And Windows */



height = canvas.height = innerHeight - 5;
width = canvas.width = innerWidth - 0;
height = canvas.height = Math.max(750, innerHeight) * 0.99;
width = canvas.width = Math.max(1400, innerWidth);

var start, end, dist, track_len, med = [], common;

Expand Down Expand Up @@ -918,6 +916,7 @@ var interval = 0;

addEventListener("keydown", (event) => {

event.preventDefault();
if (event.keyCode !== 32) {
key = event.keyCode;
}
Expand Down
7 changes: 3 additions & 4 deletions js/Racing Mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ Till Learning Resize orr For Static Purpose Both Are 200
And Dynamicity Will Be Applied After Learning
Event Listner Of Body And Windows */



height = canvas.height = innerHeight - 5;
width = canvas.width = innerWidth - 0;
height = canvas.height = Math.max(750, innerHeight) * 0.99;
width = canvas.width = Math.max(1400, innerWidth);

var start, end, dist, track_len, med = [], common;

Expand Down Expand Up @@ -1178,6 +1176,7 @@ var interval = 0;

addEventListener("keydown", (event) => {

event.preventDefault();
if (event.keyCode !== 32) {
key = event.keyCode;
}
Expand Down