summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-24 23:17:49 +0200
committerrom <romangraef@gmail.com>2021-04-24 23:18:00 +0200
commit40718db4c9486eeb2bad250ba06071c3588ddfa3 (patch)
tree9bef14e42952d25bfe88f99a621f9f21f785b630 /scenes
parenta4ebe6e0ebc07012fb2fcaf1bbbf271046265fc4 (diff)
downloadldjam48-40718db4c9486eeb2bad250ba06071c3588ddfa3.tar.gz
ldjam48-40718db4c9486eeb2bad250ba06071c3588ddfa3.tar.bz2
ldjam48-40718db4c9486eeb2bad250ba06071c3588ddfa3.zip
pathrenderer
Diffstat (limited to 'scenes')
-rw-r--r--scenes/levels/base_level.tscn26
1 files changed, 26 insertions, 0 deletions
diff --git a/scenes/levels/base_level.tscn b/scenes/levels/base_level.tscn
new file mode 100644
index 0000000..ab8e820
--- /dev/null
+++ b/scenes/levels/base_level.tscn
@@ -0,0 +1,26 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://textures/backgrounds/background_blue.png" type="Texture" id=1]
+[ext_resource path="res://components/PathRenderer.gd" type="Script" id=2]
+
+[sub_resource type="Curve2D" id=1]
+_data = {
+"points": PoolVector2Array( 0, 0, 0, 0, -214.33, -262.484, 0, 0, 0, 0, 449.67, -270.484, 0, 0, 0, 0, 425.67, -534.484, 0, 0, 0, 0, -134.33, -790.484, 0, 0, 0, 0, -358.33, -630.484, 0, 0, 0, 0, -214.33, -262.484, 0, 0, 0, 0, 585.67, -902.484 )
+}
+
+[node name="BaseLevel" type="Node2D"]
+position = Vector2( 486.33, -65.5159 )
+
+[node name="Camera2D" type="Camera2D" parent="."]
+position = Vector2( -46.33, -438.484 )
+current = true
+
+[node name="background_blue" type="Sprite" parent="Camera2D"]
+scale = Vector2( 0.667, 0.667 )
+texture = ExtResource( 1 )
+
+[node name="PathRenderer" type="Node2D" parent="."]
+script = ExtResource( 2 )
+
+[node name="Path2D" type="Path2D" parent="PathRenderer"]
+curve = SubResource( 1 )