load custom artwork

This commit is contained in:
Fabien Freling 2020-06-10 17:15:33 +02:00
parent 8cc55513b7
commit 5e1e27b2cb
10 changed files with 225 additions and 47 deletions

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://src/Taquin.gd" type="Script" id=1]
[ext_resource path="res://src/Piece.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/sounds/PM_BBI_Bullet_Impact_Hit_Body_Flesh_2.wav" type="AudioStream" id=3]
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=4]
[ext_resource path="res://assets/escher_convex_concave.jpg" type="Texture" id=5]
[sub_resource type="Animation" id=1]
resource_name = "MovingPiece"
@ -54,6 +55,7 @@ script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
artwork_texture = ExtResource( 5 )
[node name="Background" type="ColorRect" parent="."]
anchor_left = 0.5
@ -100,6 +102,7 @@ one_shot = true
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
volume_db = -16.672
[node name="HintTween" type="Tween" parent="."]
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]