added outlined 2ndpuberty

This commit is contained in:
pennyrigate 2023-02-20 23:47:31 -05:00
parent 51d9c4fdc1
commit ec31da0f8a
5 changed files with 161 additions and 7 deletions

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://objects/environment/barrier/barrier.gd" type="Script" id=1]
[ext_resource path="res://graphics/barrier/barrier_2px.png" type="Texture" id=2]
[ext_resource path="res://fonts/2ndpuberty..fnt" type="BitmapFont" id=3]
[ext_resource path="res://fonts/2ndpuberty_no_dropshadow.fnt" type="BitmapFont" id=3]
[ext_resource path="res://scripts/1px_border.gdshader" type="Shader" id=4]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 2, 0.5 )
@ -87,7 +88,12 @@ tracks/2/keys = {
"values": [ Vector2( 1, 1 ), Vector2( 1, 0 ) ]
}
[sub_resource type="Theme" id=5]
[sub_resource type="ShaderMaterial" id=5]
shader = ExtResource( 4 )
shader_param/border_color = Color( 0.219608, 0.219608, 0.219608, 1 )
shader_param/border_corners = true
[sub_resource type="Theme" id=6]
default_font = ExtResource( 3 )
[node name="Barrier" type="Node2D"]
@ -111,11 +117,12 @@ anims/open = SubResource( 3 )
[node name="Label" type="Label" parent="."]
visible = false
material = SubResource( 5 )
margin_left = -18.0
margin_top = -15.0
margin_right = 22.0
margin_bottom = 5.0
theme = SubResource( 5 )
theme = SubResource( 6 )
text = "00"
align = 1