Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions Health_Bar/Scenes/HealthBar.tscn
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
[gd_scene load_steps=4 format=2]

[ext_resource path="res://Health_bar_under.png" type="Texture" id=1]
[ext_resource path="res://Health_bar_progress_prog.png" type="Texture" id=2]
[ext_resource path="res://Scripts/HealthBar.gd" type="Script" id=3]
[gd_scene format=2]

[node name="healthBar" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
Expand All @@ -17,8 +12,6 @@ __meta__ = {
margin_right = 231.0
margin_bottom = 33.0
value = 100.0
texture_under = ExtResource( 1 )
texture_progress = ExtResource( 2 )
tint_progress = Color( 1, 0.14902, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
Expand All @@ -28,7 +21,6 @@ __meta__ = {
margin_right = 231.0
margin_bottom = 33.0
value = 100.0
texture_progress = ExtResource( 2 )
tint_progress = Color( 0, 1, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Health_bar_over.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Health_bar_over.png-d2363adbd1b932c89301071f460d6302.stex"
path="res://.import/Health_bar_over.png-99103f43d6c3e5aa3c0a60b48a85a684.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Health_bar_over.png"
dest_files=[ "res://.import/Health_bar_over.png-d2363adbd1b932c89301071f460d6302.stex" ]
source_file="res://Health_Bar/sprite/Health_bar_over.png"
dest_files=[ "res://.import/Health_bar_over.png-99103f43d6c3e5aa3c0a60b48a85a684.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Health_bar_progress.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Health_bar_progress.png-bcd51a815c23a0da3be9fc594ecbb5ae.stex"
path="res://.import/Health_bar_progress.png-6e6856c8b10b1455f6fad5bcbe0f76fa.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Health_bar_progress.png"
dest_files=[ "res://.import/Health_bar_progress.png-bcd51a815c23a0da3be9fc594ecbb5ae.stex" ]
source_file="res://Health_Bar/sprite/Health_bar_progress.png"
dest_files=[ "res://.import/Health_bar_progress.png-6e6856c8b10b1455f6fad5bcbe0f76fa.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Health_bar_progress_over.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Health_bar_progress_over.png-4c9a42c070e1c9af7645a080291b2f0a.stex"
path="res://.import/Health_bar_progress_over.png-483bcac30a9de6755151d5642829bb74.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Health_bar_progress_over.png"
dest_files=[ "res://.import/Health_bar_progress_over.png-4c9a42c070e1c9af7645a080291b2f0a.stex" ]
source_file="res://Health_Bar/sprite/Health_bar_progress_over.png"
dest_files=[ "res://.import/Health_bar_progress_over.png-483bcac30a9de6755151d5642829bb74.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Health_bar_progress_prog.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Health_bar_progress_prog.png-e3a0a7cca9828290848b0d522a681ef3.stex"
path="res://.import/Health_bar_progress_prog.png-d9a0c0ed4474daaf4eae423e4444976c.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Health_bar_progress_prog.png"
dest_files=[ "res://.import/Health_bar_progress_prog.png-e3a0a7cca9828290848b0d522a681ef3.stex" ]
source_file="res://Health_Bar/sprite/Health_bar_progress_prog.png"
dest_files=[ "res://.import/Health_bar_progress_prog.png-d9a0c0ed4474daaf4eae423e4444976c.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Health_bar_under.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Health_bar_under.png-728777517fbd300fd08cbc0f722a4591.stex"
path="res://.import/Health_bar_under.png-e4b45134e1c69c617cac83cf16e28c74.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Health_bar_under.png"
dest_files=[ "res://.import/Health_bar_under.png-728777517fbd300fd08cbc0f722a4591.stex" ]
source_file="res://Health_Bar/sprite/Health_bar_under.png"
dest_files=[ "res://.import/Health_bar_under.png-e4b45134e1c69c617cac83cf16e28c74.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Idle0.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Idle0.png-b310556d32882e7ccc9de63c86df2556.stex"
path="res://.import/Idle0.png-40dd4ac0439d160dd4cc2a15baacdaf9.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Idle0.png"
dest_files=[ "res://.import/Idle0.png-b310556d32882e7ccc9de63c86df2556.stex" ]
source_file="res://Health_Bar/sprite/Player/Idle0.png"
dest_files=[ "res://.import/Idle0.png-40dd4ac0439d160dd4cc2a15baacdaf9.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Jump0.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Jump0.png-a0f81fba7c1df5ba8834da20cceab1f6.stex"
path="res://.import/Jump0.png-f65accd94243e8efef0c673930e557fd.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Jump0.png"
dest_files=[ "res://.import/Jump0.png-a0f81fba7c1df5ba8834da20cceab1f6.stex" ]
source_file="res://Health_Bar/sprite/Player/Jump0.png"
dest_files=[ "res://.import/Jump0.png-f65accd94243e8efef0c673930e557fd.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Jump1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Jump1.png-c8603a8bd57de551804d5a32c6117f46.stex"
path="res://.import/Jump1.png-41a3f88206b76be588c20b9b67c23e08.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Jump1.png"
dest_files=[ "res://.import/Jump1.png-c8603a8bd57de551804d5a32c6117f46.stex" ]
source_file="res://Health_Bar/sprite/Player/Jump1.png"
dest_files=[ "res://.import/Jump1.png-41a3f88206b76be588c20b9b67c23e08.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Jump3.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Jump3.png-6759ba20fa5a4bca0a939eacce0cebe1.stex"
path="res://.import/Jump3.png-27f2690e7c15c5d82b6a934d494cafce.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Jump3.png"
dest_files=[ "res://.import/Jump3.png-6759ba20fa5a4bca0a939eacce0cebe1.stex" ]
source_file="res://Health_Bar/sprite/Player/Jump3.png"
dest_files=[ "res://.import/Jump3.png-27f2690e7c15c5d82b6a934d494cafce.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Jump4.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Jump4.png-a6c7753bbd0f72398fd812c0ff98923a.stex"
path="res://.import/Jump4.png-a0c443d2474b2eef2ed81331a4842bce.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Jump4.png"
dest_files=[ "res://.import/Jump4.png-a6c7753bbd0f72398fd812c0ff98923a.stex" ]
source_file="res://Health_Bar/sprite/Player/Jump4.png"
dest_files=[ "res://.import/Jump4.png-a0c443d2474b2eef2ed81331a4842bce.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run0.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run0.png-73898f22d7d3165903b069279ec63beb.stex"
path="res://.import/Run0.png-305e1557e4b17226d6a2d95cc95f0e16.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run0.png"
dest_files=[ "res://.import/Run0.png-73898f22d7d3165903b069279ec63beb.stex" ]
source_file="res://Health_Bar/sprite/Player/Run0.png"
dest_files=[ "res://.import/Run0.png-305e1557e4b17226d6a2d95cc95f0e16.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run1.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run1.png-16b2d1729b6c356cc92b2d4b3caa8af2.stex"
path="res://.import/Run1.png-d1b141612bf69c2a28f1f2a4f61bc514.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run1.png"
dest_files=[ "res://.import/Run1.png-16b2d1729b6c356cc92b2d4b3caa8af2.stex" ]
source_file="res://Health_Bar/sprite/Player/Run1.png"
dest_files=[ "res://.import/Run1.png-d1b141612bf69c2a28f1f2a4f61bc514.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run2.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run2.png-973cd212168d7cdab9f9c96f53a0e007.stex"
path="res://.import/Run2.png-391b1e4f65753bd8f0babc6963157a8e.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run2.png"
dest_files=[ "res://.import/Run2.png-973cd212168d7cdab9f9c96f53a0e007.stex" ]
source_file="res://Health_Bar/sprite/Player/Run2.png"
dest_files=[ "res://.import/Run2.png-391b1e4f65753bd8f0babc6963157a8e.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run3.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run3.png-d278fa0c70ba0d3f220e7d7b7d8a0757.stex"
path="res://.import/Run3.png-ba0737d2b733bb527ae32472eb3585c5.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run3.png"
dest_files=[ "res://.import/Run3.png-d278fa0c70ba0d3f220e7d7b7d8a0757.stex" ]
source_file="res://Health_Bar/sprite/Player/Run3.png"
dest_files=[ "res://.import/Run3.png-ba0737d2b733bb527ae32472eb3585c5.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run4.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run4.png-b26ec3886a562b31416df15686c9d308.stex"
path="res://.import/Run4.png-22758287541b17a78f4f83efe9d765f1.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run4.png"
dest_files=[ "res://.import/Run4.png-b26ec3886a562b31416df15686c9d308.stex" ]
source_file="res://Health_Bar/sprite/Player/Run4.png"
dest_files=[ "res://.import/Run4.png-22758287541b17a78f4f83efe9d765f1.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/Player/Run7.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/Run7.png-75208435f54ca198a85898bdebdf453d.stex"
path="res://.import/Run7.png-df607a3057fe26bb413f2eb823bd18e6.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://sprite/Player/Run7.png"
dest_files=[ "res://.import/Run7.png-75208435f54ca198a85898bdebdf453d.stex" ]
source_file="res://Health_Bar/sprite/Player/Run7.png"
dest_files=[ "res://.import/Run7.png-df607a3057fe26bb413f2eb823bd18e6.stex" ]

[params]

Expand Down
6 changes: 3 additions & 3 deletions Health_Bar/sprite/icon.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
path="res://.import/icon.png-df77de16d8da21758b0ce57a0a448e0c.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
source_file="res://Health_Bar/sprite/icon.png"
dest_files=[ "res://.import/icon.png-df77de16d8da21758b0ce57a0a448e0c.stex" ]

[params]

Expand Down
18 changes: 18 additions & 0 deletions Youlost.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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
func _on_ButtonPlayAgain_pressed() -> void:
get_tree().change_scene("LevelTemplate.tscn")
Loading