0 Favourites

[Plugin] Nima - 2D Skeleton Animation

  • To give back to the community I've hired a developer friend of mine to produce a Construct 2 Plugin of the 2D Skeleton Animation package Nima ()

    Nima is currently Free in Beta!

    Since it works in a web browser it supports Mac and PC (not sure about linux)

    Official Nima Beginner Video Tutorials:

    Proof of concept:

    Plugin Download:

    Example CAPX: https://u403350.dl.dropboxusercontent.com/u/403350/Nima-Plugin-example.capx

    Currently only supports C2 - C3 coming soon.

    Current Features:

    Playing specific Animations

    Changing animation speed (-1 to 1) negative for reverse, 0.5 for halfspeed

    Flipping/Mirroring

    Mesh Deformation

    Nima Animation "Events" (trigger a construct action at a specific frame in your animation)

    Roadmap:

    Nima Collision boxes support

    How to use:

    -Download and unzip the plugin from the above download link.

    -Copy the nima-c2-plugin folder to your Construct plugins folder.

    -Restart Construct.

    -Add the Nima plugin to your project by double clicking the layout.

    The sprite editor will open where you can choose a still image of your character for size reference.

    Close the animation editor.

    Exporting your project from Nima.

    After you are done animating in Nima go to the Export button in the lower right corner of Nima and click Export/Export to Engine and specify WEBGL at the top of the screen.

    A .nima file will begin downloading.

    There's a few more steps to get it up and running.

    Back in C2 In the project window on the right. Right click the "Files" folder and pick Import and choose the exported .nima file that you just downloaded.

    With the nima object selected in the properties window on the left you need to specify a few fields.

    Nima Data URL: the name of the .nima file you imported with extension eg: Player.nima (note this IS case sensitive)

    Start Anim: The name of the animation you want to play by default (no quotes, and this IS case sensitive)

    Base Width/Height: set these values to the height and width of your still image version of your character that you added when you added the nima object to your scene. This establishes the proper aspect ratio of your character when it renders at runtime.

    Press play to see your animation running in game!

    Troubleshooting:

    If you get a Javascript error its most likely due to typing an animation name or property setting without matching the case sensitivity of the correct file name or animation name.

    If the aspect ratio of your character is strange , make sure Base Height and Width is set correctly to the same width and height of your single frame image of your character design that you imported at the beginning.

    Bugs: Please either submit bugs in this thread or in the github bugs section.

    And finally. special thanks for castor2d for making Nima!

    And my buddy for writing the plugin.

  • Wow, thank you, guys. This is amazing

  • Thanks for sharing!

  • Could you plz share an example capx?

  • vzad - here's a capx example: https://u403350.dl.dropboxusercontent.com/u/403350/Nima-Plugin-example.capx

    while making this example i just noticed a little bug where the legs stay in the previous pose of the walk cycle when you switch to the idle. we'll get that fixed and a updated plugin put up right away.

  • To give back to the community I've hired a developer friend of mine to produce a Construct 2 Plugin of the 2D Skeleton Animation package Nima ()

    Can your developer friend make a plugin for using Dragonbones Pro?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • redrocket - he likes money, i'm sure if you through some at him he might be interested.

  • redrocket - he likes money, i'm sure if you through some at him he might be interested.

    Will you introduce me to him so I can ask for a quote?

  • redrocket - sent you a PM

  • vzad - here's a capx example: https://u403350.dl.dropboxusercontent.com/u/403350/Nima-Plugin-example.capx

    while making this example i just noticed a little bug where the legs stay in the previous pose of the walk cycle when you switch to the idle. we'll get that fixed and a updated plugin put up right away.

    Thx just got stuck on animation control~

  • I just enabled the Issues tab for the Repository on GitHub. So if I don't respond here quickly, please feel free to enter a bug on GitHub. I'll probably see that quicker.

  • HI there, i just submitted a bug on the plugin page. When i import my animation to C2, every other object goes blank. They are still there, i can interact with them normally on debug, but apart from the Nima objects, the whole screens go pure white. Is that only hapenning with me?

  • mattar128

    I have the same issue.

    For some reason, when a game's screen resolution is changed, other normal sprites pop up.

  • When I export a C2 project as NW.js with "Minify script", the game is broken and shows only a black screen.

    If I DO NOT use "Minify script", it just works fine.

    C2 Spine plugin has the same exact issue so I don't know this is just how it works with FFD function plugins.

    But I found a related post by Ashley on this matter.

    https://www.scirra.com/forum/plugin-developers-please-test-with-the-minifier_t63774

    I'd appreciate if you read through it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)