35 lines
1.3 KiB
Text
35 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="Texture2D" uid="uid://c6n0go8l4gaak" path="res://Assets/Sprites/Jesus_Left_Idle.png" id="2_48vut"]
|
|
[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"]
|
|
|
|
[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"]
|
|
texture = ExtResource("2_48vut")
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CharacterBody2D"]
|
|
polygon = PackedVector2Array(16, 32, -14, 32, -14, -22, 16, -22)
|
|
|
|
[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
|