display minimap sprite as map background
This commit is contained in:
parent
d07708ff01
commit
d31fced182
15 changed files with 135 additions and 56 deletions
7
scripts/MapBackground.gd
Normal file
7
scripts/MapBackground.gd
Normal file
|
@ -0,0 +1,7 @@
|
|||
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)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue