forked from eclectic-kitty/fighting-hearts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f476ec
commit 80b873e
Showing
290 changed files
with
35,451 additions
and
427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
custom: ["https://paypal.me/NSantilio"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[Bug] " | ||
labels: bug | ||
assignees: fenix-hub | ||
|
||
--- | ||
|
||
**Godot Version & Plugin Version** | ||
Godot: *x.x.x* | ||
Plugin: *x.x.x* | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Screenshots** | ||
A screenshot of Godot Editor while you are encountering this bug, or a clear screenshot of Editor/External console. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[Feature] " | ||
labels: enhancement | ||
assignees: fenix-hub | ||
|
||
--- | ||
|
||
**Describe the feature you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe a possible solution of implementation** | ||
A clear and concise description of any implementation solution. It is not mandatory, leave this blank if you don't want to get into technical stuff. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
extends CanvasLayer | ||
|
||
var score = 0 | ||
|
||
func _ready(): | ||
$HealthBar.set_frame(10) | ||
$PowerupBar.visible = 0 | ||
$PowerupBar.set_frame(10) | ||
|
||
|
||
func _process(_delta): | ||
$ScoreLabel.text = str(score) | ||
|
||
|
||
func _on_player_damaged(health): | ||
$HealthBar.set_frame(floor(health/10)) | ||
|
||
|
||
func _on_powerup_picked_up(instance): | ||
$PowerupBar.visible = 1 | ||
|
||
|
||
func _on_powerup_use_update(use): | ||
$PowerupBar.set_frame(ceil(lerp(10, 0, use/100))) | ||
|
||
|
||
func _on_Enemy_death(): | ||
score += 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[gd_scene load_steps=28 format=2] | ||
|
||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_full.png" type="Texture" id=1] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_full.png" type="Texture" id=2] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_7.png" type="Texture" id=3] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_8.png" type="Texture" id=4] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_7.png" type="Texture" id=5] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_3.png" type="Texture" id=6] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_5.png" type="Texture" id=7] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_4.png" type="Texture" id=8] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_empty.png" type="Texture" id=9] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_9.png" type="Texture" id=10] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_8.png" type="Texture" id=11] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_9.png" type="Texture" id=12] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_empty.png" type="Texture" id=13] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_4.png" type="Texture" id=14] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_1.png" type="Texture" id=15] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_6.png" type="Texture" id=16] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_2.png" type="Texture" id=17] | ||
[ext_resource path="res://textures_&_sprites/powerup_bar/powerup_bar_6.png" type="Texture" id=18] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_2.png" type="Texture" id=19] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_1.png" type="Texture" id=20] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_5.png" type="Texture" id=21] | ||
[ext_resource path="res://textures_&_sprites/health_bar/health_bar_3.png" type="Texture" id=22] | ||
[ext_resource path="res://HUD.gd" type="Script" id=23] | ||
[ext_resource path="res://textures_&_sprites/PressStart2P-Regular.ttf" type="DynamicFontData" id=24] | ||
|
||
[sub_resource type="SpriteFrames" id=1] | ||
animations = [ { | ||
"frames": [ ExtResource( 9 ), ExtResource( 20 ), ExtResource( 19 ), ExtResource( 22 ), ExtResource( 14 ), ExtResource( 21 ), ExtResource( 16 ), ExtResource( 5 ), ExtResource( 4 ), ExtResource( 10 ), ExtResource( 1 ) ], | ||
"loop": true, | ||
"name": "default", | ||
"speed": 5.0 | ||
} ] | ||
|
||
[sub_resource type="SpriteFrames" id=2] | ||
animations = [ { | ||
"frames": [ ExtResource( 13 ), ExtResource( 15 ), ExtResource( 17 ), ExtResource( 6 ), ExtResource( 8 ), ExtResource( 7 ), ExtResource( 18 ), ExtResource( 3 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 2 ) ], | ||
"loop": true, | ||
"name": "default", | ||
"speed": 5.0 | ||
} ] | ||
|
||
[sub_resource type="DynamicFont" id=3] | ||
size = 56 | ||
font_data = ExtResource( 24 ) | ||
|
||
[node name="HUD" type="CanvasLayer"] | ||
script = ExtResource( 23 ) | ||
|
||
[node name="HealthBar" type="AnimatedSprite" parent="."] | ||
position = Vector2( 139.491, 44.7171 ) | ||
frames = SubResource( 1 ) | ||
|
||
[node name="PowerupBar" type="AnimatedSprite" parent="."] | ||
position = Vector2( 422.24, 44.7171 ) | ||
frames = SubResource( 2 ) | ||
|
||
[node name="ScoreLabel" type="Label" parent="."] | ||
anchor_left = 0.5 | ||
anchor_top = 0.011 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.089 | ||
margin_left = -28.0 | ||
margin_top = 10.1 | ||
margin_right = 28.0 | ||
margin_bottom = -4.1 | ||
grow_horizontal = 2 | ||
custom_fonts/font = SubResource( 3 ) | ||
custom_colors/font_color = Color( 0, 0, 0, 1 ) | ||
text = "0" | ||
align = 1 | ||
valign = 1 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} |
Oops, something went wrong.