Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiancaiamao/flash4libgdx
flash animation for libgdx
https://github.com/tiancaiamao/flash4libgdx
Last synced: about 1 month ago
JSON representation
flash animation for libgdx
- Host: GitHub
- URL: https://github.com/tiancaiamao/flash4libgdx
- Owner: tiancaiamao
- Created: 2013-06-23T12:41:12.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-14T12:14:41.000Z (about 9 years ago)
- Last Synced: 2023-03-27T22:22:43.652Z (over 1 year ago)
- Language: Java
- Size: 157 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is it?
flash4libgdx, as it's name says, is a flash animation package for the libgdx game engine.# How to use?
It's poorly documented...maybe you can read the examples.# Concepts
## Viewport
## Window
## Viewport center
## Canvas
## Transformation Point
In the FAnimation's construction function, you need to specify a Viewport area, or a Viewport center point at least.
Get a KFrame,when you call KFrame.draw, you get a window specify by (x, y, w, h). All objects in the viewport area is scaled to be drawed in the window. In the case that you only specify the Viewport's center rather than a Viewport area, no scale would happen. things will be drawed based on Viewport center and Window center.# How it's implemented?
I have a blog post for it [in chinese](http://www.zenlife.tk/flash-libgdx.md), but you'd better to read the f*cking source code.# Limitate
1. filter transformation is not supported
2. chip in chip is not supported ...
3. shape is not supportedI use it for my own project...not strictly tested. Maybe it's buggy, use it at your own risk!