Giter Site home page Giter Site logo

kainazzzo / flatredball-spriter Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 43.33 MB

FlatRedBall engine Spriter integration. This is a Glue plugin designed to make it ridiculously simple to load and use animations created with the Spriter tool in a FlatRedBall game.

Home Page: http://kainazzzo.github.io/flatredball-spriter

C# 99.26% PowerShell 0.74%

flatredball-spriter's People

Contributors

alexnaraghi avatar kainazzzo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

alexnaraghi

flatredball-spriter's Issues

Add a way to override tweened values for any object in the animation

The situation might arise where someone using a SpriterObject wants to manipulate a piece of the animation (e.g. to point an arm toward a target on screen). Since the animation just happily plays as directed, there is no way to do this.

A simple Dictionary<SpriterObject, KeyFrameValues> OverrideTweenValues property should suffice. These values make more sense being absolute, though, since the caller wants to think in terms of screen & world coordinates rather than relative to an arm's parent, for instance.

Add support for multiple entities

Currently, spriter allows multiple entities to be added to a project, but this library only looks at the first entity by default.

The spriter plugin will have to tell Glue about the possible entities, and there should be a default (whole file) selection, which might end up just being the first entity still. Though, it might make more sense to only allow entity selection and not the entire file, and just have the first entity be the default selection in Glue.

Objects not cleaning up when changing screens

Tester Project: http://1drv.ms/1fMZpXL
When you launch the game and click the button it moves from one screen to another. During the cleanup process the Spriter Objects don't clean up and stay in the SpriteManager Lists. You can remove one of the instances and replace them with Boom(old entity), Coconut(old entity), or testEntity(new entity).

Add collision object support

With Spriter pro, collision objects can be added and tweened like sprites on screen, so they need to be supported.

Spriter objects cannot be put on Layers

The code for adding to managers simply adds Sprites/Shapes to the managers without looking at the current Layer for the object. I sent an email with the exact code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.