here come the gays
This commit is contained in:
parent
4a34248d73
commit
3f2c9e1cc3
7 changed files with 90 additions and 2 deletions
|
@ -1,10 +1,22 @@
|
|||
extends TextureRect
|
||||
|
||||
|
||||
export (Array, Texture) var borders: Array = []
|
||||
export (Array, String) var names: Array = []
|
||||
|
||||
|
||||
var current_border: int = 0 setget _set_current_border
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
texture = borders[current_border]
|
||||
get_tree().connect("screen_resized", self, "_on_screen_resized")
|
||||
_on_screen_resized()
|
||||
|
||||
|
||||
func _set_current_border(value: int) -> void:
|
||||
current_border = posmod(value, borders.size())
|
||||
texture = borders[current_border]
|
||||
|
||||
func _on_screen_resized() -> void:
|
||||
rect_size = OS.window_size
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://autoloads/border.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/borders/gale_sg_border.png" type="Texture" id=2]
|
||||
[ext_resource path="res://graphics/borders/prideborder.png" type="Texture" id=3]
|
||||
[ext_resource path="res://graphics/borders/bodhi_sg_border.png" type="Texture" id=4]
|
||||
[ext_resource path="res://graphics/borders/enby_border.png" type="Texture" id=5]
|
||||
[ext_resource path="res://graphics/borders/the_gays_border.png" type="Texture" id=6]
|
||||
|
||||
[node name="Border" type="TextureRect"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource( 4 )
|
||||
expand = true
|
||||
stretch_mode = 7
|
||||
script = ExtResource( 1 )
|
||||
borders = [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 2 ), ExtResource( 6 ), ExtResource( 5 ) ]
|
||||
names = [ "Trans Rights", "Got Shards?", "Infiltration", "Here's To The Gays", "Fuck The Binary" ]
|
||||
|
|
BIN
graphics/borders/enby_border.png
Normal file
BIN
graphics/borders/enby_border.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9 KiB |
35
graphics/borders/enby_border.png.import
Normal file
35
graphics/borders/enby_border.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/enby_border.png-8fe8ce46d94d5a239271b744697eea68.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/borders/enby_border.png"
|
||||
dest_files=[ "res://.import/enby_border.png-8fe8ce46d94d5a239271b744697eea68.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
|
Binary file not shown.
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 8.4 KiB |
BIN
graphics/borders/the_gays_border.png
Normal file
BIN
graphics/borders/the_gays_border.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
35
graphics/borders/the_gays_border.png.import
Normal file
35
graphics/borders/the_gays_border.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/the_gays_border.png-ce1ce710b5bf4d5182ecdd13d7a17fb5.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/borders/the_gays_border.png"
|
||||
dest_files=[ "res://.import/the_gays_border.png-ce1ce710b5bf4d5182ecdd13d7a17fb5.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