Skip to content

Commit c53988c

Browse files
committed
Add Asset Background
Also added song attribution to readme
1 parent c5cf3b3 commit c53988c

File tree

6 files changed

+55
-93
lines changed

6 files changed

+55
-93
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ Current team members include:
1616
#### Attributions:
1717
Note icon: <a href="https://www.flaticon.com/free-icons/next" title="next icons">Next icons created by Pixel perfect - Flaticon</a>
1818

19+
First Song: <a href="https://freesound.org/people/Magntron/sounds/335571/" title="gameMusic">gameMusic by Magntron - freesound.org</a>
20+
1921

271 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://ci0g72j8q4ec2"
6+
path="res://.godot/imported/CoolBG.jpg-3bad5dc436fec2c6453223cfa1feeeb8.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://scenes/BattleDirector/assets/CoolBG.jpg"
14+
dest_files=["res://.godot/imported/CoolBG.jpg-3bad5dc436fec2c6453223cfa1feeeb8.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

scenes/BattleDirector/assets/test_background.gdshader

Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,14 @@
1-
[gd_scene load_steps=10 format=3 uid="uid://b0mrgr7h0ty1y"]
1+
[gd_scene load_steps=9 format=3 uid="uid://b0mrgr7h0ty1y"]
22

33
[ext_resource type="Script" path="res://scenes/BattleDirector/BattleDirector.cs" id="1_cwqqr"]
44
[ext_resource type="PackedScene" uid="uid://dfevfib11kou1" path="res://scenes/ChartViewport/ChartViewport.tscn" id="2_cupb3"]
5-
[ext_resource type="Shader" path="res://scenes/BattleDirector/assets/test_background.gdshader" id="3_h0nj6"]
65
[ext_resource type="PackedScene" uid="uid://bgomxovxs7sr8" path="res://scenes/BattleDirector/HealthBar.tscn" id="3_pp0u0"]
6+
[ext_resource type="Texture2D" uid="uid://ci0g72j8q4ec2" path="res://scenes/BattleDirector/assets/CoolBG.jpg" id="4_13o87"]
77
[ext_resource type="Texture2D" uid="uid://b6fkei0i83vte" path="res://scenes/BattleDirector/assets/Character1.png" id="5_elveq"]
88
[ext_resource type="Texture2D" uid="uid://veedngaorx3l" path="res://scenes/BattleDirector/assets/Enemy1.png" id="6_0k4pw"]
99
[ext_resource type="PackedScene" uid="uid://duhiilcv4tat3" path="res://scenes/BattleDirector/NotePlacementBar.tscn" id="7_3ko4g"]
1010
[ext_resource type="AudioStream" uid="uid://cv6lqjj6lu36h" path="res://Audio/335571__magntron__gamemusic_120bpm.mp3" id="8_caqms"]
1111

12-
[sub_resource type="ShaderMaterial" id="ShaderMaterial_v58v7"]
13-
shader = ExtResource("3_h0nj6")
14-
shader_parameter/spin_rotation_speed = 2.0
15-
shader_parameter/move_speed = 7.0
16-
shader_parameter/offset = Vector2(0, 0)
17-
shader_parameter/colour_1 = Color(0.211765, 0.239216, 0.321569, 1)
18-
shader_parameter/colour_2 = Color(0.278431, 0.54902, 0.74902, 1)
19-
shader_parameter/colour_3 = Color(0.086, 0.137, 0.145, 1)
20-
shader_parameter/contrast = 2.5
21-
shader_parameter/lighting = 0.4
22-
shader_parameter/spin_amount = 0.1
23-
shader_parameter/pixel_filter = 200.0
24-
shader_parameter/is_rotating = false
25-
2612
[node name="ProtoBattleDirector" type="Node2D" node_paths=PackedStringArray("CM", "IH", "NotePlacementBar", "Audio")]
2713
script = ExtResource("1_cwqqr")
2814
CM = NodePath("SubViewport")
@@ -35,40 +21,41 @@ stream = ExtResource("8_caqms")
3521

3622
[node name="SubViewport" parent="." instance=ExtResource("2_cupb3")]
3723
offset_left = 80.0
38-
offset_top = 150.0
24+
offset_top = 160.0
3925
offset_right = 560.0
40-
offset_bottom = 350.0
26+
offset_bottom = 360.0
4127

42-
[node name="ColorRect" type="ColorRect" parent="."]
28+
[node name="ColorRect" type="TextureRect" parent="."]
4329
z_index = -1
44-
material = SubResource("ShaderMaterial_v58v7")
45-
offset_left = -49.0
46-
offset_top = -32.0
47-
offset_right = 695.0
48-
offset_bottom = 396.0
30+
offset_right = 640.0
31+
offset_bottom = 360.0
32+
texture = ExtResource("4_13o87")
4933

5034
[node name="ColorRect2" type="ColorRect" parent="."]
5135
self_modulate = Color(0.36, 0.36, 0.36, 0.780392)
5236
z_index = -1
5337
offset_left = -70.0
54-
offset_top = 140.0
38+
offset_top = 160.0
5539
offset_right = 673.0
5640
offset_bottom = 360.0
5741
color = Color(0.165656, 0.165656, 0.165656, 1)
5842

5943
[node name="PlayerHP" parent="." instance=ExtResource("3_pp0u0")]
6044
offset_left = 92.0
45+
offset_top = 8.0
6146
offset_right = 132.0
47+
offset_bottom = 48.0
6248
SpriteText = ExtResource("5_elveq")
6349

6450
[node name="EnemyHP" parent="." instance=ExtResource("3_pp0u0")]
6551
offset_left = 403.0
66-
offset_top = -4.0
52+
offset_top = 8.0
6753
offset_right = 443.0
54+
offset_bottom = 52.0
6855
SpriteText = ExtResource("6_0k4pw")
6956

7057
[node name="NotePlacementBar" parent="." instance=ExtResource("7_3ko4g")]
71-
offset_left = 12.0
72-
offset_top = 145.0
73-
offset_right = 12.0
74-
offset_bottom = 145.0
58+
offset_left = 16.0
59+
offset_top = 164.0
60+
offset_right = 16.0
61+
offset_bottom = 164.0

scenes/ChartViewport/ChartViewport.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
[node name="VPContainer" type="SubViewportContainer" node_paths=PackedStringArray("IH", "ChartLoopables")]
99
offset_right = 480.0
10-
offset_bottom = 220.0
10+
offset_bottom = 200.0
1111
script = ExtResource("1_ruh2l")
1212
IH = NodePath("SubViewport/noteManager")
1313
ChartLoopables = NodePath("SubViewport/ChartLoopables")
1414

1515
[node name="SubViewport" type="SubViewport" parent="."]
1616
handle_input_locally = false
17-
size = Vector2i(480, 220)
17+
size = Vector2i(480, 200)
1818
render_target_update_mode = 4
1919

2020
[node name="ColorFill" type="ColorRect" parent="SubViewport"]

0 commit comments

Comments
 (0)