Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset Cleanup #20

Merged
merged 28 commits into from
Nov 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6c1f5c9
Removed extra transparent areas
Splendead-Goose Nov 24, 2021
bbdf74f
Fixing collisions
Gravedigger7789 Nov 24, 2021
2c5fd75
Fixing positions of sprites
Gravedigger7789 Nov 24, 2021
b6ae0ba
Updating player collision
Gravedigger7789 Nov 24, 2021
9dcd84d
Moved rock down a bit
Gravedigger7789 Nov 24, 2021
eb20150
Update icon.png
Splendead-Goose Nov 25, 2021
5f62309
Cleaned up splash buttons
Gravedigger7789 Nov 25, 2021
a4db10c
Fixed Centering
Gravedigger7789 Nov 25, 2021
ad7bf48
Center controller buttons
Gravedigger7789 Nov 25, 2021
8cbd9a1
Added icon.svg
Splendead-Goose Nov 28, 2021
d96f09b
Cleanup Unused Sounds
Splendead-Goose Nov 28, 2021
3b2eb40
Update theme.wav
Splendead-Goose Nov 28, 2021
d8139ef
Fixing some collisions
Gravedigger7789 Nov 28, 2021
f98a703
Adding icon.svg
Gravedigger7789 Nov 28, 2021
e910225
Update icon.svg
Splendead-Goose Nov 28, 2021
1400e5b
Merge branch 'feature/asset-cleanup' of https://github.com/Gravedigge…
Splendead-Goose Nov 28, 2021
4bf5e95
Update icon.svg
Splendead-Goose Nov 28, 2021
b7d22a5
Added game over screen
Gravedigger7789 Nov 28, 2021
a21399e
Merge branch 'feature/asset-cleanup' of https://github.com/Gravedigge…
Gravedigger7789 Nov 28, 2021
4f64a79
Adding standard size game font
Gravedigger7789 Nov 28, 2021
da0c128
Whitespace Fix
Splendead-Goose Nov 28, 2021
81dffbe
Merge branch 'feature/asset-cleanup' of https://github.com/Gravedigge…
Splendead-Goose Nov 28, 2021
ad74578
Removing mouse filter from background
Gravedigger7789 Nov 28, 2021
9d2f971
Reduced background music size
Splendead-Goose Nov 28, 2021
04453f8
Changing touch screen button sizes
Gravedigger7789 Nov 28, 2021
9cc8005
Formatting
Gravedigger7789 Nov 28, 2021
61a509f
Fixing rock collision
Gravedigger7789 Nov 28, 2021
2c15494
Fixing splash screen
Gravedigger7789 Nov 28, 2021
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
Binary file modified assets/collect/coin_center.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/collect/coin_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/collect/coin_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/collect/fly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/enemy/bird_wings_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/enemy/bird_wings_neutral.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/enemy/bird_wings_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/enemy/rock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_idle_mouth_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_idle_mouth_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_walk_1_mouth_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_walk_1_mouth_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_walk_2_mouth_closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/player/spider_walk_2_mouth_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ progressive_web_app/enabled=true
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=1
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/icon_144x144="res://icon.svg"
progressive_web_app/icon_180x180="res://icon.svg"
progressive_web_app/icon_512x512="res://icon.svg"
progressive_web_app/background_color=Color( 0, 0, 0, 1 )
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
841 changes: 841 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions icon.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/icon.svg-218a8f2b3041327d8a5756f3a245f83b.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.svg"
dest_files=[ "res://.import/icon.svg-218a8f2b3041327d8a5756f3a245f83b.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0
Binary file removed sounds/theme/intro.wav
Binary file not shown.
21 changes: 0 additions & 21 deletions sounds/theme/intro.wav.import

This file was deleted.

Binary file removed sounds/theme/loop.wav
Binary file not shown.
21 changes: 0 additions & 21 deletions sounds/theme/loop.wav.import

This file was deleted.

Binary file removed sounds/theme/loop_alt.wav
Binary file not shown.
21 changes: 0 additions & 21 deletions sounds/theme/loop_alt.wav.import

This file was deleted.

Binary file added sounds/theme/theme.ogg
Binary file not shown.
15 changes: 15 additions & 0 deletions sounds/theme/theme.ogg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/theme.ogg-ab6e3051c1dc81721010f0cb9825cb4c.oggstr"

[deps]

source_file="res://sounds/theme/theme.ogg"
dest_files=[ "res://.import/theme.ogg-ab6e3051c1dc81721010f0cb9825cb4c.oggstr" ]

[params]

loop=true
loop_offset=0
Binary file removed sounds/theme/theme.wav
Binary file not shown.
21 changes: 0 additions & 21 deletions sounds/theme/theme.wav.import

This file was deleted.

2 changes: 1 addition & 1 deletion src/Actors/Birb.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extents = Vector2( 24, 26 )

[sub_resource type="RectangleShape2D" id=13]
resource_local_to_scene = true
extents = Vector2( 30, 30 )
extents = Vector2( 32, 32 )

[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 100, 64 )
Expand Down
2 changes: 1 addition & 1 deletion src/Actors/Player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[ext_resource path="res://sounds/action/shoot_no_ammo.wav" type="AudioStream" id=10]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 44, 26 )
extents = Vector2( 44, 27 )

