Skip to content

Michaelwhite34/godot-flash-module

This branch is up to date with funexpected/godot-flash-module:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a4ac39f · Mar 2, 2023

History

87 Commits
Feb 26, 2021
Jun 18, 2020
Feb 25, 2021
Mar 2, 2023
Mar 12, 2021
Mar 2, 2023
Mar 2, 2023
Feb 25, 2021
Mar 2, 2023
Mar 2, 2023
Mar 2, 2023
Mar 2, 2023
Mar 2, 2023
Feb 25, 2021
Mar 2, 2023
Mar 2, 2023

Repository files navigation

About

This module adds Adobe Animate animation support for Godot Engine. FlashPlayer node available to draw a flash document (imported as FlashDocument resource) within a single draw call. You can use the precompiled editor (see releases) or build editor and templates by yourself.

Compilation

Add this repo to modules/flash folder of Godot Engine source. See engine compilation instructions instructions.

cd /path/to/godot
git submodule add https://github.com/funexpected/godot-flash-module.git modules/flash
scons -j8

Usage

  • Install Funexpected Flash Tools plugin.
  • Export your Amazing Project.xfl Flash project using Commands/Funepxected Tools/Export to amazing_project.zfl
  • Add amazing_project.zfl to Godot project
  • Add FlashPlayer node to the scene
  • Set Resource property of FlashPlayer to res: // amazing_project.zfl
  • You can switch active timeline, label (if it present), and change skins of symbols.

Supported and planed features

  • Bitmaps (full rasterization prepared by Funexpected Flash Tools)
  • Groups (decomposed and rasterized)
  • Name Labels (for splitting single animation to multiply parts)
  • Anchor Labels (for skinning, e.g. forcing custom frames in target symbols)
  • User-defined signals (animation_event using comment-labels)
  • Predefined signals (animation_completed)
  • Looping (loop, once, single frame)
  • Color effects
  • Tweening (for properties together)
  • Masks (up to 4 masking elements per masked element)
  • Mutltiply spritesheets packed by Funexpected Flash Tools
  • Downscaling spritesheets on import time
  • Custom properties for importing textures (loseless/vram/uncompressed, mipmaps, filter)
  • Compressing VRAM textures (reducing disk space of exported Godot project)

Unsupported features:

  • Shapes
  • Tweening (for properties separately)
  • Motion guides
  • Warp tool
  • Sounds
  • Custom material (for now, you can't change material for FlashPlayer node)
  • Blending
  • Filters

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.0%
  • Other 1.0%