Added GunPowder Animation

This commit is contained in:
Arthur
2022-12-10 17:27:56 +01:00
parent c99a1530a2
commit 57c19def26
9 changed files with 95 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://lvlbpfnwlngv"]
[gd_scene load_steps=18 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,9 +7,11 @@
[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://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"]
[sub_resource type="BoxShape3D" id="BoxShape3D_okaqh"]
size = Vector3(1, 3.77669, 24)
@@ -35,6 +37,11 @@ animations = [{
"name": &"idle_ball",
"speed": 1.0
}, {
"frames": [ExtResource("6_kfxv2")],
"loop": true,
"name": &"idle_powder",
"speed": 1.0
}, {
"frames": [ExtResource("6_m0hj7"), ExtResource("7_d8go0")],
"loop": true,
"name": &"walking",
@@ -44,6 +51,11 @@ animations = [{
"loop": true,
"name": &"walking_ball",
"speed": 2.0
}, {
"frames": [ExtResource("6_kfxv2"), ExtResource("10_a137a")],
"loop": true,
"name": &"walking_powder",
"speed": 2.0
}]
[node name="Train1" type="Node3D"]
@@ -86,7 +98,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 = &"idle_ball"
animation = &"walking_powder"
speed_scale = 2.0
playing = true