Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
eclectic-kitty committed Feb 6, 2021
1 parent 3f476ec commit 80b873e
Show file tree
Hide file tree
Showing 290 changed files with 35,451 additions and 427 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
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"]
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
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.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
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.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Plugin Specific ignores
default_env.tres
icon.png
icon.png.import
project.godot
scn/
override.cfg

# Godot-specific ignores
.import/
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Executables/V1/Cute Shmup Linux.zip
Binary file not shown.
Binary file added Executables/V1/Cute Shmup Linux/Cute Shmup.pck
Binary file not shown.
Binary file added Executables/V1/Cute Shmup MacOS.zip
Binary file not shown.
Binary file added Executables/V1/Cute Shmup Windows.zip
Binary file not shown.
28 changes: 28 additions & 0 deletions HUD.gd
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
76 changes: 76 additions & 0 deletions HUD.tscn
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
}
Loading

0 comments on commit 80b873e

Please sign in to comment.