Skip to content

Commit f3ba724

Browse files
committed
Minor changes (Crosshair size, Forward+ compatability)
1 parent bb777a4 commit f3ba724

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

Scenes and Scripts/Scenes/Player/Player.tscn

+2
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,6 @@ horizontal_alignment = 1
143143
vertical_alignment = 1
144144
script = ExtResource("11_0enap")
145145

146+
[node name="InventoryLayer" type="CanvasLayer" parent="Head/Camera3D"]
147+
146148
[connection signal="timeout" from="AutoSaveTimer" to="." method="_on_auto_save_timer_timeout"]

Scenes and Scripts/Scenes/Player/Player_SCRIPT.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func _unhandled_input(event):
7676
if event is InputEventMouseMotion:
7777
head.rotate_y(-event.relative.x * SENSITIVITY)
7878
camera.rotate_x(-event.relative.y * SENSITIVITY)
79-
camera.rotation.x = clamp(camera.rotation.x, deg_to_rad(-60), deg_to_rad(80))
79+
camera.rotation.x = clamp(camera.rotation.x, deg_to_rad(-90), deg_to_rad(90))
8080
########################################
8181

8282
########################################

Scenes and Scripts/Scenes/World/world.tscn

+5
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,16 @@ script = ExtResource("4_esxor")
107107
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -38.0394, 11.7072, 0.276182)
108108
script = ExtResource("4_esxor")
109109

110+
[node name="ActualSizeTree9" parent="." instance=ExtResource("16_mxrey")]
111+
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, -38.0394, 21.3739, 30.1994)
112+
script = ExtResource("4_esxor")
113+
110114
[node name="Player" parent="." groups=["Player"] instance=ExtResource("3_6yh0b")]
111115
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.35405, 24.7629, -47.0385)
112116
StartPOS = Vector3(-5.354, 24.763, -47.038)
113117
ResetPOS = Vector3(999, 999, 999)
114118
Fade_In_Time = 2.0
119+
crosshair_size = Vector2(5, 5)
115120

116121
[node name="Walls" type="Node" parent="."]
117122

player.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"GAME_STATE":"NORMAL","Health":100,"Position":{"x":-8.22047996520996,"y":24.3862400054932,"z":-36.8679962158203}}
1+
{"GAME_STATE":"NORMAL","Health":100,"Position":{"x":-42.8670539855957,"y":24.3861618041992,"z":22.7945346832275}}

project.godot

-5
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,3 @@ Pause={
7777
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null)
7878
]
7979
}
80-
81-
[rendering]
82-
83-
renderer/rendering_method="gl_compatibility"
84-
renderer/rendering_method.mobile="gl_compatibility"

0 commit comments

Comments
 (0)