Show/Hide an image over and over in GODOT
Автор: Riuka
Загружено: 2024-06-09
Просмотров: 633
Описание:
Hello everyone!
Here is a tutorial on how to show/hide an image over and over, by pressing a button :D
Tips:
The line of code is: sprite_2d.visible = not sprite_2d.visible
To create the line: @onready var sprite_2d = $Sprite2D
hold and drag the sprite2d into the script and then press the ctrl button and release!
To start up the scene, press F6!
If you have any questions let me know, although I am new to Godot and just discovered this, I'll try my best to help!
Here's a link to my Instagram that keeps updates for my game Mystic Watcher if you are interested!
https://www.instagram.com/starspellst...
Have a great day!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: