add new transaction and add splash screen
This commit is contained in:
BIN
core/splash_screen/jmp_logo.png
Normal file
BIN
core/splash_screen/jmp_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 124 KiB |
40
core/splash_screen/jmp_logo.png.import
Normal file
40
core/splash_screen/jmp_logo.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dp3qxncy8u184"
|
||||
path="res://.godot/imported/jmp_logo.png-c6094efb2c4c429c25ff79b5a4cee21c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://core/splash_screen/jmp_logo.png"
|
||||
dest_files=["res://.godot/imported/jmp_logo.png-c6094efb2c4c429c25ff79b5a4cee21c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
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=1
|
||||
8
core/splash_screen/splash_screen.gd
Normal file
8
core/splash_screen/splash_screen.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends Control
|
||||
|
||||
@export var main_menu_scene: PackedScene
|
||||
@export var display_time: float = 3.0
|
||||
|
||||
func _ready() -> void:
|
||||
await get_tree().create_timer(display_time).timeout
|
||||
SceneManager.change_scene(SceneConfig.SceneName.MAIN_MENU)
|
||||
1
core/splash_screen/splash_screen.gd.uid
Normal file
1
core/splash_screen/splash_screen.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ckj2pcoxi5j3
|
||||
18
core/splash_screen/splash_screen.tscn
Normal file
18
core/splash_screen/splash_screen.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3 uid="uid://ri5kxx4mipo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ckj2pcoxi5j3" path="res://core/splash_screen/splash_screen.gd" id="1_elsnp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dp3qxncy8u184" path="res://core/splash_screen/jmp_logo.png" id="1_jkpgl"]
|
||||
|
||||
[node name="Control" type="Control" unique_id=163470013]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_elsnp")
|
||||
|
||||
[node name="JMPLogo" type="Sprite2D" parent="." unique_id=1244888940]
|
||||
position = Vector2(980.99994, 556)
|
||||
scale = Vector2(0.37799045, 0.37799042)
|
||||
texture = ExtResource("1_jkpgl")
|
||||
Reference in New Issue
Block a user