Skip to content

asset management #2

@defiantnerd

Description

@defiantnerd

Asset Managment

Additional resources like bitmaps, vector graphics etc. shall be incorporated. They are identified by a name and the seat maintains a list of resource providers which will be asked to deliver a named resource. Some resource providers will be always available, like one loading it from the current binary or bundle or from the folder the binary is being located in.

When a resource is being loaded, it can provide additional information about dimensions, colors or tweens.

tweens

Tween channels are a way to provide variable paths with assets. The simplest resource is a bitmap that is always static, but there are concepts like "stitched bitmaps" where multiple frames are stored in one bitmap. This is where the tween channels come into play:

Assets can provide a number of tweens. Stitched bitmaps would have a single tween where a float value between 0.0f and 1.0f can be set which will select the corresponding frame to display.

Assets like TVGs can be used to provide multiple tweens so a vector based graphics can be manipulated in multiple dimensions by providing a number of tweens. Examples would be a graphics for an ADSR graphics with 4 or 5 tweens.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions