taqin/src/Taquin.tscn

110 lines
3.0 KiB
Plaintext
Raw Permalink Normal View History

2020-06-10 17:15:33 +02:00
[gd_scene load_steps=10 format=2]
2019-11-21 00:25:53 +01:00
[ext_resource path="res://src/Taquin.gd" type="Script" id=1]
2019-12-03 13:50:42 +01:00
[ext_resource path="res://src/Piece.tscn" type="PackedScene" id=2]
2020-06-09 15:51:57 +02:00
[ext_resource path="res://assets/sounds/PM_BBI_Bullet_Impact_Hit_Body_Flesh_2.wav" type="AudioStream" id=3]
2020-02-24 14:36:53 +01:00
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=4]
2020-06-17 17:31:12 +02:00
[ext_resource path="res://assets/artworks/escher_convex_concave.jpg" type="Texture" id=5]
2019-11-21 00:25:53 +01:00
2019-12-02 13:42:02 +01:00
[sub_resource type="Animation" id=1]
resource_name = "MovingPiece"
2019-12-03 13:50:42 +01:00
length = 0.2
step = 0.01
2019-12-02 13:42:02 +01:00
tracks/0/type = "value"
2019-12-03 13:50:42 +01:00
tracks/0/path = NodePath("AnimationPlayer/MockPiece:position")
tracks/0/interp = 1
2019-12-02 13:42:02 +01:00
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
2019-12-03 13:50:42 +01:00
"values": [ Vector2( 15, 15 ), Vector2( 175, 15 ) ]
2019-12-02 13:42:02 +01:00
}
2020-02-09 17:01:32 +01:00
[sub_resource type="Gradient" id=2]
2020-01-12 18:51:07 +01:00
colors = PoolColorArray( 1, 1, 1, 1, 1, 0.140625, 0.140625, 1 )
2020-02-09 17:01:32 +01:00
[sub_resource type="GradientTexture" id=3]
gradient = SubResource( 2 )
2020-01-12 18:51:07 +01:00
2020-02-09 17:01:32 +01:00
[sub_resource type="ParticlesMaterial" id=4]
2020-01-12 18:51:07 +01:00
emission_shape = 2
emission_box_extents = Vector3( 10, 5, 1 )
flag_disable_z = true
spread = 180.0
gravity = Vector3( 0, 10, 0 )
initial_velocity = 50.0
angular_velocity = 28.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = 1.0
damping = 22.0
angle = 45.0
angle_random = 1.0
2020-02-09 17:01:32 +01:00
scale = 5.0
color_ramp = SubResource( 3 )
2020-01-12 18:51:07 +01:00
2019-12-10 13:55:03 +01:00
[node name="Taquin" type="Control"]
2020-05-23 17:08:31 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
2019-12-10 13:55:03 +01:00
rect_min_size = Vector2( 540, 540 )
2020-02-24 14:36:53 +01:00
theme = ExtResource( 4 )
2019-11-21 00:25:53 +01:00
script = ExtResource( 1 )
2020-02-09 17:01:32 +01:00
__meta__ = {
"_edit_use_anchors_": false
}
2020-06-10 17:15:33 +02:00
artwork_texture = ExtResource( 5 )
2019-11-27 00:50:35 +01:00
2019-12-03 13:50:42 +01:00
[node name="Background" type="ColorRect" parent="."]
2020-05-23 17:08:31 +02:00
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2020-05-24 17:14:51 +02:00
margin_left = -300.0
2020-05-23 17:08:31 +02:00
margin_top = -300.0
2020-05-24 17:14:51 +02:00
margin_right = 300.0
margin_bottom = 300.0
2020-06-03 19:15:38 +02:00
mouse_filter = 2
2020-02-19 13:43:49 +01:00
color = Color( 0.12549, 0.235294, 0.337255, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
2019-12-02 13:42:02 +01:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/MovingPiece = SubResource( 1 )
2019-12-03 13:50:42 +01:00
[node name="MockPiece" parent="AnimationPlayer" instance=ExtResource( 2 )]
2019-12-09 23:54:35 +01:00
visible = false
2020-02-24 14:36:53 +01:00
position = Vector2( 15, 15 )
2019-12-03 13:50:42 +01:00
[node name="PlaceholderTexture" type="ColorRect" parent="AnimationPlayer/MockPiece"]
margin_right = 160.0
margin_bottom = 160.0
color = Color( 0.137255, 0.976471, 0.0196078, 1 )
2020-01-12 18:51:07 +01:00
[node name="Particles2D" type="Particles2D" parent="."]
position = Vector2( 253, 262 )
rotation = -1.5708
2020-02-09 17:01:32 +01:00
emitting = false
2020-01-12 18:51:07 +01:00
amount = 30
lifetime = 1.6
preprocess = 0.25
speed_scale = 1.25
explosiveness = 1.0
local_coords = false
2020-02-09 17:01:32 +01:00
process_material = SubResource( 4 )
2020-01-12 18:51:07 +01:00
[node name="Timer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
2020-02-24 14:36:53 +01:00
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
2020-06-10 17:15:33 +02:00
volume_db = -16.672
2020-05-24 17:14:51 +02:00
[node name="HintTween" type="Tween" parent="."]
2020-02-24 14:36:53 +01:00
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
2020-01-12 19:35:20 +01:00
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]