upgrades project to godot 4.2.2

combat_refactor
Joey Pollack 1 year ago
parent f41441e347
commit eb7cbf97d9

@ -0,0 +1,3 @@
{
"godotTools.editorPath.godot4": "/home/joey/Programs/Godot_v4.2.2-stable_linux.x86_64"
}

@ -1,5 +1,7 @@
extends Action
class_name Attack
extends CombatAction
func _ready():
ActionName = "Attack"

@ -1,5 +1,6 @@
class_name CombatAction
extends Node
class_name Action
@export var ActionName = "NONE"

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://djn8b685adlak"]
[ext_resource type="Script" path="res://Systems/Combat/Actions/Scripts/action.gd" id="1_sqc33"]
[ext_resource type="Script" path="res://Systems/Combat/Actions/Scripts/combat_action.gd" id="1_sqc33"]
[node name="action" type="Node"]
script = ExtResource("1_sqc33")

@ -10,7 +10,6 @@ class_name Combatant
#@onready var ATB = $battle_menu/ATB
var is_init = false
var ATBCurrent = 0
signal atb_update(atb_current)

@ -2,11 +2,11 @@ extends Control
class_name MenuItem
@export var label = ""
@export var action: Action
@export var action: CombatAction
@onready var button = $Button
signal action_selected(action)
signal action_selected(action: CombatAction)
# Called when the node enters the scene tree for the first time.
func _ready():

File diff suppressed because one or more lines are too long

@ -12,10 +12,16 @@ config_version=5
config/name="RPG Prototype"
run/main_scene="res://Test Scenes/sandbox.tscn"
config/features=PackedStringArray("4.1", "Forward Plus")
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"
[display]
window/size/viewport_width=1280
window/size/viewport_height=720
[file_customization]
folder_colors={
"res://Systems/Combat/": "teal"
}

Loading…
Cancel
Save