Seems more reliable than the original method but not perfect. Added number based weapon switching
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=67 format=4 uid="uid://6agmt1hqlhww"]
|
||||
[gd_scene load_steps=68 format=4 uid="uid://6agmt1hqlhww"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/LevelManager.gd" id="1_sbpvn"]
|
||||
[ext_resource type="PackedScene" uid="uid://brl0bsqjl5dg3" path="res://assets/mac_10.tscn" id="2_fn4vb"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckjcv72jcojjh" path="res://assets/materials/91_laurel hedge PBR texture-seamless_hr/91_laurel hedge_DIFF (Custom).jpg" id="3_3ov8a"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5eclfg0cmmal" path="res://assets/revolver_1.tscn" id="3_7475s"]
|
||||
[ext_resource type="LightmapGIData" uid="uid://bwpvltmeo4cfl" path="res://assets/LevelBlockouts/blockout_2.lmbake" id="3_d2pxn"]
|
||||
[ext_resource type="Texture2D" uid="uid://d210plbmb7a2o" path="res://assets/materials/91_laurel hedge PBR texture-seamless_hr/91_laurel hedge_NORM (Custom).jpg" id="4_5u2rd"]
|
||||
[ext_resource type="PackedScene" uid="uid://20csd6dmwj4y" path="res://assets/jump_platform.tscn" id="4_j47q8"]
|
||||
@@ -641,6 +642,7 @@ player = NodePath("Player")
|
||||
money = 50
|
||||
start_health = 5
|
||||
gun_1 = ExtResource("2_fn4vb")
|
||||
gun_2 = ExtResource("3_7475s")
|
||||
health_drop_enabled = false
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("9_3usor")]
|
||||
|
||||
Reference in New Issue
Block a user