[EDIT] game map built and ready to play

This commit is contained in:
baldas_h 2020-04-04 23:43:23 +02:00
parent 81beaf9092
commit 0c59fbccc7
9 changed files with 78 additions and 10 deletions

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Scene/EndGameWindow.gd" type="Script" id=1]
[ext_resource path="res://Scripts/EndGameWindow.gd" type="Script" id=1]
[ext_resource path="res://Font/COMIC.tres" type="DynamicFont" id=2]
[node name="CanvasLayer" type="CanvasLayer"]

View File

@ -1,11 +1,15 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Assets/Tiling/Tileset.tres" type="TileSet" id=1]
[ext_resource path="res://Scene/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://Scene/HealthBar.tscn" type="PackedScene" id=3]
[ext_resource path="res://Scene/EndGameWindow.tscn" type="PackedScene" id=4]
[ext_resource path="res://Scene/GameManager.tscn" type="PackedScene" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 991.884, 66.2394 )
[node name="Node2D" type="Node2D"]
[node name="World" type="Node2D"]
[node name="Ground" type="TileMap" parent="."]
tile_set = ExtResource( 1 )
@ -51,3 +55,68 @@ visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Walls/DownWall"]
position = Vector2( 937.312, 1151.28 )
shape = SubResource( 1 )
[node name="HealthBar" parent="Walls" instance=ExtResource( 3 )]
margin_left = 35.0
margin_right = 35.0
[node name="HealthBar2" parent="Walls" instance=ExtResource( 3 )]
margin_left = 1300.0
margin_right = 1300.0
[node name="Player1" parent="." instance=ExtResource( 2 )]
position = Vector2( 292.436, 346.549 )
z_index = 10
[node name="Player2" parent="." instance=ExtResource( 2 )]
position = Vector2( 1604.59, 344.539 )
z_index = 10
[node name="GameManager" parent="." instance=ExtResource( 5 )]
[node name="CanvasLayer" parent="." instance=ExtResource( 4 )]
[node name="SpawnPoint" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 171.851, 952.915 )
[node name="SpawnPoint2" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 1706.89, 978.24 )
[node name="SpawnPoint3" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 1736.11, 212.667 )
[node name="SpawnPoint4" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 195.227, 206.823 )
[node name="SpawnPoint5" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 898.463, 580.843 )
[node name="SpawnPoint6" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 902.359, 222.408 )
[node name="SpawnPoint7" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 898.463, 958.759 )
[node name="SpawnPoint8" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 199.123, 592.532 )
[node name="SpawnPoint9" type="Node2D" parent="." groups=[
"spawn_point",
]]
position = Vector2( 1730.27, 580.843 )

View File

@ -3,7 +3,7 @@
[ext_resource path="res://Assets/lifepaint 3 final.png" type="Texture" id=1]
[ext_resource path="res://Assets/lifepaint 1 final.png" type="Texture" id=2]
[ext_resource path="res://Assets/lifepaint 2 final.png" type="Texture" id=3]
[ext_resource path="res://Scene/HealthBar.gd" type="Script" id=4]
[ext_resource path="res://Scripts/HealthBar.gd" type="Script" id=4]
[node name="HealthBar" type="Control" groups=[
"healthbar",

View File

@ -206,7 +206,6 @@ start_node = "Idle"
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
z_index = 2
texture = ExtResource( 1 )
hframes = 28
frame = 14

View File

@ -1,14 +1,14 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/titlescreen.png" type="Texture" id=1]
[ext_resource path="res://Scene/TitleScreen.gd" type="Script" id=2]
[ext_resource path="res://Scripts/TitleScreen.gd" type="Script" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[node name="TitleScreen" type="Node2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 0.203183, 0.209793 )
scale = Vector2( 1.21961, 1.26337 )
texture = ExtResource( 1 )
centered = false

View File

@ -13,7 +13,7 @@ func _process(delta):
quitGameButton.grab_focus()
func _on_StartGameButton_pressed():
get_tree().change_scene("res://Scene/TestScene.tscn")
get_tree().change_scene("res://Scene/GameMap.tscn")
func _on_QuitGame_pressed():
get_tree().quit()

View File

@ -16,14 +16,14 @@ _global_script_class_icons={
[application]
config/name="Paint Jam 2020"
run/main_scene="res://Scene/GameMap.tscn"
run/main_scene="res://Scene/TitleScreen.tscn"
config/icon="res://icon.png"
[display]
window/size/width=1920
window/size/height=1080
window/size/borderless=true
window/size/fullscreen=true
window/size/test_width=1920
window/size/test_height=1080
window/stretch/mode="2d"