Commit 34b8792e authored by Nathan Lovato's avatar Nathan Lovato

Fix wrong file path

parent 1bd4ae72
......@@ -5,9 +5,8 @@ onready var pillar_spawner = $Foreground/PillarSpawner
onready var score_label = $Background/ScoreLabel
onready var foreground = $Foreground
onready var gnu = $Gnu
onready var score_board = $UI/ScoreBoard
const ScoreLoader = preload("res://Score/ScoreLoaderMobile.gd")
const ScoreLoader = preload("res://Score/ScoreLoader.gd")
var waiting_to_restart = false
......@@ -19,7 +18,7 @@ func _ready():
func _unhandled_input(event):
if waiting_to_restart:
if event.is_action_pressed("ui_accept") or event.is_action_pressed("tap"):
if event.is_action_pressed("ui_accept"):
get_tree().reload_current_scene()
if event.is_action_pressed("reset") and OS.is_debug_build():
get_tree().reload_current_scene()
......
......@@ -11,7 +11,6 @@
[ext_resource path="res://SpriteSpawner/GroundSprite.tscn" type="PackedScene" id=9]
[ext_resource path="res://SpriteSpawner/Fence.tscn" type="PackedScene" id=10]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0, 0.26699, 0.76699, 1 )
......@@ -139,7 +138,7 @@ v_frames = 1
[node name="Gnu" parent="." index="1" instance=ExtResource( 5 )]
position = Vector2( 190, 960 )
position = Vector2( 200, 950 )
z_index = 1
[node name="Foreground" type="Node2D" parent="." index="2"]
......
......@@ -30,13 +30,17 @@ window/stretch/aspect="expand"
[input]
ui_accept=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
flap=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
]
reset=[ 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)
]
tap=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
[layer_names]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment