Doors
This commit is contained in:
parent
0f3f6f0133
commit
c613eac80f
9 changed files with 70 additions and 57 deletions
8
metroidvania/Levels/Level.gd
Normal file
8
metroidvania/Levels/Level.gd
Normal file
|
@ -0,0 +1,8 @@
|
|||
extends Node2D
|
||||
|
||||
const WORLD = preload("res://Scenes/World/World.gd")
|
||||
|
||||
func _ready():
|
||||
var parent = get_parent()
|
||||
if parent is WORLD:
|
||||
parent.currentLevel = self
|
Loading…
Add table
Add a link
Reference in a new issue