update to godot v4

This commit is contained in:
Fabien Freling 2025-12-03 15:35:13 +01:00
parent 95c7976f14
commit 8e8823fb0c
35 changed files with 795 additions and 494 deletions

View file

@ -4,7 +4,7 @@
[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/artworks/escher_convex_concave.jpg" type="Texture" id=5]
[ext_resource path="res://assets/artworks/escher_convex_concave.jpg" type="Texture2D" id=5]
[sub_resource type="Animation" id=1]
resource_name = "MovingPiece"
@ -17,19 +17,19 @@ 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 ),
"times": PackedFloat32Array( 0, 0.2 ),
"transitions": PackedFloat32Array( 1, 1 ),
"update": 0,
"values": [ Vector2( 15, 15 ), Vector2( 175, 15 ) ]
}
[sub_resource type="Gradient" id=2]
colors = PoolColorArray( 1, 1, 1, 1, 1, 0.140625, 0.140625, 1 )
colors = PackedColorArray( 1, 1, 1, 1, 1, 0.140625, 0.140625, 1 )
[sub_resource type="GradientTexture" id=3]
[sub_resource type="GradientTexture2D" id=3]
gradient = SubResource( 2 )
[sub_resource type="ParticlesMaterial" id=4]
[sub_resource type="ParticleProcessMaterial" id=4]
emission_shape = 2
emission_box_extents = Vector3( 10, 5, 1 )
flag_disable_z = true
@ -49,7 +49,7 @@ color_ramp = SubResource( 3 )
[node name="Taquin" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 540, 540 )
custom_minimum_size = Vector2( 540, 540 )
theme = ExtResource( 4 )
script = ExtResource( 1 )
__meta__ = {
@ -62,10 +62,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -300.0
margin_top = -300.0
margin_right = 300.0
margin_bottom = 300.0
offset_left = -300.0
offset_top = -300.0
offset_right = 300.0
offset_bottom = 300.0
mouse_filter = 2
color = Color( 0.12549, 0.235294, 0.337255, 1 )
__meta__ = {
@ -80,11 +80,11 @@ visible = false
position = Vector2( 15, 15 )
[node name="PlaceholderTexture" type="ColorRect" parent="AnimationPlayer/MockPiece"]
margin_right = 160.0
margin_bottom = 160.0
offset_right = 160.0
offset_bottom = 160.0
color = Color( 0.137255, 0.976471, 0.0196078, 1 )
[node name="Particles2D" type="Particles2D" parent="."]
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
position = Vector2( 253, 262 )
rotation = -1.5708
emitting = false