Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

New Skeletal Animations Implemented

I’ve recently implemented skeletal animations inside my programming language / game engine called “Avdl”. This will now allow me to include animated meshes, to bring my future games more to life.

You can see the results of an animated mesh on the video below:

Here’s a rough idea of how I achieved this:

  • Parse .gltf or .glb files.
  • Gather a mesh, its bones and its animations, including all individual keyframes.
  • Write a shader that animates individual vertices based on the transformation of the influencing bones.
  • Each frame, animate all bones. Calculate their transformation by doing linear transformation on its surrounding keyframes.

I plan to add more animated characters on future projects to showcase this achievement in more detail.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.