initial commit
This commit is contained in:
@@ -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):
|
||||
|
||||
11
scripts/weapon_resource.gd
Normal file
11
scripts/weapon_resource.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
Reference in New Issue
Block a user