Get Map Gernation in #17
2 changed files with 17 additions and 17 deletions
|
@ -1,13 +1,13 @@
|
||||||
[gd_scene load_steps=16 format=3 uid="uid://cd45icxf4gxpp"]
|
[gd_scene load_steps=16 format=3 uid="uid://cd45icxf4gxpp"]
|
||||||
|
|
||||||
[ext_resource type="TileSet" uid="uid://bj7uu2180mie3" path="res://Assets/Tileset.tres" id="1_m1wkd"]
|
[ext_resource type="TileSet" uid="uid://bj7uu2180mie3" path="res://Assets/Tileset.tres" id="1_s4utw"]
|
||||||
[ext_resource type="Script" path="res://Scripts/MapGenerator.gd" id="2_emsq7"]
|
[ext_resource type="Script" path="res://Scripts/MapGenerator.gd" id="2_yhpwh"]
|
||||||
[ext_resource type="Script" path="res://Scripts/EntitySystem/BunnyGenerator.gd" id="3_6eopc"]
|
[ext_resource type="Script" path="res://Scripts/EntitySystem/BunnyGenerator.gd" id="3_dvklj"]
|
||||||
[ext_resource type="Script" path="res://Scripts/PlayerController.gd" id="3_i7s0m"]
|
[ext_resource type="PackedScene" uid="uid://cpl4tllohhyel" path="res://Prefabs/bunny.tscn" id="4_0fyd5"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cpl4tllohhyel" path="res://Prefabs/bunny.tscn" id="4_vn6q1"]
|
[ext_resource type="Script" path="res://Scripts/PlayerController.gd" id="5_uv7bh"]
|
||||||
[ext_resource type="Script" path="res://Scripts/WeaponSystem/WeaponController.gd" id="6_fdum6"]
|
[ext_resource type="Texture2D" uid="uid://db70wcy5ua3jd" path="res://Assets/Sprites/Jesus/jesus_spritesheet.png" id="6_es2l8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://db70wcy5ua3jd" path="res://Assets/Sprites/Jesus/jesus_spritesheet.png" id="6_xyyh7"]
|
[ext_resource type="Script" path="res://Scripts/WeaponSystem/WeaponController.gd" id="7_8kdie"]
|
||||||
[ext_resource type="PackedScene" uid="uid://csxh42o8twxwn" path="res://Prefabs/projectile.tscn" id="7_5vpb2"]
|
[ext_resource type="PackedScene" uid="uid://csxh42o8twxwn" path="res://Prefabs/projectile.tscn" id="8_wx0kk"]
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_kdxam"]
|
[sub_resource type="Animation" id="Animation_kdxam"]
|
||||||
resource_name = "Idle"
|
resource_name = "Idle"
|
||||||
|
@ -121,26 +121,26 @@ _data = {
|
||||||
[node name="Player Movement" type="Node2D"]
|
[node name="Player Movement" type="Node2D"]
|
||||||
|
|
||||||
[node name="Map Generator" type="TileMap" parent="."]
|
[node name="Map Generator" type="TileMap" parent="."]
|
||||||
tile_set = ExtResource("1_m1wkd")
|
tile_set = ExtResource("1_s4utw")
|
||||||
cell_quadrant_size = 32
|
cell_quadrant_size = 32
|
||||||
format = 2
|
format = 2
|
||||||
script = ExtResource("2_emsq7")
|
script = ExtResource("2_yhpwh")
|
||||||
start_area_corner_size = 3
|
start_area_corner_size = 3
|
||||||
|
|
||||||
[node name="Bunny Generator" type="Node" parent="."]
|
[node name="Bunny Generator" type="Node" parent="."]
|
||||||
script = ExtResource("3_6eopc")
|
script = ExtResource("3_dvklj")
|
||||||
bunny_prefab = ExtResource("4_vn6q1")
|
bunny_prefab = ExtResource("4_0fyd5")
|
||||||
|
|
||||||
[node name="Player" type="CharacterBody2D" parent="." node_paths=PackedStringArray("animation_player")]
|
[node name="Player" type="CharacterBody2D" parent="." node_paths=PackedStringArray("animation_player")]
|
||||||
position = Vector2(960, 512)
|
position = Vector2(960, 512)
|
||||||
collision_layer = 0
|
collision_layer = 0
|
||||||
script = ExtResource("3_i7s0m")
|
script = ExtResource("5_uv7bh")
|
||||||
speed = 60
|
speed = 60
|
||||||
animation_player = NodePath("Player Animator")
|
animation_player = NodePath("Player Animator")
|
||||||
|
|
||||||
[node name="Player Sprite" type="Sprite2D" parent="Player"]
|
[node name="Player Sprite" type="Sprite2D" parent="Player"]
|
||||||
position = Vector2(0, -20)
|
position = Vector2(0, -20)
|
||||||
texture = ExtResource("6_xyyh7")
|
texture = ExtResource("6_es2l8")
|
||||||
hframes = 8
|
hframes = 8
|
||||||
vframes = 4
|
vframes = 4
|
||||||
|
|
||||||
|
@ -161,5 +161,5 @@ libraries = {
|
||||||
|
|
||||||
[node name="WeaponController" type="Node2D" parent="Player"]
|
[node name="WeaponController" type="Node2D" parent="Player"]
|
||||||
position = Vector2(0, -16)
|
position = Vector2(0, -16)
|
||||||
script = ExtResource("6_fdum6")
|
script = ExtResource("7_8kdie")
|
||||||
projectile_prefab = ExtResource("7_5vpb2")
|
projectile_prefab = ExtResource("8_wx0kk")
|
|
@ -11,7 +11,7 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="HoppyEaster"
|
config/name="HoppyEaster"
|
||||||
run/main_scene="res://Scenes/PlayerMovement.tscn"
|
run/main_scene="res://Scenes/Test.tscn"
|
||||||
config/features=PackedStringArray("4.0", "GL Compatibility")
|
config/features=PackedStringArray("4.0", "GL Compatibility")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
|
Reference in a new issue