get started on the Note thing

This commit is contained in:
muskit
2023-09-15 13:27:08 -07:00
parent a06031a08c
commit 6a98acce67
9 changed files with 107 additions and 7 deletions
+12 -4
View File
@@ -1,7 +1,8 @@
[gd_scene load_steps=12 format=3 uid="uid://bqh00ot0csqmk"]
[gd_scene load_steps=13 format=3 uid="uid://bqh00ot0csqmk"]
[ext_resource type="Script" path="res://Scripts/Scenes/Play.cs" id="1_d6iv3"]
[ext_resource type="Texture2D" uid="uid://dkohutwp0yujj" path="res://_Assets/Textures/BGLine.png" id="2_lkl1c"]
[ext_resource type="Texture2D" uid="uid://dkohutwp0yujj" path="res://_Assets/Textures/HitLine/BGLine.png" id="2_kpt0a"]
[ext_resource type="PackedScene" uid="uid://cyopljug0duaa" path="res://Things/TunnelObjects/Notes/NoteTouch.tscn" id="3_qp71m"]
[sub_resource type="Environment" id="Environment_nefjb"]
ambient_light_source = 1
@@ -148,7 +149,7 @@ offset_right = 960.0
offset_bottom = 1907.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("2_lkl1c")
texture = ExtResource("2_kpt0a")
expand_mode = 1
[node name="Line2" type="TextureRect" parent="SubViewportContainer/2D Viewport/Node2D/HitLine_Reverse"]
@@ -163,10 +164,11 @@ offset_right = 1920.0
offset_bottom = 1907.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("2_lkl1c")
texture = ExtResource("2_kpt0a")
expand_mode = 1
[node name="Label" type="Label" parent="SubViewportContainer/2D Viewport/Node2D"]
visible = false
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -187,3 +189,9 @@ horizontal_alignment = 1
vertical_alignment = 2
[node name="Notes" type="Node2D" parent="SubViewportContainer/2D Viewport/Node2D"]
[node name="NoteTouch" parent="SubViewportContainer/2D Viewport/Node2D/Notes" instance=ExtResource("3_qp71m")]
offset_left = 1500.0
offset_top = 1800.0
offset_right = 1690.0
offset_bottom = 1824.0
+24
View File
@@ -0,0 +1,24 @@
[gd_scene load_steps=2 format=3 uid="uid://cyopljug0duaa"]
[ext_resource type="Texture2D" uid="uid://cnsbqiharp0jh" path="res://_Assets/Textures/Notes/Touch.png" id="1_hnm2k"]
[node name="NoteTouch" type="Control"]
layout_mode = 3
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -1920.0
offset_right = 1920.0
offset_bottom = -1884.0
grow_vertical = 0
[node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_hnm2k")
patch_margin_left = 12
patch_margin_right = 12

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dkohutwp0yujj"
path="res://.godot/imported/BGLine.png-af4f1342c3bc8c34a09e2a82d0efff66.ctex"
path="res://.godot/imported/BGLine.png-eb9410de74fbd868c6ad51220301f7a9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://_Assets/Textures/BGLine.png"
dest_files=["res://.godot/imported/BGLine.png-af4f1342c3bc8c34a09e2a82d0efff66.ctex"]
source_file="res://_Assets/Textures/HitLine/BGLine.png"
dest_files=["res://.godot/imported/BGLine.png-eb9410de74fbd868c6ad51220301f7a9.ctex"]
[params]
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xmb5ybj1oor4"
path="res://.godot/imported/Hold.png-fc2ae6fdf89843a743269f2e11114671.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://_Assets/Textures/Notes/Hold.png"
dest_files=["res://.godot/imported/Hold.png-fc2ae6fdf89843a743269f2e11114671.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+34
View File
@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cnsbqiharp0jh"
path="res://.godot/imported/Touch.png-abb04cb9144d6a99bf175db6f49959a3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://_Assets/Textures/Notes/Touch.png"
dest_files=["res://.godot/imported/Touch.png-abb04cb9144d6a99bf175db6f49959a3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.