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

gh-pages #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/3D_Game.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions dist/996e0c1b19b93e0bdcfb.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/a708c87fa8616c003655.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dist/a708c87fa8616c003655.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*!**********************!*\
!*** ./src/index.js ***!
\**********************/

/*!**************************************************!*\
!*** ./node_modules/cannon-es/dist/cannon-es.js ***!
\**************************************************/

/*!**************************************************!*\
!*** ./node_modules/three/build/three.module.js ***!
\**************************************************/

/*!**************************************************************!*\
!*** ./node_modules/three/examples/jsm/libs/stats.module.js ***!
\**************************************************************/

/*!*************************************************************************!*\
!*** ./node_modules/three/examples/jsm/controls/PointerLockControls.js ***!
\*************************************************************************/
128 changes: 2 additions & 126 deletions dist/bundle.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions dist/bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* @license
* Copyright 2010-2024 Three.js Authors
* SPDX-License-Identifier: MIT
*/
75 changes: 1 addition & 74 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,74 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Game Scene</title>
<style>
body { margin: 0; overflow: hidden; }
canvas { display: block; }
#menu {
display: block; /* Show menu by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 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 0.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, 0.6);
padding: 20px;
border-radius: 10px;
margin-top: 5%;
}
</style>
<script 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="/96084f9aa9aecec66a2f.js" defer></script>
</body>
</html>
<!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>
Loading
Loading