Merge pull request 'level building' (#19) from Book_LevelSetup into dev

Reviewed-on: https://code.booklordofthe.dev///Booklordofthedings/GMTK-2024/pulls/19
This commit is contained in:
Booklordofthedings 2024-08-17 11:44:11 +02:00
commit e6fb6a279f
5 changed files with 123 additions and 14 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://ba6afuig8bqrg"] [gd_scene load_steps=14 format=3 uid="uid://ba6afuig8bqrg"]
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"] [ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"]
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"] [ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"]
@ -11,11 +11,24 @@
[sub_resource type="Theme" id="Theme_efdhj"] [sub_resource type="Theme" id="Theme_efdhj"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1vofj"]
size = Vector2(1289, 70.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4uh45"]
size = Vector2(1281, 85.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nnio8"]
size = Vector2(63.75, 738.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h7316"]
size = Vector2(100, 753)
[node name="LevelBase" type="Node"] [node name="LevelBase" type="Node"]
[node name="Player" parent="." instance=ExtResource("1_prjlb")] [node name="Player" parent="." instance=ExtResource("1_prjlb")]
[node name="CanvasLayer" parent="." instance=ExtResource("2_mxtem")] [node name="CanvasLayer" parent="." instance=ExtResource("2_mxtem")]
visible = false
[node name="UILayer" type="CanvasLayer" parent="."] [node name="UILayer" type="CanvasLayer" parent="."]
@ -58,3 +71,21 @@ texture_disabled = ExtResource("7_xwthi")
texture_focused = ExtResource("8_r6dd1") texture_focused = ExtResource("8_r6dd1")
[node name="Camera2D" type="Camera2D" parent="."] [node name="Camera2D" type="Camera2D" parent="."]
[node name="Walls" type="StaticBody2D" parent="."]
[node name="Ground" type="CollisionShape2D" parent="Walls"]
position = Vector2(0.5, 394.25)
shape = SubResource("RectangleShape2D_1vofj")
[node name="Ceiling" type="CollisionShape2D" parent="Walls"]
position = Vector2(-0.5, -402.25)
shape = SubResource("RectangleShape2D_4uh45")
[node name="LeftWall" type="CollisionShape2D" parent="Walls"]
position = Vector2(-671.125, 2.25)
shape = SubResource("RectangleShape2D_nnio8")
[node name="RightWall" type="CollisionShape2D" parent="Walls"]
position = Vector2(690, -2.5)
shape = SubResource("RectangleShape2D_h7316")

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://buqgl7x10et1f"
path="res://.godot/imported/img.png-dc45bd2bd72f900a7a2ec2ffa7c47124.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://temp_assets/img.png"
dest_files=["res://.godot/imported/img.png-dc45bd2bd72f900a7a2ec2ffa7c47124.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bnj38vubchr2w"
path="res://.godot/imported/Virus-Player-Sheet.png-07f10ef36716fa6b784552079fc14813.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://textures/Virus-Player-Sheet.png"
dest_files=["res://.godot/imported/Virus-Player-Sheet.png-07f10ef36716fa6b784552079fc14813.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1