mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-11 20:06:14 +01:00
Added Coal Animation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://md2ofbviios3"]
|
||||
[gd_scene load_steps=20 format=3 uid="uid://md2ofbviios3"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Train.gd" id="1_0x664"]
|
||||
[ext_resource type="PackedScene" uid="uid://vwjd5od63jgh" path="res://Nodes/Player.tscn" id="3_in6up"]
|
||||
@@ -7,11 +7,13 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dsphpbpt27t1i" path="res://a3TCqhg.png" id="4_c3xfc"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1m2jplf8u0h0" path="res://Nodes/walking_ball1.png" id="5_rgwud"]
|
||||
[ext_resource type="PackedScene" uid="uid://byo1m0n20yl45" path="res://Nodes/cannon.tscn" id="5_vgxqe"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5hai0ap763xu" path="res://walking_coal1.png" id="6_hoc8x"]
|
||||
[ext_resource type="Texture2D" uid="uid://d35iaj0nq122a" path="res://walking_powder1.png" id="6_kfxv2"]
|
||||
[ext_resource type="Texture2D" uid="uid://eg0k8esm2scp" path="res://p5lFkJY.png" id="6_m0hj7"]
|
||||
[ext_resource type="Texture2D" uid="uid://du7d6fk4dabd7" path="res://cVOQuID.png" id="7_d8go0"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctbxpx6p36bdi" path="res://walking_ball2.png" id="8_0u1e2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckdlv6b7okseq" path="res://walking_powder2.png" id="10_a137a"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5ioch3ad8y6r" path="res://walking_coal2.png" id="11_1jgcf"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_okaqh"]
|
||||
size = Vector3(1, 3.77669, 24)
|
||||
@@ -37,6 +39,11 @@ animations = [{
|
||||
"name": &"idle_ball",
|
||||
"speed": 1.0
|
||||
}, {
|
||||
"frames": [ExtResource("6_hoc8x")],
|
||||
"loop": true,
|
||||
"name": &"idle_coal",
|
||||
"speed": 1.0
|
||||
}, {
|
||||
"frames": [ExtResource("6_kfxv2")],
|
||||
"loop": true,
|
||||
"name": &"idle_powder",
|
||||
@@ -52,6 +59,11 @@ animations = [{
|
||||
"name": &"walking_ball",
|
||||
"speed": 2.0
|
||||
}, {
|
||||
"frames": [ExtResource("6_hoc8x"), ExtResource("11_1jgcf")],
|
||||
"loop": true,
|
||||
"name": &"walking_coal",
|
||||
"speed": 2.0
|
||||
}, {
|
||||
"frames": [ExtResource("6_kfxv2"), ExtResource("10_a137a")],
|
||||
"loop": true,
|
||||
"name": &"walking_powder",
|
||||
@@ -98,7 +110,7 @@ transform = Transform3D(1, 0, -3.55271e-15, 0, 1, 0, 3.55271e-15, 0, 1, 3.19744e
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="CharacterBody3D"]
|
||||
transform = Transform3D(0.3, 0, 0, 0, -1.31134e-08, 0.3, 0, -0.3, -1.31134e-08, 0, -2, 0)
|
||||
frames = SubResource("SpriteFrames_6p0y6")
|
||||
animation = &"walking_powder"
|
||||
animation = &"walking_coal"
|
||||
speed_scale = 2.0
|
||||
playing = true
|
||||
|
||||
|
||||
@@ -87,3 +87,6 @@ func fill_inventory(type):
|
||||
1:
|
||||
walking = "walking_powder"
|
||||
idle = "idle_powder"
|
||||
3:
|
||||
walking = "walking_coal"
|
||||
idle = "idle_coal"
|
||||
|
||||
BIN
walking_coal1.png
Normal file
BIN
walking_coal1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 222 KiB |
36
walking_coal1.png.import
Normal file
36
walking_coal1.png.import
Normal file
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b5hai0ap763xu"
|
||||
path.s3tc="res://.godot/imported/walking_coal1.png-6bd7fe444ea6730974e026d88a60ef1d.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/walking_coal1.png-6bd7fe444ea6730974e026d88a60ef1d.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://walking_coal1.png"
|
||||
dest_files=["res://.godot/imported/walking_coal1.png-6bd7fe444ea6730974e026d88a60ef1d.s3tc.ctex", "res://.godot/imported/walking_coal1.png-6bd7fe444ea6730974e026d88a60ef1d.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
walking_coal2.png
Normal file
BIN
walking_coal2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
36
walking_coal2.png.import
Normal file
36
walking_coal2.png.import
Normal file
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b5ioch3ad8y6r"
|
||||
path.s3tc="res://.godot/imported/walking_coal2.png-37d13085ebeac063f9e0c5dd0f24eafc.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/walking_coal2.png-37d13085ebeac063f9e0c5dd0f24eafc.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://walking_coal2.png"
|
||||
dest_files=["res://.godot/imported/walking_coal2.png-37d13085ebeac063f9e0c5dd0f24eafc.s3tc.ctex", "res://.godot/imported/walking_coal2.png-37d13085ebeac063f9e0c5dd0f24eafc.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Reference in New Issue
Block a user