protected void CreateAnimations() { Animation aniPotion = new Animation(Properties.Resources.PotionAnimated, 0, 0, 11, 4, 80, 105, true, 0.5, 0.3); Animation aniTree = new Animation(Properties.Resources.TreesAnimated, 0, 0, 11, 4, 271, 249, true, 0.2, 0.3); Animation aniTreePh = new Animation(Properties.Resources.TreePhantomAni, 0, 330, 12, 1, 281, 320, true, 0.2, 0.15); Animation aniTreePh2 = new Animation(Properties.Resources.TreePhantomAni, 0, 1815, 12, 1, 225, 310, true, 0.2, 0.2); Animation aniShrubPh = new Animation(Properties.Resources.TreePhantomAni, 400, 690, 1, 1, 210, 90, true, 0.1, 0.3); Animation aniMobMoving = new Animation(Properties.Resources.MobMoving, 460, 36, 4, 1, 110, 75, true, 0.2, 0.5); Animation aniMobNone = new Animation(Properties.Resources.MobMoving, 112, 36, 1, 1, 110, 75, true, 0.1, 0.5); Animation aniLinkNone = new Animation(Properties.Resources.LinkMove, 0, 0, 1, 1, 24, 37, true, 0.1, 1.4); Animation aniLinkMove = new Animation(Properties.Resources.LinkMove, 0, 0, 6, 1, 24, 37, true, 0.3, 1.4); Animation aniLinkMelee = new Animation(Properties.Resources.LinkMelee, 0, 0, 8, 1, 48, 45, false, 0.75, 1.4); Animation aniLinkRanged = new Animation(Properties.Resources.linkRanged, 0, 0, 16, 1, 36, 39, false, 1.0, 1.4); Animation aniDragonNone = new Animation(Properties.Resources.Dragon, 0, 318, 1, 1, 106, 106, true, 0.1, 1.2); Animation aniDragonMove = new Animation(Properties.Resources.Dragon, 0, 318, 3, 1, 106, 106, true, 0.2, 1.2); Animation aniDragonRanged = new Animation(Properties.Resources.Dragon, 0, 318, 3, 1, 106, 106, false, 0.05, 1.2); Animation aniGDragonNone = new Animation(Properties.Resources.greenDragon, 0, 384, 1, 1, 128, 128, true, 0.01, 0.8); Animation aniGDragonMove = new Animation(Properties.Resources.greenDragon, 0, 0, 8, 1, 128, 128, true, 0.25, 0.8); Animation aniGDragonRanged = new Animation(Properties.Resources.greenDragon, 0, 128, 8, 1, 128, 128, false, 0.15, 0.8); Animation aniZombieNone = new Animation(Properties.Resources.zombieMove, 0, 0, 1, 1, 128, 128, true, 0.1, 0.75); Animation aniZombieMove = new Animation(Properties.Resources.zombieMove, 0, 0, 9, 3, 128, 128, true, 0.5, 0.75); Animation aniZombieMelee = new Animation(Properties.Resources.zombieMove, 0, 512, 9, 3, 128, 128, false, 1.0, 0.75); Animation aniFire = new Animation(Properties.Resources.Fire2, 0, 0, 8, 6, 256, 256, false, 1.0, 0.5); Animation aniIce = new Animation(Properties.Resources.iceBreath, 0, 0, 14, 1, 64, 64, false, 0.5, 2); Animation aniArrow = new Animation(Properties.Resources.arrow, 0, 0, 1, 1, 5, 17, true, 0.01, 1.0); Animation aniTrollNone = new Animation(Properties.Resources.Troll, 296, 0, 1, 1, 74, 74, true, 0.01, 1.0); Animation aniTrollMove = new Animation(Properties.Resources.Troll, 296, 0, 1, 5, 74, 74, true, 0.25, 1.0); Animation aniTrollMelee = new Animation(Properties.Resources.Troll, 296, 370, 1, 4, 74, 74, false, 0.15, 1.0); Animation aniOrcNone = new Animation(Properties.Resources.Orc, 0, 350, 1, 1, 50, 50, true, 0.01, 1.0); Animation aniOrcMove = new Animation(Properties.Resources.Orc, 0, 150, 4, 2, 50, 50, true, 0.25, 1.0); Animation aniOrcMelee = new Animation(Properties.Resources.Orc, 0, 300, 5, 1, 50, 50, false, 0.15, 1.0); animations.Add("ice", aniIce); animations.Add("fire", aniFire); animations.Add("arrow", aniArrow); animations.Add("potion", aniPotion); animations.Add("tree", aniTree); animations.Add("treePh", aniTreePh); animations.Add("treePh2", aniTreePh2); animations.Add("shrub", aniShrubPh); animations.Add("mobNone", aniMobNone); animations.Add("mobMove", aniMobMoving); animations.Add("linkNone", aniLinkNone); animations.Add("linkMove", aniLinkMove); animations.Add("linkMelee", aniLinkMelee); animations.Add("linkRanged", aniLinkRanged); animations.Add("dragonNone", aniDragonNone); animations.Add("dragonMove", aniDragonMove); animations.Add("dragonRanged", aniDragonRanged); animations.Add("gDragonNone", aniGDragonNone); animations.Add("gDragonMove", aniGDragonMove); animations.Add("gDragonRanged", aniGDragonRanged); animations.Add("zombieNone", aniZombieNone); animations.Add("zombieMove", aniZombieMove); animations.Add("zombieMelee", aniZombieMelee); animations.Add("trollNone", aniTrollNone); animations.Add("trollMove", aniTrollMove); animations.Add("trollMelee", aniTrollMelee); animations.Add("orcNone", aniOrcNone); animations.Add("orcMove", aniOrcMove); animations.Add("orcMelee", aniOrcMelee); }