Added level 1, base-level to abstract from, and level-controller

This commit is contained in:
Nathan Anderson
2022-08-05 17:15:17 -06:00
parent c95b9f9928
commit 77386f7af6
42 changed files with 985 additions and 531 deletions
+10 -10
View File
@@ -11,11 +11,7 @@
[ext_resource path="res://scripts/player.gd" type="Script" id=9]
[ext_resource path="res://assets/mrRogers.png" type="Texture" id=10]
[ext_resource path="res://assets/chevron_pointer.png" type="Texture" id=11]
[ext_resource path="res://scenes/UI.tscn" type="PackedScene" id=12]
[sub_resource type="CapsuleShape2D" id=2]
radius = 13.0
height = 10.0001
[ext_resource path="res://scenes/gui.tscn" type="PackedScene" id=12]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
@@ -30,17 +26,16 @@ animations = [ {
"speed": 8.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 13.0
height = 10.0001
[node name="Player" type="KinematicBody2D"]
collision_mask = 7
script = ExtResource( 9 )
ACCELERATION = 2000
FRICTION = 2500
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 4 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 2, -25 )
scale = Vector2( 5, 5 )
@@ -48,6 +43,11 @@ frames = SubResource( 1 )
animation = "idle"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 4 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true