[sub_resource type="Animation" id=2]
length = 0.001
Expand Down
10 changes: 3 additions & 7 deletions src/Actors/Rock.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

[sub_resource type="RectangleShape2D" id=1]
resource_local_to_scene = true
extents = Vector2( 28, 26 )
extents = Vector2( 26, 26 )

[sub_resource type="RectangleShape2D" id=2]
resource_local_to_scene = true
extents = Vector2( 32, 30 )
extents = Vector2( 32, 32 )

[node name="Rock" instance=ExtResource( 1 )]
script = ExtResource( 3 )
Expand All @@ -19,12 +19,8 @@ script = ExtResource( 3 )
texture = ExtResource( 2 )

[node name="FloorCollision" parent="." index="1"]
position = Vector2( 0, 6 )
shape = SubResource( 1 )

[node name="VisibilityNotifier2D" parent="." index="2"]
rect = Rect2( -32, -28, 64, 64 )

[node name="CollisionShape2D" parent="ImpactCollision" index="0"]
position = Vector2( 0, 4 )
position = Vector2( 0, 0 )
shape = SubResource( 2 )
48 changes: 24 additions & 24 deletions src/GUI/AmmoGUI.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -11,65 +11,65 @@ __meta__ = {
}

[node name="PlaceHolderCenterContainer" type="CenterContainer" parent="."]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PlaceHolderTextureRect" type="TextureRect" parent="PlaceHolderCenterContainer"]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
texture = ExtResource( 1 )

[node name="PlaceHolderCenterContainer5" type="CenterContainer" parent="."]
margin_left = 44.0
margin_right = 84.0
margin_bottom = 30.0
margin_left = 29.0
margin_right = 54.0
margin_bottom = 13.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PlaceHolderTextureRect" type="TextureRect" parent="PlaceHolderCenterContainer5"]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
texture = ExtResource( 1 )

[node name="PlaceHolderCenterContainer4" type="CenterContainer" parent="."]
margin_left = 88.0
margin_right = 128.0
margin_bottom = 30.0
margin_left = 58.0
margin_right = 83.0
margin_bottom = 13.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PlaceHolderTextureRect" type="TextureRect" parent="PlaceHolderCenterContainer4"]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
texture = ExtResource( 1 )

[node name="PlaceHolderCenterContainer3" type="CenterContainer" parent="."]
margin_left = 132.0
margin_right = 172.0
margin_bottom = 30.0
margin_left = 87.0
margin_right = 112.0
margin_bottom = 13.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PlaceHolderTextureRect" type="TextureRect" parent="PlaceHolderCenterContainer3"]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
texture = ExtResource( 1 )

[node name="PlaceHolderCenterContainer2" type="CenterContainer" parent="."]
margin_left = 176.0
margin_right = 216.0
margin_bottom = 30.0
margin_left = 116.0
margin_right = 141.0
margin_bottom = 13.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PlaceHolderTextureRect" type="TextureRect" parent="PlaceHolderCenterContainer2"]
margin_right = 40.0
margin_bottom = 30.0
margin_right = 25.0
margin_bottom = 13.0
texture = ExtResource( 1 )
38 changes: 38 additions & 0 deletions src/GUI/ControllerButtons.gd
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
tool
extends Control

enum buttons { X = 1, Y = 2, B = 4, A = 8 }
export(int, FLAGS, "X", "Y", "B", "A") var selected_buttons

onready var y_button: Button = $CenterContainer/Buttons/YButton
onready var x_button: Button = $CenterContainer/Buttons/XButton
onready var b_button: Button = $CenterContainer/Buttons/BButton
onready var a_button: Button = $CenterContainer/Buttons/AButton


func _ready() -> void:
set_button_colors()


func _process(_delta) -> void:
if Engine.editor_hint:
set_button_colors()


func set_button_colors() -> void:
if buttons.A & selected_buttons:
a_button.modulate = Color("#3cdb4e")
else:
a_button.modulate = Color(1, 1, 1)
if buttons.B & selected_buttons:
b_button.modulate = Color("#d04242")
else:
b_button.modulate = Color(1, 1, 1)
if buttons.X & selected_buttons:
x_button.modulate = Color("#40ccd0")
else:
x_button.modulate = Color(1, 1, 1)
if buttons.Y & selected_buttons:
y_button.modulate = Color("#ecdb33")
else:
y_button.modulate = Color(1, 1, 1)
Loading