Files
old-coregodot/main.tscn
2022-12-31 05:51:34 +01:00

147 lines
9.5 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://main.tres" type="TileSet" id=1]
[ext_resource path="res://MainBoard.cs" type="Script" id=2]
[ext_resource path="res://lettertileup.png" type="Texture" id=3]
[ext_resource path="res://Letterbox.cs" type="Script" id=4]
[ext_resource path="res://Letter.cs" type="Script" id=5]
[ext_resource path="res://DragAndDrop.cs" type="Script" id=6]
[sub_resource type="CanvasItemMaterial" id=2]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 3 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Node2D" type="Node2D"]
material = SubResource( 2 )
[node name="MainBoard" type="TileMap" parent="."]
position = Vector2( 73, 283 )
tile_set = ExtResource( 1 )
format = 1
tile_data = PoolIntArray( 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 65537, 4, 1, 0, 5, 1, 0, 6, 1, 65538, 7, 1, 0, 8, 1, 65538, 9, 1, 0, 10, 1, 0, 11, 1, 65537, 12, 1, 0, 13, 1, 0, 14, 1, 0, 65536, 1, 0, 65537, 1, 0, 65538, 1, 65539, 65539, 1, 0, 65540, 1, 0, 65541, 1, 131072, 65542, 1, 0, 65543, 1, 0, 65544, 1, 0, 65545, 1, 131072, 65546, 1, 0, 65547, 1, 0, 65548, 1, 65539, 65549, 1, 0, 65550, 1, 0, 131072, 1, 0, 131073, 1, 65539, 131074, 1, 0, 131075, 1, 0, 131076, 1, 65539, 131077, 1, 0, 131078, 1, 0, 131079, 1, 0, 131080, 1, 0, 131081, 1, 0, 131082, 1, 65539, 131083, 1, 0, 131084, 1, 0, 131085, 1, 65539, 131086, 1, 0, 196608, 1, 65537, 196609, 1, 0, 196610, 1, 0, 196611, 1, 65538, 196612, 1, 0, 196613, 1, 0, 196614, 1, 0, 196615, 1, 131072, 196616, 1, 0, 196617, 1, 0, 196618, 1, 0, 196619, 1, 65538, 196620, 1, 0, 196621, 1, 0, 196622, 1, 65537, 262144, 1, 0, 262145, 1, 0, 262146, 1, 65539, 262147, 1, 0, 262148, 1, 0, 262149, 1, 0, 262150, 1, 65539, 262151, 1, 0, 262152, 1, 65539, 262153, 1, 0, 262154, 1, 0, 262155, 1, 0, 262156, 1, 65539, 262157, 1, 0, 262158, 1, 0, 327680, 1, 0, 327681, 1, 131072, 327682, 1, 0, 327683, 1, 0, 327684, 1, 0, 327685, 1, 65538, 327686, 1, 0, 327687, 1, 0, 327688, 1, 0, 327689, 1, 65538, 327690, 1, 0, 327691, 1, 0, 327692, 1, 0, 327693, 1, 131072, 327694, 1, 0, 393216, 1, 65538, 393217, 1, 0, 393218, 1, 0, 393219, 1, 0, 393220, 1, 65539, 393221, 1, 0, 393222, 1, 0, 393223, 1, 0, 393224, 1, 0, 393225, 1, 0, 393226, 1, 65539, 393227, 1, 0, 393228, 1, 0, 393229, 1, 0, 393230, 1, 65538, 458752, 1, 0, 458753, 1, 0, 458754, 1, 0, 458755, 1, 131072, 458756, 1, 0, 458757, 1, 0, 458758, 1, 0, 458759, 1, 131073, 458760, 1, 0, 458761, 1, 0, 458762, 1, 0, 458763, 1, 131072, 458764, 1, 0, 458765, 1, 0, 458766, 1, 0, 524288, 1, 65538, 524289, 1, 0, 524290, 1, 0, 524291, 1, 0, 524292, 1, 65539, 524293, 1, 0, 524294, 1, 0, 524295, 1, 0, 524296, 1, 0, 524297, 1, 0, 524298, 1, 65539, 524299, 1, 0, 524300, 1, 0, 524301, 1, 0, 524302, 1, 65538, 589824, 1, 0, 589825, 1, 131072, 589826, 1, 0, 589827, 1, 0, 589828, 1, 0, 589829, 1, 65538, 589830, 1, 0, 589831, 1, 0, 589832, 1, 0, 589833, 1, 65538, 589834, 1, 0, 589835, 1, 0, 589836, 1, 0, 589837, 1, 131072, 589838, 1, 0, 655360, 1, 0, 655361, 1, 0, 655362, 1, 65539, 655363, 1, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 65539, 655367, 1, 0, 655368, 1, 65539, 655369, 1, 0, 655370, 1, 0, 655371, 1, 0, 655372, 1, 65539, 655373, 1, 0, 655374, 1, 0, 720896, 1, 65537, 720897, 1, 0, 720898, 1, 0, 720899, 1, 65538, 720900, 1, 0, 720901, 1, 0, 720902, 1, 0, 720903, 1, 131072, 720904, 1, 0, 720905, 1, 0, 720906, 1, 0, 720907, 1, 65538, 720908, 1, 0, 720909, 1, 0, 720910, 1, 65537, 786432, 1, 0, 786433, 1, 65539, 786434, 1, 0, 786435, 1, 0, 786436, 1, 65539, 786437, 1, 0, 786438, 1, 0, 786439, 1, 0, 786440, 1, 0, 786441, 1, 0, 786442, 1, 65539, 786443, 1, 0, 786444, 1, 0, 786445, 1, 65539, 786446, 1, 0, 851968, 1, 0, 851969, 1, 0, 851970, 1, 65539, 851971, 1, 0, 851972, 1, 0, 851973, 1, 131072, 851974, 1, 0, 851975, 1, 0, 851976, 1, 0, 851977, 1, 131072, 851978, 1, 0, 851979, 1, 0, 851980, 1, 0, 851981, 1, 0, 851982, 1, 0, 917504, 1, 0, 917505, 1, 0, 917506, 1, 0, 917507, 1, 65537, 917508, 1, 0, 917509, 1, 0, 917510, 1, 65538, 917511, 1, 0, 917512, 1, 65538, 917513, 1, 0, 917514, 1, 0, 917515, 1, 65537, 917516, 1, 0, 917517, 1, 0, 917518, 1, 0 )
script = ExtResource( 2 )
[node name="Letterbox" type="Node2D" parent="."]
position = Vector2( 1, 4 )
script = ExtResource( 4 )
[node name="KinematicBody2D" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 263, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter1" type="AnimatedSprite" parent="Letterbox/KinematicBody2D"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D2" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 359, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D2"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter2" type="AnimatedSprite" parent="Letterbox/KinematicBody2D2"]
scale = Vector2( 1, 1 )
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D3" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 455, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D3"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter3" type="AnimatedSprite" parent="Letterbox/KinematicBody2D3"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D4" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 554, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D4"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter4" type="AnimatedSprite" parent="Letterbox/KinematicBody2D4"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D5" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 650, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D5"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter5" type="AnimatedSprite" parent="Letterbox/KinematicBody2D5"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D6" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 746, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D6"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter6" type="AnimatedSprite" parent="Letterbox/KinematicBody2D6"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[node name="KinematicBody2D7" type="KinematicBody2D" parent="Letterbox"]
position = Vector2( 845, 1335 )
scale = Vector2( 1.5, 1.5 )
input_pickable = true
script = ExtResource( 6 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Letterbox/KinematicBody2D7"]
position = Vector2( -0.400002, 0.394684 )
scale = Vector2( 1.00781, 0.992021 )
polygon = PoolVector2Array( -30.032, -21.2308, -20, -32, 22, -30.6667, 32, -17.3333, 30, 23.3333, 23.3333, 30, -19.3333, 30.6667, -30.032, 19.0909 )
[node name="Letter7" type="AnimatedSprite" parent="Letterbox/KinematicBody2D7"]
frames = SubResource( 1 )
script = ExtResource( 5 )
[connection signal="input_event" from="Letterbox/KinematicBody2D" to="Letterbox/KinematicBody2D" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D2" to="Letterbox/KinematicBody2D2" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D3" to="Letterbox/KinematicBody2D3" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D4" to="Letterbox/KinematicBody2D4" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D5" to="Letterbox/KinematicBody2D5" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D6" to="Letterbox/KinematicBody2D6" method="_on_KinematicBody2D_input_event"]
[connection signal="input_event" from="Letterbox/KinematicBody2D7" to="Letterbox/KinematicBody2D7" method="_on_KinematicBody2D_input_event"]