Skip to content

Commit 5c16486

Browse files
committed
Initial commit
1 parent 59359e1 commit 5c16486

File tree

1,191 files changed

+15027
-81737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,191 files changed

+15027
-81737
lines changed

dist/996e0c1b19b93e0bdcfb.js

+66
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/a708c87fa8616c003655.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*!**********************!*\
2+
!*** ./src/index.js ***!
3+
\**********************/
4+
5+
/*!**************************************************!*\
6+
!*** ./node_modules/cannon-es/dist/cannon-es.js ***!
7+
\**************************************************/
8+
9+
/*!**************************************************!*\
10+
!*** ./node_modules/three/build/three.module.js ***!
11+
\**************************************************/
12+
13+
/*!**************************************************************!*\
14+
!*** ./node_modules/three/examples/jsm/libs/stats.module.js ***!
15+
\**************************************************************/
16+
17+
/*!*************************************************************************!*\
18+
!*** ./node_modules/three/examples/jsm/controls/PointerLockControls.js ***!
19+
\*************************************************************************/

dist/bundle.js

+2-126
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle.js.LICENSE.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @license
3+
* Copyright 2010-2024 Three.js Authors
4+
* SPDX-License-Identifier: MIT
5+
*/

dist/index.html

+1-74
Original file line numberDiff line numberDiff line change
@@ -1,74 +1 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>3D Game Scene</title>
7-
<style>
8-
body { margin: 0; overflow: hidden; }
9-
canvas { display: block; }
10-
#menu {
11-
display: block; /* Show menu by default */
12-
position: fixed;
13-
top: 0;
14-
left: 0;
15-
width: 100%;
16-
height: 100%;
17-
background-color: rgba(0, 0, 0, 0.8);
18-
text-align: center;
19-
font-family: 'Arial', sans-serif;
20-
}
21-
#menu h1 {
22-
color: #fff;
23-
margin-top: 5%;
24-
font-size: 3rem;
25-
}
26-
#menu button {
27-
display: block;
28-
margin: 20px auto;
29-
padding: 10px 20px;
30-
font-size: 1.5rem;
31-
color: #fff;
32-
background-color: #007bff;
33-
border: none;
34-
cursor: pointer;
35-
border-radius: 5px;
36-
transition: background-color 0.3s;
37-
}
38-
#menu button:hover {
39-
background-color: #0056b3;
40-
}
41-
#menu p {
42-
color: #fff;
43-
font-size: 1.2rem;
44-
max-width: 600px;
45-
margin: 20px auto;
46-
text-align: left;
47-
line-height: 1.5;
48-
}
49-
#clues {
50-
background-color: rgba(0, 0, 0, 0.6);
51-
padding: 20px;
52-
border-radius: 10px;
53-
margin-top: 5%;
54-
}
55-
</style>
56-
<script defer src="/bundle.js"></script></head>
57-
<body>
58-
<div id="menu">
59-
<h1>Game Menu</h1>
60-
<button id="mainButton">Start Game</button>
61-
62-
<div id="clues">
63-
<h2 style="color: #fff;">Clues:</h2>
64-
<p><strong>Move:</strong> W, A, S, D</p>
65-
<p><strong>Jump:</strong> Spacebar</p>
66-
<p><strong>Sprint:</strong> Hold Left Control</p>
67-
<p><strong>Pick up object:</strong> Press E when near an object</p>
68-
<p><strong>Throw object:</strong> Press F while holding an object</p>
69-
</div>
70-
</div>
71-
72-
<script src="/96084f9aa9aecec66a2f.js" defer></script>
73-
</body>
74-
</html>
1+
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>3D Game Scene</title><style>body{margin:0;overflow:hidden}canvas{display:block}#menu{display:block;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.8);text-align:center;font-family:Arial,sans-serif}#menu h1{color:#fff;margin-top:5%;font-size:3rem}#menu button{display:block;margin:20px auto;padding:10px 20px;font-size:1.5rem;color:#fff;background-color:#007bff;border:none;cursor:pointer;border-radius:5px;transition:background-color .3s}#menu button:hover{background-color:#0056b3}#menu p{color:#fff;font-size:1.2rem;max-width:600px;margin:20px auto;text-align:left;line-height:1.5}#clues{background-color:rgba(0,0,0,.6);padding:20px;border-radius:10px;margin-top:5%}</style><script defer="defer" src="/bundle.js"></script></head><body><div id="menu"><h1>Game Menu</h1><button id="mainButton">Start Game</button><div id="clues"><h2 style="color:#fff">Clues:</h2><p><strong>Move:</strong> W, A, S, D</p><p><strong>Jump:</strong> Spacebar</p><p><strong>Sprint:</strong> Hold Left Control</p><p><strong>Pick up object:</strong> Press E when near an object</p><p><strong>Throw object:</strong> Press F while holding an object</p></div></div><script src="/3d9f578170c05612e55b.js" defer="defer"></script></body></html>

0 commit comments

Comments
 (0)