This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Scenes/Maps/odyssey.gd
2020-07-12 17:27:55 +02:00

15 lines
225 B
GDScript

extends GameMap
func _ready():
tilemaps = [
$base,
$cables,
$floor,
$walls
]
func get_occlusion_mask():
return $walls.create_occlusion_mask()
func get_occlusion_offset():
return $walls.get_used_rect().position