dash working

This commit is contained in:
Clevertop 2024-08-11 12:27:38 +10:00
parent cce3f56caa
commit 4b4d97746c
8 changed files with 86 additions and 24 deletions

View file

@ -4,6 +4,7 @@ class_name Command_Block
@export var command_name : String
@export var command_sprite : Texture2D#:
@export var collider : CollisionShape3D
#set(new_texture):
#if command_sprite != null:
#command_sprite.changed.disconnect(on_texture_changed)

View file

@ -10,8 +10,9 @@ size = Vector3(0.5, 0.5, 0.5)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_mmdx7"]
points = PackedVector3Array(0.25, 0.25, 0.25, 0.25, 0.25, -0.25, -0.25, 0.25, 0.25, 0.25, -0.25, 0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25, 0.25, -0.25, -0.25, -0.25)
[node name="BaseCommand" type="RigidBody3D"]
[node name="BaseCommand" type="RigidBody3D" node_paths=PackedStringArray("collider")]
script = ExtResource("1_ra6j6")
collider = NodePath("CollisionShape3D3")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = ExtResource("1_ksvsv")

View file

@ -3,25 +3,26 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dx8s88cut5kka"
path="res://.godot/imported/haste_new.png-0ba91c6aeea5d133877fab9bb8289326.ctex"
path.s3tc="res://.godot/imported/haste_new.png-0ba91c6aeea5d133877fab9bb8289326.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Commands/haste_new.png"
dest_files=["res://.godot/imported/haste_new.png-0ba91c6aeea5d133877fab9bb8289326.ctex"]
dest_files=["res://.godot/imported/haste_new.png-0ba91c6aeea5d133877fab9bb8289326.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@ -31,4 +32,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0

View file

@ -3,25 +3,26 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cxljjpwweuds0"
path="res://.godot/imported/phase_shift_new.png-891079484e26e9cd007d0e1ac60bd618.ctex"
path.s3tc="res://.godot/imported/phase_shift_new.png-891079484e26e9cd007d0e1ac60bd618.s3tc.ctex"
metadata={
"vram_texture": false
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Commands/phase_shift_new.png"
dest_files=["res://.godot/imported/phase_shift_new.png-891079484e26e9cd007d0e1ac60bd618.ctex"]
dest_files=["res://.godot/imported/phase_shift_new.png-891079484e26e9cd007d0e1ac60bd618.s3tc.ctex"]
[params]
compress/mode=0
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
@ -31,4 +32,4 @@ process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
detect_3d/compress_to=0