37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://ccgpsim5nfxd6"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/PlayerController.gd" id="1_x3102"]
|
|
[ext_resource type="TileSet" uid="uid://b7cqbf6xdbeal" path="res://Assets/Test_Tileset.tres" id="3_0at2g"]
|
|
[ext_resource type="Script" path="res://Scripts/MapGenerator.gd" id="4_8st0q"]
|
|
[ext_resource type="Texture2D" uid="uid://cnrja43wk2mmd" path="res://Assets/Sprites/Jesus.png" id="4_lpajj"]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
tile_set = ExtResource("3_0at2g")
|
|
cell_quadrant_size = 8
|
|
collision_visibility_mode = 1
|
|
format = 2
|
|
script = ExtResource("4_8st0q")
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
|
position = Vector2(512, 300)
|
|
scale = Vector2(0.25, 0.25)
|
|
script = ExtResource("1_x3102")
|
|
speed = 80
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
|
|
position = Vector2(0.75, 3.99997)
|
|
scale = Vector2(1.05172, 1)
|
|
texture = ExtResource("4_lpajj")
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CharacterBody2D"]
|
|
polygon = PackedVector2Array(16, 32, -14, 32, -12, -24, 16, -24)
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="CharacterBody2D"]
|
|
zoom = Vector2(10, 10)
|
|
position_smoothing_enabled = true
|
|
drag_horizontal_enabled = true
|
|
drag_vertical_enabled = true
|
|
editor_draw_limits = true
|
|
editor_draw_drag_margin = true
|