initial commit

This commit is contained in:
derek
2024-07-15 11:05:03 -05:00
parent cdcc2db8e7
commit a18fb55e8d
3 changed files with 21 additions and 16 deletions

View File

@@ -1,17 +1,16 @@
extends Node3D
@export var player : Node
@export var gun_1 : Resource
@export var gun_2 : Resource
var held_guns = [gun_1,gun_2]
var current_weapon = null
var weapon_stack = []
var weapon_indicator = 0
var next_weapon : String
var weapon_list = {}
@export var weapon_resources : Array[weapon_resource]
# Called when the node enters the scene tree for the first time.
func _ready():
var instance_loop_times = held_guns.length()
while instance_loop_times > -1:
held_guns[instance_loop_times]
instance_loop_times -= 1
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):