From 09f4941e9faed3ed4c042d0f01223827617e824f Mon Sep 17 00:00:00 2001 From: nerpa Date: Sun, 10 May 2026 12:06:33 +0300 Subject: [PATCH 1/3] chore: update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3706029..e015dfa 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ export.cfg export_presets.cfg *.gd.uid +addons/ # Imported translations (automatically generated from CSV files) *.translation -- 2.54.0 From 240ad182074e888b61ee2b7b71198086439f127d Mon Sep 17 00:00:00 2001 From: nerpa Date: Sun, 10 May 2026 12:20:35 +0300 Subject: [PATCH 2/3] chore: update Makefile --- Makefile | 4 ++-- Makefile.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d895a5a..46fbd69 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: lint format lint: - uv run gdlint . + uv run gdlint scripts format: - uv run gdformat . --check + uv run gdformat scripts --check diff --git a/Makefile.ps1 b/Makefile.ps1 index a0065a5..6a643f2 100644 --- a/Makefile.ps1 +++ b/Makefile.ps1 @@ -6,10 +6,10 @@ param( switch ($Task) { "lint" { - uv run gdlint . + uv run gdlint scripts } "format" { - uv run gdformat . --check + uv run gdformat scripts --check } } -- 2.54.0 From 159132f985b4608c7876004536c7b5dc01658c03 Mon Sep 17 00:00:00 2001 From: nerpa Date: Sun, 10 May 2026 12:21:12 +0300 Subject: [PATCH 3/3] feat: add platform and level --- scenes/levels/level.tscn | 18 ++++++++++++++++++ scenes/platform/platform.tscn | 10 ++++++++++ 2 files changed, 28 insertions(+) create mode 100644 scenes/levels/level.tscn create mode 100644 scenes/platform/platform.tscn diff --git a/scenes/levels/level.tscn b/scenes/levels/level.tscn new file mode 100644 index 0000000..2c4f378 --- /dev/null +++ b/scenes/levels/level.tscn @@ -0,0 +1,18 @@ +[gd_scene format=3 uid="uid://j3g6vfsomawe"] + +[ext_resource type="PackedScene" uid="uid://c0pv2irnuvbvs" path="res://scenes/platform/platform.tscn" id="1_377w7"] +[ext_resource type="PackedScene" uid="uid://cc2rcjjhxub7p" path="res://scenes/player/player.tscn" id="2_bovvr"] + +[node name="Level" type="Node2D" unique_id=610755267] + +[node name="Platform" parent="." unique_id=1002571400 instance=ExtResource("1_377w7")] +position = Vector2(39, 240) + +[node name="Platform2" parent="." unique_id=1153496842 instance=ExtResource("1_377w7")] +position = Vector2(554, 240) + +[node name="Player" parent="." unique_id=1801952962 instance=ExtResource("2_bovvr")] +position = Vector2(403, 146) + +[node name="Platform3" parent="." unique_id=508821034 instance=ExtResource("1_377w7")] +position = Vector2(319, 323) diff --git a/scenes/platform/platform.tscn b/scenes/platform/platform.tscn new file mode 100644 index 0000000..ca552f9 --- /dev/null +++ b/scenes/platform/platform.tscn @@ -0,0 +1,10 @@ +[gd_scene format=3 uid="uid://c0pv2irnuvbvs"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_vjtli"] +size = Vector2(421, 20) + +[node name="Platform" type="StaticBody2D" unique_id=1002571400] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1207872999] +position = Vector2(200, 0) +shape = SubResource("RectangleShape2D_vjtli") -- 2.54.0