Skip to content

Commit

Permalink
KNOB!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefKart committed Apr 3, 2023
1 parent e1e2028 commit 94751db
Show file tree
Hide file tree
Showing 24 changed files with 327 additions and 16 deletions.
52 changes: 52 additions & 0 deletions objects/faceSet.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Blender 3.5.0 MTL File: 'Escape Java.blend'
# www.blender.org

newmtl face0
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/face0.JPG

newmtl face1
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/face1.JPG

newmtl face2
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/face2.JPG

newmtl face3
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/face3.JPG

newmtl face4
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/face4.JPG
66 changes: 66 additions & 0 deletions objects/faceSet.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Blender 3.5.0
# www.blender.org
mtllib faceSet.mtl
g Plane.001_Mesh
v -1.306203 0.370159 -7.475909
v -1.014689 0.370159 -7.475909
v -1.306203 0.635601 -7.475909
v -1.014689 0.635601 -7.475909
v -1.596545 0.370159 -7.475909
v -1.305031 0.370159 -7.475909
v -1.596545 0.635601 -7.475909
v -1.305031 0.635601 -7.475909
v -1.886887 0.370159 -7.475909
v -1.595373 0.370159 -7.475909
v -1.886887 0.635601 -7.475909
v -1.595373 0.635601 -7.475909
v -2.177229 0.370159 -7.475909
v -1.885715 0.370159 -7.475909
v -2.177229 0.635601 -7.475909
v -1.885715 0.635601 -7.475909
v -2.467571 0.370159 -7.475909
v -2.176057 0.370159 -7.475909
v -2.467571 0.635601 -7.475909
v -2.176057 0.635601 -7.475909
vn -0.0000 -0.0000 1.0000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
s 0
g Plane.001_face0
usemtl face1
f 18/18/1 19/19/1 17/17/1
f 18/18/1 20/20/1 19/19/1
g Plane.001_face1
usemtl face2
f 14/14/1 15/15/1 13/13/1
f 14/14/1 16/16/1 15/15/1
g Plane.001_face2
usemtl face3
f 10/10/1 11/11/1 9/9/1
f 10/10/1 12/12/1 11/11/1
g Plane.001_face3
usemtl face4
f 6/6/1 7/7/1 5/5/1
f 6/6/1 8/8/1 7/7/1
g Plane.001_face4
usemtl face0
f 2/2/1 3/3/1 1/1/1
f 2/2/1 4/4/1 3/3/1
Binary file added objects/images/face0.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 objects/images/face1.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 objects/images/face2.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 objects/images/face3.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 objects/images/face4.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 objects/images/poster0.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 objects/images/poster1.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 objects/images/poster2.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 objects/images/poster3.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 objects/images/poster4.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 objects/images/poster5.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 objects/images/poster6.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 objects/images/poster7.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions objects/posterSet.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Blender 3.5.0 MTL File: 'Escape Java.blend'
# www.blender.org

newmtl poster0
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster0.JPG

newmtl poster1
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster1.JPG

newmtl poster2
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster2.JPG

newmtl poster3
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster3.JPG

newmtl poster4
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster4.JPG

newmtl poster5
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster5.JPG

newmtl poster6
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster6.JPG

