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

16 lines
225 B
GDScript3
Raw Permalink Normal View History

2020-07-07 12:51:30 +00:00
extends GameMap
func _ready():
tilemaps = [
$base,
$cables,
$floor,
$walls
]
2020-07-12 15:27:55 +00:00
func get_occlusion_mask():
return $walls.create_occlusion_mask()
func get_occlusion_offset():
return $walls.get_used_rect().position