forked from team-sg/hero-mark-2
new borders
This commit is contained in:
parent
624739a970
commit
7a12628fa3
6 changed files with 80 additions and 3 deletions
|
@ -1,2 +1,10 @@
|
||||||
extends TextureRect
|
extends TextureRect
|
||||||
|
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
get_tree().connect("screen_resized", self, "_on_screen_resized")
|
||||||
|
_on_screen_resized()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_screen_resized() -> void:
|
||||||
|
rect_size = OS.window_size
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://autoloads/border.gd" type="Script" id=1]
|
[ext_resource path="res://autoloads/border.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://graphics/borders/prideborder.png" type="Texture" id=2]
|
[ext_resource path="res://graphics/borders/gale_sg_border.png" type="Texture" id=2]
|
||||||
|
|
||||||
[node name="Border" type="TextureRect"]
|
[node name="Border" type="TextureRect"]
|
||||||
show_behind_parent = true
|
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
expand = true
|
expand = true
|
||||||
stretch_mode = 1
|
stretch_mode = 7
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
BIN
graphics/borders/bodhi_sg_border.png
Normal file
BIN
graphics/borders/bodhi_sg_border.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,010 KiB |
35
graphics/borders/bodhi_sg_border.png.import
Normal file
35
graphics/borders/bodhi_sg_border.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/bodhi_sg_border.png-3cf24d7237511d5ab9d451ff57338378.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/borders/bodhi_sg_border.png"
|
||||||
|
dest_files=[ "res://.import/bodhi_sg_border.png-3cf24d7237511d5ab9d451ff57338378.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=true
|
||||||
|
svg/scale=1.0
|
BIN
graphics/borders/gale_sg_border.png
Normal file
BIN
graphics/borders/gale_sg_border.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 493 KiB |
35
graphics/borders/gale_sg_border.png.import
Normal file
35
graphics/borders/gale_sg_border.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/gale_sg_border.png-9efb6a781e3ed366adb2163888934124.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/borders/gale_sg_border.png"
|
||||||
|
dest_files=[ "res://.import/gale_sg_border.png-9efb6a781e3ed366adb2163888934124.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=true
|
||||||
|
svg/scale=1.0
|
Loading…
Add table
Add a link
Reference in a new issue