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