implement screenshot feature

This commit is contained in:
Antti Hakkarainen 2023-02-16 20:30:43 +02:00
parent d31fced182
commit 523f7888da
9 changed files with 167 additions and 68 deletions

View file

@ -1,7 +1,7 @@
extends Sprite2D
# sets the minimap texture as map background to avoid jarring transitions
func _on_minimap_set_map_background_texture(sprite):
func _on_minimap_set_map_background_texture(sprite) -> void:
self.texture = sprite
self.scale = Vector2(16, 16)