Push
This commit is contained in:
@@ -36,7 +36,7 @@ namespace GameJamDungeon
|
||||
AppLogic.Set(AppRepo);
|
||||
Menu.NewGame += OnNewGame;
|
||||
Menu.Quit += OnQuit;
|
||||
Input.MouseMode = Input.MouseModeEnum.Captured;
|
||||
Input.MouseMode = Input.MouseModeEnum.Visible;
|
||||
this.Provide();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
stretch = true
|
||||
|
||||
[node name="GameWindow" type="SubViewport" parent="SubViewportContainer"]
|
||||
unique_name_in_owner = true
|
||||
|
||||
@@ -26,12 +26,15 @@ shader_parameter/enable_recolor = false
|
||||
|
||||
[sub_resource type="Resource" id="Resource_qjdoa"]
|
||||
script = ExtResource("7_1lafu")
|
||||
Damage = 0
|
||||
ThrowableItemTags = []
|
||||
Name = "Test Item"
|
||||
Description = ""
|
||||
Texture = ExtResource("6_3qv3u")
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qkug6"]
|
||||
size = Vector3(0.371643, 0.289612, 0.286743)
|
||||
@@ -51,6 +54,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
stretch = true
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
||||
transparent_bg = true
|
||||
|
||||
@@ -400,6 +400,7 @@ public partial class InventoryMenu : Control, IInventoryMenu
|
||||
else if (currentItem is IUsableItem usableItem)
|
||||
{
|
||||
usableItem.Use();
|
||||
GameRepo.PlayerData.Inventory.Remove(usableItem);
|
||||
if (_currentIndex >= ItemSlots.Length - 1)
|
||||
_currentIndex--;
|
||||
if (_currentIndex <= 0)
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1385,19 +1385,19 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.46669, -1.76808, 9.35347)
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="EnemySpawn1" type="Marker3D" parent="EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.21313, -0.746347, -7.94688)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.21313, -1.98058, -7.94688)
|
||||
|
||||
[node name="EnemySpawn2" type="Marker3D" parent="EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.27566, -1.12848, -7.94688)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.27566, -2.36271, -7.94688)
|
||||
|
||||
[node name="EnemySpawn3" type="Marker3D" parent="EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.27566, -0.662478, 5.40586)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.27566, -1.89671, 5.40586)
|
||||
|
||||
[node name="EnemySpawn4" type="Marker3D" parent="EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.5927, -0.720595, 5.40586)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.5927, -1.95482, 5.40586)
|
||||
|
||||
[node name="EnemySpawn5" type="Marker3D" parent="EnemySpawnPoints"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.73702, -0.882075, 5.40586)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.73702, -2.1163, 5.40586)
|
||||
|
||||
[node name="ItemDatabase" parent="." instance=ExtResource("18_mnyg7")]
|
||||
unique_name_in_owner = true
|
||||
@@ -1423,7 +1423,7 @@ shape = SubResource("BoxShape3D_acrk2")
|
||||
|
||||
[node name="Minimap" type="MeshInstance3D" parent="Minimap Manager"]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.301735, -2.00828, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.301735, -2.09192, 0)
|
||||
visible = false
|
||||
layers = 2
|
||||
mesh = SubResource("PlaneMesh_24fob")
|
||||
|
||||
@@ -375,7 +375,7 @@ shape = SubResource("BoxShape3D_hs4wf")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00341564, 1.40507, 0.645068)
|
||||
cull_mask = 1048573
|
||||
cull_mask = 1048569
|
||||
fov = 45.0
|
||||
near = 0.001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user