Jump to content

Spriter C++ API How to download and use for 2D skeleton system?


Recommended Posts

Hi Currently I am considering downloading Spriter C++ API  to use for a 2D skeletal animation system.

What I need the 2D skeletal animation system for:

1. I need to be able to create a 2D sprite using a 2D sprite image (check image url for example)

2. I need the 2D skeletal animation system to add limbs to my 2D Character.

Why do I need to add limbs to my 2D Character:

I want to rotate my limbs while my game is running causing my 2D Character image to bend, rotate, and move as I choose in game

Example of what I need the limbs for:

To create character movement such as a character running if I press forward

To create character aiming such as a character holding a gun and rotating the characters limbs or body as the mouse cursor moves as a crosshair

Can the Spriter C++ API do this and if so how do I download it and create something as described above?

2D Sprite Image example

https://drive.google.com/file/d/1fKik92c30sqkn2R_lNDMOUpcy8rXtARW/view?usp=share_link

Link to comment
Share on other sites

I never looked at the features of the API (I'm just an artist) but I think it only supports play-back of animations made in Spriter and maybe hijackings specific bones to make them behave how you want, regardless of what the Spriter animation data says to do with those bones. The feature would likely called bone override or something like that. I suggest you do a search through any documentation of the API or the code itself to see if you can find that feature (if it exists)

I'll ask Edgar (the programmer) when I see him online, but that might be a while.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...