7 lines
208 B
GDScript
7 lines
208 B
GDScript
extends Sprite2D
|
|
|
|
# sets the minimap texture as map background to avoid jarring transitions
|
|
func _on_minimap_set_map_background_texture(sprite) -> void:
|
|
self.texture = sprite
|
|
self.scale = Vector2(16, 16)
|
|
|