summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-09-23 18:33:48 -0600
committerLogan <logan@cflip.net>2022-09-23 18:33:48 -0600
commit983a8f75f974ace86a39c5172042c19d2a880652 (patch)
tree10c75fa22b0bb7b0e7626f7604365823eb224198
parentc796c56435a40a1e72b07ffad3840bc43c040171 (diff)
Added basic level scene with floor.
-rw-r--r--level.tscn26
-rw-r--r--project.godot2
2 files changed, 27 insertions, 1 deletions
diff --git a/level.tscn b/level.tscn
new file mode 100644
index 0000000..0312c92
--- /dev/null
+++ b/level.tscn
@@ -0,0 +1,26 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://icon.png" type="Texture" id=1]
+[ext_resource path="res://basketball.tscn" type="PackedScene" id=2]
+
+[sub_resource type="RectangleShape2D" id=1]
+extents = Vector2( 512, 10 )
+
+[node name="Node2D" type="Node2D"]
+
+[node name="Basketball" parent="." instance=ExtResource( 2 )]
+position = Vector2( 71, 536 )
+
+[node name="StaticBody2D" type="StaticBody2D" parent="."]
+position = Vector2( 512, 590 )
+__meta__ = {
+"_edit_group_": true
+}
+
+[node name="Sprite" type="Sprite" parent="StaticBody2D"]
+position = Vector2( -3.05176e-05, 2.52724e-05 )
+scale = Vector2( 16, 0.3125 )
+texture = ExtResource( 1 )
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
+shape = SubResource( 1 )
diff --git a/project.godot b/project.godot
index b05b1de..50147a8 100644
--- a/project.godot
+++ b/project.godot
@@ -11,7 +11,7 @@ config_version=4
[application]
config/name="BasketBALLAZ"
-run/main_scene="res://basketball.tscn"
+run/main_scene="res://level.tscn"
config/icon="res://icon.png"
[gui]