-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJeu.tscn
More file actions
101 lines (87 loc) · 4.65 KB
/
Jeu.tscn
File metadata and controls
101 lines (87 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[gd_scene load_steps=13 format=4 uid="uid://px75yra5py1n"]
[ext_resource type="PackedScene" uid="uid://cf70pclr4d3fq" path="res://Niveau/Niveau.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://q7tm1hjo843x" path="res://Niveau/Avatar/avatar.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://2b0oilwhtlcp" path="res://Niveau/Avatar/items/Proteger.tscn" id="3"]
[ext_resource type="PackedScene" uid="uid://cpy4mgx0ccvxx" path="res://Niveau/Avatar/items/Teleporter.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://uc7ca7pnwf8m" path="res://Niveau/Avatar/items/Saut.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://bqub5dwg72dv3" path="res://Niveau/Avatar/items/Detruire.tscn" id="6"]
[ext_resource type="PackedScene" uid="uid://dpviexh1kj4dg" path="res://Niveau/Avatar/items/Voler.tscn" id="7"]
[ext_resource type="PackedScene" uid="uid://btlau1cvdt5ao" path="res://Niveau/Avatar/items/Escalader.tscn" id="8"]
[ext_resource type="PackedScene" uid="uid://bxqsk0qayxjno" path="res://Niveau/Avatar/items/Plane.tscn" id="9"]
[ext_resource type="PackedScene" uid="uid://dkhkk4ctl7svu" path="res://Niveau/tileMap/TileMap.tscn" id="10"]
[ext_resource type="Script" uid="uid://d3vy7wxnq3en3" path="res://tools.gd" id="12"]
[ext_resource type="PackedScene" uid="uid://k67td8mpee00" path="res://Niveau/Avatar/items/DoubleSaut.tscn" id="12_ygcwj"]
[node name="Jeu" type="Node"]
process_mode = 3
script = ExtResource("12")
auto_cam = true
click_to_move = true
[node name="Niveau" parent="." instance=ExtResource("1")]
process_mode = 3
groupe_name = "Tuto"
date = {
"day": 12,
"hour": 12,
"month": 1,
"year": 2023
}
char_name = "Avatar"
narrative = "est un personnage qui doit aller dans le coin en haut à gauche. L'intéraction avec les carrés [color=blue]Bleus[/color], [color=red]Rouges[/color] et [color=green]Verts[/color] dépend de sa propre couleur."
metadata/_edit_lock_ = true
[node name="TileMap" parent="Niveau" instance=ExtResource("10")]
tile_map_data = PackedByteArray("AAAHAA4AAAAAAAAAAAAHAA0AAAAAAAAAAAAIAA8AAAAAAAAAAAAIABAAAAAAAAAAAAAJABEAAAAAAAAAAAAJABIAAAAAAAAAAAAKABMAAAAAAAAAAAAKABQAAAAAAAAAAAALABUAAAAAAAAAAAARABUAAQAAAAAAAAAPABUAAgAAAAAAAAATABUAAwAAAAAAAAANABUABAAAAAAAAAADAAYAAAAAAAAAAAADAAUABAAAAAAAAAAGAAwAAAAAAAAAAAAGAAsAAAAAAAAAAAAFAAkAAAAAAAAAAAAMAAoAAgAAAAAAAAAPAAoAAQAAAAAAAAASAAoAAwAAAAAAAAAEAAkAAAAAAAAAAAAEAAoAAAAAAAAAAAAEAAsAAAAAAAAAAAAEAAwAAAAAAAAAAAAGAAkAAAAAAAAAAAAHAAkAAAAAAAAAAAA=")
[node name="Avatar" parent="Niveau" instance=ExtResource("2")]
process_mode = 1
position = Vector2(344, 344)
collision_layer = 3
collision_mask = 3
my_color = 2
start_position = Vector2(344, 344)
[node name="Sauter" parent="Niveau/Avatar" instance=ExtResource("5")]
jump_power = 200.0
xbox_button = "A"
metadata/_edit_lock_ = true
[node name="Escalader" parent="Niveau/Avatar" instance=ExtResource("8")]
glue_time_max = 10.0
glue_effect = 1000.0
glue_delay = 1.0
xbox_button = "RB"
toggle = false
metadata/_edit_lock_ = true
[node name="Détruire" parent="Niveau/Avatar" instance=ExtResource("6")]
xbox_button = "B"
metadata/_edit_lock_ = true
[node name="Planer" parent="Niveau/Avatar" instance=ExtResource("9")]
plane_time_max = 100.0
plane_effect = 2.0
xbox_button = "LT"
metadata/_edit_lock_ = true
[node name="Se protéger" parent="Niveau/Avatar" instance=ExtResource("3")]
xbox_button = "X"
metadata/_edit_lock_ = true
[node name="Se téléporter" parent="Niveau/Avatar" instance=ExtResource("4")]
tp_distance = 31.0
tp_cooldown = 50.0
xbox_button = "Y"
metadata/_edit_lock_ = true
[node name="Se propulser" parent="Niveau/Avatar" instance=ExtResource("7")]
position = Vector2(0, 6)
energy_regen = 5.0
jetpack_power = 10.0
time_to_regen = 10.0
maximum_vertical_speed = -110.0
xbox_button = "RT"
metadata/_edit_lock_ = true
[node name="Double sauter" parent="Niveau/Avatar" instance=ExtResource("12_ygcwj")]
tp_distance = 31.0
tp_cooldown = 50.0
xbox_button = "LB"
metadata/_edit_lock_ = true
[connection signal="var_changed" from="Niveau" to="." method="_on_Niveau_var_changed"]
[connection signal="child_entered_tree" from="Niveau/Avatar" to="Niveau/Avatar" method="_on_child_entered_tree"]
[connection signal="child_exiting_tree" from="Niveau/Avatar" to="Niveau/Avatar" method="_on_child_exiting_tree"]
[connection signal="child_order_changed" from="Niveau/Avatar" to="Niveau/Avatar" method="_on_child_order_changed"]
[connection signal="color_change" from="Niveau/Avatar" to="." method="_on_Avatar_color_change"]
[connection signal="item_change" from="Niveau/Avatar" to="." method="_on_Avatar_item_change"]
[connection signal="item_change" from="Niveau/Avatar" to="Niveau" method="_on_avatar_item_change"]
[connection signal="ready" from="Niveau/Avatar" to="Niveau" method="_on_Avatar_ready"]