new UI
This commit is contained in:
parent
edc28cddcb
commit
df50e3e718
20
bottom_bar.tscn
Normal file
20
bottom_bar.tscn
Normal file
@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b5hqh3exkapj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dkdgsbod21itx" path="res://resources/UI/bottom_frame.png" id="1_rer6u"]
|
||||
|
||||
[node name="BottomBar" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
grow_horizontal = 2
|
||||
|
||||
[node name="NinePatchRect" type="NinePatchRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 60.0
|
||||
texture = ExtResource("1_rer6u")
|
||||
region_rect = Rect2(0, 0, 60, 60)
|
||||
patch_margin_left = 11
|
||||
patch_margin_top = 13
|
||||
patch_margin_right = 11
|
||||
patch_margin_bottom = 13
|
||||
BIN
resources/UI/Modern_UI_Style_2_48x48.png
Normal file
BIN
resources/UI/Modern_UI_Style_2_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 148 KiB |
34
resources/UI/Modern_UI_Style_2_48x48.png.import
Normal file
34
resources/UI/Modern_UI_Style_2_48x48.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://kdebhax4avvh"
|
||||
path="res://.godot/imported/Modern_UI_Style_2_48x48.png-5b286eb756949c241bde789a6f48aa9d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/UI/Modern_UI_Style_2_48x48.png"
|
||||
dest_files=["res://.godot/imported/Modern_UI_Style_2_48x48.png-5b286eb756949c241bde789a6f48aa9d.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
|
||||
BIN
resources/UI/bottom_frame.png
Normal file
BIN
resources/UI/bottom_frame.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 413 B |
34
resources/UI/bottom_frame.png.import
Normal file
34
resources/UI/bottom_frame.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dkdgsbod21itx"
|
||||
path="res://.godot/imported/bottom_frame.png-34e4b0bfe05b57fed275ce40e1443a7c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/UI/bottom_frame.png"
|
||||
dest_files=["res://.godot/imported/bottom_frame.png-34e4b0bfe05b57fed275ce40e1443a7c.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
|
||||
BIN
resources/lab/Modern_Office_Black_Shadow_48x48.png
Normal file
BIN
resources/lab/Modern_Office_Black_Shadow_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
34
resources/lab/Modern_Office_Black_Shadow_48x48.png.import
Normal file
34
resources/lab/Modern_Office_Black_Shadow_48x48.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://y460iqd3a56u"
|
||||
path="res://.godot/imported/Modern_Office_Black_Shadow_48x48.png-095a227cd237cfcf9207be4bff9d040a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/lab/Modern_Office_Black_Shadow_48x48.png"
|
||||
dest_files=["res://.godot/imported/Modern_Office_Black_Shadow_48x48.png-095a227cd237cfcf9207be4bff9d040a.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
|
||||
BIN
resources/lab/Room_Builder_Office_48x48.png
Normal file
BIN
resources/lab/Room_Builder_Office_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
34
resources/lab/Room_Builder_Office_48x48.png.import
Normal file
34
resources/lab/Room_Builder_Office_48x48.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dujbelk1piktj"
|
||||
path="res://.godot/imported/Room_Builder_Office_48x48.png-3868c8d41213cab1b2db38c433da1a35.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resources/lab/Room_Builder_Office_48x48.png"
|
||||
dest_files=["res://.godot/imported/Room_Builder_Office_48x48.png-3868c8d41213cab1b2db38c433da1a35.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
|
||||
@ -2,6 +2,21 @@
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/SceneTransit.cs" id="1_138ac"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6aqtw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("ColorRect:color")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_n35b4"]
|
||||
resource_name = "transit"
|
||||
length = 0.3
|
||||
@ -19,21 +34,6 @@ tracks/0/keys = {
|
||||
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_6aqtw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("ColorRect:color")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g0ecv"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_6aqtw"),
|
||||
|
||||
28
student.tscn
28
student.tscn
@ -1,6 +1,5 @@
|
||||
[gd_scene load_steps=31 format=3 uid="uid://c413oatj0eqhu"]
|
||||
[gd_scene load_steps=30 format=3 uid="uid://c413oatj0eqhu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bue73voyg0m8a" path="res://temp_res/kenney_tiny-dungeon/Tiles/tile_0099.png" id="1_aultg"]
|
||||
[ext_resource type="Script" path="res://scripts/Student.cs" id="1_oesea"]
|
||||
[ext_resource type="Texture2D" uid="uid://bw2007qd8eedh" path="res://resources/characters/bodies/Body_48x48_01.png" id="3_jhea4"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5or8ivaegryg" path="res://resources/characters/accessories/Accessory_06_Policeman_Hat_48x48_01.png" id="30_npp82"]
|
||||
@ -187,12 +186,8 @@ _data = {
|
||||
[node name="Student" type="CharacterBody2D"]
|
||||
script = ExtResource("1_oesea")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
scale = Vector2(5, 5)
|
||||
texture = ExtResource("1_aultg")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -48)
|
||||
shape = SubResource("RectangleShape2D_opr6h")
|
||||
|
||||
[node name="BTPlayer" type="BTPlayer" parent="."]
|
||||
@ -200,42 +195,49 @@ behavior_tree = SubResource("BehaviorTree_rj16b")
|
||||
blackboard_plan = SubResource("BlackboardPlan_gs1pu")
|
||||
|
||||
[node name="parts" type="Node2D" parent="."]
|
||||
position = Vector2(0, -24)
|
||||
|
||||
[node name="body" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("3_jhea4")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="hairstyle" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("103_yndn4")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="outfit" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("303_jwwbg")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="eye" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("96_q8xrp")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="accessory" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("30_npp82")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="smartphone" type="Sprite2D" parent="parts"]
|
||||
position = Vector2(0, -24)
|
||||
texture = ExtResource("435_7vwql")
|
||||
hframes = 26
|
||||
vframes = 8
|
||||
frame = 44
|
||||
frame = 45
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user