Skip to content

Commit

Permalink
Merge branch 'master' into feat/Instruction-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Manideep711 authored Oct 4, 2023
2 parents be7ba1f + c2a148e commit 593f730
Show file tree
Hide file tree
Showing 159 changed files with 7,664 additions and 642 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
9 changes: 9 additions & 0 deletions 3D_maze_Game/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### 3D-Maze-Game
. A 3D Maze Game made using ThreeJs and WebGL
. Explore the 3D experience
. You can move and operate the fpp by directional arrows.
. Player should reach the destination using map.

![ss1](https://user-images.githubusercontent.com/64016811/119042625-b7ef0680-b9d5-11eb-896a-24f94212b896.jpg)

![ss2](https://user-images.githubusercontent.com/64016811/119042632-b9b8ca00-b9d5-11eb-95a1-6b42d962dff2.jpg)
24 changes: 24 additions & 0 deletions 3D_maze_Game/assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
body {
margin: 0;
}

#canvasContainer {
position: relative;
}

/* JOYPAD */
#joypad {
position: absolute;
bottom: 0;
right: 0;
width: 145px;
}

#joypad .top {
text-align: center;
width: inherit;
}

#joypad .bottom {
width: inherit;
}
Binary file added 3D_maze_Game/assets/images/html5-logo.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 3D_maze_Game/assets/images/pad/kbdown.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 3D_maze_Game/assets/images/pad/kbempty.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 3D_maze_Game/assets/images/pad/kbleft.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 3D_maze_Game/assets/images/pad/kbright.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 3D_maze_Game/assets/images/pad/kbup.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 3D_maze_Game/assets/images/preview-laby.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 3D_maze_Game/assets/images/webgl-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions 3D_maze_Game/assets/js/Demonixis.GameHelper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
var Demonixis = window.Demonixis || {};
Demonixis.GameHelper = Demonixis.GameHelper || {};

Demonixis.GameHelper.LevelHelper = function(start, end) {
this.current = start || 1;
this.next = this.current + 1;
this.count = end || 5;
this.isFinished = false;

this.getNext = function() {
if (this.next > this.count) {
this.current = 1;
this.next = 2;
this.isFinished = true;
} else {
this.current = this.next;
this.next++;
}

return this.current;
}
};

Demonixis.GameHelper.CameraHelper = function(camera) {
this.translation = 5;
this.rotation = 0.035;
this.origin = {
position: {
x: 0,
y: 0,
z: 0,
mapX: 0,
mapY: 0,
mapZ: 0
},
x: 0,
y: 0,
z: 0
};

this.camera = camera;
};
Loading

0 comments on commit 593f730

Please sign in to comment.