Merge pull request 'contrib: simple test level' (#2) from devel into main
CI / Test (push) Successful in 22s

Reviewed-on: http://192.168.1.33:3000/nerpa/novast/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
2026-05-10 13:27:43 +03:00
5 changed files with 33 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@
export.cfg
export_presets.cfg
*.gd.uid
addons/
# Imported translations (automatically generated from CSV files)
*.translation
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
}
}
+18
View File
@@ -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)
+10
View File
@@ -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")