Difference between revisions of "Animation Sets"

From Halfway
Jump to: navigation, search
(Example)
(OVerview)
 
Line 1: Line 1:
==OVerview==
+
==Overview==
  
 
In this set files you define how the animations are set up and if they are mirrored copies of another animation.
 
In this set files you define how the animations are set up and if they are mirrored copies of another animation.
Line 12: Line 12:
  
 
'''Important:''' The file needs to have the same name as the *.unit files for enemies and character but with a .set as ending instead.
 
'''Important:''' The file needs to have the same name as the *.unit files for enemies and character but with a .set as ending instead.
 
 
  
 
==Example==
 
==Example==

Latest revision as of 16:21, 19 September 2014

Overview

In this set files you define how the animations are set up and if they are mirrored copies of another animation.

Info: To save work time and memory only 5 directions are actually done for each character. The other 3 are mirrored versions of the first 5.

But that has not to be the case: For example the turrets have 8 hand made animations so for each direction on. But overall you need at least 5 direction to make the 8 needed for the game.

Se below for a example of such a file. To create your own, I highly recommend to copy over an existing one and exchange the names you need.

All character and enemies need suche a file.

Important: The file needs to have the same name as the *.unit files for enemies and character but with a .set as ending instead.

Example

{
"unitType": "ginaNia",
"animations": {
	"Idle": [
		{ "animation": "ginaNia#Idle#Up", "mirrored": false },
		{ "animation": "ginaNia#Idle#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Idle#Right", "mirrored": false },
		{ "animation": "ginaNia#Idle#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Idle#Down", "mirrored": false },
		{ "animation": "ginaNia#Idle#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Idle#Right", "mirrored": true },
		{ "animation": "ginaNia#Idle#UpRight", "mirrored": true }
	],
	"Run": [
		{ "animation": "ginaNia#Run#Up", "mirrored": false },
		{ "animation": "ginaNia#Run#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Run#Right", "mirrored": false },
		{ "animation": "ginaNia#Run#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Run#Down", "mirrored": false },
		{ "animation": "ginaNia#Run#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Run#Right", "mirrored": true },
		{ "animation": "ginaNia#Run#UpRight", "mirrored": true }
	],
	"Hit": [
		{ "animation": "ginaNia#Hit#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Hit#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Hit#Right", "mirrored": false },
		{ "animation": "ginaNia#Hit#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Hit#Down", "mirrored": false },
		{ "animation": "ginaNia#Hit#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Hit#Right", "mirrored": true },
		{ "animation": "ginaNia#Hit#UpRight", "mirrored": true }
	],
	"Cover": [
		{ "animation": "ginaNia#Cover#UpRight", "mirrored": true },
		{ "animation": "ginaNia#Cover#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Cover#LeftUp", "mirrored": true },
		{ "animation": "ginaNia#Cover#LeftDown", "mirrored": true },
		{ "animation": "ginaNia#Cover#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Cover#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Cover#LeftDown", "mirrored": false },
		{ "animation": "ginaNia#Cover#LeftUp", "mirrored": false }
	],
	"CoverHit": [
		{ "animation": "ginaNia#CoverHit#UpRight", "mirrored": true },
		{ "animation": "ginaNia#CoverHit#UpRight", "mirrored": false },
		{ "animation": "ginaNia#CoverHit#LeftUp", "mirrored": true },
		{ "animation": "ginaNia#CoverHit#LeftDown", "mirrored": true },
		{ "animation": "ginaNia#CoverHit#DownRight", "mirrored": false },
		{ "animation": "ginaNia#CoverHit#DownRight", "mirrored": true },
		{ "animation": "ginaNia#CoverHit#LeftDown", "mirrored": false },
		{ "animation": "ginaNia#CoverHit#LeftUp", "mirrored": false }
	],
	"ShootAim": [
		{ "animation": "ginaNia#ShootAim#Up", "mirrored": false },
		{ "animation": "ginaNia#ShootAim#UpRight", "mirrored": false },
		{ "animation": "ginaNia#ShootAim#Right", "mirrored": false },
		{ "animation": "ginaNia#ShootAim#DownRight", "mirrored": false },
		{ "animation": "ginaNia#ShootAim#Down", "mirrored": false },
		{ "animation": "ginaNia#ShootAim#DownRight", "mirrored": true },
		{ "animation": "ginaNia#ShootAim#Right", "mirrored": true },
		{ "animation": "ginaNia#ShootAim#UpRight", "mirrored": true }
	],
	"ShootFire": [
		{ "animation": "ginaNia#ShootFire#Up", "mirrored": false },
		{ "animation": "ginaNia#ShootFire#UpRight", "mirrored": false },
		{ "animation": "ginaNia#ShootFire#Right", "mirrored": false },
		{ "animation": "ginaNia#ShootFire#DownRight", "mirrored": false },
		{ "animation": "ginaNia#ShootFire#Down", "mirrored": false },
		{ "animation": "ginaNia#ShootFire#DownRight", "mirrored": true },
		{ "animation": "ginaNia#ShootFire#Right", "mirrored": true },
		{ "animation": "ginaNia#ShootFire#UpRight", "mirrored": true }
	],
	"ShootReturn": [
		{ "animation": "ginaNia#ShootReturn#Up", "mirrored": false },
		{ "animation": "ginaNia#ShootReturn#UpRight", "mirrored": false },
		{ "animation": "ginaNia#ShootReturn#Right", "mirrored": false },
		{ "animation": "ginaNia#ShootReturn#DownRight", "mirrored": false },
		{ "animation": "ginaNia#ShootReturn#Down", "mirrored": false },
		{ "animation": "ginaNia#ShootReturn#DownRight", "mirrored": true },
		{ "animation": "ginaNia#ShootReturn#Right", "mirrored": true },
		{ "animation": "ginaNia#ShootReturn#UpRight", "mirrored": true }
	],
	"Strike": [
		{ "animation": "ginaNia#Strike#Up", "mirrored": false },
		{ "animation": "ginaNia#Strike#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Strike#Right", "mirrored": false },
		{ "animation": "ginaNia#Strike#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Strike#Down", "mirrored": false },
		{ "animation": "ginaNia#Strike#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Strike#Right", "mirrored": true },
		{ "animation": "ginaNia#Strike#UpRight", "mirrored": true }
	],
	"Throw": [
		{ "animation": "ginaNia#Throw#Up", "mirrored": false},
		{ "animation": "ginaNia#Throw#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Throw#Right", "mirrored": false },
		{ "animation": "ginaNia#Throw#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Throw#Down", "mirrored": false },
		{ "animation": "ginaNia#Throw#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Throw#Right", "mirrored": true },
		{ "animation": "ginaNia#Throw#UpRight", "mirrored": true }
	],
	"Ko": [
		{ "animation": "ginaNia#Ko#UpRight", "mirrored": true },
		{ "animation": "ginaNia#Ko#UpRight", "mirrored": false },
		{ "animation": "ginaNia#Ko#LeftUp", "mirrored": true },
		{ "animation": "ginaNia#Ko#LeftDown", "mirrored": true },
		{ "animation": "ginaNia#Ko#DownRight", "mirrored": false },
		{ "animation": "ginaNia#Ko#DownRight", "mirrored": true },
		{ "animation": "ginaNia#Ko#LeftDown", "mirrored": false },
		{ "animation": "ginaNia#Ko#LeftUp", "mirrored": false }
	]
 }
}