A
Akari
Guest
I tried to solve sprite animation in xenogears again and encount the thing that I was feared the most - scripts. =)
All animation for sprites scripted. And this is not only which frame to wait, which frame display, but a lot more complex thing like move object, pause all object in battle, shaking and color overlay. I thing this thing was used not only for sprite animation, but for magic scripting too. Here some of commands that I can guess.
Code: [Select]
All animation for sprites scripted. And this is not only which frame to wait, which frame display, but a lot more complex thing like move object, pause all object in battle, shaking and color overlay. I thing this thing was used not only for sprite animation, but for magic scripting too. Here some of commands that I can guess.
Code: [Select]
Code:
A0 MoveXSmooth(Sint8)A5 MoveYSmooth(Sint8)A7 Wait(Uint8 [only enemy/all unit 1|7 wait])A9 MoveXinstant(Sint8)AB MoveYinstant(Sint8)AE Rotation(Uint8)AF Rotation(Uint8)B5 Scale(Sint8)B6 ScaleY(Uint8)B7 ScaleX(Uint8)BA TransparencyEffect(Uint8)BE StartFrame(Uint8)C0 MoveRandom(Sint8)CA ColorOverlay(Uint8)CB CameraShaking(Uint8) 0x3F - default