This commit is equal to version 0.0.2. Version 0.0.1 source code is available on archive.org
17 lines
348 B
GDScript
17 lines
348 B
GDScript
extends "res://level/common/level.gd"
|
|
|
|
onready var player = $Player
|
|
onready var playerHitbox = player.get_main_hitbox()
|
|
|
|
var won = false
|
|
|
|
func _init():
|
|
# Set these constants before they are read on player's ready
|
|
out_of_bounds_y_start = -5
|
|
out_of_bounds_y_end = -10
|
|
|
|
func _ready():
|
|
#$Music.play()
|
|
player.achievement("is just a test", "yay!")
|
|
|