More fixes

This commit is contained in:
archfan 2020-04-20 20:52:08 -04:00
parent 1a100ad208
commit b1b5d6e186
3 changed files with 3 additions and 1 deletions

View File

@ -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()

View File

@ -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]

View File

@ -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]