This is a state machine and animation renderer designed to support the Mana Seed set of sprite assets.

This example project is using just the free version of the character base asset, but it's designed for you to be able to drag and drop the whole char_a_p0x folders into the asset window in GameMaker and update or uncomment some values in the code and things will just work.

This is currently inprogress with the below features to be added as a second yyz project file:

  • Support for animations beyond the first sprite sheet (need to expand the struct that handles filenames into a 3d array)
  • more character states (climb, jump, attack) that are found in the full cost version of the Character base
  • Hand character controls to a different object so both the player character and NPCs can be handled by the same generic input logic.

This project was made with projects I want to make in mind, so if there's a feature you really need and you find my code too daunting to add to, leave a comment and I'll see if I also will need that.

+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+

This project REQUIRES at least the free version of the character base sprite from the Manaseed set of sprites. Without it the project will fail to run with an error saying some variable isn't set before use (because it's the name of the sprite).

+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+

The code is currently designed to handle both unbroken spritesheets and sheets split into individual frames. As such it uses a quirk of GMS where if you attempt to draw higher imageindex than a sprite has it loops back and goes from 0. If a sheet only has a 0th sheet it's just a handy place to store info. If you attempt to implement additional sheets from the paid version of Mana Seed you'll need to change this to some local variable or do what I plan and expand the struct that holds all the animation info to handle actions displayed on later sheets by sheet name alone.

Download

Download NowName your own price

Click download now to get access to the following files:

Mana_Seed_example_project.yyz 49 kB

Comments

Log in with itch.io to leave a comment.

error

The project doesn't come with the manaseed sprite files, you'll need to download at least the free version of the manaseed character sprites from https://seliel-the-shaper.itch.io/character-base and import the files into the project, it's trying to find the default names for those files and they're not present.