Skip to content

yanickg-droid/my_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

Installation

Install the plugin through Godot Asset Library (recommended). Or copy the godot_ui_animations folder into addons/ folder

Usage

Go to your Control node's script, specifically in the _ready() function and call UIAnimation.animate_slide_from_left() as an example.

Code examples:

Note

This add-on is currently in development, it may get future updates and improvements in the future.

Making the panel popup in the center of the screen

Popup.Panel.and.Shrinking.panel.code.mp4
func _ready():
  UIAnimation.animate_pop($Panel)

Note that the functions requires a Control reference to be passed in

image

It can even be self as long as the node being passed in is a Control node

image

Available animations currently in this version:

animate_pop() animate_shrink() animate_slide_from_left() animate_slide_to_left() animate_slide_from_right() animate_slide_to_right() animate_slide_from_top() animate_slide_to_top() animate_from_left_to_center() animate_from_center_to_left() animate_from_right_to_center() animate_from_center_to_right()

slide.animations.mp4
new.testing.scene.mp4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors