Implement level 1

Level 1 is now playable; more to be added
This commit is contained in:
Jane Cho committed 2021-12-08 02:21:21 -06:00
1 parent 05e04c7db9
commit 6e4284a792
24 files changed
+534 -215

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/blue_star.png" type="Texture" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7.95021, 8.07351 )
[node name="Star" type="RigidBody2D"]
collision_layer = 4
collision_mask = 0
mode = 1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
+16
View File
@@ -0,0 +1,16 @@
extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
+42
View File
@@ -0,0 +1,42 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Sprites/Assets/galaxy_background.png" type="Texture" id=1]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=2]
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=3]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=4]
[ext_resource path="res://Levels/Level 1.gd" type="Script" id=5]
[ext_resource path="res://Enemies/Dark Matter.tscn" type="PackedScene" id=6]
[ext_resource path="res://Levels/Interactables/Star.tscn" type="PackedScene" id=7]
[node name="Space Level" type="Node2D"]
script = ExtResource( 5 )
[node name="Player" parent="." instance=ExtResource( 4 )]
position = Vector2( 178.673, 89.1493 )
[node name="Camera2D" type="Camera2D" parent="Player"]
current = true
limit_left = 0
limit_top = 0
limit_right = 640
limit_bottom = 360
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
rect_scale = Vector2( 4, 4 )
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HUD" parent="." instance=ExtResource( 2 )]
[node name="Pause Screen" parent="." instance=ExtResource( 3 )]
[node name="Dark Matter" parent="." instance=ExtResource( 6 )]
position = Vector2( 97.0154, 82.0323 )
collision_mask = 0
[node name="Star" parent="." instance=ExtResource( 7 )]
position = Vector2( 140.092, 133.724 )
+11 -12
View File
@@ -34,10 +34,10 @@ animations = [ {
"speed": 10.0
} ]
[sub_resource type="ConvexPolygonShape2D" id=10]
[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="TileSet" id=9]
[sub_resource type="TileSet" id=3]
0/name = "transparent16x16.png 0"
0/texture = ExtResource( 19 )
0/tex_offset = Vector2( 0, 0 )
@@ -48,22 +48,22 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 10 )
0/shape = SubResource( 2 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 10 ),
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0
[sub_resource type="RectangleShape2D" id=11]
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 39, 10 )
[sub_resource type="RectangleShape2D" id=12]
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 26.5, 10 )
[node name="World" type="Node2D"]
@@ -86,21 +86,20 @@ tile_data = PoolIntArray( -2359292, 0, 5, -2359291, 0, 196610, -2359290, 0, 1966
[node name="Fire3" type="AnimatedSprite" parent="."]
position = Vector2( -607.628, -210.601 )
frames = SubResource( 1 )
frame = 2
frame = 11
playing = true
offset = Vector2( 679.819, 333.222 )
[node name="Fire2" type="AnimatedSprite" parent="."]
position = Vector2( -543.25, -212.563 )
frames = SubResource( 1 )
frame = 5
playing = true
offset = Vector2( 679.819, 333.222 )
[node name="Fire1" type="AnimatedSprite" parent="."]
position = Vector2( -479.806, -214.167 )
frames = SubResource( 1 )
frame = 12
frame = 7
playing = true
offset = Vector2( 679.819, 333.222 )
@@ -112,7 +111,7 @@ format = 1
tile_data = PoolIntArray( -2293755, 8, 37, -2293754, 8, 38, -2293753, 8, 38, -2293752, 8, 38, -2293751, 8, 38, -2293750, 8, 38, -2293749, 8, 38, -2293748, 8, 38, -2293747, 8, 38, -2293746, 8, 38, -2293745, 8, 38, -2293744, 8, 38, -2293743, 8, 38, -2293742, 8, 38, -2293741, 8, 39, -2228219, 8, 65573, -2228218, 8, 65574, -2228217, 8, 65574, -2228216, 8, 65574, -2228215, 8, 65574, -2228214, 8, 65574, -2228213, 8, 65574, -2228212, 8, 65574, -2228211, 8, 65574, -2228210, 8, 65574, -2228209, 8, 65574, -2228208, 8, 65574, -2228207, 8, 65574, -2228206, 8, 65574, -2228205, 8, 65575, -2162683, 8, 65573, -2162682, 8, 65574, -2162681, 8, 65574, -2162680, 8, 65574, -2162679, 8, 65574, -2162678, 8, 65574, -2162677, 8, 65574, -2162676, 8, 65574, -2162675, 8, 65574, -2162674, 8, 65574, -2162673, 8, 65574, -2162672, 8, 65574, -2162671, 8, 65574, -2162670, 8, 65574, -2162669, 8, 65575, -2097147, 8, 65573, -2097146, 8, 65574, -2097145, 8, 65574, -2097144, 8, 65574, -2097143, 8, 65574, -2097142, 8, 65574, -2097141, 8, 65574, -2097140, 8, 65574, -2097139, 8, 65574, -2097138, 8, 65574, -2097137, 8, 65574, -2097136, 8, 65574, -2097135, 8, 65574, -2097134, 8, 65574, -2097133, 8, 65575, -2031611, 8, 65573, -2031610, 8, 65574, -2031609, 8, 65574, -2031608, 8, 65574, -2031607, 8, 65574, -2031606, 8, 65574, -2031605, 8, 65574, -2031604, 8, 65574, -2031603, 8, 65574, -2031602, 8, 65574, -2031601, 8, 65574, -2031600, 8, 65574, -2031599, 8, 65574, -2031598, 8, 65574, -2031597, 8, 65575, -1966075, 8, 65573, -1966074, 8, 65574, -1966073, 8, 65574, -1966072, 8, 65574, -1966071, 8, 65574, -1966070, 8, 65574, -1966069, 8, 65574, -1966068, 8, 65574, -1966067, 8, 65574, -1966066, 8, 65574, -1966065, 8, 65574, -1966064, 8, 65574, -1966063, 8, 65574, -1966062, 8, 65574, -1966061, 8, 65575, -1900539, 8, 65573, -1900538, 8, 65574, -1900537, 8, 65574, -1900536, 8, 65574, -1900535, 8, 65574, -1900534, 8, 65574, -1900533, 8, 65574, -1900532, 8, 65574, -1900531, 8, 65574, -1900530, 8, 65574, -1900529, 8, 65574, -1900528, 8, 65574, -1900527, 8, 65574, -1900526, 8, 65574, -1900525, 8, 65575, -1835003, 8, 65573, -1835002, 8, 65574, -1835001, 8, 65574, -1835000, 8, 65574, -1834999, 8, 65574, -1834998, 8, 65574, -1834997, 8, 65574, -1834996, 8, 65574, -1834995, 8, 65574, -1834994, 8, 65574, -1834993, 8, 65574, -1834992, 8, 65574, -1834991, 8, 65574, -1834990, 8, 65574, -1834989, 8, 65575, -1769467, 8, 65573, -1769466, 8, 65574, -1769465, 8, 65574, -1769464, 8, 65574, -1769463, 8, 65574, -1769462, 8, 65574, -1769461, 8, 65574, -1769460, 8, 65574, -1769459, 8, 65574, -1769458, 8, 65574, -1769457, 8, 65574, -1769456, 8, 65574, -1769455, 8, 65574, -1769454, 8, 65574, -1769453, 8, 65575, -1703931, 8, 131109, -1703930, 8, 131110, -1703929, 8, 131110, -1703928, 8, 131110, -1703927, 8, 131110, -1703926, 8, 131110, -1703925, 8, 65579, -1703924, 8, 65574, -1703923, 8, 65578, -1703922, 8, 131110, -1703921, 8, 131110, -1703920, 8, 131110, -1703919, 8, 131110, -1703918, 8, 131110, -1703917, 8, 131111, -1638389, 8, 65573, -1638388, 8, 65574, -1638387, 8, 65575, -1572853, 8, 65573, -1572852, 8, 65574, -1572851, 8, 65575, -1507317, 8, 65573, -1507316, 8, 65574, -1507315, 8, 65575, -1441781, 8, 65573, -1441780, 8, 65574, -1441779, 8, 65575, -1376245, 8, 65573, -1376244, 8, 65574, -1376243, 8, 65575, -1310709, 8, 65573, -1310708, 8, 65574, -1310707, 8, 65575, -1245173, 8, 65573, -1245172, 8, 65574, -1245171, 8, 65575, -1179637, 8, 131109, -1179636, 8, 131110, -1179635, 8, 131111, -1048565, 8, 37, -1048564, 8, 38, -1048563, 8, 39, -983029, 8, 65573, -983028, 8, 65574, -983027, 8, 65575, -917493, 8, 65573, -917492, 8, 65574, -917491, 8, 65575, -851957, 8, 65573, -851956, 8, 65574, -851955, 8, 65575, -786421, 8, 65573, -786420, 8, 65574, -786419, 8, 65575, -720885, 8, 65573, -720884, 8, 65574, -720883, 8, 65575, -655349, 8, 65573, -655348, 8, 65574, -655347, 8, 65575, -589813, 8, 65573, -589812, 8, 65574, -589811, 8, 65575, -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -524277, 8, 65573, -524276, 8, 65574, -524275, 8, 65575, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -458741, 8, 65573, -458740, 8, 65574, -458739, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -393205, 8, 65573, -393204, 8, 65574, -393203, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -327669, 8, 65573, -327668, 8, 65574, -327667, 8, 65575, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -262133, 8, 65573, -262132, 8, 65574, -262131, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -196597, 8, 65573, -196596, 8, 65574, -196595, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -131061, 8, 65573, -131060, 8, 65574, -131059, 8, 65575, -65536Line truncated
[node name="Wall (Collision)" type="TileMap" parent="."]
tile_set = SubResource( 9 )
tile_set = SubResource( 3 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 8, 0, 0, 8, 0, 0 )
show_collision = true
@@ -207,14 +206,14 @@ collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorCollision"]
position = Vector2( 201, -10 )
shape = SubResource( 11 )
shape = SubResource( 4 )
[node name="NextArea" type="Area2D" parent="."]
collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="NextArea"]
position = Vector2( 200, -56 )
shape = SubResource( 12 )
shape = SubResource( 5 )
[node name="DemonBoss" parent="." instance=ExtResource( 26 )]
position = Vector2( 194, -550 )