This repository has been archived on 2022-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Tyra/scenes/Monde.tscn

170 lines
22 KiB
Text
Raw Normal View History

2021-04-07 18:15:07 +02:00
[gd_scene load_steps=10 format=2]
2021-04-03 23:47:20 +02:00
2021-04-07 18:47:39 +02:00
[ext_resource path="res://assets/images/joueur.png" type="Texture" id=1]
2021-04-03 23:47:20 +02:00
[ext_resource path="res://scripts/Joueur.gd" type="Script" id=2]
[ext_resource path="res://scenes/Ennemi.tscn" type="PackedScene" id=3]
2021-04-07 18:47:39 +02:00
[ext_resource path="res://assets/images/Fond.png" type="Texture" id=4]
2021-04-03 23:47:20 +02:00
[ext_resource path="res://scenes/mur.tres" type="TileSet" id=5]
2021-04-07 18:47:39 +02:00
[ext_resource path="res://assets/images/Lumière.png" type="Texture" id=6]
2021-04-03 23:47:20 +02:00
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 8, 8 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 9, 9 )
2021-04-07 18:15:07 +02:00
[sub_resource type="CanvasItemMaterial" id=3]
light_mode = 2
2021-04-03 23:47:20 +02:00
[node name="Monde" type="Node2D"]
[node name="Joueur" type="KinematicBody2D" parent="."]
position = Vector2( -150, -150 )
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Joueur"]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="Joueur"]
texture = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="Joueur"]
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Joueur/Area2D"]
shape = SubResource( 2 )
[node name="Camera2D" type="Camera2D" parent="Joueur"]
current = true
zoom = Vector2( 0.6, 0.6 )
smoothing_enabled = true
[node name="Light2D" type="Light2D" parent="Joueur"]
2021-04-07 18:15:07 +02:00
position = Vector2( -20, 30 )
2021-04-03 23:47:20 +02:00
texture = ExtResource( 6 )
2021-04-07 18:15:07 +02:00
energy = 1.5
mode = 2
2021-04-03 23:47:20 +02:00
shadow_enabled = true
[node name="Ennemi" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 136.022, 44.8325 )
[node name="Ennemi22" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 464.455, 879.689 )
[node name="Ennemi23" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1045.04, -220.033 )
[node name="Ennemi24" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 888.24, 180.444 )
[node name="Ennemi25" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 638.207, -236.985 )
[node name="Ennemi26" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 625.494, -92.8977 )
[node name="Ennemi18" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 462.336, -232.747 )
[node name="Ennemi19" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 80.9297, 470.737 )
[node name="Ennemi20" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 462.336, 591.515 )
[node name="Ennemi21" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 322.487, 142.303 )
[node name="Ennemi11" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( -344.974, 233.417 )
[node name="Ennemi12" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( -323.785, 453.785 )
[node name="Ennemi13" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 900.954, -71.7085 )
[node name="Ennemi14" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1203.96, -84.422 )
[node name="Ennemi15" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1432.8, 216.465 )
[node name="Ennemi16" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1331.1, 466.499 )
[node name="Ennemi17" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1013.26, 237.655 )
[node name="Ennemi2" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 896.716, 629.656 )
[node name="Ennemi3" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 1377.71, 739.84 )
[node name="Ennemi4" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 915.786, 879.689 )
[node name="Ennemi5" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 248.325, 767.386 )
[node name="Ennemi6" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( -163.044, 437.294 )
[node name="Ennemi7" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 781.651, 417.495 )
[node name="Ennemi8" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 665.685, 80.9117 )
[node name="Ennemi9" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( 323.446, -78.8944 )
[node name="Ennemi10" parent="." instance=ExtResource( 3 )]
2021-04-07 18:15:07 +02:00
material = SubResource( 3 )
2021-04-03 23:47:20 +02:00
position = Vector2( -253.553, -220.316 )
[node name="Fond" type="Sprite" parent="."]
2021-04-07 18:15:07 +02:00
position = Vector2( 524.379, 244.938 )
scale = Vector2( 1.70024, 1.50506 )
2021-04-03 23:47:20 +02:00
z_index = -1
texture = ExtResource( 4 )
[node name="Murs" type="TileMap" parent="."]
tile_set = ExtResource( 5 )
cell_size = Vector2( 16, 16 )
format = 1
tile_data = PoolIntArray( -1376258, 0, 0, -1376257, 0, 0, -1441792, 0, 0, -1441791, 0, 0, -1441790, 0, 0, -1441789, 0, 0, -1441788, 0, 0, -1441787, 0, 0, -1441786, 0, 0, -1441785, 0, 0, -1310728, 0, 0, -1310727, 0, 0, -1310726, 0, 0, -1310725, 0, 0, -1310724, 0, 0, -1310723, 0, 0, -1376248, 0, 0, -1376247, 0, 0, -1376246, 0, 0, -1376245, 0, 0, -1376244, 0, 0, -1376243, 0, 0, -1376242, 0, 0, -1376241, 0, 0, -1376240, 0, 0, -1376239, 0, 0, -1376238, 0, 0, -1376237, 0, 0, -1376236, 0, 0, -1376235, 0, 0, -1376234, 0, 0, -1376233, 0, 0, -1245202, 0, 0, -1245201, 0, 0, -1245200, 0, 0, -1245199, 0, 0, -1245197, 0, 0, -1245196, 0, 0, -1245195, 0, 0, -1245194, 0, 0, -1245193, 0, 0, -1310696, 0, 0, -1310695, 0, 0, -1310694, 0, 0, -1310693, 0, 0, -1310692, 0, 0, -1310691, 0, 0, -1310690, 0, 0, -1310689, 0, 0, -1310688, 0, 0, -1310687, 0, 0, -1310686, 0, 0, -1310685, 0, 0, -1310684, 0, 0, -1310683, 0, 0, -1310682, 0, 0, -1310681, 0, 0, -1179667, 0, 0, -1179666, 0, 0, -1179663, 0, 0, -1179662, 0, 0, -1179661, 0, 0, -1245144, 0, 0, -1245143, 0, 0, -1245142, 0, 0, -1245141, 0, 0, -1245140, 0, 0, -1245139, 0, 0, -1245138, 0, 0, -1245137, 0, 0, -1245136, 0, 0, -1245135, 0, 0, -1245134, 0, 0, -1245133, 0, 0, -1245132, 0, 0, -1114132, 0, 0, -1114131, 0, 0, -1179595, 0, 0, -1179594, 0, 0, -1179593, 0, 0, -1179592, 0, 0, -1179591, 0, 0, -1179590, 0, 0, -1179589, 0, 0, -1179588, 0, 0, -1179587, 0, 0, -1048596, 0, 0, -1114052, 0, 0, -1114051, 0, 0, -1114050, 0, 0, -1114049, 0, 0, -1114048, 0, 0, -1114047, 0, 0, -1114046, 0, 0, -983061, 0, 0, -983060, 0, 0, -1048516, 0, 0, -1048509, 0, 0, -1048508, 0, 0, -1048507, 0, 0, -1048506, 0, 0, -917525, 0, 0, -982981, 0, 0, -982970, 0, 0, -982969, 0, 0, -982968, 0, 0, -851990, 0, 0, -851989, 0, 0, -917445, 0, 0, -917434, 0, 0, -917431, 0, 0, -917430, 0, 0, -917429, 0, 0, -786454, 0, 0, -851954, 0, 0, -851924, 0, 0, -851910, 0, 0, -851909, 0, 0, -851899, 0, 0, -851898, 0, 0, -851892, 0, 0, -851891, 0, 0, -851890, 0, 0, -720918, 0, 0, -786418, 0, 0, -786417, 0, 0, -786416, 0, 0, -786389, 0, 0, -786388, 0, 0, -786382, 0, 0, -786374, 0, 0, -786364, 0, 0, -786363, 0, 0, -786354, 0, 0, -786353, 0, 0, -655382, 0, 0, -720846, 0, 0, -720838, 0, 0, -720828, 0, 0, -720817, 0, 0, -720816, 0, 0, -589847, 0, 0, -655311, 0, 0, -655310, 0, 0, -655303, 0, 0, -655302, 0, 0, -655293, 0, 0, -655279, 0, 0, -524311, 0, 0, -589819, 0, 0, -589796, 0, 0, -589795, 0, 0, -589768, 0, 0, -589767, 0, 0, -589759, 0, 0, -589758, 0, 0, -589743, 0, 0, -589742, 0, 0, -458775, 0, 0, -524284, 0, 0, -524283, 0, 0, -524259, 0, 0, -524224, 0, 0, -524223, 0, 0, -524206, 0, 0, -524205, 0, 0, -393240, 0, 0, -393239, 0, 0, -458748, 0, 0, -458723, 0, 0, -458689, 0, 0, -458688, 0, 0, -458668, 0, 0, -327704, 0, 0, -393212, 0, 0, -393187, 0, 0, -393154, 0, 0, -393153, 0, 0, -393132, 0, 0, -393131, 0, 0, -262168, 0, 0, -327676, 0, 0, -327651, 0, 0, -327619, 0, 0, -327618, 0, 0, -327595, 0, 0, -327594, 0, 0, -196632, 0, 0, -262084, 0, 0, -262083, 0, 0, -262058, 0, 0, -262057, 0, 0, -131096, 0, 0, -196594, 0, 0, -196593, 0, 0, -196592, 0, 0, -196568, 0, 0, -196567, 0, 0, -196549, 0, 0, -196548, 0, 0, -196521, 0, 0, -65560, 0, 0, -131032, 0, 0, -131013, 0, 0, -130985, 0, 0, -130984, 0, 0, -24, 0, 0, -65496, 0, 0, -65487, 0, 0, -65477, 0, 0, -65448, 0, 0, 65512, 0, 0, 38, 0, 0, 39, 0, 0, 47, 0, 0, 48, 0, 0, 49, 0, 0, 58, 0, 0, 59, 0, 0, 89, 0, 0, 131048, 0, 0, 65537, 0, 0, 65625, 0, 0, 196584, 0, 0, 131072, 0, 0, 131073, 0, 0, 131149, 0, 0, 131161, 0, 0, 262119, 0, 0, 262139, 0, 0, 262140, 0, 0, 262141, 0, 0, 262142, 0, 0, 262143, 0, 0, 196608, 0, 0, 196632, 0, 0, 196633, 0, 0, 196685, 0, 0, 196686, 0, 0, 196698, 0, 0, 327655, 0, 0, 327664, 0, 0, 327665, 0, 0, 262168, 0, 0, 262222, 0, 0, 262234, 0, 0, 393191, 0, 0, 393201, 0, 0, 393202, 0, 0, 393203, 0, 0, 393204, 0, 0, 393205, 0, 0, 327716, 0, 0, 327758, 0, 0, 327771, 0, 0, 458727, 0, 0, 393252, 0, 0, 393283, 0, 0, 393284, 0, 0, 393285, 0, 0, 393295, 0, 0, 393307, 0, 0, 524263, 0, 0, 458788, 0, 0, 458789, 0, 0, 458795, 0, 0, 458821, 0, 0, 458822, 0, 0, 458823, 0, 0, 458831, 0, 0, 458843, 0, 0, 458844, 0
2021-04-07 18:15:07 +02:00
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color( 0.27451, 0.27451, 0.27451, 1 )
2021-04-03 23:47:20 +02:00
[connection signal="body_entered" from="Joueur/Area2D" to="Joueur" method="_on_Area2D_body_entered"]