many small changes, and few big ones
This commit is contained in:
parent
e8985f4e79
commit
a3ca623258
32 changed files with 391 additions and 247 deletions
34
core/player/player.tscn
Normal file
34
core/player/player.tscn
Normal file
|
@ -0,0 +1,34 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://ebb4pfxklatj"]
|
||||
|
||||
[ext_resource type="Script" path="res://core/player/player.gd" id="1_fob34"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7cq61"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_p33ik"]
|
||||
polygon = PackedVector2Array(-8.605, -17, -9, 1, 9, 1, 8.385, -17)
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
collision_layer = 2
|
||||
slide_on_ceiling = false
|
||||
floor_block_on_wall = false
|
||||
script = ExtResource("1_fob34")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -8)
|
||||
shape = SubResource("RectangleShape2D_7cq61")
|
||||
|
||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
|
||||
occluder = SubResource("OccluderPolygon2D_p33ik")
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="."]
|
||||
polygon = PackedVector2Array(-8.605, -17, -9, 1, 9, 1, 8.385, -17)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
process_callback = 0
|
||||
position_smoothing_enabled = true
|
||||
drag_horizontal_enabled = true
|
||||
drag_vertical_enabled = true
|
||||
drag_top_margin = 0.3
|
||||
drag_bottom_margin = 0.3
|
||||
editor_draw_drag_margin = true
|
Reference in a new issue