Motion System - KageDesu/Alpha-ABS GitHub Wiki

Since Build 965 Alpha ABS supports improved motion system for weapons

⚠️⚠️⚠️ Since Build 1050 DEPRECATED, use: Motion System 2


1. Create Sprite Sheet for motion

  • Sprites for motions must be in 📁 img/characters
  • Sprite name structure: zmotion_$actor_$index_$motionName
    where $actor - file name with actor graphics
    $index - index of actor on this graphic file $motionName - name of this motion (for use in game)
    Example: zmotion_Actor1_0_Bow.png - motion graphic file for Harold with Bow

Sprite file structure

2. Using motion in game

  • Add <motion:$motionName> to weapon Note section

  • If you need adjust Y of motion image, use <motionOffset:X>, where X - offset in pixels for Y coordinate

3. Using motions with Enemies 👹

  • Add <motion:1> to the enemy Note section
  • Motion image structure and name is same, but one difference! ⚠️ $motionName must be main
    Example: zmotion_Monster_0_main.png

Demo Project

⚠️ **GitHub.com Fallback** ⚠️