This repository has been archived on 2024-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
HoppyEaster/Scenes/PlayerMovement.tscn

43 lines
1.6 KiB
Text
Raw Normal View History

2023-04-09 12:17:11 +00:00
[gd_scene load_steps=7 format=3 uid="uid://ccgpsim5nfxd6"]
2023-04-07 14:11:07 +00:00
[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"]
2023-04-09 12:17:11 +00:00
[ext_resource type="PackedScene" path="res://Scenes/MusicPlayer.tscn" id="5_4vnv3"]
[ext_resource type="AudioStream" uid="uid://dpbyjnyg765r7" path="res://Assets/Temp Music/awesomeness.wav" id="6_2do7l"]
2023-04-07 14:11:07 +00:00
[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")
2023-04-07 14:11:07 +00:00
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
position = Vector2(512, 300)
scale = Vector2(0.25, 0.25)
2023-04-07 14:11:07 +00:00
script = ExtResource("1_x3102")
speed = 80
2023-04-07 14:11:07 +00:00
[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(0.75, 3.99997)
scale = Vector2(1.05172, 1)
texture = ExtResource("4_lpajj")
2023-04-07 14:11:07 +00:00
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CharacterBody2D"]
polygon = PackedVector2Array(16, 32, -14, 32, -12, -24, 16, -24)
2023-04-07 14:11:07 +00:00
[node name="Camera2D" type="Camera2D" parent="CharacterBody2D"]
zoom = Vector2(10, 10)
2023-04-07 14:11:07 +00:00
position_smoothing_enabled = true
drag_horizontal_enabled = true
drag_vertical_enabled = true
editor_draw_limits = true
editor_draw_drag_margin = true
2023-04-09 12:17:11 +00:00
[node name="MusicPlayer" parent="." instance=ExtResource("5_4vnv3")]
stream = ExtResource("6_2do7l")