first savepoint
This commit is contained in:
commit
e69c47ab3e
9 files changed
+178
No files matched your search
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://djkjmi7bo58uv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ilk50"]
|
||||
size = Vector2(47, 44)
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D"]
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_ilk50")
|
||||
debug_color = Color(0.889053, 0.327177, 5.77569e-07, 0.42)
|
||||
@@ -0,0 +1,61 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dhgts0kodsujx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://djkjmi7bo58uv" path="res://scenes/crate.tscn" id="1_6shkr"]
|
||||
[ext_resource type="Script" path="res://scripts/charcontroller.gd" id="2_uc4yi"]
|
||||
[ext_resource type="Script" path="res://scripts/trigger.gd" id="3_t4lk8"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_n7xvc"]
|
||||
size = Vector2(92, 20)
|
||||
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_gasd3"]
|
||||
distance = -484.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_uvblg"]
|
||||
radius = 32.5576
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_5ph8t"]
|
||||
radius = 62.0
|
||||
|
||||
[node name="Game" type="Node2D"]
|
||||
|
||||
[node name="firstPlatform" type="StaticBody2D" parent="."]
|
||||
position = Vector2(595, 310)
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="firstPlatform"]
|
||||
shape = SubResource("RectangleShape2D_n7xvc")
|
||||
|
||||
[node name="RigidBody2D" parent="." instance=ExtResource("1_6shkr")]
|
||||
position = Vector2(605, 106)
|
||||
rotation = -0.706362
|
||||
|
||||
[node name="RigidBody2D2" parent="." instance=ExtResource("1_6shkr")]
|
||||
position = Vector2(603, 208)
|
||||
|
||||
[node name="Floor" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
|
||||
shape = SubResource("WorldBoundaryShape2D_gasd3")
|
||||
|
||||
[node name="RigidBody2D4" parent="." instance=ExtResource("1_6shkr")]
|
||||
position = Vector2(629, 37)
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||||
position = Vector2(524, 393)
|
||||
script = ExtResource("2_uc4yi")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||||
shape = SubResource("CircleShape2D_uvblg")
|
||||
debug_color = Color(0.872789, 0.000463018, 0.842707, 0.42)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
position = Vector2(833, 354)
|
||||
script = ExtResource("3_t4lk8")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("CircleShape2D_5ph8t")
|
||||
debug_color = Color(0.630721, 0.529414, 1.92523e-07, 0.42)
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|
||||
Reference in new issue
Block a user