Moving time

This commit is contained in:
Hazel Layne Aranda 2021-03-09 15:53:12 -05:00
parent af00c57c6f
commit 827abde68f
Signed by: hazelra
GPG key ID: 09213F100E5E4E67
4 changed files with 20 additions and 9 deletions

View file

@ -1,3 +0,0 @@
[gd_scene format=2]
[node name="TestScene" type="Node2D"]

View file

@ -20,7 +20,7 @@ compress/hdr_mode=0
compress/bptc_ldr=0 compress/bptc_ldr=0
compress/normal_map=0 compress/normal_map=0
flags/repeat=0 flags/repeat=0
flags/filter=true flags/filter=false
flags/mipmaps=false flags/mipmaps=false
flags/anisotropic=false flags/anisotropic=false
flags/srgb=2 flags/srgb=2
@ -30,5 +30,5 @@ process/HDR_as_SRGB=false
process/invert_color=false process/invert_color=false
stream=false stream=false
size_limit=0 size_limit=0
detect_3d=true detect_3d=false
svg/scale=1.0 svg/scale=1.0

View file

@ -16,7 +16,7 @@ _global_script_class_icons={
[application] [application]
config/name="SpaceFight" config/name="SpaceFight"
run/main_scene="res://scenes/Splash.tscn" run/main_scene="res://scenes/TestScene.tscn"
boot_splash/image="res://splash.png" boot_splash/image="res://splash.png"
boot_splash/use_filter=false boot_splash/use_filter=false
boot_splash/bg_color=Color( 0, 0, 0, 1 ) boot_splash/bg_color=Color( 0, 0, 0, 1 )
@ -240,6 +240,21 @@ player_4_secondary={
"deadzone": 0.5, "deadzone": 0.5,
"events": [ ] "events": [ ]
} }
debug_reset={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null)
]
}
[layer_names]
2d_physics/layer_1="ship"
2d_physics/layer_2="solid"
2d_physics/layer_3="projectile"
[physics]
2d/default_gravity=0
[rendering] [rendering]
@ -248,4 +263,5 @@ quality/intended_usage/framebuffer_allocation=0
quality/2d/use_pixel_snap=true quality/2d/use_pixel_snap=true
vram_compression/import_etc=true vram_compression/import_etc=true
vram_compression/import_etc2=false vram_compression/import_etc2=false
environment/default_clear_color=Color( 0.0705882, 0.0705882, 0.0705882, 1 )
environment/default_environment="res://default_env.tres" environment/default_environment="res://default_env.tres"

View file

@ -1,15 +1,13 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://splash.png" type="Texture" id=1] [ext_resource path="res://splash.png" type="Texture" id=1]
[ext_resource path="res://TestScene.tscn" type="PackedScene" id=2] [ext_resource path="res://scenes/TestScene.tscn" type="PackedScene" id=2]
[sub_resource type="GDScript" id=1] [sub_resource type="GDScript" id=1]
script/source = "extends TextureRect script/source = "extends TextureRect
export var start_scene: PackedScene export var start_scene: PackedScene
func _on_timeout(): func _on_timeout():
get_tree().change_scene_to(start_scene) get_tree().change_scene_to(start_scene)
" "