summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/frobert/frobert-normal.pngbin0 -> 545 bytes
-rw-r--r--assets/frobert/frobert-normal.png.import40
-rw-r--r--assets/frobert/frobert.asepritebin0 -> 459 bytes
-rw-r--r--assets/frobert/frobert.pngbin0 -> 248 bytes
-rw-r--r--assets/frobert/frobert.png.import40
-rw-r--r--assets/frobert/frobert.tres8
-rw-r--r--assets/frobert/frobert_normal_auto.pngbin0 -> 682 bytes
-rw-r--r--assets/frobert/frobert_normal_auto.png.import40
-rw-r--r--assets/normal_map_circle.pngbin0 -> 299955 bytes
-rw-r--r--assets/normal_map_circle.png.import40
-rw-r--r--player.tscn27
-rw-r--r--room_test1.tscn38
12 files changed, 221 insertions, 12 deletions
diff --git a/assets/frobert/frobert-normal.png b/assets/frobert/frobert-normal.png
new file mode 100644
index 0000000..fea8253
--- /dev/null
+++ b/assets/frobert/frobert-normal.png
Binary files differ
diff --git a/assets/frobert/frobert-normal.png.import b/assets/frobert/frobert-normal.png.import
new file mode 100644
index 0000000..09b8a42
--- /dev/null
+++ b/assets/frobert/frobert-normal.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://ds1vg8unxsgyo"
+path="res://.godot/imported/frobert-normal.png-b03a984729522e2d0a7dc88591a68e2e.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://assets/frobert/frobert-normal.png"
+dest_files=["res://.godot/imported/frobert-normal.png-b03a984729522e2d0a7dc88591a68e2e.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/uastc_level=0
+compress/rdo_quality_loss=0.0
+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/channel_remap/red=0
+process/channel_remap/green=1
+process/channel_remap/blue=2
+process/channel_remap/alpha=3
+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
diff --git a/assets/frobert/frobert.aseprite b/assets/frobert/frobert.aseprite
new file mode 100644
index 0000000..b895fc1
--- /dev/null
+++ b/assets/frobert/frobert.aseprite
Binary files differ
diff --git a/assets/frobert/frobert.png b/assets/frobert/frobert.png
new file mode 100644
index 0000000..eea359b
--- /dev/null
+++ b/assets/frobert/frobert.png
Binary files differ
diff --git a/assets/frobert/frobert.png.import b/assets/frobert/frobert.png.import
new file mode 100644
index 0000000..09e9eab
--- /dev/null
+++ b/assets/frobert/frobert.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://ckoc3bw4l1j87"
+path="res://.godot/imported/frobert.png-26f3ad5599437fa0af9a3f144193e6c4.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://assets/frobert/frobert.png"
+dest_files=["res://.godot/imported/frobert.png-26f3ad5599437fa0af9a3f144193e6c4.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/uastc_level=0
+compress/rdo_quality_loss=0.0
+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/channel_remap/red=0
+process/channel_remap/green=1
+process/channel_remap/blue=2
+process/channel_remap/alpha=3
+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
diff --git a/assets/frobert/frobert.tres b/assets/frobert/frobert.tres
new file mode 100644
index 0000000..81c32bc
--- /dev/null
+++ b/assets/frobert/frobert.tres
@@ -0,0 +1,8 @@
+[gd_resource type="CanvasTexture" load_steps=3 format=3 uid="uid://8ucucqeioxqr"]
+
+[ext_resource type="Texture2D" uid="uid://ckoc3bw4l1j87" path="res://assets/frobert/frobert.png" id="1_ijty2"]
+[ext_resource type="Texture2D" uid="uid://d0fpe2qp8rr4t" path="res://assets/frobert/frobert_normal_auto.png" id="2_ijty2"]
+
+[resource]
+diffuse_texture = ExtResource("1_ijty2")
+normal_texture = ExtResource("2_ijty2")
diff --git a/assets/frobert/frobert_normal_auto.png b/assets/frobert/frobert_normal_auto.png
new file mode 100644
index 0000000..3a667e1
--- /dev/null
+++ b/assets/frobert/frobert_normal_auto.png
Binary files differ
diff --git a/assets/frobert/frobert_normal_auto.png.import b/assets/frobert/frobert_normal_auto.png.import
new file mode 100644
index 0000000..3a19f58
--- /dev/null
+++ b/assets/frobert/frobert_normal_auto.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://d0fpe2qp8rr4t"
+path="res://.godot/imported/frobert_normal_auto.png-3e67fc7d941ef4bd2381d55baf0dd5ec.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://assets/frobert/frobert_normal_auto.png"
+dest_files=["res://.godot/imported/frobert_normal_auto.png-3e67fc7d941ef4bd2381d55baf0dd5ec.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/uastc_level=0
+compress/rdo_quality_loss=0.0
+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/channel_remap/red=0
+process/channel_remap/green=1
+process/channel_remap/blue=2
+process/channel_remap/alpha=3
+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
diff --git a/assets/normal_map_circle.png b/assets/normal_map_circle.png
new file mode 100644
index 0000000..eb86bf5
--- /dev/null
+++ b/assets/normal_map_circle.png
Binary files differ
diff --git a/assets/normal_map_circle.png.import b/assets/normal_map_circle.png.import
new file mode 100644
index 0000000..d788b61
--- /dev/null
+++ b/assets/normal_map_circle.png.import
@@ -0,0 +1,40 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://b365os0g6fe88"
+path="res://.godot/imported/normal_map_circle.png-e865082d0e72930aed93d5c303a8cf4d.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://assets/normal_map_circle.png"
+dest_files=["res://.godot/imported/normal_map_circle.png-e865082d0e72930aed93d5c303a8cf4d.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/uastc_level=0
+compress/rdo_quality_loss=0.0
+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/channel_remap/red=0
+process/channel_remap/green=1
+process/channel_remap/blue=2
+process/channel_remap/alpha=3
+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
diff --git a/player.tscn b/player.tscn
index f0e23db..4826b7e 100644
--- a/player.tscn
+++ b/player.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=12 format=3 uid="uid://coxnsharboouu"]
+[gd_scene load_steps=15 format=3 uid="uid://coxnsharboouu"]
[ext_resource type="Texture2D" uid="uid://o0yy2jkyp0dy" path="res://assets/kenney_1-bit-platformer-pack/Tilemap/monochrome_tilemap_transparent_packed.png" id="1_4flbx"]
[ext_resource type="Script" uid="uid://cw711xwg5k1ym" path="res://player.gd" id="2_onrkg"]
+[ext_resource type="Texture2D" uid="uid://8ucucqeioxqr" path="res://assets/frobert/frobert.tres" id="3_i3pqv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wtcfe"]
atlas = ExtResource("1_4flbx")
@@ -31,6 +32,14 @@ region = Rect2(80, 192, 16, 16)
atlas = ExtResource("1_4flbx")
region = Rect2(96, 192, 16, 16)
+[sub_resource type="AtlasTexture" id="AtlasTexture_hqtel"]
+atlas = ExtResource("3_i3pqv")
+region = Rect2(0, 0, 16, 16)
+
+[sub_resource type="AtlasTexture" id="AtlasTexture_sweqy"]
+atlas = ExtResource("3_i3pqv")
+region = Rect2(16, 0, 16, 16)
+
[sub_resource type="SpriteFrames" id="SpriteFrames_rj586"]
animations = [{
"frames": [{
@@ -69,7 +78,7 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
-"texture": SubResource("AtlasTexture_0e48y")
+"texture": SubResource("AtlasTexture_hqtel")
}],
"loop": true,
"name": &"idle",
@@ -77,7 +86,7 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
-"texture": SubResource("AtlasTexture_q6r6c")
+"texture": SubResource("AtlasTexture_sweqy")
}],
"loop": true,
"name": &"jump",
@@ -85,13 +94,10 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
-"texture": SubResource("AtlasTexture_0hol4")
+"texture": SubResource("AtlasTexture_hqtel")
}, {
"duration": 1.0,
-"texture": SubResource("AtlasTexture_0e48y")
-}, {
-"duration": 1.0,
-"texture": SubResource("AtlasTexture_epypp")
+"texture": SubResource("AtlasTexture_sweqy")
}],
"loop": true,
"name": &"walk",
@@ -107,9 +113,8 @@ script = ExtResource("2_onrkg")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
position = Vector2(0, -1)
sprite_frames = SubResource("SpriteFrames_rj586")
-animation = &"walk"
-autoplay = "walk"
-frame_progress = 0.86319524
+animation = &"idle"
+autoplay = "idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 3)
diff --git a/room_test1.tscn b/room_test1.tscn
index 55b2103..97056cb 100644
--- a/room_test1.tscn
+++ b/room_test1.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=7 format=4 uid="uid://cfj21o6wsd3hv"]
+[gd_scene load_steps=9 format=4 uid="uid://cfj21o6wsd3hv"]
[ext_resource type="Texture2D" uid="uid://o0yy2jkyp0dy" path="res://assets/kenney_1-bit-platformer-pack/Tilemap/monochrome_tilemap_transparent_packed.png" id="1_ubxha"]
[ext_resource type="PackedScene" uid="uid://coxnsharboouu" path="res://player.tscn" id="2_qglt1"]
@@ -437,6 +437,14 @@ texture = ExtResource("1_ubxha")
physics_layer_0/collision_layer = 1
sources/1 = SubResource("TileSetAtlasSource_0e48y")
+[sub_resource type="Gradient" id="Gradient_dri7h"]
+colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
+
+[sub_resource type="GradientTexture2D" id="GradientTexture2D_m3rqw"]
+gradient = SubResource("Gradient_dri7h")
+fill = 1
+fill_from = Vector2(0.5, 0.5)
+
[node name="RoomTest1" type="Node2D"]
process_mode = 1
@@ -473,3 +481,31 @@ exit_towards = "JUMP_RIGHT"
enter_towards = "DROP"
target_room = "res://room_test3.tscn"
target_door = "DoorUp"
+
+[node name="CanvasModulate" type="CanvasModulate" parent="."]
+color = Color(0.20854908, 0.12776822, 0.042044938, 1)
+
+[node name="PointLight2D" type="PointLight2D" parent="."]
+position = Vector2(62.000008, 61.000008)
+scale = Vector2(6.859375, 6.375)
+color = Color(0.99945337, 0.8187886, 0.8147719, 1)
+energy = 2.0
+texture = SubResource("GradientTexture2D_m3rqw")
+height = 50.0
+
+[node name="PointLight2D2" type="PointLight2D" parent="."]
+visible = false
+position = Vector2(179, -9)
+scale = Vector2(6.859375, 6.375)
+color = Color(0.99945337, 0.8187886, 0.8147719, 1)
+energy = 2.0
+texture = SubResource("GradientTexture2D_m3rqw")
+height = 50.0
+
+[node name="DirectionalLight2D" type="DirectionalLight2D" parent="."]
+position = Vector2(113, -70)
+color = Color(0.8901961, 0.9137255, 0.9098039, 1)
+shadow_enabled = true
+shadow_filter = 1
+shadow_filter_smooth = 3.1
+height = 0.28