fix tutorial images
This commit is contained in:
+6
-6
@@ -525,18 +525,18 @@ func _create_tutorial_overlay() -> void:
|
||||
tutorial_canvas.add_child(bg)
|
||||
|
||||
tutorial_image = TextureRect.new()
|
||||
tutorial_image.anchor_left = 0.1
|
||||
tutorial_image.anchor_right = 0.9
|
||||
tutorial_image.anchor_top = 0.07
|
||||
tutorial_image.anchor_bottom = 0.84
|
||||
tutorial_image.anchor_left = 0.02
|
||||
tutorial_image.anchor_right = 0.98
|
||||
tutorial_image.anchor_top = 0.02
|
||||
tutorial_image.anchor_bottom = 0.91
|
||||
tutorial_image.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||
tutorial_image.expand_mode = TextureRect.EXPAND_FIT_WIDTH_PROPORTIONAL
|
||||
tutorial_image.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||
tutorial_canvas.add_child(tutorial_image)
|
||||
|
||||
tutorial_hint = Label.new()
|
||||
tutorial_hint.anchor_left = 0.5
|
||||
tutorial_hint.anchor_right = 0.5
|
||||
tutorial_hint.anchor_top = 0.88
|
||||
tutorial_hint.anchor_top = 0.93
|
||||
tutorial_hint.offset_left = -280
|
||||
tutorial_hint.offset_right = 280
|
||||
tutorial_hint.text = "Нажмите ЛКМ чтобы продолжить"
|
||||
|
||||
Reference in New Issue
Block a user