Skip to content

Interpolated animation modpack, using Minetest 5.9+ API with backwards compatible syntax.

License

Notifications You must be signed in to change notification settings

SpacingBat3/MT-CoreAnim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreAnim

ContentDB GitHub code size in bytes

Interpolated animation modpack, using MineTest 5.9+ API with backwards compatible syntax.

About the modpack

This modpack contains library that wraps new ObjectRef:set_bone_override API into the backwards-compatible function with ObjectRef:set_bone_position and aims to generalise animation API, so you may use it for bone-based animations as you please.

The API is still being worked on, so it may have a breaking changes for any kind of extensions to ObjectRef:set_bone_position API. It may take a modders' opinions to stabilize itself.

Goals (and TODOs):

  • Provide interpolated bone-based animations for players' heads.

  • Basic compatibility with other mods and games, by not overwritting other bones animations and avoiding game-specific APIs.

Note

This means, I do not plan to implement anything that is not hardly dependant on default and player_api mods, those may be an optional dependencies, but should not be used for the core part of the mod.

  • Try to provide a backwards compatibility API, so bone overwrite mechanism is generalised and uses older API for older clients.

  • Consider making this a modpack over a single mod, to modularise it a bit and to alow to provide this as a library with backwards compatible syntax.

  • Consider replacing the official API once the modpack is activated, or find another way to make older mods use this over old API calls.

  • Avoid game exceptions, rule exceptions etc. Make code generic enough so it can figure out any abnormalities on its own.

Note

The idea of this point is to make animations as much fitting into other games than MTG as possible. Some stuff however may be limited, due to conflicts with the game animations.

  • Provide monoids API to resolve conflicts between game and mod animations.

License

This project is distributed under the terms of ISC license, distributed as COPYING file. Under no circumstances shall this project be distributed without the license file, or shared in any way that violates license terms and conditions.