Initial Android commit

This commit is contained in:
OleSTEEP 2024-11-10 03:34:28 +03:00
commit 1e2b80c13d
8521 changed files with 231475 additions and 0 deletions

15
scripts/BookShelfHover.gd Normal file
View file

@ -0,0 +1,15 @@
extends TextureRect
func _ready():
self.connect("mouse_entered", self, "_hoverON");
self.connect("mouse_exited", self, "_hoverOFF");
func _hoverON():
get_parent().get_parent().get_node("MovingLens").visible = true
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
func _hoverOFF():
get_parent().get_parent().get_node("MovingLens").visible = false
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)