92 lines
2.7 KiB
Text
92 lines
2.7 KiB
Text
|
[gd_scene load_steps=12 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/awesome_splash/core/AspectNode.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://Splashes/circle_jump_01/splash_screen.gd" type="Script" id=3]
|
||
|
[ext_resource path="res://addons/awesome_splash/text_node/AweListTextNode.gd" type="Script" id=4]
|
||
|
[ext_resource path="res://addons/awesome_splash/assets/font/LilitaOne-Regular.ttf" type="DynamicFontData" id=5]
|
||
|
[ext_resource path="res://addons/awesome_splash/assets/font/RobotoCondensed-Light.ttf" type="DynamicFontData" id=6]
|
||
|
[ext_resource path="res://addons/awesome_splash/text_node/AweTextNode.gd" type="Script" id=7]
|
||
|
[ext_resource path="res://Splashes/circle_jump_01/logo.png" type="Texture" id=8]
|
||
|
|
||
|
[sub_resource type="Shader" id=1]
|
||
|
code = "shader_type canvas_item;
|
||
|
|
||
|
void fragment() {
|
||
|
vec4 color = vec4(1.0, 1.0, 1.0, 1.0);
|
||
|
vec2 center = vec2(0.5, 0.5);
|
||
|
float r = (UV.x - center.x) * (UV.x - center.x) + (UV.y - center.y) * (UV.y - center.y);
|
||
|
if (r > 0.25) {
|
||
|
color.a = 0.0;
|
||
|
}
|
||
|
COLOR = color;
|
||
|
}"
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id=2]
|
||
|
shader = SubResource( 1 )
|
||
|
|
||
|
[sub_resource type="DynamicFont" id=3]
|
||
|
size = 230
|
||
|
font_data = ExtResource( 5 )
|
||
|
|
||
|
[sub_resource type="DynamicFont" id=4]
|
||
|
size = 120
|
||
|
font_data = ExtResource( 6 )
|
||
|
|
||
|
[node name="SplashCircleJump01" type="Node2D"]
|
||
|
script = ExtResource( 3 )
|
||
|
|
||
|
[node name="AspectNode" parent="." instance=ExtResource( 1 )]
|
||
|
|
||
|
[node name="OutlineFrame" parent="AspectNode" index="0"]
|
||
|
margin_right = 1400.0
|
||
|
margin_bottom = 1400.0
|
||
|
|
||
|
[node name="LogoContainer" type="Node2D" parent="AspectNode"]
|
||
|
|
||
|
[node name="Circle" type="ColorRect" parent="AspectNode/LogoContainer"]
|
||
|
material = SubResource( 2 )
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
margin_left = -296.876
|
||
|
margin_top = -596.795
|
||
|
margin_right = 303.124
|
||
|
margin_bottom = 3.20502
|
||
|
rect_pivot_offset = Vector2( 300, 300 )
|
||
|
|
||
|
[node name="Logo" type="TextureRect" parent="AspectNode/LogoContainer"]
|
||
|
modulate = Color( 1, 1, 1, 0 )
|
||
|
margin_left = -350.0
|
||
|
margin_top = -700.0
|
||
|
margin_right = 350.0
|
||
|
texture = ExtResource( 8 )
|
||
|
expand = true
|
||
|
stretch_mode = 6
|
||
|
|
||
|
[node name="TitleNode" type="Node2D" parent="AspectNode"]
|
||
|
script = ExtResource( 4 )
|
||
|
font = SubResource( 3 )
|
||
|
anchor = Vector2( 0.5, 0.5 )
|
||
|
char_anchor = Vector2( 0.5, 0.5 )
|
||
|
|
||
|
[node name="InfoNode" type="Node2D" parent="AspectNode"]
|
||
|
modulate = Color( 0.784314, 0.784314, 0.784314, 1 )
|
||
|
script = ExtResource( 7 )
|
||
|
anchor = Vector2( 0.5, 0.5 )
|
||
|
font = SubResource( 4 )
|
||
|
|
||
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||
|
layer = -1
|
||
|
|
||
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
mouse_filter = 2
|
||
|
color = Color( 0, 0, 0, 1 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[editable path="AspectNode"]
|