More fixes
This commit is contained in:
parent
1a100ad208
commit
b1b5d6e186
@ -29,6 +29,7 @@ func _physics_process(_delta):
|
||||
elif state.get_type(mv_target) == "Dirt" and digging:
|
||||
state.clear_tile(mv_target)
|
||||
elif state.get_type(mv_target) == "Goal":
|
||||
OS.window_size = Vector2(1024,600)
|
||||
get_tree().change_scene("res://EndGame.tscn")
|
||||
state.player_pos = get_pos()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://textures/player.png" type="Texture" id=2]
|
||||
[ext_resource path="res://textures/enemy.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
|
@ -16,6 +16,7 @@ _global_script_class_icons={
|
||||
[application]
|
||||
|
||||
config/name="Falling Rocks"
|
||||
run/main_scene="res://Menu.tscn"
|
||||
config/icon="res://textures/enemy.png"
|
||||
|
||||
[input]
|
||||
|
Loading…
x
Reference in New Issue
Block a user