|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Lightweight TextureRect that plays frames resolved from spriteManager data. More...
Go to the source code of this file.
Namespaces | |
| namespace | sprite_animation_rect |
Variables | |
| sprite_animation_rect.Dictionary | |
| Configure this node with pre-resolved Texture2D frames. | |
| sprite_animation_rect.frames = next_frames.duplicate() | |
| sprite_animation_rect.fps = max(0.1, float(options.get("fps", 8.0))) | |
| sprite_animation_rect.loop = bool(options.get("loop", true)) | |
| sprite_animation_rect.playing = bool(options.get("autoplay", true)) | |
| sprite_animation_rect.elapsed = float(options.get("offset_seconds", 0.0)) | |
| sprite_animation_rect.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED | |
| sprite_animation_rect.expand_mode = TextureRect.EXPAND_IGNORE_SIZE | |
| sprite_animation_rect.mouse_filter = Control.MOUSE_FILTER_IGNORE | |
| sprite_animation_rect.texture = null | |
| int | sprite_animation_rect.current_frame = -1 |
| sprite_animation_rect.frame = frame % frames.size() | |
Lightweight TextureRect that plays frames resolved from spriteManager data.
Definition in file sprite_animation_rect.gd.