2.5d渲染/ui
parent
52ed16f22f
commit
8885f58b83
@ -0,0 +1,8 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://c8r7kifl8faqr"]
|
||||
|
||||
[ext_resource type="Shader" path="res://render/shader/character.gdshader" id="1_ja5hr"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_ja5hr")
|
||||
shader_parameter/flash_white = null
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bjv7f83tdgq17"
|
||||
path="res://.godot/imported/explodeDecal.png-f644d5db8c0778f842c076bf4d5a2eb8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://render/texture/explodeDecal.png"
|
||||
dest_files=["res://.godot/imported/explodeDecal.png-f644d5db8c0778f842c076bf4d5a2eb8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ceu7b4nuktlgy"
|
||||
path="res://.godot/imported/swordDecal.png-cb01b48f8d07246ce447a89d9248f176.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://render/texture/swordDecal.png"
|
||||
dest_files=["res://.godot/imported/swordDecal.png-cb01b48f8d07246ce447a89d9248f176.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 193 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b4ly1exl0owck"
|
||||
path="res://.godot/imported/headbar_hp.png-4c7bcc4d968ba9ca97f4dfd5f7a72960.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/headbar_hp.png"
|
||||
dest_files=["res://.godot/imported/headbar_hp.png-4c7bcc4d968ba9ca97f4dfd5f7a72960.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 188 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cwhu1ec03t3c8"
|
||||
path="res://.godot/imported/headbar_hp_empty.png-3162ff30a21804f44a538a5ac31e6fbc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/headbar_hp_empty.png"
|
||||
dest_files=["res://.godot/imported/headbar_hp_empty.png-3162ff30a21804f44a538a5ac31e6fbc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 203 B |
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bvaylj7jl2n0c"
|
||||
path="res://.godot/imported/shield_icon.png-4b43321b9822c003c4aa51e5d91caecc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://resource/ui/hud/shield_icon.png"
|
||||
dest_files=["res://.godot/imported/shield_icon.png-4b43321b9822c003c4aa51e5d91caecc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=0
|
||||
compress/normal_map=2
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=false
|
||||
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=0
|
||||
@ -0,0 +1,39 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://126wph4owvoy"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cwhu1ec03t3c8" path="res://resource/ui/hud/headbar_hp_empty.png" id="1_flgf6"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4ly1exl0owck" path="res://resource/ui/hud/headbar_hp.png" id="2_sktwb"]
|
||||
|
||||
[node name="HudScreen" type="CanvasLayer"]
|
||||
|
||||
[node name="HudPage" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Player" type="Control" parent="HudPage"]
|
||||
anchors_preset = 0
|
||||
offset_left = 29.0
|
||||
offset_top = 29.0
|
||||
offset_right = 29.0
|
||||
offset_bottom = 29.0
|
||||
|
||||
[node name="HpBar" type="TextureProgressBar" parent="HudPage/Player"]
|
||||
layout_mode = 0
|
||||
offset_left = -13.0
|
||||
offset_top = -13.0
|
||||
offset_right = 51.0
|
||||
offset_bottom = 3.0
|
||||
value = 50.0
|
||||
stretch_margin_left = 10
|
||||
stretch_margin_top = 10
|
||||
stretch_margin_right = 10
|
||||
stretch_margin_bottom = 10
|
||||
texture_under = ExtResource("1_flgf6")
|
||||
texture_progress = ExtResource("2_sktwb")
|
||||
|
||||
[node name="HeadBarPage" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cc525u8auypjf"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/ui/profile/fps.gd" id="1_ay6sg"]
|
||||
|
||||
[node name="ProfileScreen" type="CanvasLayer"]
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -41.0
|
||||
offset_bottom = 56.0
|
||||
grow_horizontal = 0
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 0
|
||||
|
||||
[node name="FPS" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "123"
|
||||
script = ExtResource("1_ay6sg")
|
||||
@ -0,0 +1,4 @@
|
||||
extends Label
|
||||
|
||||
func _process(delta):
|
||||
set_text("FPS %d" % Engine.get_frames_per_second())
|
||||
Loading…
Reference in New Issue