36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cp43g3amm8a6f"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/hindernis/hindernis.gd" id="1_e0hqe"]
|
|
[ext_resource type="Texture2D" uid="uid://bp48x77dixrme" path="res://scenes/hindernis/hindernisse.png" id="2_thg8w"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_orpyb"]
|
|
radius = 5.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_r1tmj"]
|
|
radius = 5.0
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
script = ExtResource("1_e0hqe")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(0, -7)
|
|
texture = ExtResource("2_thg8w")
|
|
offset = Vector2(0, 0.5)
|
|
hframes = 5
|
|
frame = 3
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -7)
|
|
shape = SubResource("CircleShape2D_orpyb")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2(0, -7)
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("CircleShape2D_r1tmj")
|
|
debug_color = Color(0.906661, 0.254677, 0.42413, 0.42)
|