This repository has been archived on 2025-09-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rectangular/core/player/player.tscn

35 lines
1.1 KiB
Text
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://ebb4pfxklatj"]
2024-09-25 21:18:58 +02:00
2024-10-16 20:23:53 +02:00
[ext_resource type="Script" path="res://core/player/player.gd" id="1_fob34"]
2024-09-25 21:18:58 +02:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7cq61"]
size = Vector2(16, 16)
2024-10-16 20:23:53 +02:00
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_p33ik"]
polygon = PackedVector2Array(-8.605, -17, -9, 1, 9, 1, 8.385, -17)
2024-09-25 21:18:58 +02:00
[node name="Player" type="CharacterBody2D"]
collision_layer = 2
2024-10-16 20:23:53 +02:00
slide_on_ceiling = false
2024-09-25 21:18:58 +02:00
floor_block_on_wall = false
script = ExtResource("1_fob34")
2024-10-16 20:23:53 +02:00
[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)
2024-09-25 21:18:58 +02:00
[node name="Camera2D" type="Camera2D" parent="."]
2024-09-25 21:21:59 +02:00
process_callback = 0
2024-09-25 21:18:58 +02:00
position_smoothing_enabled = true
drag_horizontal_enabled = true
drag_vertical_enabled = true
2024-10-16 20:23:53 +02:00
drag_top_margin = 0.3
drag_bottom_margin = 0.3
editor_draw_drag_margin = true