oh maybe, oh baby, oh maybe, oh baby
Say whoaoh say whoa oh say whoa say yay yay
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b0g5wd4n3py3x"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c4x7n1r3ce1bc" path="res://Card/card.gd" id="1_yeifr"]
|
||||
[ext_resource type="Script" uid="uid://c4x7n1r3ce1bc" path="res://Card/BaseCard.gd" id="1_hoajl"]
|
||||
|
||||
[node name="Card" type="PanelContainer"]
|
||||
offset_right = 1.0
|
||||
script = ExtResource("1_yeifr")
|
||||
script = ExtResource("1_hoajl")
|
||||
|
||||
[node name="Behaviors" type="Node" parent="."]
|
||||
@@ -1,10 +0,0 @@
|
||||
extends AspectRatioContainer
|
||||
|
||||
func activate(world, activator, delta):
|
||||
dash_timer += delta;
|
||||
const easeFactor = 1;
|
||||
velocity = move_direction.normalize() * dash_speed * easeFactor;
|
||||
|
||||
if (dash_timer >= dash_end):
|
||||
dash_on_cooldown = true;
|
||||
dash_timer = 0;
|
||||
@@ -1 +0,0 @@
|
||||
uid://b1exu0m00vjaw
|
||||
@@ -1,17 +0,0 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://lqw1rkwsv8xt"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dg8euc6mh055m" path="res://Card/BaseCard.tscn" id="1_7jxl2"]
|
||||
[ext_resource type="Script" uid="uid://b1exu0m00vjaw" path="res://Card/card_inner.gd" id="2_2q6qc"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_7jxl2"]
|
||||
script/source = "extends Node2D
|
||||
|
||||
func _ready():
|
||||
$Card.activate()
|
||||
"
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
script = SubResource("GDScript_7jxl2")
|
||||
|
||||
[node name="Card" parent="." instance=ExtResource("1_7jxl2")]
|
||||
inner_script = ExtResource("2_2q6qc")
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ee0t3qv6gyam"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0g5wd4n3py3x" path="res://Card/base_bard.tscn" id="1_wwyou"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3piw7awjaxgj" path="res://Card/DashCardInject.tscn" id="2_2qs8v"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0g5wd4n3py3x" path="res://Card/BaseCard.tscn" id="1_wwyou"]
|
||||
[ext_resource type="PackedScene" uid="uid://b3piw7awjaxgj" path="res://CardInjects/DashCardInject.tscn" id="2_2qs8v"]
|
||||
|
||||
[node name="Card" instance=ExtResource("1_wwyou")]
|
||||
behaviors = [ExtResource("2_2qs8v")]
|
||||
@@ -1 +0,0 @@
|
||||
extends "res://Card/card.gd"
|
||||
@@ -1 +0,0 @@
|
||||
uid://dee7xa6183dwg
|
||||
@@ -3,7 +3,7 @@ extends Panel
|
||||
@export var player: NodePath
|
||||
@export var world: NodePath
|
||||
|
||||
var dash_card_scene = preload("res://Cards/dash_card.tscn")
|
||||
var dash_card_scene = preload("res://Cards/DashCard.tscn")
|
||||
var active_card_index = 0
|
||||
|
||||
func _ready() -> void:
|
||||
|
||||
Reference in New Issue
Block a user