plein
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=31 format=3 uid="uid://4ubk6w44h4s2"]
|
||||
[gd_scene load_steps=33 format=3 uid="uid://4ubk6w44h4s2"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/Player.cs" id="1_gmlsd"]
|
||||
[ext_resource type="Texture2D" uid="uid://bo4q2rvn056p3" path="res://model/PatrickIdle1.png" id="2_w2lj6"]
|
||||
@@ -12,7 +12,9 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bu5nnr2x4co38" path="res://model/PatrickLeft2.png" id="6_jii6b"]
|
||||
[ext_resource type="Texture2D" uid="uid://doavv8drnetm" path="res://model/PatrickRight1.png" id="7_xptin"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbey2oeyhxsq8" path="res://model/PatrickRight2.png" id="8_m32jm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxepey1fkkhhv" path="res://model/DiabeteMeter1.png" id="9_0ohl3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0oqqh7qgohu" path="res://model/PatrickBack1.png" id="9_y1wtp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqqegt7a6ng06" path="res://model/DiabeteMeter2.png" id="10_ete3q"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgs1topxer4a8" path="res://model/PatrickBack2.png" id="10_rvawd"]
|
||||
[ext_resource type="Texture2D" uid="uid://cisefnb0eej45" path="res://model/Patrickfront1.png" id="11_wpam5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bex6put0xmadj" path="res://model/Patrickfront2.png" id="12_t0eem"]
|
||||
@@ -354,13 +356,15 @@ _data = {
|
||||
"up": SubResource("Animation_7twwg")
|
||||
}
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "menu")]
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" node_paths=PackedStringArray("anim", "cam", "bar", "menu")]
|
||||
position = Vector2(1, 1)
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_gmlsd")
|
||||
Speed = 6000.0
|
||||
sugar_speed = 2.0
|
||||
anim = NodePath("anim")
|
||||
cam = NodePath("Camera2D")
|
||||
bar = NodePath("diabetmeter")
|
||||
menu = NodePath("Camera2D/menu")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
@@ -371,6 +375,23 @@ shape = SubResource("RectangleShape2D_2homw")
|
||||
position = Vector2(2, 1)
|
||||
texture = ExtResource("2_w2lj6")
|
||||
|
||||
[node name="diabetmeter" type="TextureProgressBar" parent="."]
|
||||
texture_filter = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 162.0
|
||||
offset_top = -121.0
|
||||
offset_right = 192.0
|
||||
offset_bottom = 129.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
step = 0.01
|
||||
value = 50.0
|
||||
fill_mode = 3
|
||||
texture_under = ExtResource("9_0ohl3")
|
||||
texture_progress = ExtResource("10_ete3q")
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
process_mode = 3
|
||||
limit_smoothed = true
|
||||
|
||||
Reference in New Issue
Block a user