newmtl poster7
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd images/poster7.JPG
103 changes: 103 additions & 0 deletions objects/posterSet.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Blender 3.5.0
# www.blender.org
mtllib posterSet.mtl
g Plane_Mesh
v 2.511725 -0.159597 -4.052546
v 2.511725 -0.159597 -3.652944
v 2.511725 0.360488 -4.052546
v 2.511725 0.360488 -3.652944
v 2.511725 -0.354108 -1.981073
v 2.511725 -0.354108 -1.606002
v 2.511725 0.146232 -1.981073
v 2.511725 0.146232 -1.606002
v 2.511725 -0.354214 -1.331190
v 2.511725 -0.354214 -0.960006
v 2.511725 0.134805 -1.331190
v 2.511725 0.134805 -0.960006
v 2.511725 -0.349721 -0.058316
v 2.511725 -0.349721 0.308580
v 2.511725 0.142856 -0.058316
v 2.511725 0.142856 0.308580
v 2.511725 -0.332805 2.878696
v 2.511725 -0.332805 3.263089
v 2.511725 0.008471 2.878696
v 2.511725 0.008471 3.263089
v 2.511725 -0.332805 3.392379
v 2.511725 -0.332805 3.776771
v 2.511725 0.008471 3.392379
v 2.511725 0.008471 3.776771
v 2.511725 -0.332805 3.905246
v 2.511725 -0.332805 4.289639
v 2.511725 0.008471 3.905246
v 2.511725 0.008471 4.289638
v 0.873595 -0.024339 6.782686
v 0.250154 -0.024339 6.782686
v 0.873595 0.404554 6.782686
v 0.250154 0.404554 6.782686
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
s 0
g Plane_poster0
usemtl poster1
f 2/2/1 3/3/1 1/1/1
f 2/2/1 4/4/1 3/3/1
g Plane_poster1
usemtl poster0
f 6/6/1 7/7/1 5/5/1
f 6/6/1 8/8/1 7/7/1
g Plane_poster2
usemtl poster3
f 10/10/1 11/11/1 9/9/1
f 10/10/1 12/12/1 11/11/1
g Plane_poster3
usemtl poster2
f 14/14/1 15/15/1 13/13/1
f 14/14/1 16/16/1 15/15/1
g Plane_poster4
usemtl poster5
f 18/18/1 19/19/1 17/17/1
f 18/18/1 20/20/1 19/19/1
g Plane_poster5
usemtl poster4
f 22/22/1 23/23/1 21/21/1
f 22/22/1 24/24/1 23/23/1
g Plane_poster6
usemtl poster7
f 25/25/1 28/28/1 27/27/1
f 25/25/1 26/26/1 28/28/1
g Plane_poster7
usemtl poster6
f 29/29/2 32/32/2 31/31/2
f 29/29/2 30/30/2 32/32/2
4 changes: 2 additions & 2 deletions objects/safe-door.mtl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
newmtl Material
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Kd 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
Expand Down Expand Up @@ -34,7 +34,7 @@ illum 2
newmtl Material.049
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.001031 0.001031 0.001031
Kd 0.000000 0.000000 0.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
Expand Down
6 changes: 3 additions & 3 deletions objects/safe-door.obj
Original file line number Diff line number Diff line change
Expand Up @@ -3656,7 +3656,7 @@ vt 0.000000 0.000000
vt 0.000000 0.000000
s 0
g safe.002_Material.048
usemtl Material.048
usemtl Material
f 2/4/1 23/31/1 9/15/1
f 12/20/2 3/5/2 8/13/2
f 11/19/3 17/25/3 6/9/3
Expand Down Expand Up @@ -3742,7 +3742,7 @@ f 106/114/41 105/113/41 112/120/41
f 105/113/42 103/111/42 109/117/42
f 20/28/3 98/106/3 94/102/3
g safe.002_Material.049
usemtl Material.049
usemtl Material.048
f 27/35/26 50/58/26 28/36/26
f 46/54/26 31/39/26 43/51/26
f 34/42/4 38/46/4 33/41/4
Expand Down Expand Up @@ -5833,7 +5833,7 @@ f 1204/1212/235 476/484/235 474/482/235
f 690/698/491 471/479/491 1205/1213/491
f 691/699/496 476/484/496 1204/1212/496
g safe.002_Material
usemtl Material
usemtl Material.049
f 1205/1213/232 471/479/232 472/480/232
f 472/480/235 471/479/235 1203/1211/235
f 471/479/235 1204/1212/235 1203/1211/235
2 changes: 1 addition & 1 deletion objects/safe.mtl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ illum 2
newmtl Material.049
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Kd 0.001031 0.001031 0.001031
Kd 0.000000 0.000000 0.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
Expand Down
4 changes: 2 additions & 2 deletions objects/safe.obj
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ vt 0.937155 0.934055
vt 0.937155 0.934055
s 0
g safe_Material.048
usemtl Material.048
usemtl Material.049
f 19/19/1 12/12/1 17/17/1
f 8/8/2 13/13/2 18/18/2
f 4/4/3 6/6/3 2/2/3
Expand Down Expand Up @@ -678,7 +678,7 @@ f 90/98/124 87/95/124 118/126/124
f 39/47/27 100/108/27 99/107/27
f 99/107/27 81/89/27 84/92/27
g safe_Material.049
usemtl Material.049
usemtl Material.048
f 50/58/4 54/62/4 49/57/4
f 53/61/1 55/63/1 54/62/1
f 51/59/27 56/64/27 52/60/27
Expand Down
6 changes: 3 additions & 3 deletions src/Controls.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,17 +365,17 @@ public void run() {
CreateObjects.door1Rot.getAlpha().pause();
escapeRoom.endGame(true);
}
}, 1200);
}, 900);
}
if (LockPuzzle.unlocked == false && name.equals("@doorKnob1")) {
if (!LockPuzzle.unlocked && name.equals("@doorKnob1")) {
CreateObjects.door1Rot.getAlpha().resume();
new Timer().schedule(new TimerTask() {
@Override
public void run() {
CreateObjects.door1Rot.getAlpha().pause();
Sounds.playSound(Sounds.wrongSound);
}
}, 1200);
}, 900);
}

if (name.length() > 10 && name.substring(1, 11).equals("chair-high"))
Expand Down
Loading

0 comments on commit 94751db

Please sign in to comment.