diff --git a/games/RaftWars2/assets/.DS_Store b/games/RaftWars2/assets/.DS_Store new file mode 100644 index 00000000..41b10c05 Binary files /dev/null and b/games/RaftWars2/assets/.DS_Store differ diff --git a/games/RaftWars2/assets/audio/ogg/m_game1.ogg b/games/RaftWars2/assets/audio/ogg/m_game1.ogg new file mode 100644 index 00000000..c287df6b Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/m_game1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/m_menu.ogg b/games/RaftWars2/assets/audio/ogg/m_menu.ogg new file mode 100644 index 00000000..17820f55 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/m_menu.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/boing_hit_hippo_or_bird.ogg b/games/RaftWars2/assets/audio/ogg/sfx/boing_hit_hippo_or_bird.ogg new file mode 100644 index 00000000..1d33867f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/boing_hit_hippo_or_bird.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/buy_item.ogg b/games/RaftWars2/assets/audio/ogg/sfx/buy_item.ogg new file mode 100644 index 00000000..8957bcee Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/buy_item.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/draw_large_weapon.ogg b/games/RaftWars2/assets/audio/ogg/sfx/draw_large_weapon.ogg new file mode 100644 index 00000000..3a002072 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/draw_large_weapon.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/draw_weapon.ogg b/games/RaftWars2/assets/audio/ogg/sfx/draw_weapon.ogg new file mode 100644 index 00000000..431115ce Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/draw_weapon.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/drumroll_new_shot.ogg b/games/RaftWars2/assets/audio/ogg/sfx/drumroll_new_shot.ogg new file mode 100644 index 00000000..4554c770 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/drumroll_new_shot.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/explosion_rocket_hit.ogg b/games/RaftWars2/assets/audio/ogg/sfx/explosion_rocket_hit.ogg new file mode 100644 index 00000000..6f7b5170 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/explosion_rocket_hit.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/fire_weapon.ogg b/games/RaftWars2/assets/audio/ogg/sfx/fire_weapon.ogg new file mode 100644 index 00000000..a17b686c Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/fire_weapon.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/grenade_collision.ogg b/games/RaftWars2/assets/audio/ogg/sfx/grenade_collision.ogg new file mode 100644 index 00000000..dd48508f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/grenade_collision.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/grenade_launch.ogg b/games/RaftWars2/assets/audio/ogg/sfx/grenade_launch.ogg new file mode 100644 index 00000000..893ec2d7 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/grenade_launch.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/grenade_tick_before_explosion.ogg b/games/RaftWars2/assets/audio/ogg/sfx/grenade_tick_before_explosion.ogg new file mode 100644 index 00000000..2bf26a13 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/grenade_tick_before_explosion.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/launch_multiball_rw2.ogg b/games/RaftWars2/assets/audio/ogg/sfx/launch_multiball_rw2.ogg new file mode 100644 index 00000000..9f16d37b Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/launch_multiball_rw2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_1.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_1.ogg new file mode 100644 index 00000000..a3f3d022 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_2.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_2.ogg new file mode 100644 index 00000000..4d62501f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_3.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_3.ogg new file mode 100644 index 00000000..0307765f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_4.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_4.ogg new file mode 100644 index 00000000..d6166aa0 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_4.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_5.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_5.ogg new file mode 100644 index 00000000..8a4c2c02 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/random_environment_6.ogg b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_6.ogg new file mode 100644 index 00000000..6ee004c3 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/random_environment_6.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/rocket_launch.ogg b/games/RaftWars2/assets/audio/ogg/sfx/rocket_launch.ogg new file mode 100644 index 00000000..fb30ca54 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/rocket_launch.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/sealoop_water.ogg b/games/RaftWars2/assets/audio/ogg/sfx/sealoop_water.ogg new file mode 100644 index 00000000..cb455c59 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/sealoop_water.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/shoot_bow_launch_arrow.ogg b/games/RaftWars2/assets/audio/ogg/sfx/shoot_bow_launch_arrow.ogg new file mode 100644 index 00000000..b9a3610c Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/shoot_bow_launch_arrow.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/splash_ball_hits_water.ogg b/games/RaftWars2/assets/audio/ogg/sfx/splash_ball_hits_water.ogg new file mode 100644 index 00000000..702f10d0 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/splash_ball_hits_water.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_1.ogg b/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_1.ogg new file mode 100644 index 00000000..73d126ad Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_2.ogg b/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_2.ogg new file mode 100644 index 00000000..357155b4 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/splash_large_man_hits_water_2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/tennisball_hit_ground.ogg b/games/RaftWars2/assets/audio/ogg/sfx/tennisball_hit_ground.ogg new file mode 100644 index 00000000..ff4b78f4 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/tennisball_hit_ground.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/vhf_called_rw2_level1.ogg b/games/RaftWars2/assets/audio/ogg/sfx/vhf_called_rw2_level1.ogg new file mode 100644 index 00000000..65a76b51 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/vhf_called_rw2_level1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw1.ogg b/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw1.ogg new file mode 100644 index 00000000..aec6acca Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw2.ogg b/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw2.ogg new file mode 100644 index 00000000..0024586d Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/victory_celebration_rw2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/sfx/whoosh_level_start.ogg b/games/RaftWars2/assets/audio/ogg/sfx/whoosh_level_start.ogg new file mode 100644 index 00000000..9830701b Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/sfx/whoosh_level_start.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance1.ogg new file mode 100644 index 00000000..57cb6e71 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance3.ogg new file mode 100644 index 00000000..2e9ce47f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_ambulance3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_byebye2.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_byebye2.ogg new file mode 100644 index 00000000..9086569f Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_byebye2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_byebye3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_byebye3.ogg new file mode 100644 index 00000000..59e95881 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_byebye3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard5.ogg new file mode 100644 index 00000000..1484f8eb Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard7.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard7.ogg new file mode 100644 index 00000000..799c7c3c Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_manoverboard7.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_ohno3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_ohno3.ogg new file mode 100644 index 00000000..01b8f9fd Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_ohno3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f1_ohno4.ogg b/games/RaftWars2/assets/audio/ogg/voices/f1_ohno4.ogg new file mode 100644 index 00000000..2bf991d6 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f1_ohno4.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f2_auw1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f2_auw1.ogg new file mode 100644 index 00000000..7fb3e239 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f2_auw1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f2_auw3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f2_auw3.ogg new file mode 100644 index 00000000..26789d94 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f2_auw3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f2_auw4.ogg b/games/RaftWars2/assets/audio/ogg/voices/f2_auw4.ogg new file mode 100644 index 00000000..67d3b3f4 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f2_auw4.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f2_auw5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f2_auw5.ogg new file mode 100644 index 00000000..e3605f9d Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f2_auw5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f2_auw6.ogg b/games/RaftWars2/assets/audio/ogg/voices/f2_auw6.ogg new file mode 100644 index 00000000..2dfaeb5d Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f2_auw6.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead2.ogg b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead2.ogg new file mode 100644 index 00000000..ea14d1d9 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead4.ogg b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead4.ogg new file mode 100644 index 00000000..7c2942c2 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead4.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead5.ogg new file mode 100644 index 00000000..27d883f2 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f3_auwmyhead5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou2.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou2.ogg new file mode 100644 index 00000000..a15dc509 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou3.ogg new file mode 100644 index 00000000..bbf5a5c0 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_Illgetyou3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_revenge3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_revenge3.ogg new file mode 100644 index 00000000..619945e7 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_revenge3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_revenge5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_revenge5.ogg new file mode 100644 index 00000000..bd8a111c Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_revenge5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat1.ogg new file mode 100644 index 00000000..60259888 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat5.ogg new file mode 100644 index 00000000..1eb8be35 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f4_youllregretthat5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes2.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes2.ogg new file mode 100644 index 00000000..fd9b95f7 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes4.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes4.ogg new file mode 100644 index 00000000..c1cc3133 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_hereItcomes4.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy1.ogg new file mode 100644 index 00000000..1028c375 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy3.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy3.ogg new file mode 100644 index 00000000..93faf890 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_hopeyouenjoy3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_takethis1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_takethis1.ogg new file mode 100644 index 00000000..056e23c7 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_takethis1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis1.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis1.ogg new file mode 100644 index 00000000..d703eec5 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis5.ogg b/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis5.ogg new file mode 100644 index 00000000..f128d6c0 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/f5_watchoutforthis5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o1_headshot1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o1_headshot1.ogg new file mode 100644 index 00000000..fd68bcbd Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o1_headshot1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o1_headshot2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o1_headshot2.ogg new file mode 100644 index 00000000..1a459330 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o1_headshot2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater1.ogg new file mode 100644 index 00000000..c2156780 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater2.ogg new file mode 100644 index 00000000..d9ec5e96 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_seeyoulater2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes1.ogg new file mode 100644 index 00000000..332e814e Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes2.ogg new file mode 100644 index 00000000..90786f0e Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_sleepingwiththefishes2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker5.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker5.ogg new file mode 100644 index 00000000..1334e6d7 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker5.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker6.ogg b/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker6.ogg new file mode 100644 index 00000000..37722195 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o2_timetomeetyourmaker6.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye1.ogg new file mode 100644 index 00000000..d82926df Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye2.ogg new file mode 100644 index 00000000..1bf7a074 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_bullseye2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot2.ogg new file mode 100644 index 00000000..c1c4c339 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot3.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot3.ogg new file mode 100644 index 00000000..a31cb13a Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_goodshot3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot1.ogg new file mode 100644 index 00000000..120fc3b0 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot3.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot3.ogg new file mode 100644 index 00000000..f8d85742 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_niceshot3.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o3_theyneversawitcoming1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o3_theyneversawitcoming1.ogg new file mode 100644 index 00000000..599e3530 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o3_theyneversawitcoming1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o4_miss1.ogg b/games/RaftWars2/assets/audio/ogg/voices/o4_miss1.ogg new file mode 100644 index 00000000..7e2f85c4 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o4_miss1.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o4_miss2.ogg b/games/RaftWars2/assets/audio/ogg/voices/o4_miss2.ogg new file mode 100644 index 00000000..b8c79ee4 Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o4_miss2.ogg differ diff --git a/games/RaftWars2/assets/audio/ogg/voices/o4_miss3.ogg b/games/RaftWars2/assets/audio/ogg/voices/o4_miss3.ogg new file mode 100644 index 00000000..ad9c6edc Binary files /dev/null and b/games/RaftWars2/assets/audio/ogg/voices/o4_miss3.ogg differ diff --git a/games/RaftWars2/assets/background/bg_congratulations.png b/games/RaftWars2/assets/background/bg_congratulations.png new file mode 100644 index 00000000..733dc0d0 Binary files /dev/null and b/games/RaftWars2/assets/background/bg_congratulations.png differ diff --git a/games/RaftWars2/assets/background/bg_menu.png b/games/RaftWars2/assets/background/bg_menu.png new file mode 100644 index 00000000..32454f8d Binary files /dev/null and b/games/RaftWars2/assets/background/bg_menu.png differ diff --git a/games/RaftWars2/assets/fonts/riffic50all.fnt b/games/RaftWars2/assets/fonts/riffic50all.fnt new file mode 100644 index 00000000..92390c46 --- /dev/null +++ b/games/RaftWars2/assets/fonts/riffic50all.fnt @@ -0,0 +1,481 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/games/RaftWars2/assets/fonts/riffic50all.png b/games/RaftWars2/assets/fonts/riffic50all.png new file mode 100644 index 00000000..e5c6426f Binary files /dev/null and b/games/RaftWars2/assets/fonts/riffic50all.png differ diff --git a/games/RaftWars2/assets/preloader_back.png b/games/RaftWars2/assets/preloader_back.png new file mode 100644 index 00000000..601cfe4b Binary files /dev/null and b/games/RaftWars2/assets/preloader_back.png differ diff --git a/games/RaftWars2/assets/preloader_bar.png b/games/RaftWars2/assets/preloader_bar.png new file mode 100644 index 00000000..a7cd1a63 Binary files /dev/null and b/games/RaftWars2/assets/preloader_bar.png differ diff --git a/games/RaftWars2/assets/spine/skeleton.atlas b/games/RaftWars2/assets/spine/skeleton.atlas new file mode 100644 index 00000000..fe979cfc --- /dev/null +++ b/games/RaftWars2/assets/spine/skeleton.atlas @@ -0,0 +1,2169 @@ + +skeleton.png +size: 1024,512 +format: RGBA8888 +filter: Linear,Linear +repeat: none +bandits/arm2_vL + rotate: true + xy: 871, 292 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +bandits/arm2_vR + rotate: false + xy: 261, 106 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +pirates/arm2_vR + rotate: false + xy: 261, 106 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +vikings/arm2_vR + rotate: false + xy: 261, 106 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +bandits/b2_arm1 + rotate: true + xy: 679, 181 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +bandits/b3_arm1 + rotate: true + xy: 188, 36 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +bandits/b4_arm1 + rotate: false + xy: 201, 11 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +bandits/b_arm1 + rotate: true + xy: 623, 188 + size: 16, 24 + orig: 16, 24 + offset: 0, 0 + index: -1 +bandits/b_body1 + rotate: true + xy: 127, 34 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +bandits/b_body2 + rotate: false + xy: 447, 222 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +bandits/b_body3 + rotate: false + xy: 492, 219 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +bandits/beard10 + rotate: true + xy: 848, 245 + size: 17, 21 + orig: 17, 21 + offset: 0, 0 + index: -1 +bandits/beard11 + rotate: false + xy: 128, 2 + size: 29, 30 + orig: 29, 30 + offset: 0, 0 + index: -1 +bandits/beard9 + rotate: true + xy: 213, 36 + size: 16, 17 + orig: 16, 17 + offset: 0, 0 + index: -1 +bandits/boot1_2 + rotate: false + xy: 921, 234 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +bandits/boot2_2 + rotate: false + xy: 343, 164 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +bandits/brow4L + rotate: true + xy: 707, 232 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +chinese/brow4L + rotate: true + xy: 707, 232 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +vikings/brow4L + rotate: true + xy: 707, 232 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +bandits/brow4R + rotate: false + xy: 261, 93 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +vikings/brow4R + rotate: false + xy: 261, 93 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +bandits/brow5L + rotate: true + xy: 272, 49 + size: 19, 9 + orig: 19, 9 + offset: 0, 0 + index: -1 +vikings/brow5L + rotate: true + xy: 272, 49 + size: 19, 9 + orig: 19, 9 + offset: 0, 0 + index: -1 +bandits/brow5R + rotate: true + xy: 610, 153 + size: 19, 9 + orig: 19, 9 + offset: 0, 0 + index: -1 +bandits/brow7L + rotate: false + xy: 228, 57 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +bandits/brow7R + rotate: true + xy: 232, 36 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +bandits/brow8L + rotate: true + xy: 273, 13 + size: 19, 10 + orig: 19, 10 + offset: 0, 0 + index: -1 +bandits/brow8R + rotate: true + xy: 704, 179 + size: 19, 10 + orig: 19, 10 + offset: 0, 0 + index: -1 +bandits/eyeglass + rotate: false + xy: 85, 145 + size: 71, 24 + orig: 71, 24 + offset: 0, 0 + index: -1 +bandits/hair11 + rotate: false + xy: 331, 278 + size: 66, 75 + orig: 66, 75 + offset: 0, 0 + index: -1 +bandits/hair12 + rotate: false + xy: 132, 79 + size: 23, 64 + orig: 23, 64 + offset: 0, 0 + index: -1 +bandits/hair13 + rotate: false + xy: 399, 273 + size: 60, 80 + orig: 60, 80 + offset: 0, 0 + index: -1 +bandits/hair9 + rotate: true + xy: 270, 254 + size: 70, 59 + orig: 70, 59 + offset: 0, 0 + index: -1 +pirates/hair9 + rotate: true + xy: 270, 254 + size: 70, 59 + orig: 70, 59 + offset: 0, 0 + index: -1 +bandits/hat5 + rotate: true + xy: 587, 297 + size: 74, 37 + orig: 74, 37 + offset: 0, 0 + index: -1 +bandits/mouth1 + rotate: false + xy: 199, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +chinese/mouth1 + rotate: false + xy: 199, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +ouders/mouth1 + rotate: false + xy: 199, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +bandits/nose2 + rotate: false + xy: 609, 174 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +bandits/v_head + rotate: true + xy: 960, 430 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +pirates/v_head + rotate: true + xy: 960, 430 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +vikings/v_head + rotate: true + xy: 960, 430 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +chinese/arm2_cL + rotate: false + xy: 188, 54 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +chinese/arm2_cR + rotate: false + xy: 285, 107 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +chinese/beard18 + rotate: false + xy: 537, 130 + size: 28, 33 + orig: 28, 33 + offset: 0, 0 + index: -1 +chinese/beard19 + rotate: true + xy: 871, 314 + size: 28, 23 + orig: 28, 23 + offset: 0, 0 + index: -1 +chinese/boot1_4 + rotate: true + xy: 895, 217 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +chinese/boot2_4 + rotate: false + xy: 373, 164 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +chinese/brow12L + rotate: false + xy: 716, 189 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +chinese/brow12R + rotate: false + xy: 716, 177 + size: 19, 10 + orig: 19, 10 + offset: 0, 0 + index: -1 +chinese/brow4R + rotate: true + xy: 737, 177 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +pirates/brow4R + rotate: true + xy: 737, 177 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +chinese/c_arm1 + rotate: false + xy: 210, 54 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +chinese/c_body1 + rotate: false + xy: 366, 207 + size: 42, 44 + orig: 42, 44 + offset: 0, 0 + index: -1 +chinese/c_body2 + rotate: false + xy: 313, 207 + size: 51, 44 + orig: 51, 44 + offset: 0, 0 + index: -1 +chinese/c_head + rotate: false + xy: 106, 261 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +chinese/eye3 + rotate: false + xy: 461, 265 + size: 47, 24 + orig: 47, 24 + offset: 0, 0 + index: -1 +chinese/eyelid_c1 + rotate: false + xy: 159, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +chinese/eyelid_c2 + rotate: false + xy: 399, 253 + size: 46, 18 + orig: 46, 18 + offset: 0, 0 + index: -1 +chinese/eyelid_c3 + rotate: true + xy: 537, 213 + size: 47, 21 + orig: 47, 21 + offset: 0, 0 + index: -1 +chinese/eyelid_cc1 + rotate: true + xy: 701, 200 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +chinese/eyelid_cc2 + rotate: false + xy: 626, 233 + size: 25, 18 + orig: 25, 18 + offset: 0, 0 + index: -1 +chinese/eyelid_cc3 + rotate: false + xy: 157, 79 + size: 26, 21 + orig: 26, 21 + offset: 0, 0 + index: -1 +chinese/hair15 + rotate: false + xy: 677, 307 + size: 60, 38 + orig: 60, 38 + offset: 0, 0 + index: -1 +chinese/hair18 + rotate: false + xy: 540, 373 + size: 66, 74 + orig: 66, 74 + offset: 0, 0 + index: -1 +wildman/hair18 + rotate: false + xy: 540, 373 + size: 66, 74 + orig: 66, 74 + offset: 0, 0 + index: -1 +chinese/nose3 + rotate: false + xy: 268, 34 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +chinese/pupil6 + rotate: true + xy: 106, 325 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +darkkid/arm00_L + rotate: true + xy: 395, 137 + size: 18, 21 + orig: 18, 21 + offset: 0, 0 + index: -1 +darkkid/arm00_R + rotate: false + xy: 849, 289 + size: 20, 25 + orig: 20, 25 + offset: 0, 0 + index: -1 +darkkid/b_arm + rotate: false + xy: 750, 218 + size: 15, 18 + orig: 15, 18 + offset: 0, 0 + index: -1 +darkkid/b_body + rotate: true + xy: 410, 207 + size: 44, 35 + orig: 44, 35 + offset: 0, 0 + index: -1 +darkkid/b_head + rotate: false + xy: 676, 395 + size: 74, 57 + orig: 74, 57 + offset: 0, 0 + index: -1 +darkkid/eye1b + rotate: false + xy: 370, 178 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +darkkid/eyelid_b1 + rotate: false + xy: 205, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +darkkid/eyelid_b2 + rotate: false + xy: 626, 280 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +darkkid/eyelid_b3 + rotate: false + xy: 673, 280 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +darkkid/eyelid_bb1 + rotate: true + xy: 738, 198 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +darkkid/eyelid_bb2 + rotate: false + xy: 310, 139 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +darkkid/eyelid_bb3 + rotate: false + xy: 234, 108 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +darkkid/hair3 + rotate: true + xy: 170, 42 + size: 35, 16 + orig: 35, 16 + offset: 0, 0 + index: -1 +darkkid/leg1b + rotate: true + xy: 918, 216 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +darkkid/leg2b + rotate: false + xy: 896, 289 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +darkkid/mouth3 + rotate: false + xy: 447, 265 + size: 12, 6 + orig: 12, 6 + offset: 0, 0 + index: -1 +darkkid/nose1b + rotate: false + xy: 280, 34 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +darkkid/pupil1 + rotate: false + xy: 885, 211 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +ouders/pupil1 + rotate: false + xy: 885, 211 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +simon/pupil1 + rotate: false + xy: 885, 211 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +superman/pupil1 + rotate: false + xy: 885, 211 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +empty/beard0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/brow0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/eyelid0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/hair0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/hat0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/pupil0 + rotate: false + xy: 323, 347 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +empty/eyelid00 + rotate: false + xy: 453, 365 + size: 6, 6 + orig: 6, 6 + offset: 0, 0 + index: -1 +faces/face1 + rotate: false + xy: 158, 144 + size: 42, 20 + orig: 42, 20 + offset: 0, 0 + index: -1 +faces/face3 + rotate: false + xy: 605, 219 + size: 18, 14 + orig: 18, 14 + offset: 0, 0 + index: -1 +faces/face4 + rotate: false + xy: 215, 79 + size: 11, 12 + orig: 11, 12 + offset: 0, 0 + index: -1 +faces/face5 + rotate: false + xy: 847, 214 + size: 21, 10 + orig: 21, 10 + offset: 0, 0 + index: -1 +faces/face6 + rotate: true + xy: 106, 335 + size: 18, 7 + orig: 18, 7 + offset: 0, 0 + index: -1 +faces/face7 + rotate: false + xy: 235, 2 + size: 15, 7 + orig: 15, 7 + offset: 0, 0 + index: -1 +gun/axe1 + rotate: false + xy: 626, 307 + size: 49, 69 + orig: 49, 69 + offset: 0, 0 + index: -1 +gun/gun1 + rotate: false + xy: 243, 434 + size: 112, 76 + orig: 112, 76 + offset: 0, 0 + index: -1 +gun/gun2 + rotate: false + xy: 243, 388 + size: 94, 44 + orig: 94, 44 + offset: 0, 0 + index: -1 +gun/gun3 + rotate: false + xy: 453, 449 + size: 106, 61 + orig: 106, 61 + offset: 0, 0 + index: -1 +gun/gun4 + rotate: true + xy: 2, 35 + size: 112, 76 + orig: 112, 76 + offset: 0, 0 + index: -1 +gun/gun5_1 + rotate: true + xy: 453, 373 + size: 74, 85 + orig: 74, 85 + offset: 0, 0 + index: -1 +gun/gun5_2 + rotate: true + xy: 2, 6 + size: 27, 85 + orig: 27, 85 + offset: 0, 0 + index: -1 +gun/sheildbig + rotate: true + xy: 870, 454 + size: 56, 88 + orig: 56, 88 + offset: 0, 0 + index: -1 +gun/sheildsmall + rotate: false + xy: 80, 85 + size: 50, 58 + orig: 50, 58 + offset: 0, 0 + index: -1 +gun/shuriken1 + rotate: false + xy: 984, 294 + size: 36, 39 + orig: 36, 39 + offset: 0, 0 + index: -1 +other/binoculars1 + rotate: true + xy: 429, 377 + size: 50, 22 + orig: 50, 22 + offset: 0, 0 + index: -1 +other/bra + rotate: true + xy: 990, 335 + size: 40, 32 + orig: 40, 32 + offset: 0, 0 + index: -1 +other/chainlet + rotate: false + xy: 157, 102 + size: 34, 40 + orig: 34, 40 + offset: 0, 0 + index: -1 +other/comb + rotate: true + xy: 202, 142 + size: 22, 40 + orig: 22, 40 + offset: 0, 0 + index: -1 +other/cylinder1 + rotate: true + xy: 200, 329 + size: 77, 38 + orig: 77, 38 + offset: 0, 0 + index: -1 +other/cylinder2 + rotate: false + xy: 240, 326 + size: 81, 60 + orig: 81, 60 + offset: 0, 0 + index: -1 +other/ice1 + rotate: false + xy: 159, 2 + size: 18, 30 + orig: 18, 30 + offset: 0, 0 + index: -1 +other/ice2 + rotate: false + xy: 606, 265 + size: 18, 30 + orig: 18, 30 + offset: 0, 0 + index: -1 +other/ice3 + rotate: false + xy: 621, 168 + size: 18, 18 + orig: 18, 18 + offset: 0, 0 + index: -1 +other/ice4 + rotate: true + xy: 179, 2 + size: 7, 18 + orig: 7, 18 + offset: 0, 0 + index: -1 +other/ice5 + rotate: false + xy: 106, 355 + size: 7, 32 + orig: 7, 32 + offset: 0, 0 + index: -1 +other/sglass1 + rotate: false + xy: 331, 253 + size: 66, 23 + orig: 66, 23 + offset: 0, 0 + index: -1 +other/sglass2 + rotate: false + xy: 801, 316 + size: 68, 26 + orig: 68, 26 + offset: 0, 0 + index: -1 +ouders/arm2_L + rotate: false + xy: 179, 11 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +superman/arm2_L + rotate: false + xy: 179, 11 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +ouders/arm2_Llady + rotate: true + xy: 847, 226 + size: 17, 21 + orig: 17, 21 + offset: 0, 0 + index: -1 +ouders/arm2_R + rotate: true + xy: 337, 140 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +ouders/arm2_Rlady + rotate: false + xy: 605, 235 + size: 19, 25 + orig: 19, 25 + offset: 0, 0 + index: -1 +ouders/boot1_6 + rotate: false + xy: 228, 70 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +ouders/boot2_6 + rotate: true + xy: 609, 189 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +ouders/brow13L + rotate: true + xy: 610, 132 + size: 19, 9 + orig: 19, 9 + offset: 0, 0 + index: -1 +ouders/brow13R + rotate: true + xy: 443, 356 + size: 19, 8 + orig: 19, 8 + offset: 0, 0 + index: -1 +ouders/brow6L + rotate: true + xy: 403, 157 + size: 19, 13 + orig: 19, 13 + offset: 0, 0 + index: -1 +ouders/brow6R + rotate: true + xy: 926, 282 + size: 19, 13 + orig: 19, 13 + offset: 0, 0 + index: -1 +pirates/brow6R + rotate: true + xy: 926, 282 + size: 19, 13 + orig: 19, 13 + offset: 0, 0 + index: -1 +ouders/eye1 + rotate: false + xy: 510, 262 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +vikings/eye2 + rotate: false + xy: 510, 262 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +ouders/eye_lady + rotate: false + xy: 313, 178 + size: 55, 27 + orig: 55, 27 + offset: 0, 0 + index: -1 +ouders/eyelid1_1 + rotate: false + xy: 251, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +redheads/eyelid1_1 + rotate: false + xy: 251, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +simon/eyelid1_1 + rotate: false + xy: 251, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +superman/eyelid1_1 + rotate: false + xy: 251, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +ouders/eyelid1_2 + rotate: false + xy: 626, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +redheads/eyelid1_2 + rotate: false + xy: 626, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +simon/eyelid1_2 + rotate: false + xy: 626, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +superman/eyelid1_2 + rotate: false + xy: 626, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +ouders/eyelid1_3 + rotate: false + xy: 673, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +redheads/eyelid1_3 + rotate: false + xy: 673, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +simon/eyelid1_3 + rotate: false + xy: 673, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +superman/eyelid1_3 + rotate: false + xy: 673, 253 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +ouders/eyelid2_1 + rotate: false + xy: 984, 282 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +redheads/eyelid2_1 + rotate: false + xy: 984, 282 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +simon/eyelid2_1 + rotate: false + xy: 984, 282 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +superman/eyelid2_1 + rotate: false + xy: 984, 282 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +ouders/eyelid2_2 + rotate: false + xy: 653, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +redheads/eyelid2_2 + rotate: false + xy: 653, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +simon/eyelid2_2 + rotate: false + xy: 653, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +superman/eyelid2_2 + rotate: false + xy: 653, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +ouders/eyelid2_3 + rotate: false + xy: 680, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +redheads/eyelid2_3 + rotate: false + xy: 680, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +simon/eyelid2_3 + rotate: false + xy: 680, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +superman/eyelid2_3 + rotate: false + xy: 680, 226 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +ouders/hair19 + rotate: true + xy: 904, 378 + size: 74, 53 + orig: 74, 53 + offset: 0, 0 + index: -1 +ouders/hair20 + rotate: false + xy: 357, 429 + size: 94, 81 + orig: 94, 81 + offset: 0, 0 + index: -1 +ouders/leg1 + rotate: false + xy: 246, 70 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +superman/leg1 + rotate: false + xy: 246, 70 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +ouders/leg2 + rotate: false + xy: 649, 185 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +superman/leg2 + rotate: false + xy: 649, 185 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +ouders/mouth7 + rotate: false + xy: 943, 248 + size: 18, 10 + orig: 18, 10 + offset: 0, 0 + index: -1 +ouders/nose1 + rotate: true + xy: 870, 208 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +redheads/nose1 + rotate: true + xy: 870, 208 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +ouders/o1_arm1 + rotate: false + xy: 219, 11 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +ouders/o2_arm1 + rotate: false + xy: 750, 193 + size: 15, 23 + orig: 15, 23 + offset: 0, 0 + index: -1 +ouders/o_body1 + rotate: false + xy: 447, 179 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +ouders/o_body2 + rotate: true + xy: 80, 35 + size: 48, 45 + orig: 48, 45 + offset: 0, 0 + index: -1 +ouders/o_head + rotate: false + xy: 188, 261 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +redheads/r_head + rotate: false + xy: 188, 261 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +pirates/arm2_vL + rotate: true + xy: 713, 202 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +pirates/beard5 + rotate: false + xy: 89, 2 + size: 37, 30 + orig: 37, 30 + offset: 0, 0 + index: -1 +pirates/beard6 + rotate: false + xy: 766, 265 + size: 33, 35 + orig: 33, 35 + offset: 0, 0 + index: -1 +pirates/beard7 + rotate: false + xy: 244, 135 + size: 37, 29 + orig: 37, 29 + offset: 0, 0 + index: -1 +pirates/boot1_1 + rotate: false + xy: 264, 70 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +pirates/boot2_1 + rotate: false + xy: 767, 230 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +vikings/boot2_1 + rotate: false + xy: 767, 230 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +pirates/brow4L + rotate: false + xy: 750, 180 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +pirates/brow6L + rotate: false + xy: 963, 266 + size: 19, 13 + orig: 19, 13 + offset: 0, 0 + index: -1 +pirates/eye2 + rotate: true + xy: 418, 159 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +pirates/eyelid_v1 + rotate: false + xy: 297, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +vikings/eyelid_v1 + rotate: false + xy: 297, 166 + size: 44, 10 + orig: 44, 10 + offset: 0, 0 + index: -1 +pirates/eyelid_v2 + rotate: false + xy: 801, 260 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +vikings/eyelid_v2 + rotate: false + xy: 801, 260 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +pirates/eyelid_v3 + rotate: false + xy: 720, 238 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +vikings/eyelid_v3 + rotate: false + xy: 720, 238 + size: 45, 25 + orig: 45, 25 + offset: 0, 0 + index: -1 +pirates/eyelid_vv1 + rotate: false + xy: 984, 270 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +vikings/eyelid_vv1 + rotate: false + xy: 984, 270 + size: 24, 10 + orig: 24, 10 + offset: 0, 0 + index: -1 +pirates/eyelid_vv2 + rotate: false + xy: 625, 206 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +vikings/eyelid_vv2 + rotate: false + xy: 625, 206 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +pirates/eyelid_vv3 + rotate: false + xy: 652, 199 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +vikings/eyelid_vv3 + rotate: false + xy: 652, 199 + size: 25, 25 + orig: 25, 25 + offset: 0, 0 + index: -1 +pirates/hair10 + rotate: true + xy: 159, 178 + size: 81, 77 + orig: 81, 77 + offset: 0, 0 + index: -1 +pirates/hair8 + rotate: false + xy: 238, 178 + size: 73, 74 + orig: 73, 74 + offset: 0, 0 + index: -1 +pirates/hat4 + rotate: true + xy: 2, 149 + size: 110, 81 + orig: 110, 81 + offset: 0, 0 + index: -1 +pirates/mouth1 + rotate: false + xy: 217, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +superman/mouth1 + rotate: false + xy: 217, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +vikings/mouth1 + rotate: false + xy: 217, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +wildman/mouth1 + rotate: false + xy: 217, 2 + size: 16, 7 + orig: 16, 7 + offset: 0, 0 + index: -1 +pirates/mouth4 + rotate: true + xy: 323, 365 + size: 21, 14 + orig: 21, 14 + offset: 0, 0 + index: -1 +vikings/mouth4 + rotate: true + xy: 323, 365 + size: 21, 14 + orig: 21, 14 + offset: 0, 0 + index: -1 +pirates/nose2 + rotate: true + xy: 895, 205 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +vikings/nose2 + rotate: true + xy: 895, 205 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +pirates/p_arm1 + rotate: true + xy: 871, 274 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +pirates/p_arm2 + rotate: true + xy: 896, 271 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +pirates/p_arm3 + rotate: true + xy: 871, 256 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +pirates/p_body1 + rotate: false + xy: 492, 176 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +pirates/p_body2 + rotate: false + xy: 447, 136 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +pirates/p_body3 + rotate: false + xy: 492, 133 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +pirates/pupil3 + rotate: true + xy: 963, 241 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +vikings/pupil3 + rotate: true + xy: 963, 241 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +pirates/pupil4 + rotate: false + xy: 976, 240 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +vikings/pupil4 + rotate: false + xy: 976, 240 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +wildman/pupil4 + rotate: false + xy: 976, 240 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +redheads/arm0_L + rotate: false + xy: 943, 260 + size: 18, 21 + orig: 18, 21 + offset: 0, 0 + index: -1 +simon/arm0_L + rotate: false + xy: 943, 260 + size: 18, 21 + orig: 18, 21 + offset: 0, 0 + index: -1 +redheads/arm0_R + rotate: false + xy: 679, 199 + size: 20, 25 + orig: 20, 25 + offset: 0, 0 + index: -1 +simon/arm0_R + rotate: false + xy: 679, 199 + size: 20, 25 + orig: 20, 25 + offset: 0, 0 + index: -1 +redheads/arm2_L + rotate: true + xy: 767, 194 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +redheads/arm2_R + rotate: true + xy: 366, 140 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +superman/arm2_R + rotate: true + xy: 366, 140 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +redheads/beard8 + rotate: false + xy: 621, 149 + size: 18, 17 + orig: 18, 17 + offset: 0, 0 + index: -1 +redheads/boot1_3 + rotate: true + xy: 249, 52 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +redheads/boot2_3 + rotate: false + xy: 720, 224 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +redheads/brow10L + rotate: true + xy: 1010, 251 + size: 19, 12 + orig: 19, 12 + offset: 0, 0 + index: -1 +redheads/brow10R + rotate: false + xy: 771, 181 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +redheads/brow11L + rotate: true + xy: 429, 355 + size: 20, 12 + orig: 20, 12 + offset: 0, 0 + index: -1 +redheads/brow11R + rotate: true + xy: 1010, 272 + size: 20, 12 + orig: 20, 12 + offset: 0, 0 + index: -1 +redheads/brow9L + rotate: false + xy: 939, 236 + size: 16, 10 + orig: 16, 10 + offset: 0, 0 + index: -1 +redheads/brow9R + rotate: true + xy: 941, 218 + size: 16, 9 + orig: 16, 9 + offset: 0, 0 + index: -1 +redheads/eye1 + rotate: true + xy: 537, 165 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +superman/eye1 + rotate: true + xy: 537, 165 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +redheads/hair14 + rotate: false + xy: 739, 302 + size: 60, 38 + orig: 60, 38 + offset: 0, 0 + index: -1 +redheads/hair16 + rotate: false + xy: 677, 347 + size: 61, 46 + orig: 61, 46 + offset: 0, 0 + index: -1 +redheads/hair17 + rotate: false + xy: 608, 378 + size: 66, 74 + orig: 66, 74 + offset: 0, 0 + index: -1 +redheads/leg1 + rotate: true + xy: 245, 34 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +simon/leg1 + rotate: true + xy: 245, 34 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +redheads/leg2 + rotate: false + xy: 767, 216 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +redheads/mouth5 + rotate: false + xy: 323, 355 + size: 14, 8 + orig: 14, 8 + offset: 0, 0 + index: -1 +redheads/mouth6 + rotate: true + xy: 285, 18 + size: 14, 8 + orig: 14, 8 + offset: 0, 0 + index: -1 +redheads/pupil5 + rotate: false + xy: 885, 202 + size: 8, 7 + orig: 8, 7 + offset: 0, 0 + index: -1 +redheads/r1_arm1 + rotate: true + xy: 896, 253 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +redheads/r2_arm1 + rotate: true + xy: 941, 283 + size: 16, 24 + orig: 16, 24 + offset: 0, 0 + index: -1 +redheads/r_body1 + rotate: false + xy: 560, 219 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +redheads/r_body2 + rotate: false + xy: 944, 340 + size: 44, 35 + orig: 44, 35 + offset: 0, 0 + index: -1 +redheads/r_body3 + rotate: false + xy: 896, 303 + size: 43, 35 + orig: 43, 35 + offset: 0, 0 + index: -1 +redheads/r_body4 + rotate: true + xy: 566, 174 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +redheads/r_head1 + rotate: false + xy: 752, 395 + size: 74, 57 + orig: 74, 57 + offset: 0, 0 + index: -1 +redheads/s_arm + rotate: false + xy: 967, 281 + size: 15, 18 + orig: 15, 18 + offset: 0, 0 + index: -1 +simon/s_arm + rotate: false + xy: 967, 281 + size: 15, 18 + orig: 15, 18 + offset: 0, 0 + index: -1 +simon/arm0_hi + rotate: false + xy: 283, 136 + size: 25, 28 + orig: 25, 28 + offset: 0, 0 + index: -1 +simon/eye1 + rotate: false + xy: 801, 287 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +simon/hair2 + rotate: true + xy: 952, 224 + size: 10, 9 + orig: 10, 9 + offset: 0, 0 + index: -1 +simon/leg2 + rotate: false + xy: 193, 93 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +simon/mouth2 + rotate: false + xy: 252, 2 + size: 11, 7 + orig: 11, 7 + offset: 0, 0 + index: -1 +simon/nose1 + rotate: false + xy: 792, 201 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +superman/nose1 + rotate: false + xy: 792, 201 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +simon/s_body + rotate: false + xy: 720, 265 + size: 44, 35 + orig: 44, 35 + offset: 0, 0 + index: -1 +simon/s_head + rotate: false + xy: 828, 395 + size: 74, 57 + orig: 74, 57 + offset: 0, 0 + index: -1 +superman/brow1L + rotate: false + xy: 587, 291 + size: 15, 4 + orig: 15, 4 + offset: 0, 0 + index: -1 +superman/brow1R + rotate: false + xy: 170, 36 + size: 15, 4 + orig: 15, 4 + offset: 0, 0 + index: -1 +superman/hair1 + rotate: false + xy: 242, 93 + size: 17, 13 + orig: 17, 13 + offset: 0, 0 + index: -1 +superman/sm_arm + rotate: true + xy: 871, 238 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +superman/sm_body + rotate: false + xy: 959, 377 + size: 60, 51 + orig: 60, 51 + offset: 0, 0 + index: -1 +superman/sm_head + rotate: true + xy: 461, 291 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 +vikings/arm2_vL + rotate: false + xy: 849, 264 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +vikings/beard1 + rotate: false + xy: 941, 301 + size: 41, 37 + orig: 41, 37 + offset: 0, 0 + index: -1 +vikings/beard2 + rotate: true + xy: 193, 107 + size: 33, 39 + orig: 33, 39 + offset: 0, 0 + index: -1 +vikings/beard3 + rotate: true + xy: 897, 340 + size: 36, 45 + orig: 36, 45 + offset: 0, 0 + index: -1 +vikings/beard4 + rotate: true + xy: 801, 224 + size: 34, 44 + orig: 34, 44 + offset: 0, 0 + index: -1 +vikings/boot1_1 + rotate: false + xy: 237, 11 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +vikings/brow2L + rotate: false + xy: 963, 253 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +vikings/brow2R + rotate: false + xy: 984, 257 + size: 19, 11 + orig: 19, 11 + offset: 0, 0 + index: -1 +vikings/brow3L + rotate: false + xy: 223, 93 + size: 17, 12 + orig: 17, 12 + offset: 0, 0 + index: -1 +vikings/brow3R + rotate: false + xy: 621, 135 + size: 18, 12 + orig: 18, 12 + offset: 0, 0 + index: -1 +vikings/brow5R + rotate: false + xy: 273, 2 + size: 19, 9 + orig: 19, 9 + offset: 0, 0 + index: -1 +vikings/hair4 + rotate: false + xy: 339, 355 + size: 88, 72 + orig: 88, 72 + offset: 0, 0 + index: -1 +vikings/hair5 + rotate: false + xy: 767, 244 + size: 32, 19 + orig: 32, 19 + offset: 0, 0 + index: -1 +vikings/hair6 + rotate: true + xy: 85, 171 + size: 88, 72 + orig: 88, 72 + offset: 0, 0 + index: -1 +vikings/hair7 + rotate: false + xy: 115, 324 + size: 83, 82 + orig: 83, 82 + offset: 0, 0 + index: -1 +vikings/hat1 + rotate: false + xy: 561, 454 + size: 101, 56 + orig: 101, 56 + offset: 0, 0 + index: -1 +vikings/hat2 + rotate: false + xy: 664, 454 + size: 101, 56 + orig: 101, 56 + offset: 0, 0 + index: -1 +vikings/hat3 + rotate: false + xy: 767, 454 + size: 101, 56 + orig: 101, 56 + offset: 0, 0 + index: -1 +vikings/pupil2 + rotate: false + xy: 988, 244 + size: 10, 11 + orig: 10, 11 + offset: 0, 0 + index: -1 +vikings/sheild1 + rotate: false + xy: 848, 344 + size: 47, 49 + orig: 47, 49 + offset: 0, 0 + index: -1 +vikings/v_arm1 + rotate: true + xy: 896, 235 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +vikings/v_body1 + rotate: true + xy: 567, 129 + size: 43, 41 + orig: 43, 41 + offset: 0, 0 + index: -1 +wildman/arm2_wL + rotate: false + xy: 921, 257 + size: 20, 23 + orig: 20, 23 + offset: 0, 0 + index: -1 +wildman/arm2_wR + rotate: true + xy: 418, 135 + size: 22, 27 + orig: 22, 27 + offset: 0, 0 + index: -1 +wildman/boot1_5 + rotate: false + xy: 255, 11 + size: 16, 21 + orig: 16, 21 + offset: 0, 0 + index: -1 +wildman/boot2_5 + rotate: false + xy: 185, 79 + size: 28, 12 + orig: 28, 12 + offset: 0, 0 + index: -1 +wildman/eye4 + rotate: false + xy: 558, 262 + size: 46, 27 + orig: 46, 27 + offset: 0, 0 + index: -1 +wildman/hat6 + rotate: false + xy: 2, 261 + size: 102, 126 + orig: 102, 126 + offset: 0, 0 + index: -1 +wildman/hat7 + rotate: false + xy: 2, 389 + size: 111, 121 + orig: 111, 121 + offset: 0, 0 + index: -1 +wildman/hat8 + rotate: true + xy: 115, 408 + size: 102, 126 + orig: 102, 126 + offset: 0, 0 + index: -1 +wildman/nose4 + rotate: false + xy: 792, 186 + size: 10, 13 + orig: 10, 13 + offset: 0, 0 + index: -1 +wildman/w_arm1 + rotate: true + xy: 870, 220 + size: 16, 23 + orig: 16, 23 + offset: 0, 0 + index: -1 +wildman/w_body1 + rotate: false + xy: 795, 344 + size: 51, 49 + orig: 51, 49 + offset: 0, 0 + index: -1 +wildman/w_body2 + rotate: true + xy: 740, 342 + size: 51, 53 + orig: 51, 53 + offset: 0, 0 + index: -1 +wildman/w_head + rotate: true + xy: 524, 291 + size: 80, 61 + orig: 80, 61 + offset: 0, 0 + index: -1 diff --git a/games/RaftWars2/assets/spine/skeleton.json b/games/RaftWars2/assets/spine/skeleton.json new file mode 100644 index 00000000..35d343e1 --- /dev/null +++ b/games/RaftWars2/assets/spine/skeleton.json @@ -0,0 +1 @@ +{"skeleton":{"hash":"oCZOCnGMJwxHO5rfUlZMuxqYV6E","spine":"3.2.01","width":139.23,"height":133.35,"images":""},"bones":[{"name":"root"},{"name":"aim","parent":"root","x":16.8,"y":31.2,"color":"ff3f00ff"},{"name":"body","parent":"root","length":30,"rotation":90,"y":17.4,"color":"3c27ffff"},{"name":"arm1L","parent":"body","length":12,"rotation":-135,"x":18.33,"y":-13.79,"color":"00ff2dff"},{"name":"arm1R","parent":"body","length":12,"rotation":270,"x":13.8,"y":10.09,"color":"bd7400ff"},{"name":"arm2R","parent":"arm1R","length":12,"x":13.2,"color":"bd7400ff"},{"name":"gun","parent":"arm2R","length":58.51,"rotation":360,"x":12,"y":10.2,"color":"1c0001ff"},{"name":"armleft","parent":"root","x":13.2,"y":31.49,"color":"ff3f00ff"},{"name":"arm2X","parent":"gun","length":18,"rotation":180.08,"x":37.05,"y":-9.82,"color":"000000ff"},{"name":"arm1X","parent":"arm2X","length":21,"rotation":359.99,"x":17.53,"y":-0.05,"color":"000000ff"},{"name":"arm2L","parent":"arm1L","length":12,"x":13.2,"color":"00ff2dff"},{"name":"target","parent":"root","x":73.2,"y":48,"color":"ff3f00ff"},{"name":"head","parent":"body","length":30,"x":30.6,"color":"4c6effff"},{"name":"targethead","parent":"head","rotation":-90,"y":-72,"color":"28ff00ff"},{"name":"beard","parent":"head","rotation":-90,"y":-8.4,"color":"7e84ffff"},{"name":"browL","parent":"head","length":7.2,"rotation":89.99,"x":39.6,"y":-25.2,"color":"e100ffff"},{"name":"browR","parent":"head","length":7.2,"rotation":270,"x":39.6,"y":-2.4,"color":"e100ffff"},{"name":"eyes","parent":"head","rotation":270,"x":27.6,"y":-15.6,"color":"ff4f5cff"},{"name":"face","parent":"head","rotation":-89.99,"x":23.83,"y":10.6,"color":"4c6effff"},{"name":"legL","parent":"root","x":22.89,"y":5.16,"color":"ff3f00ff"},{"name":"leg1L","parent":"body","length":15,"rotation":180,"x":3,"y":-8.4,"color":"844fe0ff"},{"name":"leg2L","parent":"leg1L","length":15,"rotation":450,"x":15,"color":"844fe0ff"},{"name":"legR","parent":"root","x":4.8,"y":5.4,"color":"ff3f00ff"},{"name":"leg1R","parent":"body","length":15,"rotation":180,"x":3,"y":9.6,"color":"c4355bff"},{"name":"leg2R","parent":"leg1R","length":15,"rotation":450,"x":14.99,"color":"c4355bff"},{"name":"mouth","parent":"head","rotation":-90,"x":8.4,"y":-16.8,"color":"0072ffff"},{"name":"nose","parent":"head","rotation":-90,"x":16.8,"y":-17.24,"color":"ff5b00ff"},{"name":"other","parent":"arm2L","length":12,"rotation":84.99,"x":12.92,"y":-0.37,"color":"00ff2dff"},{"name":"other2","parent":"body","rotation":-90,"x":18.59,"y":1.99,"color":"ee4bffff"},{"name":"other3","parent":"head","rotation":-89.99,"x":46.8,"y":-0.13,"color":"fff300ff"},{"name":"other4","parent":"head","rotation":-89.99,"x":13.14,"y":26.64,"color":"fff700ff"},{"name":"pupilL","parent":"head","rotation":-90,"x":23.39,"y":-29.4,"color":"00ff34ff"},{"name":"pupilR","parent":"head","rotation":-90,"x":23.4,"y":-9.6,"color":"00ff34ff"},{"name":"sheildbig","parent":"root","length":33,"rotation":78,"x":24,"y":27.6}],"ik":[{"name":"aim","bones":["arm1R","arm2R"],"target":"aim"},{"name":"armleft","bones":["arm2X","arm1X"],"target":"armleft","bendPositive":false},{"name":"legL","bones":["leg1L","leg2L"],"target":"legL"},{"name":"legR","bones":["leg1R","leg2R"],"target":"legR"},{"name":"target","bones":["head","targethead"],"target":"target","bendPositive":false}],"slots":[{"name":"sheildbig","bone":"sheildbig","attachment":"gun/sheildbig"},{"name":"arm1X","bone":"arm1X","attachment":"arm1X"},{"name":"arm1L","bone":"arm1L","attachment":"arm1L"},{"name":"arm2L","bone":"arm2L","attachment":"arm2L"},{"name":"other","bone":"other","attachment":"other/binoculars1"},{"name":"leg1L","bone":"leg1L","attachment":"leg1L"},{"name":"leg2L","bone":"leg2L","attachment":"leg2L"},{"name":"leg1R","bone":"leg1R","attachment":"leg2R"},{"name":"leg2R","bone":"leg2R","attachment":"leg2R"},{"name":"body","bone":"body","attachment":"body"},{"name":"other2","bone":"other2","attachment":"other/bra"},{"name":"head","bone":"head","attachment":"head"},{"name":"hair","bone":"head","attachment":"hair"},{"name":"eyes","bone":"eyes","attachment":"eyes"},{"name":"beard","bone":"beard","attachment":"beard"},{"name":"pupilL","bone":"pupilL","attachment":"pupilL"},{"name":"pupilR","bone":"pupilR","attachment":"pupilR"},{"name":"eyelid","bone":"head","attachment":"eyelid1"},{"name":"eyelidone","bone":"head","attachment":"eyelidone1"},{"name":"face","bone":"face","attachment":"faces/face7"},{"name":"other4","bone":"other4","attachment":"other/sglass1"},{"name":"nose","bone":"nose","attachment":"nose"},{"name":"mouth","bone":"mouth","attachment":"mouth"},{"name":"browL","bone":"browL","attachment":"browL"},{"name":"browR","bone":"browR","attachment":"browR"},{"name":"hat","bone":"head","attachment":"hat"},{"name":"gun","bone":"gun","attachment":"gun"},{"name":"arm2X","bone":"arm2X","attachment":"arm2X"},{"name":"arm1R","bone":"arm1R","attachment":"arm1R"},{"name":"arm2R","bone":"arm2R","attachment":"arm2R"},{"name":"other3","bone":"other3","attachment":"other/cylinder1"}],"skins":{"default":{"face":{"faces/face1":{"x":23.44,"y":-24.6,"width":42,"height":20},"faces/face3":{"x":23.44,"y":-26.39,"width":18,"height":14},"faces/face4":{"x":23.44,"y":-26.39,"width":11,"height":12},"faces/face5":{"x":23.44,"y":-26.39,"width":21,"height":10},"faces/face6":{"x":23.44,"y":-26.39,"width":18,"height":7},"faces/face7":{"x":23.44,"y":-26.39,"width":15,"height":7}},"other":{"other/binoculars1":{"x":-3.8,"y":-0.1,"rotation":175,"width":50,"height":22},"other/comb":{"x":0.51,"y":2.17,"rotation":90,"width":22,"height":40},"other/ice1":{"x":20.62,"y":2.32,"rotation":275,"width":18,"height":30},"other/ice2":{"x":20.8,"y":2.32,"rotation":275,"width":18,"height":30},"other/ice3":{"x":15.21,"y":1.73,"rotation":275,"width":18,"height":18},"other/ice4":{"x":15.34,"y":1.84,"rotation":275,"width":7,"height":18},"other/ice5":{"x":5.47,"y":-0.25,"rotation":-88.59,"width":7,"height":32}},"other2":{"other/bra":{"x":5.78,"y":-4.82,"width":40,"height":32},"other/chainlet":{"x":4.43,"y":0.57,"width":34,"height":40},"vikings/hat1":{"x":-0.97,"y":6.84,"width":101,"height":56}},"other3":{"other/cylinder1":{"x":2.31,"y":-3.5,"width":77,"height":38},"other/cylinder2":{"x":5.01,"y":2.69,"width":81,"height":60}},"other4":{"other/sglass1":{"x":30.5,"y":1.07,"width":66,"height":23},"other/sglass2":{"x":29.96,"y":1.07,"width":68,"height":26}},"sheildbig":{"gun/sheildbig":{"x":-1.76,"y":-0.37,"rotation":-90,"width":56,"height":88},"gun/sheildsmall":{"x":0.47,"y":-0.88,"rotation":-90,"width":50,"height":58}}},"b1":{"arm1L":{"arm1L":{"name":"bandits/b3_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"bandits/b3_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"bandits/b3_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"bandits/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"bandits/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"bandits/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"bandits/beard11","x":4.84,"y":1.09,"width":29,"height":30}},"body":{"body":{"name":"bandits/b_body3","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"bandits/brow8L","x":0.36,"rotation":-179.98,"width":19,"height":10}},"browR":{"browR":{"name":"bandits/brow8R","x":1.75,"y":-0.4,"width":19,"height":10}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":24.24,"y":-14.59,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"bandits/eyeglass","x":-9.66,"y":-4.04,"width":71,"height":24}},"gun":{"gun":{"name":"gun/gun3","x":29.38,"y":6.81,"width":106,"height":61}},"hair":{"hair":{"name":"bandits/hair13","x":33.6,"y":4.1,"rotation":-90,"width":60,"height":80}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.06,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"bandits/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"bandits/boot1_2","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"bandits/boot1_2","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"bandits/boot2_2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"bandits/boot2_2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"bandits/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"bandits/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"empty/pupil0","width":6,"height":6}},"pupilR":{"pupilR":{"name":"empty/pupil0","width":6,"height":6}}},"b2":{"arm1L":{"arm1L":{"name":"bandits/b4_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"bandits/b4_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"bandits/b4_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"bandits/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"bandits/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"bandits/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"bandits/beard10","x":5.94,"y":-6.95,"width":17,"height":21}},"body":{"body":{"name":"bandits/b_body2","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"bandits/brow7L","x":0.55,"rotation":-179.98,"width":19,"height":11}},"browR":{"browR":{"name":"bandits/brow7R","x":1.75,"y":-0.4,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":24.24,"y":-14.59,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"bandits/eyeglass","x":-9.66,"y":-4.04,"width":71,"height":24}},"gun":{"gun":{"name":"gun/gun3","x":29.38,"y":6.81,"width":106,"height":61}},"hair":{"hair":{"name":"bandits/hair12","x":20.97,"y":24.78,"rotation":-90,"width":23,"height":64}},"hat":{"hat":{"name":"bandits/hat5","x":43.08,"y":-0.31,"rotation":-90,"width":74,"height":37}},"head":{"head":{"name":"bandits/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"bandits/boot1_2","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"bandits/boot1_2","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"bandits/boot2_2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"bandits/boot2_2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"bandits/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"bandits/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"empty/pupil0","width":6,"height":6}},"pupilR":{"pupilR":{"name":"empty/pupil0","width":6,"height":6}}},"b3":{"arm1L":{"arm1L":{"name":"bandits/b2_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"bandits/b2_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"bandits/b2_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"bandits/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"bandits/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"bandits/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"bandits/beard9","x":7.57,"y":-5,"width":16,"height":17}},"body":{"body":{"name":"bandits/b_body3","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"bandits/brow5L","x":0.73,"rotation":-179.98,"width":19,"height":9}},"browR":{"browR":{"name":"bandits/brow5R","x":1.93,"y":-0.4,"width":19,"height":9}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":24.24,"y":-14.59,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"bandits/eyeglass","x":-9.66,"y":-4.04,"width":71,"height":24}},"gun":{"gun":{"name":"gun/gun3","x":29.38,"y":6.81,"width":106,"height":61}},"hair":{"hair":{"name":"bandits/hair11","x":31.08,"y":2.63,"rotation":-90,"width":66,"height":75}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.06,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"bandits/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"bandits/boot1_2","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"bandits/boot1_2","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"bandits/boot2_2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"bandits/boot2_2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"bandits/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"bandits/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"empty/pupil0","width":6,"height":6}},"pupilR":{"pupilR":{"name":"empty/pupil0","width":6,"height":6}}},"b4":{"arm1L":{"arm1L":{"name":"bandits/b_arm1","x":8.08,"rotation":90,"width":16,"height":24}},"arm1R":{"arm1R":{"name":"bandits/b_arm1","x":7.81,"rotation":90,"width":16,"height":24}},"arm1X":{"arm1X":{"name":"bandits/b_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":24}},"arm2L":{"arm2L":{"name":"bandits/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"bandits/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"bandits/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":3.15,"y":-1.04,"width":6,"height":6}},"body":{"body":{"name":"bandits/b_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"bandits/brow4L","x":0.73,"rotation":-179.98,"width":19,"height":11}},"browR":{"browR":{"name":"bandits/brow4R","x":2.3,"y":-0.4,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":24.24,"y":-14.59,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"y":-1,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"bandits/eyeglass","x":-9.66,"y":-4.04,"width":71,"height":24}},"gun":{"gun":{"name":"gun/gun3","x":29.38,"y":6.81,"width":106,"height":61}},"hair":{"hair":{"name":"bandits/hair9","x":25.09,"y":0.7,"rotation":-90,"width":70,"height":59}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.06,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"bandits/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"bandits/boot1_2","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"bandits/boot1_2","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"bandits/boot2_2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"bandits/boot2_2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"bandits/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"bandits/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"empty/pupil0","width":6,"height":6}},"pupilR":{"pupilR":{"name":"empty/pupil0","width":6,"height":6}}},"c1":{"arm1L":{"arm1L":{"name":"chinese/c_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"chinese/c_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"chinese/c_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"chinese/arm2_cL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"chinese/arm2_cR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"chinese/arm2_cL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"chinese/beard18","x":6.54,"y":0.34,"width":28,"height":33}},"body":{"body":{"name":"chinese/c_body1","x":16.56,"y":0.78,"rotation":-90,"width":42,"height":44}},"browL":{"browL":{"name":"chinese/brow12L","x":0.34,"y":0.59,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"chinese/brow12R","x":0.9,"y":-0.59,"width":19,"height":10}},"eyelid":{"eyelid1":{"name":"chinese/eyelid_c1","x":30.4,"y":-13.76,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"chinese/eyelid_c2","x":26.44,"y":-14.18,"rotation":-90,"width":46,"height":18},"eyelid3":{"name":"chinese/eyelid_c3","x":25.76,"y":-13.91,"rotation":-90,"width":47,"height":21}},"eyelidone":{"eyelidone1":{"name":"chinese/eyelid_cc1","x":31,"y":-3,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"chinese/eyelid_cc2","x":26.5,"y":-3,"rotation":-89.99,"width":25,"height":18},"eyelidone3":{"name":"chinese/eyelid_cc3","x":26,"y":-3,"rotation":-89.99,"width":26,"height":21}},"eyes":{"eyes":{"name":"chinese/eye3","x":-1.8,"y":-2.87,"width":47,"height":24}},"gun":{"gun":{"name":"gun/shuriken1","x":24.89,"y":-0.4,"rotation":-24,"width":36,"height":39}},"hair":{"hair":{"name":"empty/hair0","x":48.91,"y":3.61,"rotation":-90,"width":6,"height":6}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.44,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"chinese/c_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"chinese/boot1_4","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"chinese/boot1_4","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"chinese/boot2_4","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"chinese/boot2_4","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"chinese/mouth1","x":-0.85,"y":-0.51,"width":16,"height":7}},"nose":{"nose":{"name":"chinese/nose3","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"chinese/pupil6","width":8,"height":7}},"pupilR":{"pupilR":{"name":"chinese/pupil6","width":8,"height":7}}},"c2":{"arm1L":{"arm1L":{"name":"chinese/c_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"chinese/c_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"chinese/c_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"chinese/arm2_cL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"chinese/arm2_cR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"chinese/arm2_cL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"chinese/beard19","x":6.54,"y":5.33,"width":28,"height":23}},"body":{"body":{"name":"chinese/c_body1","x":16.56,"y":0.78,"rotation":-90,"width":42,"height":44}},"browL":{"browL":{"name":"chinese/brow4L","x":0.71,"y":0.59,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"chinese/brow4R","x":1.82,"y":-0.59,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"chinese/eyelid_c1","x":30.4,"y":-13.76,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"chinese/eyelid_c2","x":26.44,"y":-14.18,"rotation":-90,"width":46,"height":18},"eyelid3":{"name":"chinese/eyelid_c3","x":25.76,"y":-13.91,"rotation":-90,"width":47,"height":21}},"eyelidone":{"eyelidone1":{"name":"chinese/eyelid_cc1","x":31,"y":-3,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"chinese/eyelid_cc2","x":26.5,"y":-3,"rotation":-89.99,"width":25,"height":18},"eyelidone3":{"name":"chinese/eyelid_cc3","x":26,"y":-3,"rotation":-89.99,"width":26,"height":21}},"eyes":{"eyes":{"name":"chinese/eye3","x":-1.8,"y":-2.87,"width":47,"height":24}},"gun":{"gun":{"name":"gun/shuriken1","x":24.89,"y":-0.4,"rotation":-24,"width":36,"height":39}},"hair":{"hair":{"name":"chinese/hair18","x":25.97,"y":6.57,"rotation":-90,"width":66,"height":74}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.44,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"chinese/c_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"chinese/boot1_4","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"chinese/boot1_4","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"chinese/boot2_4","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"chinese/boot2_4","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"chinese/mouth1","x":-0.85,"y":-0.51,"width":16,"height":7}},"nose":{"nose":{"name":"chinese/nose3","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"chinese/pupil6","width":8,"height":7}},"pupilR":{"pupilR":{"name":"chinese/pupil6","width":8,"height":7}}},"c3":{"arm1L":{"arm1L":{"name":"chinese/c_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"chinese/c_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"chinese/c_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"chinese/arm2_cL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"chinese/arm2_cR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"chinese/arm2_cL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":6.54,"y":0.34,"width":6,"height":6}},"body":{"body":{"name":"chinese/c_body2","x":16.56,"y":5.24,"rotation":-90,"width":51,"height":44}},"browL":{"browL":{"name":"chinese/brow12L","x":0.34,"y":0.59,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"chinese/brow12R","x":0.9,"y":-0.59,"width":19,"height":10}},"eyelid":{"eyelid1":{"name":"chinese/eyelid_c1","x":30.4,"y":-13.76,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"chinese/eyelid_c2","x":26.44,"y":-14.18,"rotation":-90,"width":46,"height":18},"eyelid3":{"name":"chinese/eyelid_c3","x":25.76,"y":-13.91,"rotation":-90,"width":47,"height":21}},"eyelidone":{"eyelidone1":{"name":"chinese/eyelid_cc1","x":31,"y":-3,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"chinese/eyelid_cc2","x":26.5,"y":-3,"rotation":-89.99,"width":25,"height":18},"eyelidone3":{"name":"chinese/eyelid_cc3","x":26,"y":-3,"rotation":-89.99,"width":26,"height":21}},"eyes":{"eyes":{"name":"chinese/eye3","x":-1.8,"y":-2.87,"width":47,"height":24}},"gun":{"gun":{"name":"gun/shuriken1","x":24.89,"y":-0.4,"rotation":-24,"width":36,"height":39}},"hair":{"hair":{"name":"chinese/hair15","x":54.48,"y":4.06,"rotation":-90,"width":60,"height":38}},"hat":{"hat":{"name":"empty/hat0","x":57.17,"y":2.44,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"chinese/c_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"chinese/boot1_4","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"chinese/boot1_4","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"chinese/boot2_4","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"chinese/boot2_4","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"chinese/mouth1","x":-0.85,"y":-0.51,"width":16,"height":7}},"nose":{"nose":{"name":"chinese/nose3","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"chinese/pupil6","width":8,"height":7}},"pupilR":{"pupilR":{"name":"chinese/pupil6","width":8,"height":7}}},"dkid":{"arm1L":{"arm1L":{"name":"darkkid/b_arm","x":14.25,"y":-0.65,"rotation":90,"width":15,"height":18}},"arm1R":{"arm1R":{"name":"darkkid/b_arm","x":13.29,"y":0.79,"rotation":90,"width":15,"height":18}},"arm1X":{"arm1X":{"name":"darkkid/b_arm","x":7.72,"y":-0.02,"rotation":-90,"width":15,"height":18}},"arm2L":{"arm2L":{"name":"darkkid/arm00_L","x":13.54,"y":-0.13,"rotation":90,"width":18,"height":21}},"arm2R":{"arm2R":{"name":"darkkid/arm00_R","x":13.3,"rotation":90,"width":20,"height":25}},"arm2X":{"arm2X":{"name":"darkkid/arm00_L","x":6.63,"y":1,"rotation":269.91,"width":18,"height":21}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"darkkid/b_body","x":8.48,"y":0.87,"rotation":-90,"width":44,"height":35}},"browL":{"browL":{"name":"empty/brow0","x":3.15,"y":12.37,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":-0.76,"y":-12.37,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"darkkid/eyelid_b1","x":23,"y":-11.8,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"darkkid/eyelid_b2","x":14.7,"y":-11.85,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"darkkid/eyelid_b3","x":14.68,"y":-11.77,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"darkkid/eyelid_bb1","x":23,"y":-1.5,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"darkkid/eyelid_bb2","x":15,"y":-2,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"darkkid/eyelid_bb3","x":15,"y":-1.5,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"darkkid/eye1b","x":-3.76,"y":-12.14,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun1","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"darkkid/hair3","x":44.83,"y":-0.72,"rotation":-90,"width":35,"height":16}},"hat":{"hat":{"name":"vikings/hat1","x":37,"y":2.99,"rotation":274,"width":101,"height":56}},"head":{"head":{"name":"darkkid/b_head","x":14.97,"rotation":-90,"width":74,"height":57}},"leg1L":{"leg1L":{"name":"darkkid/leg1b","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"darkkid/leg1b","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"darkkid/leg2b","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"darkkid/leg2b","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"darkkid/mouth3","x":-5.33,"y":-12.56,"width":12,"height":6}},"nose":{"nose":{"name":"darkkid/nose1b","x":-1.96,"y":-9.14,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"darkkid/pupil1","x":-1.96,"y":-10.34,"width":8,"height":7}},"pupilR":{"pupilR":{"name":"darkkid/pupil1","x":-1.96,"y":-10.34,"width":8,"height":7}}},"o1":{"arm1L":{"arm1L":{"name":"ouders/o1_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"ouders/o1_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"ouders/o1_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"ouders/arm2_L","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"ouders/arm2_R","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"ouders/arm2_L","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"ouders/o_body1","x":14.55,"y":1.01,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"ouders/brow6L","x":1.19,"y":0.59,"rotation":-179.99,"width":19,"height":13}},"browR":{"browR":{"name":"ouders/brow6R","x":1.19,"y":-0.59,"width":19,"height":13}},"eyelid":{"eyelid1":{"name":"ouders/eyelid1_1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"ouders/eyelid1_2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"ouders/eyelid1_3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"ouders/eyelid2_1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"ouders/eyelid2_2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"ouders/eyelid2_3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"ouders/eye1","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"ouders/hair19","x":38.99,"y":3.24,"rotation":-90,"width":74,"height":53}},"hat":{"hat":{"name":"empty/hat0","x":54,"y":-0.6,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"ouders/o_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"ouders/boot1_6","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"ouders/boot1_6","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"ouders/boot2_6","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"ouders/boot2_6","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"ouders/mouth1","x":-1.19,"y":-1.79,"width":16,"height":7}},"nose":{"nose":{"name":"ouders/nose1","x":0.43,"y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"ouders/pupil1","width":8,"height":7}},"pupilR":{"pupilR":{"name":"ouders/pupil1","width":8,"height":7}}},"o2":{"arm1L":{"arm1L":{"name":"ouders/o2_arm1","x":8.08,"rotation":90,"width":15,"height":23}},"arm1R":{"arm1R":{"name":"ouders/o2_arm1","x":7.81,"rotation":90,"width":15,"height":23}},"arm1X":{"arm1X":{"name":"ouders/o2_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":15,"height":23}},"arm2L":{"arm2L":{"name":"ouders/arm2_Llady","x":9.73,"rotation":90,"width":17,"height":21}},"arm2R":{"arm2R":{"name":"ouders/arm2_Rlady","x":10.8,"rotation":90,"width":19,"height":25}},"arm2X":{"arm2X":{"name":"ouders/arm2_Llady","x":5.5,"y":1.01,"rotation":269.91,"width":17,"height":21}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"ouders/o_body2","x":12.55,"y":0.36,"rotation":-90,"width":48,"height":45}},"browL":{"browL":{"name":"ouders/brow13L","x":1.19,"y":0.59,"rotation":-179.99,"width":19,"height":9}},"browR":{"browR":{"name":"ouders/brow13R","x":1.19,"y":-0.59,"width":19,"height":8}},"eyelid":{"eyelid1":{"name":"ouders/eyelid1_1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"ouders/eyelid1_2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"ouders/eyelid1_3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"ouders/eyelid2_1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"ouders/eyelid2_2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"ouders/eyelid2_3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"ouders/eye_lady","x":-3.2,"y":-1.8,"width":55,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"ouders/hair20","x":30.57,"y":7.45,"rotation":-90,"width":94,"height":81}},"hat":{"hat":{"name":"empty/hat0","x":54,"y":-0.6,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"ouders/o_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"ouders/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"ouders/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"ouders/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"ouders/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"ouders/mouth7","x":-1.36,"y":-2.32,"width":18,"height":10}},"nose":{"nose":{"name":"ouders/nose1","x":0.43,"y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"ouders/pupil1","width":8,"height":7}},"pupilR":{"pupilR":{"name":"ouders/pupil1","width":8,"height":7}}},"p1":{"arm1L":{"arm1L":{"name":"pirates/p_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"pirates/p_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"pirates/p_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"pirates/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"pirates/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"pirates/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"pirates/beard5","x":3.1,"y":0.79,"width":37,"height":30}},"body":{"body":{"name":"pirates/p_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"pirates/brow6L","x":1.19,"y":0.59,"rotation":-179.99,"width":19,"height":13}},"browR":{"browR":{"name":"pirates/brow6R","x":1.19,"y":-0.59,"width":19,"height":13}},"eyelid":{"eyelid1":{"name":"pirates/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"pirates/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"pirates/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"pirates/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"pirates/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"pirates/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"pirates/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun2","x":29.38,"y":3.71,"width":94,"height":44}},"hair":{"hair":{"name":"pirates/hair8","x":26.56,"y":3.6,"rotation":-90,"width":73,"height":74}},"hat":{"hat":{"name":"pirates/hat4","x":59.7,"y":4.21,"rotation":-90,"width":110,"height":81}},"head":{"head":{"name":"pirates/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"pirates/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"pirates/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"pirates/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"pirates/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"pirates/mouth4","x":-4.32,"y":-3.4,"width":21,"height":14}},"nose":{"nose":{"name":"pirates/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"pirates/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"pirates/pupil4","width":10,"height":11}}},"p2":{"arm1L":{"arm1L":{"name":"pirates/p_arm2","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"pirates/p_arm2","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"pirates/p_arm2","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"pirates/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"pirates/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"pirates/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"pirates/beard6","x":5.29,"y":-1.77,"width":33,"height":35}},"body":{"body":{"name":"pirates/p_body2","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"pirates/brow4L","x":1.56,"y":0.6,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"pirates/brow4R","x":1.75,"y":-0.59,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"pirates/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"pirates/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"pirates/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"pirates/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"pirates/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"pirates/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"pirates/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun2","x":29.38,"y":3.71,"width":94,"height":44}},"hair":{"hair":{"name":"pirates/hair9","x":25.47,"y":1.21,"rotation":-90,"width":70,"height":59}},"hat":{"hat":{"name":"empty/hat0","x":53.62,"y":0.66,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"pirates/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"pirates/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"pirates/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"pirates/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"pirates/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"pirates/mouth1","x":-1.76,"y":-2.71,"width":16,"height":7}},"nose":{"nose":{"name":"pirates/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"pirates/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"pirates/pupil4","width":10,"height":11}}},"p3":{"arm1L":{"arm1L":{"name":"pirates/p_arm3","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"pirates/p_arm3","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"pirates/p_arm3","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"pirates/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"pirates/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"pirates/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"pirates/beard7","x":3.1,"y":0.79,"width":37,"height":29}},"body":{"body":{"name":"pirates/p_body3","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"pirates/brow6L","x":1.19,"y":0.59,"rotation":-179.99,"width":19,"height":13}},"browR":{"browR":{"name":"pirates/brow6R","x":1.56,"y":-0.59,"width":19,"height":13}},"eyelid":{"eyelid1":{"name":"pirates/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"pirates/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"pirates/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"pirates/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"pirates/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"pirates/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"pirates/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun2","x":29.38,"y":3.71,"width":94,"height":44}},"hair":{"hair":{"name":"pirates/hair10","x":27.32,"y":-0.45,"rotation":-90,"width":81,"height":77}},"hat":{"hat":{"name":"empty/hat0","x":59.7,"y":4.21,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"pirates/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"pirates/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"pirates/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"pirates/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"pirates/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"pirates/mouth4","x":-4.32,"y":-3.4,"width":21,"height":14}},"nose":{"nose":{"name":"pirates/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"pirates/pupil3","width":10,"height":11}},"pupilR":{"pupilR":{"name":"pirates/pupil3","width":10,"height":11}}},"r1":{"arm1L":{"arm1L":{"name":"redheads/r1_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"redheads/r1_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"redheads/r1_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"redheads/arm2_L","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"redheads/arm2_R","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"redheads/arm2_L","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"redheads/r_body1","x":14.55,"y":1.01,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"redheads/brow9L","x":1.19,"y":0.59,"rotation":-179.99,"width":16,"height":10}},"browR":{"browR":{"name":"redheads/brow9R","x":1.19,"y":-0.59,"width":16,"height":9}},"eyelid":{"eyelid1":{"name":"ouders/eyelid1_1","x":33.34,"y":-13.97,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"ouders/eyelid1_2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"ouders/eyelid1_3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"redheads/eyelid2_1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"redheads/eyelid2_2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"redheads/eyelid2_3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"redheads/eye1","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"redheads/hair14","x":53.61,"y":4.07,"rotation":-90,"width":60,"height":38}},"hat":{"hat":{"name":"empty/hat0","x":54,"y":-0.6,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"redheads/r_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"redheads/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"redheads/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"redheads/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"redheads/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"redheads/mouth5","x":-1.86,"y":-1.79,"width":14,"height":8}},"nose":{"nose":{"name":"redheads/nose1","x":0.43,"y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"redheads/pupil5","width":8,"height":7}},"pupilR":{"pupilR":{"name":"redheads/pupil5","width":8,"height":7}}},"r2":{"arm1L":{"arm1L":{"name":"redheads/r2_arm1","x":8.08,"rotation":90,"width":16,"height":24}},"arm1R":{"arm1R":{"name":"redheads/r2_arm1","x":7.81,"rotation":90,"width":16,"height":24}},"arm1X":{"arm1X":{"name":"redheads/r2_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":24}},"arm2L":{"arm2L":{"name":"redheads/arm2_L","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"redheads/arm2_R","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"redheads/arm2_L","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"redheads/beard8","x":6.31,"y":-7.51,"width":18,"height":17}},"body":{"body":{"name":"redheads/r_body4","x":14.55,"y":1.01,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"redheads/brow11L","x":0.34,"y":0.59,"rotation":-179.99,"width":20,"height":12}},"browR":{"browR":{"name":"redheads/brow11R","x":0.77,"y":-0.59,"width":20,"height":12}},"eyelid":{"eyelid1":{"name":"redheads/eyelid1_1","x":33.34,"y":-13.97,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"redheads/eyelid1_2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"redheads/eyelid1_3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"redheads/eyelid2_1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"redheads/eyelid2_2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"redheads/eyelid2_3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"redheads/eye1","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"redheads/hair17","x":26.13,"y":6.41,"rotation":-90,"width":66,"height":74}},"hat":{"hat":{"name":"empty/hat0","x":54,"y":-0.6,"rotation":-90,"width":6,"height":6}},"head":{"head":{"name":"redheads/r_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"redheads/boot1_3","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"redheads/boot1_3","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"redheads/boot2_3","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"redheads/boot2_3","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"redheads/mouth5","x":-1.86,"y":-1.79,"width":14,"height":8}},"nose":{"nose":{"name":"redheads/nose1","x":0.43,"y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"redheads/pupil5","width":8,"height":7}},"pupilR":{"pupilR":{"name":"redheads/pupil5","width":8,"height":7}}},"r3":{"arm1L":{"arm1L":{"name":"redheads/s_arm","x":14.25,"y":-0.65,"rotation":90,"width":15,"height":18}},"arm1R":{"arm1R":{"name":"redheads/s_arm","x":13.29,"y":0.79,"rotation":90,"width":15,"height":18}},"arm1X":{"arm1X":{"name":"redheads/s_arm","x":7.72,"y":-0.02,"rotation":-90,"width":15,"height":18}},"arm2L":{"arm2L":{"name":"redheads/arm0_L","x":13.54,"y":-0.13,"rotation":90,"width":18,"height":21}},"arm2R":{"arm2R":{"name":"redheads/arm0_R","x":13.3,"rotation":90,"width":20,"height":25}},"arm2X":{"arm2X":{"name":"redheads/arm0_L","x":6.63,"y":1,"rotation":269.91,"width":18,"height":21}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"redheads/r_body2","x":8.48,"y":0.87,"rotation":-90,"width":44,"height":35}},"browL":{"browL":{"name":"empty/brow0","x":3.15,"y":12.37,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":-0.76,"y":-12.37,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"redheads/eyelid1_1","x":23,"y":-11.8,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"redheads/eyelid1_2","x":14.53,"y":-11.85,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"redheads/eyelid1_3","x":14.68,"y":-12.03,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"redheads/eyelid2_1","x":23,"y":-1.82,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"redheads/eyelid2_2","x":15,"y":-2,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"redheads/eyelid2_3","x":15,"y":-1.5,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"redheads/eye1","x":-3.76,"y":-12.14,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"redheads/hair16","x":32.29,"y":3.83,"rotation":-90,"width":61,"height":46}},"hat":{"hat":{"name":"empty/hat0","x":39.49,"y":1.3,"rotation":-86.52,"width":6,"height":6}},"head":{"head":{"name":"redheads/r_head1","x":14.97,"rotation":-90,"width":74,"height":57}},"leg1L":{"leg1L":{"name":"redheads/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"redheads/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"redheads/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"redheads/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"redheads/mouth5","x":-4.58,"y":-11.4,"width":14,"height":8}},"nose":{"nose":{"name":"redheads/nose1","x":-1.96,"y":-9.14,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"redheads/pupil5","x":-1.96,"y":-10.34,"width":8,"height":7}},"pupilR":{"pupilR":{"name":"redheads/pupil5","x":-1.96,"y":-10.34,"width":8,"height":7}}},"r4":{"arm1L":{"arm1L":{"name":"redheads/s_arm","x":14.25,"y":-0.65,"rotation":90,"width":15,"height":18}},"arm1R":{"arm1R":{"name":"redheads/s_arm","x":13.29,"y":0.79,"rotation":90,"width":15,"height":18}},"arm1X":{"arm1X":{"name":"redheads/s_arm","x":7.72,"y":-0.02,"rotation":-90,"width":15,"height":18}},"arm2L":{"arm2L":{"name":"redheads/arm0_L","x":13.54,"y":-0.13,"rotation":90,"width":18,"height":21}},"arm2R":{"arm2R":{"name":"redheads/arm0_R","x":13.3,"rotation":90,"width":20,"height":25}},"arm2X":{"arm2X":{"name":"redheads/arm0_L","x":6.63,"y":1,"rotation":269.91,"width":18,"height":21}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"redheads/r_body3","x":8.48,"y":0.87,"rotation":-90,"width":43,"height":35}},"browL":{"browL":{"name":"redheads/brow10L","x":3.15,"y":8.82,"rotation":-179.99,"width":19,"height":12}},"browR":{"browR":{"name":"redheads/brow10R","x":-0.76,"y":-8.82,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"redheads/eyelid1_1","x":23,"y":-11.8,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"redheads/eyelid1_2","x":14.53,"y":-11.85,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"redheads/eyelid1_3","x":14.68,"y":-12.03,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"redheads/eyelid2_1","x":23,"y":-1.5,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"redheads/eyelid2_2","x":15,"y":-2,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"redheads/eyelid2_3","x":15,"y":-1.5,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"redheads/eye1","x":-3.76,"y":-12.14,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun4","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"empty/hair0","x":41.05,"y":4.14,"rotation":-90,"width":6,"height":6}},"hat":{"hat":{"name":"empty/hat0","x":39.86,"y":-3.16,"rotation":-86.52,"width":6,"height":6}},"head":{"head":{"name":"redheads/r_head1","x":14.97,"rotation":-90,"width":74,"height":57}},"leg1L":{"leg1L":{"name":"redheads/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"redheads/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"redheads/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"redheads/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"redheads/mouth6","x":-4.58,"y":-11.4,"width":14,"height":8}},"nose":{"nose":{"name":"redheads/nose1","x":-1.96,"y":-9.14,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"redheads/pupil5","x":-1.96,"y":-10.34,"width":8,"height":7}},"pupilR":{"pupilR":{"name":"redheads/pupil5","x":-1.96,"y":-10.34,"width":8,"height":7}}},"simon":{"arm1L":{"arm1L":{"name":"simon/s_arm","x":14.25,"y":-0.65,"rotation":90,"width":15,"height":18}},"arm1R":{"arm1R":{"name":"simon/s_arm","x":13.29,"y":0.79,"rotation":90,"width":15,"height":18}},"arm1X":{"arm1X":{"name":"simon/s_arm","x":7.72,"y":-0.02,"rotation":-90,"width":15,"height":18}},"arm2L":{"arm2L":{"name":"simon/arm0_L","x":13.54,"y":-0.13,"rotation":90,"width":18,"height":21},"arm2L_hi":{"name":"simon/arm0_hi","x":16.14,"y":3.42,"rotation":90.22,"width":25,"height":28}},"arm2R":{"arm2R":{"name":"simon/arm0_R","x":13.3,"rotation":90,"width":20,"height":25}},"arm2X":{"arm2X":{"name":"simon/arm0_L","x":6.63,"y":1,"rotation":269.91,"width":18,"height":21}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"simon/s_body","x":8.48,"y":0.87,"rotation":-90,"width":44,"height":35}},"browL":{"browL":{"name":"empty/brow0","x":3.15,"y":12.37,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":-0.76,"y":-12.37,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"simon/eyelid1_1","x":23,"y":-11.8,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"simon/eyelid1_2","x":14.53,"y":-11.85,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"simon/eyelid1_3","x":14.68,"y":-12.44,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"simon/eyelid2_1","x":23,"y":-1.5,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"simon/eyelid2_2","x":15,"y":-2,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"simon/eyelid2_3","x":15,"y":-1.5,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"simon/eye1","x":-3.76,"y":-12.14,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun1","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"simon/hair2","x":45.33,"y":2.59,"rotation":-90,"width":10,"height":9}},"hat":{"hat":{"name":"vikings/hat1","x":37,"y":3.04,"rotation":274,"width":101,"height":56}},"head":{"head":{"name":"simon/s_head","x":14.97,"rotation":-90,"width":74,"height":57}},"leg1L":{"leg1L":{"name":"simon/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"simon/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"simon/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"simon/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"simon/mouth2","x":-5,"y":-11.4,"width":11,"height":7}},"nose":{"nose":{"name":"simon/nose1","x":-1.96,"y":-9.14,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"simon/pupil1","x":-1.96,"y":-10.34,"width":8,"height":7}},"pupilR":{"pupilR":{"name":"simon/pupil1","x":-1.96,"y":-10.34,"width":8,"height":7}}},"sman":{"arm1L":{"arm1L":{"name":"superman/sm_arm","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"superman/sm_arm","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"superman/sm_arm","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"superman/arm2_L","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"superman/arm2_R","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"superman/arm2_L","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":-0.28,"y":-0.27,"width":6,"height":6}},"body":{"body":{"name":"superman/sm_body","x":12.6,"y":8.99,"rotation":-90,"width":60,"height":51}},"browL":{"browL":{"name":"superman/brow1L","x":1.19,"y":0.6,"rotation":-179.99,"width":15,"height":4}},"browR":{"browR":{"name":"superman/brow1R","x":1.2,"y":-0.6,"width":15,"height":4}},"eyelid":{"eyelid1":{"name":"superman/eyelid1_1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"superman/eyelid1_2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"superman/eyelid1_3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"superman/eyelid2_1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"superman/eyelid2_2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"superman/eyelid2_3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"superman/eye1","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun1","x":31.13,"y":11.39,"width":112,"height":76}},"hair":{"hair":{"name":"superman/hair1","x":59.38,"y":-4.78,"rotation":-90,"width":17,"height":13}},"hat":{"hat":{"name":"vikings/hat1","x":51.55,"y":1.63,"rotation":274,"width":101,"height":56}},"head":{"head":{"name":"superman/sm_head","x":25.2,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"superman/leg1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"superman/leg1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"superman/leg2","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"superman/leg2","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"superman/mouth1","x":-1.19,"y":-1.8,"width":16,"height":7}},"nose":{"nose":{"name":"superman/nose1","y":1.2,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"superman/pupil1","width":8,"height":7}},"pupilR":{"pupilR":{"name":"superman/pupil1","width":8,"height":7}}},"v1":{"arm1L":{"arm1L":{"name":"vikings/v_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"vikings/v_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"vikings/v_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"vikings/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"vikings/sheild1","x":10.8,"rotation":90,"width":47,"height":49}},"arm2X":{"arm2X":{"name":"vikings/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"vikings/beard1","x":4.36,"y":-1.73,"width":41,"height":37}},"body":{"body":{"name":"vikings/v_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"vikings/brow2L","x":1.56,"y":0.6,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"vikings/brow2R","x":1.75,"y":-0.59,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"vikings/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"vikings/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"vikings/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"vikings/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"vikings/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"vikings/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"vikings/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/axe1","x":28.89,"y":-3.4,"rotation":-90,"width":49,"height":69}},"hair":{"hair":{"name":"vikings/hair4","x":28.34,"y":-1.96,"rotation":-90,"width":88,"height":72}},"hat":{"hat":{"name":"vikings/hat1","x":57.17,"y":2.44,"rotation":-90,"width":101,"height":56}},"head":{"head":{"name":"vikings/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"vikings/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"vikings/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"vikings/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"vikings/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"vikings/mouth4","x":-3.06,"y":-3.4,"width":21,"height":14}},"nose":{"nose":{"name":"vikings/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"vikings/pupil2","width":10,"height":11}},"pupilR":{"pupilR":{"name":"vikings/pupil2","width":10,"height":11}}},"v2":{"arm1L":{"arm1L":{"name":"vikings/v_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"vikings/v_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"vikings/v_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"vikings/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"vikings/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"vikings/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"vikings/beard2","x":4.36,"y":-3.56,"width":33,"height":39}},"body":{"body":{"name":"vikings/v_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"vikings/brow3L","x":1.56,"y":0.6,"rotation":-179.99,"width":17,"height":12}},"browR":{"browR":{"name":"vikings/brow3R","x":1.75,"y":-0.59,"width":18,"height":12}},"eyelid":{"eyelid1":{"name":"vikings/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"vikings/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"vikings/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"vikings/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"vikings/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"vikings/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"vikings/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/axe1","x":28.89,"y":-3.4,"rotation":-90,"width":49,"height":69}},"hair":{"hair":{"name":"vikings/hair5","x":58.32,"y":-4.41,"rotation":-90,"width":32,"height":19}},"hat":{"hat":{"name":"vikings/hat2","x":57.17,"y":1.89,"rotation":-90,"width":101,"height":56}},"head":{"head":{"name":"vikings/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"vikings/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"vikings/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"vikings/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"vikings/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"vikings/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"vikings/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"vikings/pupil3","width":10,"height":11}},"pupilR":{"pupilR":{"name":"vikings/pupil3","width":10,"height":11}}},"v3":{"arm1L":{"arm1L":{"name":"vikings/v_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"vikings/v_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"vikings/v_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"vikings/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"vikings/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"vikings/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"vikings/beard3","x":6.88,"y":-5.6,"width":36,"height":45}},"body":{"body":{"name":"vikings/v_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"vikings/brow4L","x":1.19,"y":0.59,"rotation":-179.99,"width":19,"height":11}},"browR":{"browR":{"name":"vikings/brow4R","x":1.75,"y":-0.59,"width":19,"height":11}},"eyelid":{"eyelid1":{"name":"vikings/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"vikings/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"vikings/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"vikings/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"vikings/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"vikings/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"vikings/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/axe1","x":28.89,"y":-3.4,"rotation":-90,"width":49,"height":69}},"hair":{"hair":{"name":"vikings/hair6","x":27.84,"y":-2.49,"rotation":-90,"width":88,"height":72}},"hat":{"hat":{"name":"vikings/hat2","x":57.17,"y":2.44,"rotation":-90,"width":101,"height":56}},"head":{"head":{"name":"vikings/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"vikings/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"vikings/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"vikings/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"vikings/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"vikings/mouth4","x":-3.06,"y":-3.4,"width":21,"height":14}},"nose":{"nose":{"name":"vikings/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"vikings/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"vikings/pupil4","width":10,"height":11}}},"v4":{"arm1L":{"arm1L":{"name":"vikings/v_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"vikings/v_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"vikings/v_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"vikings/arm2_vL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"vikings/arm2_vR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"vikings/arm2_vL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"vikings/beard4","x":4.84,"y":-5.32,"width":34,"height":44}},"body":{"body":{"name":"vikings/v_body1","x":13.93,"y":1.4,"rotation":-90,"width":43,"height":41}},"browL":{"browL":{"name":"vikings/brow5L","x":0.18,"rotation":-179.98,"width":19,"height":9}},"browR":{"browR":{"name":"vikings/brow5R","x":1.93,"y":-0.59,"width":19,"height":9}},"eyelid":{"eyelid1":{"name":"vikings/eyelid_v1","x":33.34,"y":-13.77,"rotation":-90,"width":44,"height":10},"eyelid2":{"name":"vikings/eyelid_v2","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25},"eyelid3":{"name":"vikings/eyelid_v3","x":25.36,"y":-13.91,"rotation":-90,"width":45,"height":25}},"eyelidone":{"eyelidone1":{"name":"vikings/eyelid_vv1","x":33.5,"y":-3.4,"rotation":-89.99,"width":24,"height":10},"eyelidone2":{"name":"vikings/eyelid_vv2","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25},"eyelidone3":{"name":"vikings/eyelid_vv3","x":25,"y":-3.6,"rotation":-89.99,"width":25,"height":25}},"eyes":{"eyes":{"name":"vikings/eye2","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/axe1","x":28.89,"y":-3.4,"rotation":-90,"width":49,"height":69}},"hair":{"hair":{"name":"vikings/hair7","x":23.04,"y":-0.86,"rotation":-90,"width":83,"height":82}},"hat":{"hat":{"name":"vikings/hat3","x":57.17,"y":2.06,"rotation":-90,"width":101,"height":56}},"head":{"head":{"name":"vikings/v_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"vikings/boot1_1","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"vikings/boot1_1","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"vikings/boot2_1","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"vikings/boot2_1","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"vikings/mouth1","x":-1.92,"y":-1.63,"width":16,"height":7}},"nose":{"nose":{"name":"vikings/nose2","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"vikings/pupil2","width":10,"height":11}},"pupilR":{"pupilR":{"name":"vikings/pupil2","width":10,"height":11}}},"w1":{"arm1L":{"arm1L":{"name":"wildman/w_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"wildman/w_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"wildman/w_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"wildman/arm2_wL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"wildman/arm2_wR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"wildman/arm2_wL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":3.1,"y":0.79,"width":6,"height":6}},"body":{"body":{"name":"wildman/w_body2","x":13.4,"rotation":-90,"width":51,"height":53}},"browL":{"browL":{"name":"empty/brow0","x":1.19,"y":0.59,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":1.19,"y":-0.59,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":33.34,"y":-13.76,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"wildman/eye4","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun5_1","x":27.84,"y":0.05,"width":74,"height":85},"gun2":{"name":"gun/gun5_2","x":27,"width":27,"height":85}},"hair":{"hair":{"name":"wildman/hair18","x":26.56,"y":6.98,"rotation":-90,"width":66,"height":74}},"hat":{"hat":{"name":"wildman/hat8","x":46.32,"y":-3.46,"rotation":-90,"width":102,"height":126}},"head":{"head":{"name":"wildman/w_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"wildman/boot1_5","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"wildman/boot1_5","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"wildman/boot2_5","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"wildman/boot2_5","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"wildman/mouth1","x":-2.26,"y":-2.78,"width":16,"height":7}},"nose":{"nose":{"name":"wildman/nose4","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"wildman/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"wildman/pupil4","width":10,"height":11}}},"w2":{"arm1L":{"arm1L":{"name":"wildman/w_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"wildman/w_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"wildman/w_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"wildman/arm2_wL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"wildman/arm2_wR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"wildman/arm2_wL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":3.1,"y":0.79,"width":6,"height":6}},"body":{"body":{"name":"wildman/w_body1","x":11.58,"rotation":-90,"width":51,"height":49}},"browL":{"browL":{"name":"empty/brow0","x":1.19,"y":0.59,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":1.19,"y":-0.59,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":33.34,"y":-13.76,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"wildman/eye4","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun5_1","x":27.84,"y":0.05,"width":74,"height":85},"gun2":{"name":"gun/gun5_2","x":26.99,"width":27,"height":85}},"hair":{"hair":{"name":"empty/hair0","x":48.12,"y":6.14,"rotation":-90,"width":6,"height":6}},"hat":{"hat":{"name":"wildman/hat6","x":46.15,"y":-3.46,"rotation":-90,"width":102,"height":126}},"head":{"head":{"name":"wildman/w_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"wildman/boot1_5","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"wildman/boot1_5","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"wildman/boot2_5","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"wildman/boot2_5","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"wildman/mouth1","x":-2.26,"y":-2.78,"width":16,"height":7}},"nose":{"nose":{"name":"wildman/nose4","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"wildman/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"wildman/pupil4","width":10,"height":11}}},"w3":{"arm1L":{"arm1L":{"name":"wildman/w_arm1","x":8.08,"rotation":90,"width":16,"height":23}},"arm1R":{"arm1R":{"name":"wildman/w_arm1","x":7.81,"rotation":90,"width":16,"height":23}},"arm1X":{"arm1X":{"name":"wildman/w_arm1","x":8.76,"y":-0.02,"rotation":-90,"width":16,"height":23}},"arm2L":{"arm2L":{"name":"wildman/arm2_wL","x":9.73,"rotation":90,"width":20,"height":23}},"arm2R":{"arm2R":{"name":"wildman/arm2_wR","x":10.8,"rotation":90,"width":22,"height":27}},"arm2X":{"arm2X":{"name":"wildman/arm2_wL","x":4.47,"y":1.02,"rotation":269.91,"width":20,"height":23}},"beard":{"beard":{"name":"empty/beard0","x":3.1,"y":0.79,"width":6,"height":6}},"body":{"body":{"name":"wildman/w_body1","x":11.58,"rotation":-90,"width":51,"height":49}},"browL":{"browL":{"name":"empty/brow0","x":1.19,"y":0.59,"rotation":-179.99,"width":6,"height":6}},"browR":{"browR":{"name":"empty/brow0","x":1.19,"y":-0.59,"width":6,"height":6}},"eyelid":{"eyelid1":{"name":"empty/eyelid0","x":33.34,"y":-13.76,"rotation":-90,"width":6,"height":6},"eyelid2":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6},"eyelid3":{"name":"empty/eyelid0","x":25.36,"y":-13.91,"rotation":-90,"width":6,"height":6}},"eyelidone":{"eyelidone1":{"name":"empty/eyelid00","x":27,"y":-0.3,"rotation":-89.99,"width":6,"height":6},"eyelidone2":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6},"eyelidone3":{"name":"empty/eyelid00","x":27,"rotation":-89.99,"width":6,"height":6}},"eyes":{"eyes":{"name":"wildman/eye4","x":-1.8,"y":-1.8,"width":46,"height":27}},"gun":{"gun":{"name":"gun/gun5_1","x":27.84,"y":0.05,"width":74,"height":85},"gun2":{"name":"gun/gun5_2","x":26.99,"width":27,"height":85}},"hair":{"hair":{"name":"empty/hair0","x":48.12,"y":6.14,"rotation":-90,"width":6,"height":6}},"hat":{"hat":{"name":"wildman/hat7","x":44.02,"y":-5.06,"rotation":-90,"width":111,"height":121}},"head":{"head":{"name":"wildman/w_head","x":25.19,"rotation":-90,"width":80,"height":61}},"leg1L":{"leg1L":{"name":"wildman/boot1_5","x":9,"rotation":89.99,"width":16,"height":21}},"leg1R":{"leg2R":{"name":"wildman/boot1_5","x":8.99,"rotation":89.99,"width":16,"height":21}},"leg2L":{"leg2L":{"name":"wildman/boot2_5","x":5.99,"width":28,"height":12}},"leg2R":{"leg2R":{"name":"wildman/boot2_5","x":5.39,"width":28,"height":12}},"mouth":{"mouth":{"name":"wildman/mouth1","x":-2.26,"y":-2.78,"width":16,"height":7}},"nose":{"nose":{"name":"wildman/nose4","y":1.19,"width":10,"height":13}},"pupilL":{"pupilL":{"name":"wildman/pupil4","width":10,"height":11}},"pupilR":{"pupilR":{"name":"wildman/pupil4","width":10,"height":11}}}},"animations":{"aim":{"slots":{"arm1L":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"arm1X":{"attachment":[{"time":0,"name":"arm1X"},{"time":1.3333,"name":"arm1X"}]},"arm2L":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"arm2X":{"attachment":[{"time":0,"name":"arm2X"},{"time":1.3333,"name":"arm2X"}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.7,"name":"eyelid1"},{"time":0.7333,"name":"eyelid2"},{"time":0.8,"name":"eyelid3"},{"time":0.9,"name":"eyelid2"},{"time":0.9333,"name":"eyelid1"},{"time":0.9666,"name":null},{"time":1.3333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":1.3333,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-1.48,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.6666,"x":-1.48,"y":0},{"time":1,"x":-0.58,"y":0},{"time":1.1,"x":0,"y":0},{"time":1.3333,"x":-1.48,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":0,"y":1.27},{"time":1.1,"x":0,"y":0.56},{"time":1.3333,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]}}},"aim2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.3333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":1.3333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.7,"name":"eyelid1"},{"time":0.7333,"name":"eyelid2"},{"time":0.8,"name":"eyelid3"},{"time":0.9,"name":"eyelid2"},{"time":0.9333,"name":"eyelid1"},{"time":0.9666,"name":null},{"time":1.3333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":1.3333,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":18.52},{"time":0.1666,"angle":21.47},{"time":0.3333,"angle":378.53,"curve":"stepped"},{"time":0.4333,"angle":378.53},{"time":0.5333,"angle":21.01},{"time":0.6666,"angle":378.53},{"time":0.8666,"angle":20.62},{"time":1,"angle":378.53,"curve":"stepped"},{"time":1.1,"angle":378.53},{"time":1.2,"angle":20.29},{"time":1.3333,"angle":18.52}],"translate":[{"time":0,"x":0.3,"y":-1.22},{"time":0.3333,"x":5.8,"y":-1.22},{"time":0.4333,"x":5.58,"y":-1.22},{"time":0.6666,"x":0.36,"y":-1.22},{"time":1,"x":5.8,"y":-1.22},{"time":1.1,"x":5.58,"y":-1.22},{"time":1.3333,"x":0.3,"y":-1.22}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.1666,"angle":11.67},{"time":0.3333,"angle":372.56,"curve":"stepped"},{"time":0.4333,"angle":372.56},{"time":0.5333,"angle":10.37},{"time":0.6666,"angle":10.87},{"time":1,"angle":372.56,"curve":"stepped"},{"time":1.1,"angle":372.56},{"time":1.2,"angle":11.74},{"time":1.3333,"angle":12.56}],"translate":[{"time":0,"x":1.57,"y":0.25},{"time":0.3333,"x":0.91,"y":1.58,"curve":"stepped"},{"time":0.4333,"x":0.91,"y":1.58},{"time":0.6666,"x":1.41,"y":0.57},{"time":1,"x":0.91,"y":1.58,"curve":"stepped"},{"time":1.1,"x":0.91,"y":1.58},{"time":1.3333,"x":1.57,"y":0.25}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.6666,"x":-2.55,"y":0},{"time":1,"x":-0.58,"y":0},{"time":1.1,"x":0,"y":0},{"time":1.3333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-188.6},{"time":0.3333,"angle":-194.6},{"time":0.4333,"angle":-192.21},{"time":0.6666,"angle":-188.6},{"time":1,"angle":-194.6},{"time":1.1,"angle":-192.21},{"time":1.3333,"angle":-188.6}],"translate":[{"time":0,"x":-12.63,"y":44.5},{"time":0.3333,"x":-8.05,"y":46.97},{"time":0.4333,"x":-10.2,"y":46.33},{"time":0.6666,"x":-12.63,"y":44.5},{"time":1,"x":-8.05,"y":46.97},{"time":1.1,"x":-10.2,"y":46.33},{"time":1.3333,"x":-12.63,"y":44.5}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3333,"angle":1.57},{"time":0.4333,"angle":1.1},{"time":0.6666,"angle":0},{"time":1,"angle":1.57},{"time":1.1,"angle":1.1},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":1.51,"y":3.6},{"time":0.4333,"x":1.05,"y":2.19},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":1.51,"y":3.6},{"time":1.1,"x":1.05,"y":2.19},{"time":1.3333,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":0,"y":1.27},{"time":1.1,"x":0,"y":0.56},{"time":1.3333,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3333,"x":-37.94,"y":-11.97},{"time":0.4333,"x":-37.68,"y":-12.9},{"time":0.6666,"x":-37.08,"y":-15.06},{"time":1,"x":-37.94,"y":-11.97},{"time":1.1,"x":-37.68,"y":-12.9},{"time":1.3333,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3333,"x":10.6,"y":5.29},{"time":0.4333,"x":10.52,"y":4.82},{"time":0.6666,"x":10.31,"y":3.71},{"time":1,"x":10.6,"y":5.29},{"time":1.1,"x":10.52,"y":4.82},{"time":1.3333,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"gun","offset":-23}]},{"time":1.3333,"offsets":[{"slot":"gun","offset":-23}]}]},"gogun":{"slots":{"arm1L":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"arm1X":{"attachment":[{"time":0,"name":"arm1X"},{"time":0.5,"name":"arm1X"}]},"arm2L":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"arm2X":{"attachment":[{"time":0,"name":"arm2X"},{"time":0.5,"name":"arm2X"}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":0.5,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-1.18,"y":-1.27},{"time":0.1333,"x":0.73,"y":1.93},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":2.55,"y":3.59},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":-1.63,"y":0},{"time":0.5,"x":-1.48,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-348.72},{"time":0.1333,"angle":5.63},{"time":0.2666,"angle":0},{"time":0.3666,"angle":-11.19},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0},{"time":0.1333,"angle":6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":0,"y":3.7},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":0,"y":-2.66},{"time":0.5,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":0,"y":20.52},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":0,"y":-8.85},{"time":0.5,"x":0,"y":0}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-32.7,"y":-10.12},{"time":0.1333,"x":-14.6,"y":-0.78},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":0,"y":-4.53},{"time":0.5,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":9.07,"y":4.88},{"time":0.1333,"x":4.53,"y":2.44},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":-5.8,"y":9.79},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0},{"time":0.1333,"angle":-6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":-2.61,"y":0.01},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":2.66,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0},{"time":0.1333,"angle":-6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.1333,"x":-4.65,"y":0.13},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":2.66,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legR":{"rotate":[{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legL":{"rotate":[{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.1333,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.1333,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]}}},"gogun2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.5,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.5,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":0.5,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-44.75},{"time":0.2,"angle":31.73},{"time":0.2666,"angle":378.53},{"time":0.3666,"angle":9.23},{"time":0.5,"angle":18.52}],"translate":[{"time":0,"x":5.36,"y":0.45},{"time":0.2,"x":1.92,"y":0.78},{"time":0.2666,"x":-0.78,"y":-1.22},{"time":0.3666,"x":0,"y":-3.7},{"time":0.5,"x":0.3,"y":-1.22}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":-1.42},{"time":0.2,"angle":8.75},{"time":0.2666,"angle":372.56},{"time":0.3666,"angle":8.11},{"time":0.5,"angle":12.56}],"translate":[{"time":0,"x":1.57,"y":0.25},{"time":0.2,"x":0,"y":0},{"time":0.2666,"x":1.57,"y":0.25},{"time":0.3666,"x":0,"y":0},{"time":0.5,"x":1.57,"y":0.25}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":0.73,"y":1.93},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":2.55,"y":3.59},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":-1.63,"y":0},{"time":0.5,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-264.09},{"time":0.2,"angle":-185.13},{"time":0.2666,"angle":-187.22},{"time":0.3666,"angle":-199.42},{"time":0.5,"angle":-188.6}],"translate":[{"time":0,"x":1.11,"y":13.08},{"time":0.0333,"x":1.1,"y":23.27},{"time":0.1,"x":-0.99,"y":33.7},{"time":0.1333,"x":-2.87,"y":39.04},{"time":0.2,"x":-9.28,"y":45.81},{"time":0.2666,"x":-9.36,"y":46.08},{"time":0.3666,"x":-7.22,"y":43.2},{"time":0.5,"x":-12.63,"y":44.5}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":-1.09}]},"body":{"rotate":[{"time":0,"angle":0},{"time":0.2,"angle":6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":0,"y":3.7},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":0,"y":-2.66},{"time":0.5,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":0,"y":20.52},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":0,"y":-8.85},{"time":0.5,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-13.71},{"time":0.2,"x":-39.43,"y":-11.36},{"time":0.2666,"x":-37.08,"y":-12.37},{"time":0.3666,"x":-37.08,"y":-15.07},{"time":0.5,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.2,"x":10.41,"y":4.44},{"time":0.2666,"x":11.88,"y":3.71,"curve":"stepped"},{"time":0.3666,"x":11.88,"y":3.71},{"time":0.5,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":-5.8,"y":9.79},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0},{"time":0.2,"angle":-6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":-2.61,"y":0.01},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":2.66,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0},{"time":0.2,"angle":-6.47},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.2,"x":-4.65,"y":0.13},{"time":0.2666,"x":0,"y":0},{"time":0.3666,"x":2.66,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legR":{"rotate":[{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legL":{"rotate":[{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.2666,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.2666,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"gun","offset":-23}]},{"time":0.5,"offsets":[{"slot":"gun","offset":-23}]}]},"idle":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.3333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":1.3333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.7,"name":"eyelid1"},{"time":0.7333,"name":"eyelid2"},{"time":0.8,"name":"eyelid3"},{"time":0.9,"name":"eyelid2"},{"time":0.9333,"name":"eyelid1"},{"time":0.9666,"name":null},{"time":1.3333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":1.3333,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3333,"angle":-33.83},{"time":0.4333,"angle":-33.99},{"time":0.6666,"angle":-34.37},{"time":1,"angle":-33.83},{"time":1.1,"angle":-33.99},{"time":1.3333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3333,"x":5.8,"y":0.24},{"time":0.4333,"x":5.58,"y":0.6},{"time":0.6666,"x":5.06,"y":1.44},{"time":1,"x":5.8,"y":0.24},{"time":1.1,"x":5.58,"y":0.6},{"time":1.3333,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3333,"angle":20.68},{"time":0.4333,"angle":18.24},{"time":0.6666,"angle":12.56},{"time":1,"angle":20.68},{"time":1.1,"angle":18.24},{"time":1.3333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.6666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.1,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.3333,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.6666,"x":-2.55,"y":0},{"time":1,"x":-0.58,"y":0},{"time":1.1,"x":0,"y":0},{"time":1.3333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3333,"angle":1.57},{"time":0.4333,"angle":1.1},{"time":0.6666,"angle":0},{"time":1,"angle":1.57},{"time":1.1,"angle":1.1},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":1.51,"y":3.6},{"time":0.4333,"x":1.05,"y":2.19},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":1.51,"y":3.6},{"time":1.1,"x":1.05,"y":2.19},{"time":1.3333,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":0,"y":1.27},{"time":1.1,"x":0,"y":0.56},{"time":1.3333,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3333,"x":0,"y":0.18},{"time":0.4333,"x":0,"y":2.02},{"time":0.6666,"x":0,"y":-5.95},{"time":1,"x":0,"y":0.18},{"time":1.1,"x":0,"y":2.02},{"time":1.3333,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3333,"x":-37.94,"y":-11.97},{"time":0.4333,"x":-37.68,"y":-12.9},{"time":0.6666,"x":-37.08,"y":-15.06},{"time":1,"x":-37.94,"y":-11.97},{"time":1.1,"x":-37.68,"y":-12.9},{"time":1.3333,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3333,"x":10.6,"y":5.29},{"time":0.4333,"x":10.52,"y":4.82},{"time":0.6666,"x":10.31,"y":3.71},{"time":1,"x":10.6,"y":5.29},{"time":1.1,"x":10.52,"y":4.82},{"time":1.3333,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]}}},"kick":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.6666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.6666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":0.6666,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":2.62},{"time":0.3333,"angle":31.74},{"time":0.6666,"angle":2.62}],"translate":[{"time":0,"x":-0.07,"y":0.12},{"time":0.3333,"x":-0.19,"y":-0.14},{"time":0.6666,"x":-0.07,"y":0.12}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":23.46},{"time":0.3333,"angle":25.14},{"time":0.6666,"angle":23.46}],"translate":[{"time":0,"x":0.73,"y":-0.39,"curve":"stepped"},{"time":0.3333,"x":0.73,"y":-0.39,"curve":"stepped"},{"time":0.6666,"x":0.73,"y":-0.39}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.32,"y":2.78,"curve":"stepped"},{"time":0.3333,"x":-1.32,"y":2.78,"curve":"stepped"},{"time":0.6666,"x":-1.32,"y":2.78}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":21},{"time":0.3333,"angle":41.58},{"time":0.6666,"angle":21}],"translate":[{"time":0,"x":2,"y":12.4},{"time":0.3333,"x":1.02,"y":26.95},{"time":0.6666,"x":2,"y":12.4}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":23.8,"curve":"stepped"},{"time":0.3333,"angle":23.8,"curve":"stepped"},{"time":0.6666,"angle":23.8}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":2.72},{"time":0.6666,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.82,"y":7.42},{"time":0.3333,"x":-5.16,"y":19.48},{"time":0.6666,"x":-1.82,"y":7.42}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-54.38,"y":-14.48},{"time":0.3333,"x":-58.8,"y":-3.55},{"time":0.6666,"x":-54.38,"y":-14.48}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":8.09,"y":0.67,"curve":"stepped"},{"time":0.3333,"x":8.09,"y":0.67,"curve":"stepped"},{"time":0.6666,"x":8.09,"y":0.67}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-6.27,"y":-2.39,"curve":"stepped"},{"time":0.3333,"x":-6.27,"y":-2.39,"curve":"stepped"},{"time":0.6666,"x":-6.27,"y":-2.39}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-2.23,"y":1.47,"curve":"stepped"},{"time":0.3333,"x":-2.23,"y":1.47,"curve":"stepped"},{"time":0.6666,"x":-2.23,"y":1.47}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":-346.4},{"time":0.3333,"angle":13.59},{"time":0.6666,"angle":-346.4}],"translate":[{"time":0,"x":-0.03,"y":1.08},{"time":0.3333,"x":3.33,"y":1.71},{"time":0.6666,"x":-0.03,"y":1.08}]},"browL":{"rotate":[{"time":0,"angle":-11,"curve":"stepped"},{"time":0.3333,"angle":-11,"curve":"stepped"},{"time":0.6666,"angle":-11}],"translate":[{"time":0,"x":-0.17,"y":-1.3},{"time":0.3333,"x":3.18,"y":-0.67},{"time":0.6666,"x":-0.17,"y":-1.3}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.3333,"x":3.36,"y":0.63},{"time":0.6666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":3.05,"y":-0.55},{"time":0.3333,"x":7.59,"y":0.13},{"time":0.6666,"x":3.05,"y":-0.55}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0.2,"y":7.17},{"time":0.3333,"x":5.07,"y":8.39},{"time":0.6666,"x":0.2,"y":7.17}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.3333,"x":3.36,"y":0.63},{"time":0.6666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.3333,"x":3.36,"y":0.63},{"time":0.6666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.3333,"x":3.36,"y":0.63},{"time":0.6666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":14.37,"y":11.72},{"time":0.3333,"x":11.98,"y":6.66},{"time":0.6666,"x":14.37,"y":11.72}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":1.93,"y":24.7},{"time":0.3333,"x":-0.9,"y":34.27},{"time":0.6666,"x":1.93,"y":24.7}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0},{"time":0.3333,"x":3.36,"y":0.63},{"time":0.6666,"x":0,"y":0}]}}},"see":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":2.4666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":2.4666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.4666,"name":"eyelidone1"},{"time":0.5333,"name":"eyelidone2"},{"time":0.5666,"name":"eyelidone3"},{"time":1.9333,"name":"eyelidone2"},{"time":2,"name":"eyelidone1"},{"time":2.0333,"name":null},{"time":2.4666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other":{"attachment":[{"time":0,"name":"other/binoculars1"},{"time":2.4666,"name":"other/binoculars1"}]},"other2":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.2333,"angle":1.63},{"time":0.3333,"angle":27.98},{"time":0.5666,"angle":76,"curve":"stepped"},{"time":0.9,"angle":76,"curve":"stepped"},{"time":1,"angle":76,"curve":"stepped"},{"time":1.2333,"angle":76,"curve":"stepped"},{"time":1.5666,"angle":76,"curve":"stepped"},{"time":1.6666,"angle":76,"curve":"stepped"},{"time":1.9,"angle":76},{"time":2.1666,"angle":27.98},{"time":2.2666,"angle":1.63},{"time":2.4666,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.2333,"x":5.8,"y":-2.88},{"time":0.3333,"x":7,"y":-3.37},{"time":0.5666,"x":6.36,"y":-7.2},{"time":0.9,"x":7.69,"y":-7.2},{"time":1,"x":8.23,"y":-7.2},{"time":1.2333,"x":6.36,"y":-7.2},{"time":1.5666,"x":7.69,"y":-7.2},{"time":1.6666,"x":8.23,"y":-7.2},{"time":1.9,"x":6.36,"y":-7.2},{"time":2.1666,"x":7,"y":-3.37},{"time":2.2666,"x":5.8,"y":-2.88},{"time":2.4666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.2333,"angle":20.68},{"time":0.3333,"angle":18.24},{"time":0.5666,"angle":12.99,"curve":"stepped"},{"time":0.9,"angle":12.99,"curve":"stepped"},{"time":1,"angle":12.99,"curve":"stepped"},{"time":1.2333,"angle":12.99,"curve":"stepped"},{"time":1.5666,"angle":12.99,"curve":"stepped"},{"time":1.6666,"angle":12.99,"curve":"stepped"},{"time":1.9,"angle":12.99},{"time":2.1666,"angle":20.68,"curve":"stepped"},{"time":2.2666,"angle":20.68},{"time":2.4666,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12},{"time":0.2333,"x":0.69,"y":1.32},{"time":0.3333,"x":3.13,"y":1.7},{"time":0.5666,"x":5.66,"y":0.33,"curve":"stepped"},{"time":0.9,"x":5.66,"y":0.33},{"time":1,"x":5.94,"y":0.78},{"time":1.2333,"x":5.66,"y":0.33,"curve":"stepped"},{"time":1.5666,"x":5.66,"y":0.33},{"time":1.6666,"x":5.94,"y":0.78},{"time":1.9,"x":5.66,"y":0.33},{"time":2.1666,"x":-2.01,"y":0.12},{"time":2.2666,"x":0.69,"y":1.32},{"time":2.4666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.2333,"x":-0.58,"y":0},{"time":0.3333,"x":0,"y":0},{"time":0.5666,"x":-2.55,"y":0},{"time":0.9,"x":-0.58,"y":0},{"time":1,"x":0,"y":0},{"time":1.2333,"x":-2.55,"y":0},{"time":1.5666,"x":-0.58,"y":0},{"time":1.6666,"x":0,"y":0},{"time":1.9,"x":-2.55,"y":0},{"time":2.1666,"x":-0.58,"y":0},{"time":2.2666,"x":0,"y":0},{"time":2.4666,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.2333,"angle":1.57},{"time":0.3333,"angle":1.1},{"time":0.5666,"angle":0},{"time":0.9,"angle":1.57},{"time":1,"angle":1.1},{"time":1.2333,"angle":0},{"time":1.5666,"angle":1.57},{"time":1.6666,"angle":1.1},{"time":1.9,"angle":0},{"time":2.1666,"angle":1.57},{"time":2.2666,"angle":1.1},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":1.51,"y":3.6},{"time":0.3333,"x":1.05,"y":2.19},{"time":0.5666,"x":0,"y":-1.09},{"time":0.9,"x":1.51,"y":3.6},{"time":1,"x":1.05,"y":2.19},{"time":1.2333,"x":0,"y":-1.09},{"time":1.5666,"x":1.51,"y":3.6},{"time":1.6666,"x":1.05,"y":2.19},{"time":1.9,"x":0,"y":-1.09},{"time":2.1666,"x":1.51,"y":3.6},{"time":2.2666,"x":1.05,"y":2.19},{"time":2.4666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":0,"y":1.27},{"time":0.3333,"x":0,"y":0.56},{"time":0.5666,"x":0,"y":-1.09},{"time":0.9,"x":0,"y":1.27},{"time":1,"x":0,"y":0.56},{"time":1.2333,"x":0,"y":-1.09},{"time":1.5666,"x":0,"y":1.27},{"time":1.6666,"x":0,"y":0.56},{"time":1.9,"x":0,"y":-1.09},{"time":2.1666,"x":0,"y":1.27},{"time":2.2666,"x":0,"y":0.56},{"time":2.4666,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.2333,"x":0,"y":0.18},{"time":0.3333,"x":0,"y":2.02},{"time":0.5666,"x":0,"y":-5.95},{"time":0.9,"x":0,"y":0.18},{"time":1,"x":0,"y":2.02},{"time":1.2333,"x":0,"y":-5.95},{"time":1.5666,"x":0,"y":0.18},{"time":1.6666,"x":0,"y":2.02},{"time":1.9,"x":0,"y":-5.95},{"time":2.1666,"x":0,"y":0.18},{"time":2.2666,"x":0,"y":2.02},{"time":2.4666,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.2333,"x":-37.94,"y":-11.97},{"time":0.3333,"x":-37.68,"y":-12.9},{"time":0.5666,"x":-37.08,"y":-15.06},{"time":0.9,"x":-37.94,"y":-11.97},{"time":1,"x":-37.68,"y":-12.9},{"time":1.2333,"x":-37.08,"y":-15.06},{"time":1.5666,"x":-37.94,"y":-11.97},{"time":1.6666,"x":-37.68,"y":-12.9},{"time":1.9,"x":-37.08,"y":-15.06},{"time":2.1666,"x":-37.94,"y":-11.97},{"time":2.2666,"x":-37.68,"y":-12.9},{"time":2.4666,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.2333,"x":10.6,"y":5.29},{"time":0.3333,"x":10.52,"y":4.82},{"time":0.5666,"x":10.31,"y":3.71},{"time":0.9,"x":10.6,"y":5.29},{"time":1,"x":10.52,"y":4.82},{"time":1.2333,"x":10.31,"y":3.71},{"time":1.5666,"x":10.6,"y":5.29},{"time":1.6666,"x":10.52,"y":4.82},{"time":1.9,"x":10.31,"y":3.71},{"time":2.1666,"x":10.6,"y":5.29},{"time":2.2666,"x":10.52,"y":4.82},{"time":2.4666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3333,"x":-0.56,"y":0},{"time":0.5666,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1,"x":-0.56,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.5666,"x":-1.27,"y":0},{"time":1.6666,"x":-0.56,"y":0},{"time":1.9,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.2666,"x":-0.56,"y":0},{"time":2.4666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3333,"x":-0.56,"y":0},{"time":0.5666,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1,"x":-0.56,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.5666,"x":-1.27,"y":0},{"time":1.6666,"x":-0.56,"y":0},{"time":1.9,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.2666,"x":-0.56,"y":0},{"time":2.4666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0},{"time":0.2333,"angle":22.45},{"time":0.3333,"angle":29.19},{"time":0.5666,"angle":56,"curve":"stepped"},{"time":0.9,"angle":56},{"time":1,"angle":56.95},{"time":1.2333,"angle":56,"curve":"stepped"},{"time":1.5666,"angle":56},{"time":1.6666,"angle":56.95},{"time":1.9,"angle":56},{"time":2.1666,"angle":29.19},{"time":2.2666,"angle":22.45},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":3.02,"y":-3.76},{"time":0.2333,"x":3.43,"y":5.02},{"time":0.3333,"x":4.09,"y":6.37},{"time":0.5666,"x":6.82,"y":3.54},{"time":0.9,"x":7.19,"y":3.93,"curve":"stepped"},{"time":1,"x":7.19,"y":3.93},{"time":1.2333,"x":6.82,"y":3.54},{"time":1.5666,"x":7.19,"y":3.93,"curve":"stepped"},{"time":1.6666,"x":7.19,"y":3.93},{"time":1.9,"x":6.82,"y":3.54},{"time":2.1666,"x":4.09,"y":6.37},{"time":2.2666,"x":3.14,"y":4.9},{"time":2.4666,"x":3.02,"y":-3.76}]}},"drawOrder":[{"time":0.2333,"offsets":[{"slot":"other","offset":21}]},{"time":2.2666}]},"see2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":2.4666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":2.4666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.4666,"name":"eyelidone1"},{"time":0.5333,"name":"eyelidone2"},{"time":0.5666,"name":"eyelidone3"},{"time":1.9333,"name":"eyelidone2"},{"time":2,"name":"eyelidone1"},{"time":2.0333,"name":null},{"time":2.4666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other":{"attachment":[{"time":0,"name":"other/binoculars1"},{"time":2.4666,"name":"other/binoculars1"}]},"other2":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":2.4666,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.2333,"angle":1.63},{"time":0.3333,"angle":27.98},{"time":0.5666,"angle":76,"curve":"stepped"},{"time":0.9,"angle":76,"curve":"stepped"},{"time":1,"angle":76,"curve":"stepped"},{"time":1.2333,"angle":76,"curve":"stepped"},{"time":1.5666,"angle":76,"curve":"stepped"},{"time":1.6666,"angle":76,"curve":"stepped"},{"time":1.9,"angle":76},{"time":2.1666,"angle":27.98},{"time":2.2666,"angle":1.63},{"time":2.4666,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.2333,"x":4.38,"y":1.36},{"time":0.3333,"x":4.87,"y":-0.18},{"time":0.5666,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":0.9,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":1,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":1.2333,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":1.5666,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":1.6666,"x":-5.67,"y":-0.12,"curve":"stepped"},{"time":1.9,"x":-5.67,"y":-0.12},{"time":2.1666,"x":4.52,"y":-0.18},{"time":2.2666,"x":7.92,"y":-0.76},{"time":2.4666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.2333,"angle":20.68},{"time":0.3333,"angle":18.24},{"time":0.5666,"angle":12.99,"curve":"stepped"},{"time":0.9,"angle":12.99,"curve":"stepped"},{"time":1,"angle":12.99,"curve":"stepped"},{"time":1.2333,"angle":12.99,"curve":"stepped"},{"time":1.5666,"angle":12.99,"curve":"stepped"},{"time":1.6666,"angle":12.99,"curve":"stepped"},{"time":1.9,"angle":12.99},{"time":2.1666,"angle":20.68,"curve":"stepped"},{"time":2.2666,"angle":20.68},{"time":2.4666,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12},{"time":0.2333,"x":0.69,"y":1.32},{"time":0.3333,"x":3.13,"y":1.7},{"time":0.5666,"x":5.84,"y":-1.42},{"time":0.9,"x":6.21,"y":-0.82},{"time":1,"x":6.57,"y":-0.21},{"time":1.2333,"x":5.84,"y":-1.42},{"time":1.5666,"x":6.21,"y":-0.82},{"time":1.6666,"x":6.57,"y":-0.21},{"time":1.9,"x":5.84,"y":-1.42},{"time":2.1666,"x":0.09,"y":-0.71},{"time":2.2666,"x":0.69,"y":1.32},{"time":2.4666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.2333,"x":-0.58,"y":0},{"time":0.3333,"x":0,"y":0},{"time":0.5666,"x":-2.55,"y":0},{"time":0.9,"x":-0.58,"y":0},{"time":1,"x":0,"y":0},{"time":1.2333,"x":-2.55,"y":0},{"time":1.5666,"x":-0.58,"y":0},{"time":1.6666,"x":0,"y":0},{"time":1.9,"x":-2.55,"y":0},{"time":2.1666,"x":-0.58,"y":0},{"time":2.2666,"x":0,"y":0},{"time":2.4666,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.2333,"angle":1.57},{"time":0.3333,"angle":1.1},{"time":0.5666,"angle":0},{"time":0.9,"angle":1.57},{"time":1,"angle":1.1},{"time":1.2333,"angle":0},{"time":1.5666,"angle":1.57},{"time":1.6666,"angle":1.1},{"time":1.9,"angle":0},{"time":2.1666,"angle":1.57},{"time":2.2666,"angle":1.1},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":1.51,"y":3.6},{"time":0.3333,"x":1.05,"y":2.19},{"time":0.5666,"x":0,"y":-1.09},{"time":0.9,"x":1.51,"y":3.6},{"time":1,"x":1.05,"y":2.19},{"time":1.2333,"x":0,"y":-1.09},{"time":1.5666,"x":1.51,"y":3.6},{"time":1.6666,"x":1.05,"y":2.19},{"time":1.9,"x":0,"y":-1.09},{"time":2.1666,"x":1.51,"y":3.6},{"time":2.2666,"x":1.05,"y":2.19},{"time":2.4666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":0,"y":1.27},{"time":0.3333,"x":0,"y":0.56},{"time":0.5666,"x":0,"y":-1.09},{"time":0.9,"x":0,"y":1.27},{"time":1,"x":0,"y":0.56},{"time":1.2333,"x":0,"y":-1.09},{"time":1.5666,"x":0,"y":1.27},{"time":1.6666,"x":0,"y":0.56},{"time":1.9,"x":0,"y":-1.09},{"time":2.1666,"x":0,"y":1.27},{"time":2.2666,"x":0,"y":0.56},{"time":2.4666,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.2333,"x":0,"y":0.18},{"time":0.3333,"x":0,"y":2.02},{"time":0.5666,"x":0,"y":-5.95},{"time":0.9,"x":0,"y":0.18},{"time":1,"x":0,"y":2.02},{"time":1.2333,"x":0,"y":-5.95},{"time":1.5666,"x":0,"y":0.18},{"time":1.6666,"x":0,"y":2.02},{"time":1.9,"x":0,"y":-5.95},{"time":2.1666,"x":0,"y":0.18},{"time":2.2666,"x":0,"y":2.02},{"time":2.4666,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.2333,"x":-37.94,"y":-11.97},{"time":0.3333,"x":-37.68,"y":-12.9},{"time":0.5666,"x":-37.08,"y":-15.06},{"time":0.9,"x":-37.94,"y":-11.97},{"time":1,"x":-37.68,"y":-12.9},{"time":1.2333,"x":-37.08,"y":-15.06},{"time":1.5666,"x":-37.94,"y":-11.97},{"time":1.6666,"x":-37.68,"y":-12.9},{"time":1.9,"x":-37.08,"y":-15.06},{"time":2.1666,"x":-37.94,"y":-11.97},{"time":2.2666,"x":-37.68,"y":-12.9},{"time":2.4666,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.2333,"x":10.6,"y":5.29},{"time":0.3333,"x":10.52,"y":4.82},{"time":0.5666,"x":10.31,"y":3.71},{"time":0.9,"x":10.6,"y":5.29},{"time":1,"x":10.52,"y":4.82},{"time":1.2333,"x":10.31,"y":3.71},{"time":1.5666,"x":10.6,"y":5.29},{"time":1.6666,"x":10.52,"y":4.82},{"time":1.9,"x":10.31,"y":3.71},{"time":2.1666,"x":10.6,"y":5.29},{"time":2.2666,"x":10.52,"y":4.82},{"time":2.4666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3333,"x":-0.56,"y":0},{"time":0.5666,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1,"x":-0.56,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.5666,"x":-1.27,"y":0},{"time":1.6666,"x":-0.56,"y":0},{"time":1.9,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.2666,"x":-0.56,"y":0},{"time":2.4666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3333,"x":-0.56,"y":0},{"time":0.5666,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1,"x":-0.56,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.5666,"x":-1.27,"y":0},{"time":1.6666,"x":-0.56,"y":0},{"time":1.9,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.2666,"x":-0.56,"y":0},{"time":2.4666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.6666,"angle":0,"curve":"stepped"},{"time":1.9,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.2666,"angle":0,"curve":"stepped"},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.6666,"x":0,"y":0,"curve":"stepped"},{"time":1.9,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.2666,"x":0,"y":0,"curve":"stepped"},{"time":2.4666,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0},{"time":0.2333,"angle":22.45},{"time":0.3333,"angle":29.19},{"time":0.5666,"angle":56,"curve":"stepped"},{"time":0.9,"angle":56,"curve":"stepped"},{"time":1,"angle":56,"curve":"stepped"},{"time":1.2333,"angle":56,"curve":"stepped"},{"time":1.5666,"angle":56,"curve":"stepped"},{"time":1.6666,"angle":56,"curve":"stepped"},{"time":1.9,"angle":56},{"time":2.1666,"angle":29.19},{"time":2.2666,"angle":22.45},{"time":2.4666,"angle":0}],"translate":[{"time":0,"x":3.02,"y":-3.76},{"time":0.2333,"x":3.43,"y":5.02},{"time":0.3333,"x":4.09,"y":6.37},{"time":0.5666,"x":11.86,"y":1.63},{"time":0.9,"x":12.35,"y":2.14},{"time":1,"x":12.6,"y":2.39},{"time":1.2333,"x":11.86,"y":1.63},{"time":1.5666,"x":12.6,"y":2.39},{"time":1.6666,"x":12.84,"y":2.65},{"time":1.9,"x":11.86,"y":1.63},{"time":2.1666,"x":4.09,"y":6.37},{"time":2.2666,"x":3.14,"y":4.9},{"time":2.4666,"x":3.02,"y":-3.76}]}},"drawOrder":[{"time":0.2333,"offsets":[{"slot":"other","offset":21}]},{"time":2.2666}]},"sem1":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":2.6666,"name":"arm1L"},{"time":2.9333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":2.6666,"name":"arm2L"},{"time":2.9333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":2.9333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":2.6666,"name":null},{"time":2.9333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":2.6666,"name":"gun/sheildsmall"},{"time":2.9333,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.4,"angle":-33.83},{"time":0.5666,"angle":-33.99},{"time":0.8666,"angle":-34.37},{"time":1.2666,"angle":-33.83},{"time":1.4333,"angle":-33.99},{"time":1.7666,"angle":-34.37},{"time":2.1666,"angle":-33.83},{"time":2.3333,"angle":-33.99},{"time":2.6666,"angle":-34.37,"curve":"stepped"},{"time":2.9333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.4,"x":5.8,"y":0.24},{"time":0.5666,"x":5.58,"y":0.6},{"time":0.8666,"x":5.06,"y":1.44},{"time":1.2666,"x":5.8,"y":0.24},{"time":1.4333,"x":5.58,"y":0.6},{"time":1.7666,"x":5.06,"y":1.44},{"time":2.1666,"x":5.8,"y":0.24},{"time":2.3333,"x":5.58,"y":0.6},{"time":2.6666,"x":5.06,"y":1.44,"curve":"stepped"},{"time":2.9333,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.4,"angle":20.68},{"time":0.5666,"angle":18.24},{"time":0.8666,"angle":12.56},{"time":1.2666,"angle":20.68},{"time":1.4333,"angle":18.24},{"time":1.7666,"angle":12.56},{"time":2.1666,"angle":20.68},{"time":2.3333,"angle":18.24},{"time":2.6666,"angle":12.56,"curve":"stepped"},{"time":2.9333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.5666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.8666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.2666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.7666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":2.1666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":2.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":2.6666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":2.9333,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.4,"x":-0.58,"y":0},{"time":0.5666,"x":0,"y":0},{"time":0.8666,"x":-2.55,"y":0},{"time":1.2666,"x":-0.58,"y":0},{"time":1.4333,"x":0,"y":0},{"time":1.7666,"x":-2.55,"y":0},{"time":2.1666,"x":-0.58,"y":0},{"time":2.3333,"x":0,"y":0},{"time":2.6666,"x":-2.55,"y":0,"curve":"stepped"},{"time":2.9333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.4,"angle":1.57},{"time":0.5666,"angle":1.1},{"time":0.8666,"angle":0},{"time":1.2666,"angle":1.57},{"time":1.4333,"angle":1.1},{"time":1.7666,"angle":0},{"time":2.1666,"angle":1.57},{"time":2.3333,"angle":1.1},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.4,"x":1.51,"y":3.6},{"time":0.5666,"x":1.05,"y":2.19},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2666,"x":1.51,"y":3.6},{"time":1.4333,"x":1.05,"y":2.19},{"time":1.7666,"x":0,"y":-1.09},{"time":2.1666,"x":1.51,"y":3.6},{"time":2.3333,"x":1.05,"y":2.19},{"time":2.6666,"x":0,"y":-1.09,"curve":"stepped"},{"time":2.9333,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.4,"x":0,"y":1.27},{"time":0.5666,"x":0,"y":0.56},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2666,"x":0,"y":1.27},{"time":1.4333,"x":0,"y":0.56},{"time":1.7666,"x":0,"y":-1.09},{"time":2.1666,"x":0,"y":1.27},{"time":2.3333,"x":0,"y":0.56},{"time":2.6666,"x":0,"y":-1.09,"curve":"stepped"},{"time":2.9333,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.4,"x":0,"y":0.18},{"time":0.5666,"x":0,"y":2.02},{"time":0.8666,"x":0,"y":-5.95},{"time":1.2666,"x":0,"y":0.18},{"time":1.4333,"x":0,"y":2.02},{"time":1.7666,"x":0,"y":-5.95},{"time":2.1666,"x":0,"y":0.18},{"time":2.3333,"x":0,"y":2.02},{"time":2.6666,"x":0,"y":-5.95,"curve":"stepped"},{"time":2.9333,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.4,"x":-37.94,"y":-11.97},{"time":0.5666,"x":-37.68,"y":-12.9},{"time":0.8666,"x":-37.08,"y":-15.06},{"time":1.2666,"x":-37.94,"y":-11.97},{"time":1.4333,"x":-37.68,"y":-12.9},{"time":1.7666,"x":-37.08,"y":-15.06},{"time":2.1666,"x":-37.94,"y":-11.97},{"time":2.3333,"x":-37.68,"y":-12.9},{"time":2.6666,"x":-37.08,"y":-15.06,"curve":"stepped"},{"time":2.9333,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.4,"x":10.6,"y":5.29},{"time":0.5666,"x":10.52,"y":4.82},{"time":0.8666,"x":10.31,"y":3.71},{"time":1.2666,"x":10.6,"y":5.29},{"time":1.4333,"x":10.52,"y":4.82},{"time":1.7666,"x":10.31,"y":3.71},{"time":2.1666,"x":10.6,"y":5.29},{"time":2.3333,"x":10.52,"y":4.82},{"time":2.6666,"x":10.31,"y":3.71,"curve":"stepped"},{"time":2.9333,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.4,"x":-1.27,"y":0},{"time":0.5666,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2666,"x":-1.27,"y":0},{"time":1.4333,"x":-0.56,"y":0},{"time":1.7666,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.3333,"x":-0.56,"y":0},{"time":2.6666,"x":1.09,"y":0,"curve":"stepped"},{"time":2.9333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.4,"x":-1.27,"y":0},{"time":0.5666,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2666,"x":-1.27,"y":0},{"time":1.4333,"x":-0.56,"y":0},{"time":1.7666,"x":1.09,"y":0},{"time":2.1666,"x":-1.27,"y":0},{"time":2.3333,"x":-0.56,"y":0},{"time":2.6666,"x":1.09,"y":0,"curve":"stepped"},{"time":2.9333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.4,"x":0.14,"y":12.26},{"time":0.5666,"x":0.22,"y":11.04},{"time":0.8666,"x":-0.12,"y":4},{"time":1.2666,"x":0.47,"y":0.7},{"time":1.4333,"x":0.81,"y":0.86},{"time":1.7666,"x":-0.16,"y":5.31},{"time":2.1666,"x":0.14,"y":12.26},{"time":2.3333,"x":0.22,"y":11.04},{"time":2.6666,"x":-0.16,"y":5.31},{"time":2.9333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.4,"x":0.22,"y":1.81},{"time":0.5666,"x":0.05,"y":2.87},{"time":0.8666,"x":-0.22,"y":7.01},{"time":1.2666,"x":-0.07,"y":10.46},{"time":1.4333,"x":0.21,"y":10.85},{"time":1.7666,"x":-0.16,"y":5.31},{"time":2.1666,"x":0.22,"y":1.81},{"time":2.3333,"x":0.05,"y":2.87},{"time":2.6666,"x":-0.16,"y":5.31},{"time":2.9333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.6666,"x":-0.06,"y":2.17},{"time":2.9333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.5666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2666,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.7666,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.3333,"angle":0,"curve":"stepped"},{"time":2.6666,"angle":0,"curve":"stepped"},{"time":2.9333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.5666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2666,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.7666,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.3333,"x":0,"y":0,"curve":"stepped"},{"time":2.6666,"x":0,"y":0,"curve":"stepped"},{"time":2.9333,"x":0,"y":0}]},"other":{"rotate":[{"time":2.9333,"angle":0}],"translate":[{"time":2.9333,"x":0,"y":0}]}}},"sem2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.5666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.3333,"name":"arm2L_hi"},{"time":1.3333,"name":"arm2L_hi"},{"time":1.3666,"name":"arm2L"},{"time":1.5666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"face":{"attachment":[{"time":0,"name":"faces/face1"},{"time":1.3333,"name":"faces/face1"},{"time":1.3666,"name":null},{"time":1.5666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"mouth":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null},{"time":1.3666,"name":"mouth"}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":1.5666,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.36},{"time":0.3333,"angle":31.03},{"time":0.5,"angle":73.8},{"time":0.6666,"angle":46.82},{"time":0.8333,"angle":73.3},{"time":1,"angle":46.01},{"time":1.1666,"angle":71.52},{"time":1.3333,"angle":31.03},{"time":1.5666,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3333,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":0.5,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":0.6666,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":0.8333,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":1,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":1.1666,"x":-0.39,"y":3.54,"curve":"stepped"},{"time":1.3333,"x":-0.39,"y":3.54},{"time":1.5666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3333,"angle":12.76},{"time":0.5,"angle":19.67},{"time":0.6666,"angle":-17.76},{"time":0.8333,"angle":24.09},{"time":1,"angle":-21.71},{"time":1.1666,"angle":26.11},{"time":1.3333,"angle":-4.57},{"time":1.5666,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12},{"time":0.3333,"x":3.22,"y":-0.03},{"time":0.5,"x":3.15,"y":-2.05},{"time":0.6666,"x":3.25,"y":-0.2},{"time":0.8333,"x":3.67,"y":-2.44},{"time":1,"x":3.25,"y":-0.2},{"time":1.1666,"x":3.68,"y":-2.79},{"time":1.3333,"x":3.25,"y":-0.2},{"time":1.5666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":3.81,"curve":"stepped"},{"time":0.5,"x":-0.58,"y":3.81},{"time":0.6666,"x":-1.6,"y":3.9},{"time":0.8333,"x":-0.58,"y":3.81},{"time":1,"x":-2.11,"y":3.94},{"time":1.1666,"x":-0.58,"y":3.81},{"time":1.3333,"x":-1.35,"y":3.88},{"time":1.5666,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.3333,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.5,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.6666,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.8333,"x":0,"y":-1.09,"curve":"stepped"},{"time":1,"x":0,"y":-1.09,"curve":"stepped"},{"time":1.1666,"x":0,"y":-1.09,"curve":"stepped"},{"time":1.3333,"x":0,"y":-1.09,"curve":"stepped"},{"time":1.5666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0},{"time":0.3333,"angle":4.78,"curve":"stepped"},{"time":0.5,"angle":4.78,"curve":"stepped"},{"time":0.6666,"angle":4.78,"curve":"stepped"},{"time":0.8333,"angle":4.78,"curve":"stepped"},{"time":1,"angle":4.78,"curve":"stepped"},{"time":1.1666,"angle":4.78,"curve":"stepped"},{"time":1.3333,"angle":4.78},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":0.07},{"time":0.5,"x":0,"y":2.07},{"time":0.6666,"x":0,"y":0.07},{"time":0.8333,"x":0,"y":2.07},{"time":1,"x":0,"y":0.07},{"time":1.1666,"x":0,"y":2.07},{"time":1.3333,"x":0,"y":0.07},{"time":1.5666,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3333,"x":-0.46,"y":14.63},{"time":0.5,"x":-0.46,"y":19.63},{"time":0.6666,"x":-0.46,"y":13.61},{"time":0.8333,"x":-0.46,"y":19.64},{"time":1,"x":-0.46,"y":13.1},{"time":1.1666,"x":-0.46,"y":19.64},{"time":1.3333,"x":-0.72,"y":13.86},{"time":1.5666,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3333,"x":-37.74,"y":-15.53},{"time":0.5,"x":-38.16,"y":-11.58},{"time":0.6666,"x":-37.74,"y":-15.53},{"time":0.8333,"x":-38.17,"y":-11.59},{"time":1,"x":-37.74,"y":-15.53},{"time":1.1666,"x":-38.17,"y":-11.59},{"time":1.3333,"x":-37.74,"y":-15.53},{"time":1.5666,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3333,"x":10.34,"y":4.13},{"time":0.5,"x":11.85,"y":4},{"time":0.6666,"x":10.34,"y":4.13},{"time":0.8333,"x":12.11,"y":3.98},{"time":1,"x":10.34,"y":4.13},{"time":1.1666,"x":11.85,"y":4},{"time":1.3333,"x":10.34,"y":4.13},{"time":1.5666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":0.74,"y":0.02},{"time":0.5,"x":-1.24,"y":0.19},{"time":0.6666,"x":0.74,"y":0.02},{"time":0.8333,"x":-1.24,"y":0.19},{"time":1,"x":0.74,"y":0.02},{"time":1.1666,"x":-1.24,"y":0.19},{"time":1.3333,"x":0.74,"y":0.02},{"time":1.5666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-0.75,"y":0.15},{"time":0.5,"x":-2.74,"y":0.32},{"time":0.6666,"x":-0.75,"y":0.15},{"time":0.8333,"x":-2.74,"y":0.32},{"time":1,"x":-0.75,"y":0.15},{"time":1.1666,"x":-2.74,"y":0.32},{"time":1.3333,"x":-0.75,"y":0.15},{"time":1.5666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.3333,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.5,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.6666,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.8333,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1.1666,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1.3333,"x":-0.16,"y":5.31},{"time":1.5666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.3333,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.5,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.6666,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":0.8333,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1.1666,"x":-0.16,"y":5.31,"curve":"stepped"},{"time":1.3333,"x":-0.16,"y":5.31},{"time":1.5666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.5,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.8333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.3333,"x":-0.06,"y":2.17},{"time":1.5666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8333,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1666,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8333,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1666,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":1.93},{"time":0.3333,"x":0,"y":2.2,"curve":"stepped"},{"time":0.5,"x":0,"y":2.2,"curve":"stepped"},{"time":0.6666,"x":0,"y":2.2,"curve":"stepped"},{"time":0.8333,"x":0,"y":2.2,"curve":"stepped"},{"time":1,"x":0,"y":2.2,"curve":"stepped"},{"time":1.1666,"x":0,"y":2.2,"curve":"stepped"},{"time":1.3333,"x":0,"y":2.2},{"time":1.3666,"x":-0.34,"y":2.25},{"time":1.5666,"x":0,"y":0}]},"other":{"rotate":[{"time":1.5666,"angle":0}],"translate":[{"time":1.5666,"x":0,"y":0}]}}},"sem3":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":4.7333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":4.7333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null},{"time":0.5333,"name":"other/comb"},{"time":4.3,"name":null},{"time":4.3333,"name":null},{"time":4.7333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":4.7333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3333,"angle":308.67},{"time":0.5,"angle":302.88},{"time":0.8666,"angle":62.84},{"time":1.2333,"angle":117.84},{"time":1.4,"angle":169.77},{"time":1.8,"angle":105.03},{"time":2.2,"angle":117.84},{"time":2.3666,"angle":169.77},{"time":2.7666,"angle":105.03},{"time":3.1666,"angle":117.84},{"time":3.3333,"angle":169.77},{"time":3.7333,"angle":105.03},{"time":4,"angle":62.84},{"time":4.3333,"angle":302.88},{"time":4.4666,"angle":308.67},{"time":4.7333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3333,"x":5.8,"y":0.24},{"time":0.5,"x":5.58,"y":0.6},{"time":0.8666,"x":4.55,"y":-2.36},{"time":1.2333,"x":33.6,"y":-1.33,"curve":"stepped"},{"time":1.4,"x":33.6,"y":-1.33},{"time":1.8,"x":23.36,"y":-0.57},{"time":2.2,"x":33.6,"y":-1.33,"curve":"stepped"},{"time":2.3666,"x":33.6,"y":-1.33},{"time":2.7666,"x":23.36,"y":-0.57},{"time":3.1666,"x":33.6,"y":-1.33,"curve":"stepped"},{"time":3.3333,"x":33.6,"y":-1.33},{"time":3.7333,"x":23.36,"y":-0.57},{"time":4,"x":4.55,"y":-2.36},{"time":4.3333,"x":5.58,"y":0.6},{"time":4.4666,"x":5.8,"y":0.24},{"time":4.7333,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3333,"angle":1.47},{"time":0.5,"angle":0.13},{"time":0.8666,"angle":7.87},{"time":1.2333,"angle":14.22},{"time":1.4,"angle":-11.01},{"time":1.8,"angle":7.22},{"time":2.2,"angle":14.22},{"time":2.3666,"angle":-11.01},{"time":2.7666,"angle":7.22},{"time":3.1666,"angle":14.22},{"time":3.3333,"angle":-11.01},{"time":3.7333,"angle":7.22},{"time":4,"angle":7.87},{"time":4.3333,"angle":0.13},{"time":4.4666,"angle":1.47},{"time":4.7333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.5,"x":-2.01,"y":0.12},{"time":0.8666,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":1.2333,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":1.4,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":1.8,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":2.2,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":2.3666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":2.7666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":3.1666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":3.3333,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":3.7333,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":4,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":4.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":4.4666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":4.7333,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.5,"x":0,"y":0},{"time":0.8666,"x":-2.55,"y":0},{"time":1.2333,"x":-0.58,"y":0},{"time":1.4,"x":0,"y":0},{"time":1.8,"x":-2.55,"y":0},{"time":2.2,"x":-0.58,"y":0},{"time":2.3666,"x":0,"y":0},{"time":2.7666,"x":-2.55,"y":0},{"time":3.1666,"x":-0.58,"y":0},{"time":3.3333,"x":0,"y":0},{"time":3.7333,"x":-2.55,"y":0,"curve":"stepped"},{"time":4,"x":-2.55,"y":0},{"time":4.3333,"x":0,"y":0},{"time":4.4666,"x":-0.58,"y":0},{"time":4.7333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3333,"angle":1.57},{"time":0.5,"angle":1.1},{"time":0.8666,"angle":0},{"time":1.2333,"angle":1.57},{"time":1.4,"angle":1.1},{"time":1.8,"angle":0},{"time":2.2,"angle":1.57},{"time":2.3666,"angle":1.1},{"time":2.7666,"angle":0},{"time":3.1666,"angle":1.57},{"time":3.3333,"angle":1.1},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0},{"time":4.3333,"angle":1.1},{"time":4.4666,"angle":1.57},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":1.51,"y":3.6},{"time":0.5,"x":1.05,"y":2.19},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2333,"x":1.51,"y":3.6},{"time":1.4,"x":1.05,"y":2.19},{"time":1.8,"x":0,"y":-1.09},{"time":2.2,"x":1.51,"y":3.6},{"time":2.3666,"x":1.05,"y":2.19},{"time":2.7666,"x":0,"y":-1.09},{"time":3.1666,"x":1.51,"y":3.6},{"time":3.3333,"x":1.05,"y":2.19},{"time":3.7333,"x":0,"y":-1.09,"curve":"stepped"},{"time":4,"x":0,"y":-1.09},{"time":4.3333,"x":1.05,"y":2.19},{"time":4.4666,"x":1.51,"y":3.6},{"time":4.7333,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.5,"x":0,"y":0.56},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2333,"x":0,"y":1.27},{"time":1.4,"x":0,"y":0.56},{"time":1.8,"x":0,"y":-1.09},{"time":2.2,"x":0,"y":1.27},{"time":2.3666,"x":0,"y":0.56},{"time":2.7666,"x":0,"y":-1.09},{"time":3.1666,"x":0,"y":1.27},{"time":3.3333,"x":0,"y":0.56},{"time":3.7333,"x":0,"y":-1.09,"curve":"stepped"},{"time":4,"x":0,"y":-1.09},{"time":4.3333,"x":0,"y":0.56},{"time":4.4666,"x":0,"y":1.27},{"time":4.7333,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3333,"x":0,"y":0.18},{"time":0.5,"x":0,"y":2.02},{"time":0.8666,"x":0,"y":-5.95},{"time":1.2333,"x":0,"y":0.18},{"time":1.4,"x":0,"y":2.02},{"time":1.8,"x":0,"y":-12.61},{"time":2.2,"x":0,"y":0.18},{"time":2.3666,"x":0,"y":2.02},{"time":2.7666,"x":0,"y":-12.61},{"time":3.1666,"x":0,"y":0.18},{"time":3.3333,"x":0,"y":2.02},{"time":3.7333,"x":0,"y":-12.61},{"time":4,"x":0,"y":-5.95},{"time":4.3333,"x":0,"y":2.02},{"time":4.4666,"x":0,"y":0.18},{"time":4.7333,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3333,"x":-37.94,"y":-11.97},{"time":0.5,"x":-37.68,"y":-12.9},{"time":0.8666,"x":-37.08,"y":-15.06},{"time":1.2333,"x":-37.94,"y":-11.97},{"time":1.4,"x":-37.68,"y":-12.9},{"time":1.8,"x":-37.08,"y":-15.06},{"time":2.2,"x":-37.94,"y":-11.97},{"time":2.3666,"x":-37.68,"y":-12.9},{"time":2.7666,"x":-37.08,"y":-15.06},{"time":3.1666,"x":-37.94,"y":-11.97},{"time":3.3333,"x":-37.68,"y":-12.9},{"time":3.7333,"x":-37.08,"y":-15.06,"curve":"stepped"},{"time":4,"x":-37.08,"y":-15.06},{"time":4.3333,"x":-37.68,"y":-12.9},{"time":4.4666,"x":-37.94,"y":-11.97},{"time":4.7333,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3333,"x":10.6,"y":5.29},{"time":0.5,"x":10.52,"y":4.82},{"time":0.8666,"x":10.31,"y":3.71},{"time":1.2333,"x":10.6,"y":5.29},{"time":1.4,"x":10.52,"y":4.82},{"time":1.8,"x":10.31,"y":3.71},{"time":2.2,"x":10.6,"y":5.29},{"time":2.3666,"x":10.52,"y":4.82},{"time":2.7666,"x":10.31,"y":3.71},{"time":3.1666,"x":10.6,"y":5.29},{"time":3.3333,"x":10.52,"y":4.82},{"time":3.7333,"x":10.31,"y":3.71,"curve":"stepped"},{"time":4,"x":10.31,"y":3.71},{"time":4.3333,"x":10.52,"y":4.82},{"time":4.4666,"x":10.6,"y":5.29},{"time":4.7333,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.5,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2333,"x":-1.27,"y":0},{"time":1.4,"x":-0.56,"y":0},{"time":1.8,"x":1.09,"y":0},{"time":2.2,"x":-1.27,"y":0},{"time":2.3666,"x":-0.56,"y":0},{"time":2.7666,"x":1.09,"y":0},{"time":3.1666,"x":-1.27,"y":0},{"time":3.3333,"x":-0.56,"y":0},{"time":3.7333,"x":1.09,"y":0,"curve":"stepped"},{"time":4,"x":1.09,"y":0},{"time":4.3333,"x":-0.56,"y":0},{"time":4.4666,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.5,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2333,"x":-1.27,"y":0},{"time":1.4,"x":-0.56,"y":0},{"time":1.8,"x":1.09,"y":0},{"time":2.2,"x":-1.27,"y":0},{"time":2.3666,"x":-0.56,"y":0},{"time":2.7666,"x":1.09,"y":0},{"time":3.1666,"x":-1.27,"y":0},{"time":3.3333,"x":-0.56,"y":0},{"time":3.7333,"x":1.09,"y":0,"curve":"stepped"},{"time":4,"x":1.09,"y":0},{"time":4.3333,"x":-0.56,"y":0},{"time":4.4666,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3333,"x":-1.45,"y":4.4},{"time":0.5,"x":-4.31,"y":4.35},{"time":0.8666,"x":3.65,"y":3.13},{"time":1.2333,"x":7.51,"y":5.86,"curve":"stepped"},{"time":1.4,"x":7.51,"y":5.86},{"time":1.8,"x":7.62,"y":5.32},{"time":2.2,"x":7.51,"y":5.86,"curve":"stepped"},{"time":2.3666,"x":7.51,"y":5.86},{"time":2.7666,"x":7.62,"y":5.32},{"time":3.1666,"x":7.51,"y":5.86,"curve":"stepped"},{"time":3.3333,"x":7.51,"y":5.86},{"time":3.7333,"x":7.62,"y":5.32},{"time":4,"x":3.65,"y":3.13},{"time":4.3333,"x":1.06,"y":2.27},{"time":4.4666,"x":0.04,"y":2.2},{"time":4.7333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3333,"x":-1.45,"y":4.4},{"time":0.5,"x":-4.31,"y":4.35},{"time":0.8666,"x":3.65,"y":3.13},{"time":1.2333,"x":7.51,"y":5.86,"curve":"stepped"},{"time":1.4,"x":7.51,"y":5.86},{"time":1.8,"x":7.62,"y":5.32},{"time":2.2,"x":7.51,"y":5.86,"curve":"stepped"},{"time":2.3666,"x":7.51,"y":5.86},{"time":2.7666,"x":7.62,"y":5.32},{"time":3.1666,"x":7.51,"y":5.86,"curve":"stepped"},{"time":3.3333,"x":7.51,"y":5.86},{"time":3.7333,"x":7.62,"y":5.32},{"time":4,"x":3.65,"y":3.13},{"time":4.3333,"x":1.06,"y":2.27},{"time":4.4666,"x":0.04,"y":2.2},{"time":4.7333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.4666,"x":-0.01,"y":2.17},{"time":4.7333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.5,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.4,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.8,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.2,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.7666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.1666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.7333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.4666,"x":-0.08,"y":2.57},{"time":4.7333,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0},{"time":0.8666,"angle":-6.22},{"time":1.2333,"angle":-6.62},{"time":1.4,"angle":0.19},{"time":1.8,"angle":1.55},{"time":2.2,"angle":-6.62},{"time":2.3666,"angle":0.19},{"time":2.7666,"angle":1.55},{"time":3.1666,"angle":-6.62},{"time":3.3333,"angle":0.19},{"time":3.7333,"angle":1.55},{"time":4,"angle":-6.22},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.4666,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0},{"time":0.8666,"x":3.69,"y":4.44},{"time":1.2333,"x":2.57,"y":3.63},{"time":1.4,"x":3.78,"y":10.14},{"time":1.8,"x":0.99,"y":3.39},{"time":2.2,"x":2.57,"y":3.63},{"time":2.3666,"x":3.78,"y":10.14},{"time":2.7666,"x":0.99,"y":3.39},{"time":3.1666,"x":2.57,"y":3.63},{"time":3.3333,"x":3.78,"y":10.14},{"time":3.7333,"x":0.99,"y":3.39},{"time":4,"x":3.69,"y":4.44},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.4666,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0}]}},"drawOrder":[{"time":1.2333,"offsets":[{"slot":"other","offset":8}]},{"time":2.2,"offsets":[{"slot":"other","offset":8}]},{"time":3.1666,"offsets":[{"slot":"other","offset":8}]},{"time":4}]},"sem4":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":5.3333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":5.3333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.2333,"name":"faces/face3"},{"time":1.6666,"name":null},{"time":2.2,"name":"faces/face3"},{"time":2.6333,"name":null},{"time":3.1666,"name":"faces/face3"},{"time":3.6,"name":null},{"time":5.3333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"mouth":{"attachment":[{"time":1.2333,"name":null},{"time":1.6666,"name":"mouth"},{"time":2.2,"name":null},{"time":2.6333,"name":"mouth"},{"time":3.1666,"name":null},{"time":3.6,"name":"mouth"}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null},{"time":0.5333,"name":"other/ice1"},{"time":1.6666,"name":"other/ice2"},{"time":2.6333,"name":"other/ice3"},{"time":3.6,"name":"other/ice4"},{"time":4.5333,"name":"other/ice5"},{"time":5.3333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":5.3333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3333,"angle":308.67},{"time":0.5,"angle":302.88},{"time":0.8666,"angle":3.94,"curve":"stepped"},{"time":1.2333,"angle":3.94,"curve":"stepped"},{"time":1.4,"angle":3.94,"curve":"stepped"},{"time":1.8,"angle":3.94,"curve":"stepped"},{"time":2.2,"angle":3.94,"curve":"stepped"},{"time":2.3666,"angle":3.94,"curve":"stepped"},{"time":2.7666,"angle":3.94,"curve":"stepped"},{"time":3.1666,"angle":3.94,"curve":"stepped"},{"time":3.3333,"angle":3.94,"curve":"stepped"},{"time":3.7333,"angle":3.94,"curve":"stepped"},{"time":4.0666,"angle":3.94,"curve":"stepped"},{"time":4.2666,"angle":3.94},{"time":4.5333,"angle":-5.74},{"time":4.8,"angle":34.17},{"time":5,"angle":-10.83},{"time":5.3333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3333,"x":5.8,"y":0.24},{"time":0.5,"x":5.58,"y":0.6},{"time":0.8666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":1.2333,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":1.4,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":1.8,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":2.2,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":2.3666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":2.7666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":3.1666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":3.3333,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":3.7333,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":4.0666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":4.2666,"x":-2.72,"y":5.61,"curve":"stepped"},{"time":4.5333,"x":-2.72,"y":5.61},{"time":4.8,"x":-1.87,"y":2.22},{"time":5,"x":3,"y":2.43},{"time":5.3333,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3333,"angle":1.47},{"time":0.5,"angle":0.13},{"time":0.8666,"angle":59.36,"curve":"stepped"},{"time":1.2333,"angle":59.36,"curve":"stepped"},{"time":1.4,"angle":59.36,"curve":"stepped"},{"time":1.8,"angle":59.36,"curve":"stepped"},{"time":2.2,"angle":59.36,"curve":"stepped"},{"time":2.3666,"angle":59.36,"curve":"stepped"},{"time":2.7666,"angle":59.36,"curve":"stepped"},{"time":3.1666,"angle":59.36,"curve":"stepped"},{"time":3.3333,"angle":59.36,"curve":"stepped"},{"time":3.7333,"angle":59.36,"curve":"stepped"},{"time":4.0666,"angle":59.36},{"time":4.2666,"angle":40.41},{"time":4.5333,"angle":3.78},{"time":4.8,"angle":6.5},{"time":5,"angle":11.51},{"time":5.3333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.5,"x":-2.01,"y":0.12},{"time":0.8666,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":1.2333,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":1.4,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":1.8,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":2.2,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":2.3666,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":2.7666,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":3.1666,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":3.3333,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":3.7333,"x":3.38,"y":-4.9,"curve":"stepped"},{"time":4.0666,"x":3.38,"y":-4.9},{"time":4.2666,"x":2.84,"y":-3.96},{"time":4.5333,"x":2.03,"y":-0.45},{"time":4.8,"x":2.92,"y":-0.84},{"time":5,"x":1.83,"y":-1.19},{"time":5.3333,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.5,"x":0,"y":0},{"time":0.8666,"x":-2.55,"y":0},{"time":1.2333,"x":-0.58,"y":0},{"time":1.4,"x":1.42,"y":1.5},{"time":1.8,"x":-2.55,"y":0},{"time":2.2,"x":-0.58,"y":0},{"time":2.3666,"x":1.42,"y":1.5},{"time":2.7666,"x":-2.55,"y":0},{"time":3.1666,"x":-0.58,"y":0},{"time":3.3333,"x":1.42,"y":1.5},{"time":3.7333,"x":-2.55,"y":0},{"time":4.0666,"x":-0.58,"y":0},{"time":4.2666,"x":0,"y":0},{"time":4.5333,"x":-2.55,"y":0},{"time":4.8,"x":-0.58,"y":0},{"time":5,"x":0,"y":0},{"time":5.3333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3333,"angle":1.57},{"time":0.5,"angle":1.1},{"time":0.8666,"angle":0},{"time":1.2333,"angle":1.57},{"time":1.4,"angle":1.1},{"time":1.8,"angle":0},{"time":2.2,"angle":1.57},{"time":2.3666,"angle":1.1},{"time":2.7666,"angle":0},{"time":3.1666,"angle":1.57},{"time":3.3333,"angle":1.1},{"time":3.7333,"angle":0},{"time":4.0666,"angle":1.57},{"time":4.2666,"angle":1.1},{"time":4.5333,"angle":0},{"time":4.8,"angle":1.57},{"time":5,"angle":1.1},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":1.51,"y":3.6},{"time":0.5,"x":1.05,"y":2.19},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2333,"x":1.51,"y":3.6},{"time":1.4,"x":1.05,"y":2.19},{"time":1.8,"x":0,"y":-1.09},{"time":2.2,"x":1.51,"y":3.6},{"time":2.3666,"x":1.05,"y":2.19},{"time":2.7666,"x":0,"y":-1.09},{"time":3.1666,"x":1.51,"y":3.6},{"time":3.3333,"x":1.05,"y":2.19},{"time":3.7333,"x":0,"y":-1.09},{"time":4.0666,"x":1.51,"y":3.6},{"time":4.2666,"x":1.05,"y":2.19},{"time":4.5333,"x":0,"y":-1.09},{"time":4.8,"x":1.51,"y":3.6},{"time":5,"x":1.05,"y":2.19},{"time":5.3333,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.5,"x":0,"y":0.56},{"time":0.8666,"x":0,"y":-1.09},{"time":1.2333,"x":0,"y":1.27},{"time":1.4,"x":0,"y":0.56},{"time":1.8,"x":0,"y":-1.09},{"time":2.2,"x":0,"y":1.27},{"time":2.3666,"x":0,"y":0.56},{"time":2.7666,"x":0,"y":-1.09},{"time":3.1666,"x":0,"y":1.27},{"time":3.3333,"x":0,"y":0.56},{"time":3.7333,"x":0,"y":-1.09},{"time":4.0666,"x":0,"y":1.27},{"time":4.2666,"x":0,"y":0.56},{"time":4.5333,"x":0,"y":-1.09},{"time":4.8,"x":0,"y":1.27},{"time":5,"x":0,"y":0.56},{"time":5.3333,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3333,"x":0,"y":0.18},{"time":0.5,"x":0,"y":2.02},{"time":0.8666,"x":0,"y":-5.95},{"time":1.2333,"x":-1.62,"y":9.12},{"time":1.4,"x":-2.66,"y":14.25},{"time":1.8,"x":1.24,"y":-1.8},{"time":2.2,"x":-1.62,"y":9.12},{"time":2.3666,"x":-2.66,"y":14.25},{"time":2.7666,"x":1.24,"y":-1.8},{"time":3.1666,"x":-1.62,"y":9.12},{"time":3.3333,"x":-2.66,"y":14.25},{"time":3.7333,"x":1.24,"y":-1.8},{"time":4.0666,"x":0,"y":0.18},{"time":4.2666,"x":0,"y":2.02},{"time":4.5333,"x":1.24,"y":-1.8},{"time":4.8,"x":0,"y":0.18},{"time":5,"x":0,"y":2.02},{"time":5.3333,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3333,"x":-37.94,"y":-11.97},{"time":0.5,"x":-37.68,"y":-12.9},{"time":0.8666,"x":-37.08,"y":-15.06},{"time":1.2333,"x":-37.94,"y":-11.97},{"time":1.4,"x":-37.68,"y":-12.9},{"time":1.8,"x":-37.08,"y":-15.06},{"time":2.2,"x":-37.94,"y":-11.97},{"time":2.3666,"x":-37.68,"y":-12.9},{"time":2.7666,"x":-37.08,"y":-15.06},{"time":3.1666,"x":-37.94,"y":-11.97},{"time":3.3333,"x":-37.68,"y":-12.9},{"time":3.7333,"x":-37.08,"y":-15.06},{"time":4.0666,"x":-37.94,"y":-11.97},{"time":4.2666,"x":-37.68,"y":-12.9},{"time":4.5333,"x":-37.08,"y":-15.06},{"time":4.8,"x":-37.94,"y":-11.97},{"time":5,"x":-37.68,"y":-12.9},{"time":5.3333,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3333,"x":10.6,"y":5.29},{"time":0.5,"x":10.52,"y":4.82},{"time":0.8666,"x":10.31,"y":3.71},{"time":1.2333,"x":10.6,"y":5.29},{"time":1.4,"x":10.52,"y":4.82},{"time":1.8,"x":10.31,"y":3.71},{"time":2.2,"x":10.6,"y":5.29},{"time":2.3666,"x":10.52,"y":4.82},{"time":2.7666,"x":10.31,"y":3.71},{"time":3.1666,"x":10.6,"y":5.29},{"time":3.3333,"x":10.52,"y":4.82},{"time":3.7333,"x":10.31,"y":3.71},{"time":4.0666,"x":10.6,"y":5.29},{"time":4.2666,"x":10.52,"y":4.82},{"time":4.5333,"x":10.31,"y":3.71},{"time":4.8,"x":10.6,"y":5.29},{"time":5,"x":10.52,"y":4.82},{"time":5.3333,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.5,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2333,"x":-1.27,"y":0},{"time":1.4,"x":-0.56,"y":0},{"time":1.8,"x":1.09,"y":0},{"time":2.2,"x":-1.27,"y":0},{"time":2.3666,"x":-0.56,"y":0},{"time":2.7666,"x":1.09,"y":0},{"time":3.1666,"x":-1.27,"y":0},{"time":3.3333,"x":-0.56,"y":0},{"time":3.7333,"x":1.09,"y":0},{"time":4.0666,"x":-1.27,"y":0},{"time":4.2666,"x":-0.56,"y":0},{"time":4.5333,"x":1.09,"y":0},{"time":4.8,"x":-1.27,"y":0},{"time":5,"x":-0.56,"y":0},{"time":5.3333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.5,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.2333,"x":-1.27,"y":0},{"time":1.4,"x":-0.56,"y":0},{"time":1.8,"x":1.09,"y":0},{"time":2.2,"x":-1.27,"y":0},{"time":2.3666,"x":-0.56,"y":0},{"time":2.7666,"x":1.09,"y":0},{"time":3.1666,"x":-1.27,"y":0},{"time":3.3333,"x":-0.56,"y":0},{"time":3.7333,"x":1.09,"y":0},{"time":4.0666,"x":-1.27,"y":0},{"time":4.2666,"x":-0.56,"y":0},{"time":4.5333,"x":1.09,"y":0},{"time":4.8,"x":-1.27,"y":0},{"time":5,"x":-0.56,"y":0},{"time":5.3333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.3333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17},{"time":1.4,"x":3.13,"y":3.38},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17},{"time":2.3666,"x":3.13,"y":3.38},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17},{"time":3.3333,"x":3.13,"y":3.38},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3333,"x":-1.45,"y":4.4},{"time":0.5,"x":-4.31,"y":4.35},{"time":0.8666,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":1.2333,"x":-1.35,"y":5.56},{"time":1.4,"x":1.73,"y":6.6},{"time":1.8,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":2.2,"x":-1.35,"y":5.56},{"time":2.3666,"x":1.73,"y":6.6},{"time":2.7666,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":3.1666,"x":-1.35,"y":5.56},{"time":3.3333,"x":1.73,"y":6.6},{"time":3.7333,"x":-1.35,"y":5.56},{"time":4.0666,"x":-1.45,"y":4.4,"curve":"stepped"},{"time":4.2666,"x":-1.45,"y":4.4,"curve":"stepped"},{"time":4.5333,"x":-1.45,"y":4.4},{"time":4.8,"x":-1.45,"y":4.32},{"time":5,"x":0.29,"y":2.58},{"time":5.3333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3333,"x":-1.45,"y":4.4},{"time":0.5,"x":-4.31,"y":4.35},{"time":0.8666,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":1.2333,"x":-1.35,"y":5.56},{"time":1.4,"x":1.73,"y":6.6},{"time":1.8,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":2.2,"x":-1.35,"y":5.56},{"time":2.3666,"x":1.73,"y":6.6},{"time":2.7666,"x":-1.35,"y":5.56,"curve":"stepped"},{"time":3.1666,"x":-1.35,"y":5.56},{"time":3.3333,"x":1.73,"y":6.6},{"time":3.7333,"x":-1.35,"y":5.56},{"time":4.0666,"x":-1.45,"y":4.4,"curve":"stepped"},{"time":4.2666,"x":-1.45,"y":4.4,"curve":"stepped"},{"time":4.5333,"x":-1.45,"y":4.4},{"time":4.8,"x":-1.45,"y":4.32},{"time":5,"x":0.29,"y":2.58},{"time":5.3333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17},{"time":1.4,"x":3.13,"y":3.38},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17},{"time":2.3666,"x":3.13,"y":3.38},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17},{"time":3.3333,"x":3.13,"y":3.38},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":0,"y":2.38},{"time":1.4,"x":3.13,"y":3.38},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":0,"y":2.38},{"time":2.3666,"x":3.13,"y":3.38},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":0,"y":2.38},{"time":3.3333,"x":3.13,"y":3.38},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.5,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.01,"y":2.17},{"time":1.4,"x":0.04,"y":2.34},{"time":1.8,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.2,"x":-0.01,"y":2.17},{"time":2.3666,"x":0.04,"y":2.34},{"time":2.7666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.1666,"x":-0.01,"y":2.17},{"time":3.3333,"x":0.04,"y":2.34},{"time":3.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.2666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.5333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5,"x":0.04,"y":2.34},{"time":5.3333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.2,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7666,"x":0,"y":0,"curve":"stepped"},{"time":3.1666,"x":0,"y":0,"curve":"stepped"},{"time":3.3333,"x":0,"y":0,"curve":"stepped"},{"time":3.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.0666,"x":0,"y":0,"curve":"stepped"},{"time":4.2666,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.8,"x":0,"y":0,"curve":"stepped"},{"time":5,"x":0,"y":0,"curve":"stepped"},{"time":5.3333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.2,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7666,"angle":0,"curve":"stepped"},{"time":3.1666,"angle":0,"curve":"stepped"},{"time":3.3333,"angle":0,"curve":"stepped"},{"time":3.7333,"angle":0,"curve":"stepped"},{"time":4.0666,"angle":0,"curve":"stepped"},{"time":4.2666,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.8,"angle":0,"curve":"stepped"},{"time":5,"angle":0,"curve":"stepped"},{"time":5.3333,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.5,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.2333,"x":-0.08,"y":2.57},{"time":1.4,"x":0.21,"y":3.16},{"time":1.8,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.2,"x":-0.08,"y":2.57},{"time":2.3666,"x":0.21,"y":3.16},{"time":2.7666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.1666,"x":-0.08,"y":2.57},{"time":3.3333,"x":0.21,"y":3.16},{"time":3.7333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.0666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.2666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.5333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.8,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5,"x":-0.08,"y":2.57},{"time":5.3333,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0},{"time":0.8666,"angle":1.7,"curve":"stepped"},{"time":1.2333,"angle":1.7,"curve":"stepped"},{"time":1.4,"angle":1.7,"curve":"stepped"},{"time":1.8,"angle":1.7,"curve":"stepped"},{"time":2.2,"angle":1.7,"curve":"stepped"},{"time":2.3666,"angle":1.7,"curve":"stepped"},{"time":2.7666,"angle":1.7,"curve":"stepped"},{"time":3.1666,"angle":1.7,"curve":"stepped"},{"time":3.3333,"angle":1.7,"curve":"stepped"},{"time":3.7333,"angle":1.7,"curve":"stepped"},{"time":4.0666,"angle":1.7,"curve":"stepped"},{"time":4.2666,"angle":1.7,"curve":"stepped"},{"time":4.5333,"angle":1.7},{"time":4.6666,"angle":-60.65},{"time":4.8,"angle":-134.52},{"time":5,"angle":-195.05},{"time":5.3333,"angle":69.93}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0},{"time":0.8666,"x":1.13,"y":0.83,"curve":"stepped"},{"time":1.2333,"x":1.13,"y":0.83,"curve":"stepped"},{"time":1.4,"x":1.13,"y":0.83,"curve":"stepped"},{"time":1.8,"x":1.13,"y":0.83,"curve":"stepped"},{"time":2.2,"x":1.13,"y":0.83,"curve":"stepped"},{"time":2.3666,"x":1.13,"y":0.83,"curve":"stepped"},{"time":2.7666,"x":1.13,"y":0.83,"curve":"stepped"},{"time":3.1666,"x":1.13,"y":0.83,"curve":"stepped"},{"time":3.3333,"x":1.13,"y":0.83,"curve":"stepped"},{"time":3.7333,"x":1.13,"y":0.83,"curve":"stepped"},{"time":4.0666,"x":1.13,"y":0.83,"curve":"stepped"},{"time":4.2666,"x":1.13,"y":0.83},{"time":4.5333,"x":0.88,"y":1.06},{"time":4.6666,"x":16.07,"y":39.2},{"time":4.8,"x":51.68,"y":21.03},{"time":5,"x":78.06,"y":61.26},{"time":5.3333,"x":98.84,"y":79.33}]}},"drawOrder":[{"time":0.6666,"offsets":[{"slot":"other","offset":18}]},{"time":4.5333,"offsets":[{"slot":"other","offset":-3}]}]},"sem5":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.2,"name":"arm1L"},{"time":0.3666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.2,"name":"arm2L"},{"time":0.3666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.3666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.2,"name":null},{"time":0.3666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.3666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.3666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.3666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":0.2,"name":"gun/sheildsmall"},{"time":0.3666,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37,"curve":"stepped"},{"time":0.2,"angle":-34.37,"curve":"stepped"},{"time":0.3666,"angle":-34.37}],"translate":[{"time":0,"x":4.46,"y":1.44},{"time":0.2,"x":5.06,"y":1.33},{"time":0.3666,"x":4.46,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56,"curve":"stepped"},{"time":0.2,"angle":12.56,"curve":"stepped"},{"time":0.3666,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.2,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":2.05},{"time":0.2,"x":-0.87,"y":-2.69},{"time":0.3666,"x":-2.55,"y":2.05}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2,"x":-2.36,"y":-1.09},{"time":0.3666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0.47,"y":-1.09},{"time":0.2,"x":-1.37,"y":-1.41},{"time":0.3666,"x":0.47,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":-3.26,"curve":"stepped"},{"time":0.2,"x":0,"y":-3.26,"curve":"stepped"},{"time":0.3666,"x":0,"y":-3.26}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-37.17,"y":-15.66},{"time":0.2,"x":-35.41,"y":-15.06},{"time":0.3666,"x":-37.17,"y":-15.66}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":9.71,"y":4.75},{"time":0.2,"x":10.31,"y":0.57},{"time":0.3666,"x":9.71,"y":4.75}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0,"curve":"stepped"},{"time":0.2,"x":1.09,"y":0,"curve":"stepped"},{"time":0.3666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0,"curve":"stepped"},{"time":0.2,"x":1.09,"y":0,"curve":"stepped"},{"time":0.3666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":3.1,"curve":"stepped"},{"time":0.2,"x":-0.06,"y":1.06},{"time":0.3666,"x":-0.06,"y":3.1}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":3.1,"curve":"stepped"},{"time":0.2,"x":-0.06,"y":1.06},{"time":0.3666,"x":-0.06,"y":3.1}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":3.1},{"time":0.2,"x":-0.06,"y":1.06},{"time":0.3666,"x":-0.06,"y":3.1}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.75},{"time":0.2,"x":-0.13,"y":3.6},{"time":0.3666,"x":-0.16,"y":5.75}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.3,"y":8.79},{"time":0.2,"x":-0.27,"y":6.64},{"time":0.3666,"x":-0.3,"y":8.79}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":3.1},{"time":0.2,"x":-0.06,"y":1.06},{"time":0.3666,"x":-0.06,"y":3.1}]},"mouth":{"rotate":[{"time":0,"angle":8.66,"curve":"stepped"},{"time":0.2,"angle":8.66,"curve":"stepped"},{"time":0.3666,"angle":8.66}],"translate":[{"time":0,"x":-0.06,"y":3.71},{"time":0.2,"x":-0.05,"y":2.2},{"time":0.3666,"x":-0.06,"y":3.71}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":3.1,"curve":"stepped"},{"time":0.2,"x":-0.06,"y":1.06},{"time":0.3666,"x":-0.06,"y":3.1}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0}],"translate":[{"time":0,"x":-0.07,"y":3.5},{"time":0.2,"x":-0.07,"y":1.46},{"time":0.3666,"x":-0.07,"y":3.5}]}}},"sem6":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":4.6666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.8666,"name":null},{"time":1.4666,"name":null},{"time":2.1666,"name":null},{"time":2.9,"name":null},{"time":3.6333,"name":null},{"time":4.6666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":4.6666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.8666,"name":null},{"time":1.4666,"name":null},{"time":2.1666,"name":null},{"time":2.9,"name":null},{"time":3.6333,"name":null},{"time":4.6666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.8666,"name":null},{"time":1.4666,"name":null},{"time":2.1666,"name":null},{"time":2.9,"name":null},{"time":3.6333,"name":null},{"time":4.6666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":4.6666,"name":null}]},"face":{"attachment":[{"time":0,"name":"faces/face7"},{"time":4.4,"name":null},{"time":4.6666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.8666,"name":null},{"time":1.4666,"name":null},{"time":2.1666,"name":null},{"time":2.9,"name":null},{"time":3.6333,"name":null},{"time":4.6666,"name":null}]},"mouth":{"attachment":[{"time":0,"name":null},{"time":4.4,"name":"mouth"}]},"other":{"attachment":[{"time":0,"name":null},{"time":4.6666,"name":null}]},"other2":{"attachment":[{"time":0,"name":"other/bra"},{"time":4.4333,"name":null},{"time":4.6666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":4.6666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":4.6666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":4.6666,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.4,"angle":-10.45},{"time":0.6666,"angle":-26.53},{"time":0.8666,"angle":11.49},{"time":1.1,"angle":-7.51},{"time":1.3,"angle":24.24},{"time":1.4666,"angle":38.04},{"time":1.8,"angle":-7.51},{"time":2,"angle":24.24},{"time":2.1666,"angle":38.04},{"time":2.5333,"angle":-7.51},{"time":2.7333,"angle":24.24},{"time":2.9,"angle":38.04},{"time":3.2666,"angle":-7.51},{"time":3.4333,"angle":24.24},{"time":3.6333,"angle":38.04},{"time":3.9,"angle":-26.53},{"time":4.1333,"angle":-10.45},{"time":4.4333,"angle":-34.37,"curve":"stepped"},{"time":4.6666,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.4,"x":5.8,"y":0.24},{"time":0.6666,"x":3.42,"y":-1.06},{"time":0.8666,"x":4.29,"y":2.47},{"time":1.1,"x":2.38,"y":1.83},{"time":1.4666,"x":0.7,"y":2.24},{"time":1.8,"x":2.38,"y":1.83},{"time":2.1666,"x":0.7,"y":2.24},{"time":2.5333,"x":2.38,"y":1.83},{"time":2.9,"x":0.7,"y":2.24},{"time":3.2666,"x":2.38,"y":1.83},{"time":3.6333,"x":0.7,"y":2.24},{"time":3.9,"x":3.42,"y":-1.06},{"time":4.1333,"x":5.8,"y":0.24},{"time":4.4333,"x":5.06,"y":1.44,"curve":"stepped"},{"time":4.6666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.4,"angle":129.55},{"time":0.6666,"angle":18.24},{"time":0.8666,"angle":38.05},{"time":1.1,"angle":-1.45},{"time":1.3,"angle":-9.56},{"time":1.4666,"angle":33.72},{"time":1.8,"angle":-1.45},{"time":2,"angle":-9.56},{"time":2.1666,"angle":33.72},{"time":2.5333,"angle":-1.45},{"time":2.7333,"angle":-9.56},{"time":2.9,"angle":33.72},{"time":3.2666,"angle":-1.45},{"time":3.4333,"angle":-9.56},{"time":3.6333,"angle":33.72},{"time":3.9,"angle":18.24},{"time":4.1333,"angle":129.55},{"time":4.4333,"angle":12.56,"curve":"stepped"},{"time":4.6666,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12},{"time":0.4,"x":8.36,"y":-2.78},{"time":0.6666,"x":-2.01,"y":0.12},{"time":0.8666,"x":1.76,"y":-2.7},{"time":1.1,"x":3.64,"y":-0.99},{"time":1.3,"x":2.71,"y":-0.61},{"time":1.4666,"x":1.76,"y":-2.7,"curve":"stepped"},{"time":1.8,"x":3.64,"y":-0.99},{"time":2,"x":2.71,"y":-0.61},{"time":2.1666,"x":1.76,"y":-2.7,"curve":"stepped"},{"time":2.5333,"x":3.64,"y":-0.99},{"time":2.7333,"x":2.71,"y":-0.61},{"time":2.9,"x":1.76,"y":-2.7,"curve":"stepped"},{"time":3.2666,"x":3.64,"y":-0.99},{"time":3.4333,"x":2.71,"y":-0.61},{"time":3.6333,"x":1.76,"y":-2.7,"curve":"stepped"},{"time":3.9,"x":-2.01,"y":0.12},{"time":4.1333,"x":8.36,"y":-2.78},{"time":4.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":4.6666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.4,"x":-0.58,"y":0},{"time":0.6666,"x":0,"y":0},{"time":0.8666,"x":-2.55,"y":0},{"time":1.1,"x":-0.58,"y":0},{"time":1.4666,"x":-2.55,"y":0},{"time":1.8,"x":-0.58,"y":0},{"time":2.1666,"x":-2.55,"y":0},{"time":2.5333,"x":-0.58,"y":0},{"time":2.9,"x":-2.55,"y":0},{"time":3.2666,"x":-0.58,"y":0},{"time":3.6333,"x":-2.55,"y":0},{"time":3.9,"x":0,"y":0},{"time":4.1333,"x":-0.58,"y":0},{"time":4.4333,"x":-2.55,"y":0,"curve":"stepped"},{"time":4.6666,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.4,"angle":1.57},{"time":0.6666,"angle":1.1},{"time":0.8666,"angle":0},{"time":1.1,"angle":1.57},{"time":1.4666,"angle":0},{"time":1.8,"angle":1.57},{"time":2.1666,"angle":0},{"time":2.5333,"angle":1.57},{"time":2.9,"angle":0},{"time":3.2666,"angle":1.57},{"time":3.6333,"angle":0},{"time":3.9,"angle":1.1},{"time":4.1333,"angle":1.57},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.4,"x":1.51,"y":3.6},{"time":0.6666,"x":1.05,"y":2.19},{"time":0.8666,"x":0,"y":-1.09},{"time":1.1,"x":1.51,"y":3.6},{"time":1.4666,"x":0,"y":-1.09},{"time":1.8,"x":1.51,"y":3.6},{"time":2.1666,"x":0,"y":-1.09},{"time":2.5333,"x":1.51,"y":3.6},{"time":2.9,"x":0,"y":-1.09},{"time":3.2666,"x":1.51,"y":3.6},{"time":3.6333,"x":0,"y":-1.09},{"time":3.9,"x":1.05,"y":2.19},{"time":4.1333,"x":1.51,"y":3.6},{"time":4.4333,"x":0,"y":-1.09,"curve":"stepped"},{"time":4.6666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.4,"x":0,"y":1.27},{"time":0.6666,"x":0,"y":0.56},{"time":0.8666,"x":0,"y":-1.09},{"time":1.1,"x":0,"y":3.73},{"time":1.4666,"x":0,"y":-1.09},{"time":1.8,"x":0,"y":3.73},{"time":2.1666,"x":0,"y":-1.09},{"time":2.5333,"x":0,"y":3.73},{"time":2.9,"x":0,"y":-1.09},{"time":3.2666,"x":0,"y":3.73},{"time":3.6333,"x":0,"y":-1.09},{"time":3.9,"x":0,"y":0.56},{"time":4.1333,"x":0,"y":1.27},{"time":4.4333,"x":0,"y":-1.09,"curve":"stepped"},{"time":4.6666,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.4,"x":0,"y":0.18},{"time":0.6666,"x":0,"y":2.02},{"time":0.8666,"x":0,"y":-5.95},{"time":1.1,"x":0,"y":5.95},{"time":1.4666,"x":0,"y":-5.95},{"time":1.8,"x":0,"y":5.95},{"time":2.1666,"x":0,"y":-5.95},{"time":2.5333,"x":0,"y":5.95},{"time":2.9,"x":0,"y":-5.95},{"time":3.2666,"x":0,"y":5.95},{"time":3.6333,"x":0,"y":-5.95},{"time":3.9,"x":0,"y":2.02},{"time":4.1333,"x":0,"y":0.18},{"time":4.4333,"x":0,"y":-5.95,"curve":"stepped"},{"time":4.6666,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":1.52,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":1.52,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":1.52,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":1.52,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.4,"x":-29.55,"y":-0.54},{"time":0.6666,"x":-38.37,"y":-12.92},{"time":0.8666,"x":-45.14,"y":-10.84},{"time":1.1,"x":-52.25,"y":5.78},{"time":1.3,"x":-45.72,"y":-7.29},{"time":1.4666,"x":-36.29,"y":-15.81},{"time":1.6333,"x":-41.62,"y":-10.53},{"time":1.8,"x":-52.25,"y":5.78},{"time":2,"x":-45.72,"y":-7.29},{"time":2.1666,"x":-36.29,"y":-15.81},{"time":2.3333,"x":-41.62,"y":-10.53},{"time":2.5333,"x":-52.25,"y":5.78},{"time":2.7333,"x":-45.72,"y":-7.29},{"time":2.9,"x":-36.29,"y":-15.81},{"time":3.0333,"x":-41.62,"y":-10.53},{"time":3.2666,"x":-52.25,"y":5.78},{"time":3.4333,"x":-45.72,"y":-7.29},{"time":3.6333,"x":-36.29,"y":-15.81},{"time":3.9,"x":-38.37,"y":-12.92},{"time":4.1333,"x":-29.55,"y":-0.54},{"time":4.4333,"x":-37.08,"y":-15.06,"curve":"stepped"},{"time":4.6666,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.4,"x":15.35,"y":3.66},{"time":0.6666,"x":10.52,"y":4.82},{"time":0.8666,"x":9.03,"y":2.43},{"time":1.1,"x":9.63,"y":1.83},{"time":1.4666,"x":9.03,"y":2.43},{"time":1.8,"x":9.63,"y":1.83},{"time":2.1666,"x":9.03,"y":2.43},{"time":2.5333,"x":9.63,"y":1.83},{"time":2.9,"x":9.03,"y":2.43},{"time":3.2666,"x":9.63,"y":1.83},{"time":3.6333,"x":9.03,"y":2.43},{"time":3.9,"x":10.52,"y":4.82},{"time":4.1333,"x":15.35,"y":3.66},{"time":4.4333,"x":10.31,"y":3.71,"curve":"stepped"},{"time":4.6666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.4,"x":-1.27,"y":0},{"time":0.6666,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.1,"x":-3.73,"y":0},{"time":1.4666,"x":1.09,"y":0},{"time":1.8,"x":-3.73,"y":0},{"time":2.1666,"x":1.09,"y":0},{"time":2.5333,"x":-3.73,"y":0},{"time":2.9,"x":1.09,"y":0},{"time":3.2666,"x":-3.73,"y":0},{"time":3.6333,"x":1.09,"y":0},{"time":3.9,"x":-0.56,"y":0},{"time":4.1333,"x":-1.27,"y":0},{"time":4.4333,"x":1.09,"y":0,"curve":"stepped"},{"time":4.6666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.4,"x":-1.27,"y":0},{"time":0.6666,"x":-0.56,"y":0},{"time":0.8666,"x":1.09,"y":0},{"time":1.1,"x":-3.46,"y":0},{"time":1.4666,"x":1.09,"y":0},{"time":1.8,"x":-3.46,"y":0},{"time":2.1666,"x":1.09,"y":0},{"time":2.5333,"x":-3.46,"y":0},{"time":2.9,"x":1.09,"y":0},{"time":3.2666,"x":-3.46,"y":0},{"time":3.6333,"x":1.09,"y":0},{"time":3.9,"x":-0.56,"y":0},{"time":4.1333,"x":-1.27,"y":0},{"time":4.4333,"x":1.09,"y":0,"curve":"stepped"},{"time":4.6666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17},{"time":4.6666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.4,"x":-0.03,"y":5.13},{"time":0.6666,"x":0.1,"y":5.29},{"time":0.8666,"x":-0.16,"y":5.31},{"time":1.1,"x":-0.03,"y":5.13},{"time":1.4666,"x":-0.16,"y":5.31},{"time":1.8,"x":-0.03,"y":5.13},{"time":2.1666,"x":-0.16,"y":5.31},{"time":2.5333,"x":-0.03,"y":5.13},{"time":2.9,"x":-0.16,"y":5.31},{"time":3.2666,"x":-0.03,"y":5.13},{"time":3.6333,"x":-0.16,"y":5.31},{"time":3.9,"x":0.1,"y":5.29},{"time":4.1333,"x":-0.03,"y":5.13},{"time":4.4333,"x":-0.16,"y":5.31},{"time":4.6666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.4,"x":-0.03,"y":5.13},{"time":0.6666,"x":0.1,"y":5.29},{"time":0.8666,"x":-0.16,"y":5.31},{"time":1.1,"x":-0.03,"y":5.13},{"time":1.4666,"x":-0.16,"y":5.31},{"time":1.8,"x":-0.03,"y":5.13},{"time":2.1666,"x":-0.16,"y":5.31},{"time":2.5333,"x":-0.03,"y":5.13},{"time":2.9,"x":-0.16,"y":5.31},{"time":3.2666,"x":-0.03,"y":5.13},{"time":3.6333,"x":-0.16,"y":5.31},{"time":3.9,"x":0.1,"y":5.29},{"time":4.1333,"x":-0.03,"y":5.13},{"time":4.4333,"x":-0.16,"y":5.31},{"time":4.6666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17},{"time":4.6666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17},{"time":4.6666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.4,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.6666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.1,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.4666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.8,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.1666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.9,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.2666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":3.6333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.9,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.4333,"x":-0.06,"y":2.17},{"time":4.6666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":0.8666,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.4666,"x":0,"y":0,"curve":"stepped"},{"time":1.8,"x":0,"y":0,"curve":"stepped"},{"time":2.1666,"x":0,"y":0,"curve":"stepped"},{"time":2.5333,"x":0,"y":0,"curve":"stepped"},{"time":2.9,"x":0,"y":0,"curve":"stepped"},{"time":3.2666,"x":0,"y":0,"curve":"stepped"},{"time":3.6333,"x":0,"y":0,"curve":"stepped"},{"time":3.9,"x":0,"y":0,"curve":"stepped"},{"time":4.1333,"x":0,"y":0,"curve":"stepped"},{"time":4.4333,"x":0,"y":0,"curve":"stepped"},{"time":4.6666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":0.8666,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.4666,"angle":0,"curve":"stepped"},{"time":1.8,"angle":0,"curve":"stepped"},{"time":2.1666,"angle":0,"curve":"stepped"},{"time":2.5333,"angle":0,"curve":"stepped"},{"time":2.9,"angle":0,"curve":"stepped"},{"time":3.2666,"angle":0,"curve":"stepped"},{"time":3.6333,"angle":0,"curve":"stepped"},{"time":3.9,"angle":0,"curve":"stepped"},{"time":4.1333,"angle":0,"curve":"stepped"},{"time":4.4333,"angle":0,"curve":"stepped"},{"time":4.6666,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.4,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.1,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.4666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.8,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.1666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.5333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.9,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.2666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.6333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.9,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.1333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.4333,"x":-0.08,"y":2.57},{"time":4.6666,"x":0,"y":0}]},"other":{"rotate":[{"time":4.6666,"angle":0}],"translate":[{"time":4.6666,"x":0,"y":0}]},"other2":{"translate":[{"time":0,"x":-11.91,"y":-0.74},{"time":0.4,"x":5.36,"y":-0.51},{"time":0.6666,"x":-0.23,"y":0,"curve":"stepped"},{"time":0.8666,"x":-0.23,"y":0,"curve":"stepped"},{"time":1.1,"x":-0.23,"y":0,"curve":"stepped"},{"time":1.4666,"x":-0.23,"y":0,"curve":"stepped"},{"time":1.8,"x":-0.23,"y":0,"curve":"stepped"},{"time":2.1666,"x":-0.23,"y":0,"curve":"stepped"},{"time":2.5333,"x":-0.23,"y":0,"curve":"stepped"},{"time":2.9,"x":-0.23,"y":0,"curve":"stepped"},{"time":3.2666,"x":-0.23,"y":0,"curve":"stepped"},{"time":3.6333,"x":-0.23,"y":0,"curve":"stepped"},{"time":3.9,"x":-0.23,"y":0},{"time":4.1333,"x":5.36,"y":-0.51},{"time":4.4333,"x":-11.91,"y":-0.74}]},"other3":{"translate":[{"time":0,"x":0,"y":0}]}}},"sem7":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":6.2333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":6.2333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.3,"name":"other/cylinder1"},{"time":6,"name":null},{"time":6.2333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.2333,"name":null},{"time":1.4333,"name":"other/sglass1"},{"time":5.0666,"name":null},{"time":6.2333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3,"angle":308.67},{"time":0.4333,"angle":302.88},{"time":0.7,"angle":62.84},{"time":0.9666,"angle":117.84},{"time":1.2333,"angle":-34.37},{"time":1.4333,"angle":308.67},{"time":1.5666,"angle":302.88},{"time":1.8666,"angle":62.84},{"time":2.1333,"angle":39.05},{"time":2.3666,"angle":1.42},{"time":2.7,"angle":290.57},{"time":3.0333,"angle":3.9},{"time":3.3666,"angle":290.57},{"time":3.6666,"angle":3.9},{"time":4.0333,"angle":290.57},{"time":4.3333,"angle":3.9},{"time":4.5333,"angle":39.05},{"time":4.7333,"angle":62.84},{"time":4.9333,"angle":302.88},{"time":5.0666,"angle":308.67},{"time":5.2333,"angle":-34.37},{"time":5.4666,"angle":117.84},{"time":5.6666,"angle":62.84},{"time":5.8666,"angle":302.88},{"time":6,"angle":308.67},{"time":6.2333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3,"x":5.8,"y":0.24},{"time":0.4333,"x":5.58,"y":0.6},{"time":0.7,"x":4.55,"y":-2.36},{"time":0.9666,"x":33.6,"y":-1.33},{"time":1.2333,"x":5.06,"y":1.44},{"time":1.4333,"x":5.8,"y":0.24},{"time":1.5666,"x":5.58,"y":0.6},{"time":1.8666,"x":4.55,"y":-0.42},{"time":2.1333,"x":13.9,"y":5.44},{"time":2.3666,"x":6.82,"y":2.03},{"time":2.7,"x":5.59,"y":-1.65},{"time":3.0333,"x":6.82,"y":2.03},{"time":3.3666,"x":5.59,"y":-1.65},{"time":3.6666,"x":6.82,"y":2.03},{"time":4.0333,"x":5.59,"y":-1.65},{"time":4.3333,"x":6.82,"y":2.03},{"time":4.5333,"x":13.9,"y":5.44},{"time":4.7333,"x":4.55,"y":-0.42},{"time":4.9333,"x":5.58,"y":0.6},{"time":5.0666,"x":5.8,"y":0.24},{"time":5.2333,"x":5.06,"y":1.44},{"time":5.4666,"x":33.6,"y":-1.33},{"time":5.6666,"x":4.55,"y":-2.36},{"time":5.8666,"x":5.58,"y":0.6},{"time":6,"x":5.8,"y":0.24},{"time":6.2333,"x":5.06,"y":1.44}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"other4":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0},{"time":1.4333,"angle":220.41},{"time":1.5666,"angle":233.52},{"time":1.8666,"angle":-14.23},{"time":2.1333,"angle":358.59},{"time":2.3666,"angle":360,"curve":"stepped"},{"time":3.0333,"angle":360,"curve":"stepped"},{"time":3.6666,"angle":360,"curve":"stepped"},{"time":4.3333,"angle":360},{"time":4.5333,"angle":358.59},{"time":4.7333,"angle":-14.23},{"time":4.9333,"angle":233.52},{"time":5.0666,"angle":220.41},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0},{"time":1.4333,"x":-43.21,"y":-53.89},{"time":1.5666,"x":-32.82,"y":-62.21},{"time":1.7,"x":-14.9,"y":-62.86},{"time":1.8666,"x":3.68,"y":-40},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0},{"time":4.7333,"x":3.68,"y":-40},{"time":4.8333,"x":-14.9,"y":-62.86},{"time":4.9333,"x":-32.82,"y":-62.21},{"time":5.0666,"x":-43.21,"y":-53.89},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3,"angle":1.57},{"time":0.4333,"angle":1.1},{"time":0.7,"angle":0},{"time":0.9666,"angle":1.57},{"time":1.2333,"angle":0},{"time":1.4333,"angle":1.57},{"time":1.5666,"angle":1.1},{"time":1.8666,"angle":0},{"time":2.1333,"angle":1.57},{"time":2.3666,"angle":0},{"time":2.7,"angle":1.1},{"time":3.0333,"angle":0},{"time":3.3666,"angle":1.1},{"time":3.6666,"angle":0},{"time":4.0333,"angle":1.1},{"time":4.3333,"angle":0},{"time":4.5333,"angle":1.57},{"time":4.7333,"angle":0},{"time":4.9333,"angle":1.1},{"time":5.0666,"angle":1.57},{"time":5.2333,"angle":0},{"time":5.4666,"angle":1.57},{"time":5.6666,"angle":0},{"time":5.8666,"angle":1.1},{"time":6,"angle":1.57},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":1.51,"y":3.6},{"time":0.4333,"x":1.05,"y":2.19},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":1.51,"y":3.6},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":1.51,"y":3.6},{"time":1.5666,"x":1.05,"y":2.19},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":1.51,"y":3.6},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":1.05,"y":2.19},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":1.05,"y":2.19},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":1.05,"y":2.19},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":1.51,"y":3.6},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":1.05,"y":2.19},{"time":5.0666,"x":1.51,"y":3.6},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":1.51,"y":3.6},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":1.05,"y":2.19},{"time":6,"x":1.51,"y":3.6},{"time":6.2333,"x":0,"y":-1.09}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":0,"y":1.27},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":0,"y":1.27},{"time":1.5666,"x":0,"y":0.56},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":0,"y":1.27},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":0,"y":0.56},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":0,"y":0.56},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":0,"y":0.56},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":0,"y":1.27},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":0,"y":0.56},{"time":5.0666,"x":0,"y":1.27},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":0,"y":1.27},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":0,"y":0.56},{"time":6,"x":0,"y":1.27},{"time":6.2333,"x":0,"y":-1.09}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3,"x":10.6,"y":5.29},{"time":0.4333,"x":10.52,"y":4.82},{"time":0.7,"x":10.31,"y":3.71},{"time":0.9666,"x":10.6,"y":5.29},{"time":1.2333,"x":10.31,"y":3.71},{"time":1.4333,"x":10.6,"y":5.29},{"time":1.5666,"x":10.52,"y":4.82},{"time":1.8666,"x":10.31,"y":3.71},{"time":2.1333,"x":10.6,"y":5.29},{"time":2.3666,"x":7.57,"y":4.09},{"time":2.7,"x":10.85,"y":1.22},{"time":3.0333,"x":7.57,"y":4.09},{"time":3.3666,"x":10.85,"y":1.22},{"time":3.6666,"x":7.57,"y":4.09},{"time":4.0333,"x":10.85,"y":1.22},{"time":4.3333,"x":7.57,"y":4.09},{"time":4.5333,"x":10.6,"y":5.29},{"time":4.7333,"x":10.31,"y":3.71},{"time":4.9333,"x":10.52,"y":4.82},{"time":5.0666,"x":10.6,"y":5.29},{"time":5.2333,"x":10.31,"y":3.71},{"time":5.4666,"x":10.6,"y":5.29},{"time":5.6666,"x":10.31,"y":3.71},{"time":5.8666,"x":10.52,"y":4.82},{"time":6,"x":10.6,"y":5.29},{"time":6.2333,"x":10.31,"y":3.71}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.3,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.9666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.5666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.1333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.5333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.7333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.9333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.0666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.4666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":6,"x":-0.08,"y":2.57},{"time":6.2333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0},{"time":0.7,"angle":-6.22},{"time":0.9666,"angle":-6.62},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0},{"time":1.8666,"angle":-6.22},{"time":2.1333,"angle":-6.62},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0},{"time":4.5333,"angle":-6.62},{"time":4.7333,"angle":-6.22},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0},{"time":5.4666,"angle":-6.62},{"time":5.6666,"angle":-6.22},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":3.69,"y":4.44},{"time":0.9666,"x":2.57,"y":3.63},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":3.69,"y":4.44},{"time":2.1333,"x":2.57,"y":3.63},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0},{"time":4.5333,"x":2.57,"y":3.63},{"time":4.7333,"x":3.69,"y":4.44},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0},{"time":5.4666,"x":2.57,"y":3.63},{"time":5.6666,"x":3.69,"y":4.44},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3,"x":0,"y":0.18},{"time":0.4333,"x":0,"y":2.02},{"time":0.7,"x":0,"y":-5.95},{"time":0.9666,"x":0,"y":0.18},{"time":1.2333,"x":0,"y":-5.95},{"time":1.4333,"x":0,"y":0.18},{"time":1.5666,"x":0,"y":2.02},{"time":1.8666,"x":0,"y":-5.95},{"time":2.1333,"x":0,"y":0.18},{"time":2.3666,"x":0,"y":-5.95},{"time":2.7,"x":0,"y":9.35},{"time":3.0333,"x":0,"y":-5.95},{"time":3.3666,"x":0,"y":9.35},{"time":3.6666,"x":0,"y":-5.95},{"time":4.0333,"x":0,"y":9.35},{"time":4.3333,"x":0,"y":-5.95},{"time":4.5333,"x":0,"y":0.18},{"time":4.7333,"x":0,"y":-5.95},{"time":4.9333,"x":0,"y":2.02},{"time":5.0666,"x":0,"y":0.18},{"time":5.2333,"x":0,"y":-5.95},{"time":5.4666,"x":0,"y":0.18},{"time":5.6666,"x":0,"y":-5.95},{"time":5.8666,"x":0,"y":2.02},{"time":6,"x":0,"y":0.18},{"time":6.2333,"x":0,"y":-5.95}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3,"angle":1.47},{"time":0.4333,"angle":0.13},{"time":0.7,"angle":7.87},{"time":0.9666,"angle":14.22},{"time":1.2333,"angle":12.56},{"time":1.4333,"angle":1.47},{"time":1.5666,"angle":0.13},{"time":1.8666,"angle":7.87},{"time":2.1333,"angle":64.41},{"time":2.3666,"angle":4.29},{"time":2.7,"angle":-3.89},{"time":3.0333,"angle":23.04},{"time":3.3666,"angle":-3.89},{"time":3.6666,"angle":23.04},{"time":4.0333,"angle":-3.89},{"time":4.3333,"angle":23.04},{"time":4.5333,"angle":64.41},{"time":4.7333,"angle":7.87},{"time":4.9333,"angle":0.13},{"time":5.0666,"angle":1.47},{"time":5.2333,"angle":12.56},{"time":5.4666,"angle":14.22},{"time":5.6666,"angle":7.87},{"time":5.8666,"angle":0.13},{"time":6,"angle":1.47},{"time":6.2333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4333,"x":-2.01,"y":0.12},{"time":0.7,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":0.9666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":1.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.5666,"x":-2.01,"y":0.12},{"time":1.8666,"x":4.27,"y":-0.8},{"time":2.1333,"x":6.73,"y":-4.97},{"time":2.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":2.7,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.6666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.3333,"x":0.2,"y":0.24},{"time":4.5333,"x":6.73,"y":-4.97},{"time":4.7333,"x":4.27,"y":-0.8},{"time":4.9333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.0666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.4666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":5.6666,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":5.8666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6.2333,"x":-2.01,"y":0.12}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":-2.55,"y":0},{"time":0.9666,"x":-0.58,"y":0},{"time":1.2333,"x":-2.55,"y":0},{"time":1.4333,"x":-0.58,"y":0},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":-2.55,"y":0},{"time":2.1333,"x":-0.58,"y":0},{"time":2.3666,"x":-2.55,"y":0},{"time":2.7,"x":0,"y":0},{"time":3.0333,"x":-2.55,"y":0},{"time":3.3666,"x":0,"y":0},{"time":3.6666,"x":-2.55,"y":0},{"time":4.0333,"x":0,"y":0},{"time":4.3333,"x":-2.55,"y":0},{"time":4.5333,"x":-0.58,"y":0},{"time":4.7333,"x":-2.55,"y":0},{"time":4.9333,"x":0,"y":0},{"time":5.0666,"x":-0.58,"y":0},{"time":5.2333,"x":-2.55,"y":0},{"time":5.4666,"x":-0.58,"y":0},{"time":5.6666,"x":-2.55,"y":0},{"time":5.8666,"x":0,"y":0},{"time":6,"x":-0.58,"y":0},{"time":6.2333,"x":-2.55,"y":0}]},"other3":{"rotate":[{"time":0.3,"angle":213.99},{"time":0.4333,"angle":212.86},{"time":0.5666,"angle":243.29},{"time":0.7,"angle":-80.37},{"time":0.9666,"angle":-1.51,"curve":"stepped"},{"time":1.0666,"angle":-1.51,"curve":"stepped"},{"time":1.2333,"angle":-1.51,"curve":"stepped"},{"time":2.3666,"angle":-1.51,"curve":"stepped"},{"time":3.0333,"angle":-1.51,"curve":"stepped"},{"time":3.6666,"angle":-1.51,"curve":"stepped"},{"time":4.3333,"angle":-1.51,"curve":"stepped"},{"time":5.2333,"angle":-1.51,"curve":"stepped"},{"time":5.3666,"angle":-1.51,"curve":"stepped"},{"time":5.4666,"angle":-1.51},{"time":5.6666,"angle":-80.37},{"time":5.7666,"angle":243.29},{"time":5.8666,"angle":212.86},{"time":6,"angle":213.99}],"translate":[{"time":0,"x":-73.57,"y":-24.34},{"time":0.3,"x":-91.09,"y":-14.36},{"time":0.4333,"x":-82.7,"y":-24.93},{"time":0.5666,"x":-54.64,"y":-57.47},{"time":0.7,"x":-15.97,"y":-57.92},{"time":0.8333,"x":2.56,"y":-24.74},{"time":0.9666,"x":8.72,"y":-2.42},{"time":1.0666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.3666,"x":0,"y":0},{"time":5.4666,"x":8.72,"y":-2.42},{"time":5.5666,"x":2.64,"y":-29.02},{"time":5.6666,"x":-15.97,"y":-57.92},{"time":5.7666,"x":-54.64,"y":-57.47},{"time":5.8666,"x":-82.7,"y":-24.93},{"time":6,"x":-91.09,"y":-14.36},{"time":6.2333,"x":-73.57,"y":-24.34}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3,"x":-37.94,"y":-11.97},{"time":0.4333,"x":-37.68,"y":-12.9},{"time":0.7,"x":-37.08,"y":-15.06},{"time":0.9666,"x":-37.94,"y":-11.97},{"time":1.2333,"x":-37.08,"y":-15.06},{"time":1.4333,"x":-37.94,"y":-11.97},{"time":1.5666,"x":-37.68,"y":-12.9},{"time":1.8666,"x":-37.08,"y":-15.06},{"time":2.1333,"x":-37.94,"y":-11.97},{"time":2.3666,"x":-2.51,"y":-18.55},{"time":2.5666,"x":-29.3,"y":-17.42},{"time":2.7,"x":-47.72,"y":-11.51},{"time":2.9,"x":-28.71,"y":-18.07},{"time":3.0333,"x":-2.51,"y":-18.55},{"time":3.2,"x":-29.3,"y":-17.42},{"time":3.3666,"x":-47.72,"y":-11.51},{"time":3.5333,"x":-28.71,"y":-18.07},{"time":3.6666,"x":-2.51,"y":-18.55},{"time":3.8666,"x":-29.3,"y":-17.42},{"time":4.0333,"x":-47.72,"y":-11.51},{"time":4.1666,"x":-28.71,"y":-18.07},{"time":4.3333,"x":-2.51,"y":-18.55},{"time":4.5333,"x":-37.94,"y":-11.97},{"time":4.7333,"x":-37.08,"y":-15.06},{"time":4.9333,"x":-37.68,"y":-12.9},{"time":5.0666,"x":-37.94,"y":-11.97},{"time":5.2333,"x":-37.08,"y":-15.06},{"time":5.4666,"x":-37.94,"y":-11.97},{"time":5.6666,"x":-37.08,"y":-15.06},{"time":5.8666,"x":-37.68,"y":-12.9},{"time":6,"x":-37.94,"y":-11.97},{"time":6.2333,"x":-37.08,"y":-15.06}]}},"drawOrder":[{"time":0.3,"offsets":[{"slot":"other3","offset":-26}]},{"time":0.5666},{"time":1.4333,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.5666,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.7,"offsets":[{"slot":"other4","offset":1}]},{"time":2.1333},{"time":2.3666,"offsets":[{"slot":"arm1L","offset":6},{"slot":"arm2L","offset":6}]},{"time":4.5333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.8333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.9333,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.0666,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.7666,"offsets":[{"slot":"other3","offset":-26}]}]},"sem8":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":6.2333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":6.2333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.7333,"name":"other/chainlet"},{"time":5.4666,"name":null},{"time":6.2333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.3,"name":"other/cylinder2"},{"time":6,"name":null},{"time":6.2333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.2333,"name":null},{"time":1.4333,"name":"other/sglass2"},{"time":5.0666,"name":null},{"time":6.2333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3,"angle":308.67},{"time":0.4333,"angle":302.88},{"time":0.7,"angle":62.84},{"time":0.9666,"angle":117.84},{"time":1.2333,"angle":-34.37},{"time":1.4333,"angle":308.67},{"time":1.5666,"angle":302.88},{"time":1.8666,"angle":62.84},{"time":2.1333,"angle":39.05},{"time":2.3666,"angle":1.42},{"time":2.7,"angle":290.57},{"time":3.0333,"angle":3.9},{"time":3.3666,"angle":290.57},{"time":3.6666,"angle":3.9},{"time":4.0333,"angle":290.57},{"time":4.3333,"angle":3.9},{"time":4.5333,"angle":39.05},{"time":4.7333,"angle":62.84},{"time":4.9333,"angle":302.88},{"time":5.0666,"angle":308.67},{"time":5.2333,"angle":-34.37},{"time":5.4666,"angle":117.84},{"time":5.6666,"angle":62.84},{"time":5.8666,"angle":302.88},{"time":6,"angle":308.67},{"time":6.2333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3,"x":5.8,"y":0.24},{"time":0.4333,"x":5.58,"y":0.6},{"time":0.7,"x":4.55,"y":-2.36},{"time":0.9666,"x":33.6,"y":-1.33},{"time":1.2333,"x":5.06,"y":1.44},{"time":1.4333,"x":5.8,"y":0.24},{"time":1.5666,"x":5.58,"y":0.6},{"time":1.8666,"x":4.55,"y":-0.42},{"time":2.1333,"x":13.9,"y":5.44},{"time":2.3666,"x":6.82,"y":2.03},{"time":2.7,"x":5.59,"y":-1.65},{"time":3.0333,"x":6.82,"y":2.03},{"time":3.3666,"x":5.59,"y":-1.65},{"time":3.6666,"x":6.82,"y":2.03},{"time":4.0333,"x":5.59,"y":-1.65},{"time":4.3333,"x":6.82,"y":2.03},{"time":4.5333,"x":13.9,"y":5.44},{"time":4.7333,"x":4.55,"y":-0.42},{"time":4.9333,"x":5.58,"y":0.6},{"time":5.0666,"x":5.8,"y":0.24},{"time":5.2333,"x":5.06,"y":1.44},{"time":5.4666,"x":33.6,"y":-1.33},{"time":5.6666,"x":4.55,"y":-2.36},{"time":5.8666,"x":5.58,"y":0.6},{"time":6,"x":5.8,"y":0.24},{"time":6.2333,"x":5.06,"y":1.44}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"other4":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0},{"time":1.4333,"angle":220.41},{"time":1.5666,"angle":233.52},{"time":1.8666,"angle":-14.23},{"time":2.1333,"angle":358.59},{"time":2.3666,"angle":360,"curve":"stepped"},{"time":3.0333,"angle":360,"curve":"stepped"},{"time":3.6666,"angle":360,"curve":"stepped"},{"time":4.3333,"angle":360},{"time":4.5333,"angle":358.59},{"time":4.7333,"angle":-14.23},{"time":4.9333,"angle":233.52},{"time":5.0666,"angle":220.41},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0},{"time":1.4333,"x":-43.21,"y":-53.89},{"time":1.5666,"x":-32.82,"y":-62.21},{"time":1.7333,"x":-14.9,"y":-62.86},{"time":1.8666,"x":3.68,"y":-40},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0},{"time":4.7333,"x":3.68,"y":-40},{"time":4.8333,"x":-14.9,"y":-62.86},{"time":4.9333,"x":-32.82,"y":-62.21},{"time":5.0666,"x":-43.21,"y":-53.89},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3,"angle":1.57},{"time":0.4333,"angle":1.1},{"time":0.7,"angle":0},{"time":0.9666,"angle":1.57},{"time":1.2333,"angle":0},{"time":1.4333,"angle":1.57},{"time":1.5666,"angle":1.1},{"time":1.8666,"angle":0},{"time":2.1333,"angle":1.57},{"time":2.3666,"angle":0},{"time":2.7,"angle":1.1},{"time":3.0333,"angle":0},{"time":3.3666,"angle":1.1},{"time":3.6666,"angle":0},{"time":4.0333,"angle":1.1},{"time":4.3333,"angle":0},{"time":4.5333,"angle":1.57},{"time":4.7333,"angle":0},{"time":4.9333,"angle":1.1},{"time":5.0666,"angle":1.57},{"time":5.2333,"angle":0},{"time":5.4666,"angle":1.57},{"time":5.6666,"angle":0},{"time":5.8666,"angle":1.1},{"time":6,"angle":1.57},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":1.51,"y":3.6},{"time":0.4333,"x":1.05,"y":2.19},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":1.51,"y":3.6},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":1.51,"y":3.6},{"time":1.5666,"x":1.05,"y":2.19},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":1.51,"y":3.6},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":1.05,"y":2.19},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":1.05,"y":2.19},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":1.05,"y":2.19},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":1.51,"y":3.6},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":1.05,"y":2.19},{"time":5.0666,"x":1.51,"y":3.6},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":1.51,"y":3.6},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":1.05,"y":2.19},{"time":6,"x":1.51,"y":3.6},{"time":6.2333,"x":0,"y":-1.09}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":0,"y":1.27},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":0,"y":1.27},{"time":1.5666,"x":0,"y":0.56},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":0,"y":1.27},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":0,"y":0.56},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":0,"y":0.56},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":0,"y":0.56},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":0,"y":1.27},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":0,"y":0.56},{"time":5.0666,"x":0,"y":1.27},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":0,"y":1.27},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":0,"y":0.56},{"time":6,"x":0,"y":1.27},{"time":6.2333,"x":0,"y":-1.09}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3,"x":10.6,"y":5.29},{"time":0.4333,"x":10.52,"y":4.82},{"time":0.7,"x":10.31,"y":3.71},{"time":0.9666,"x":10.6,"y":5.29},{"time":1.2333,"x":10.31,"y":3.71},{"time":1.4333,"x":10.6,"y":5.29},{"time":1.5666,"x":10.52,"y":4.82},{"time":1.8666,"x":10.31,"y":3.71},{"time":2.1333,"x":10.6,"y":5.29},{"time":2.3666,"x":7.57,"y":4.09},{"time":2.7,"x":10.85,"y":1.22},{"time":3.0333,"x":7.57,"y":4.09},{"time":3.3666,"x":10.85,"y":1.22},{"time":3.6666,"x":7.57,"y":4.09},{"time":4.0333,"x":10.85,"y":1.22},{"time":4.3333,"x":7.57,"y":4.09},{"time":4.5333,"x":10.6,"y":5.29},{"time":4.7333,"x":10.31,"y":3.71},{"time":4.9333,"x":10.52,"y":4.82},{"time":5.0666,"x":10.6,"y":5.29},{"time":5.2333,"x":10.31,"y":3.71},{"time":5.4666,"x":10.6,"y":5.29},{"time":5.6666,"x":10.31,"y":3.71},{"time":5.8666,"x":10.52,"y":4.82},{"time":6,"x":10.6,"y":5.29},{"time":6.2333,"x":10.31,"y":3.71}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.3,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.9666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.5666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.1333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.5333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.7333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.9333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.0666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.4666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":6,"x":-0.08,"y":2.57},{"time":6.2333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0},{"time":0.7,"angle":-6.22},{"time":0.9666,"angle":-6.62},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0},{"time":1.8666,"angle":-6.22},{"time":2.1333,"angle":-6.62},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0},{"time":4.5333,"angle":-6.62},{"time":4.7333,"angle":-6.22},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0},{"time":5.4666,"angle":-6.62},{"time":5.6666,"angle":-6.22},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":3.69,"y":4.44},{"time":0.9666,"x":2.57,"y":3.63},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":3.69,"y":4.44},{"time":2.1333,"x":2.57,"y":3.63},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0},{"time":4.5333,"x":2.57,"y":3.63},{"time":4.7333,"x":3.69,"y":4.44},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0},{"time":5.4666,"x":2.57,"y":3.63},{"time":5.6666,"x":3.69,"y":4.44},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3,"x":0,"y":0.18},{"time":0.4333,"x":0,"y":2.02},{"time":0.7,"x":0,"y":-5.95},{"time":0.9666,"x":0,"y":0.18},{"time":1.2333,"x":0,"y":-5.95},{"time":1.4333,"x":0,"y":0.18},{"time":1.5666,"x":0,"y":2.02},{"time":1.8666,"x":0,"y":-5.95},{"time":2.1333,"x":0,"y":0.18},{"time":2.3666,"x":0,"y":-5.95},{"time":2.7,"x":0,"y":9.35},{"time":3.0333,"x":0,"y":-5.95},{"time":3.3666,"x":0,"y":9.35},{"time":3.6666,"x":0,"y":-5.95},{"time":4.0333,"x":0,"y":9.35},{"time":4.3333,"x":0,"y":-5.95},{"time":4.5333,"x":0,"y":0.18},{"time":4.7333,"x":0,"y":-5.95},{"time":4.9333,"x":0,"y":2.02},{"time":5.0666,"x":0,"y":0.18},{"time":5.2333,"x":0,"y":-5.95},{"time":5.4666,"x":0,"y":0.18},{"time":5.6666,"x":0,"y":-5.95},{"time":5.8666,"x":0,"y":2.02},{"time":6,"x":0,"y":0.18},{"time":6.2333,"x":0,"y":-5.95}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3,"angle":1.47},{"time":0.4333,"angle":0.13},{"time":0.7,"angle":7.87},{"time":0.9666,"angle":14.22},{"time":1.2333,"angle":12.56},{"time":1.4333,"angle":1.47},{"time":1.5666,"angle":0.13},{"time":1.8666,"angle":7.87},{"time":2.1333,"angle":64.41},{"time":2.3666,"angle":4.29},{"time":2.7,"angle":-3.89},{"time":3.0333,"angle":23.04},{"time":3.3666,"angle":-3.89},{"time":3.6666,"angle":23.04},{"time":4.0333,"angle":-3.89},{"time":4.3333,"angle":23.04},{"time":4.5333,"angle":64.41},{"time":4.7333,"angle":7.87},{"time":4.9333,"angle":0.13},{"time":5.0666,"angle":1.47},{"time":5.2333,"angle":12.56},{"time":5.4666,"angle":14.22},{"time":5.6666,"angle":7.87},{"time":5.8666,"angle":0.13},{"time":6,"angle":1.47},{"time":6.2333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4333,"x":-2.01,"y":0.12},{"time":0.7,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":0.9666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":1.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.5666,"x":-2.01,"y":0.12},{"time":1.8666,"x":4.27,"y":-0.8},{"time":2.1333,"x":6.73,"y":-4.97},{"time":2.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":2.7,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.6666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.3333,"x":0.2,"y":0.24},{"time":4.5333,"x":6.73,"y":-4.97},{"time":4.7333,"x":4.27,"y":-0.8},{"time":4.9333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.0666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.4666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":5.6666,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":5.8666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6.2333,"x":-2.01,"y":0.12}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17},{"time":6.2333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":-2.55,"y":0},{"time":0.9666,"x":-0.58,"y":0},{"time":1.2333,"x":-2.55,"y":0},{"time":1.4333,"x":-0.58,"y":0},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":-2.55,"y":0},{"time":2.1333,"x":-0.58,"y":0},{"time":2.3666,"x":-2.55,"y":0},{"time":2.7,"x":0,"y":0},{"time":3.0333,"x":-2.55,"y":0},{"time":3.3666,"x":0,"y":0},{"time":3.6666,"x":-2.55,"y":0},{"time":4.0333,"x":0,"y":0},{"time":4.3333,"x":-2.55,"y":0},{"time":4.5333,"x":-0.58,"y":0},{"time":4.7333,"x":-2.55,"y":0},{"time":4.9333,"x":0,"y":0},{"time":5.0666,"x":-0.58,"y":0},{"time":5.2333,"x":-2.55,"y":0},{"time":5.4666,"x":-0.58,"y":0},{"time":5.6666,"x":-2.55,"y":0},{"time":5.8666,"x":0,"y":0},{"time":6,"x":-0.58,"y":0},{"time":6.2333,"x":-2.55,"y":0}]},"other3":{"rotate":[{"time":0.3,"angle":213.99},{"time":0.4333,"angle":212.86},{"time":0.5666,"angle":243.29},{"time":0.7,"angle":-80.37},{"time":0.9666,"angle":-1.51,"curve":"stepped"},{"time":1.0666,"angle":-1.51,"curve":"stepped"},{"time":1.2333,"angle":-1.51,"curve":"stepped"},{"time":2.3666,"angle":-1.51,"curve":"stepped"},{"time":3.0333,"angle":-1.51,"curve":"stepped"},{"time":3.6666,"angle":-1.51,"curve":"stepped"},{"time":4.3333,"angle":-1.51,"curve":"stepped"},{"time":5.2333,"angle":-1.51,"curve":"stepped"},{"time":5.3666,"angle":-1.51,"curve":"stepped"},{"time":5.4666,"angle":-1.51},{"time":5.6666,"angle":-80.37},{"time":5.7666,"angle":243.29},{"time":5.8666,"angle":212.86},{"time":6,"angle":213.99}],"translate":[{"time":0,"x":-73.57,"y":-24.34},{"time":0.3,"x":-91.09,"y":-14.36},{"time":0.4333,"x":-82.7,"y":-24.93},{"time":0.5666,"x":-54.64,"y":-57.47},{"time":0.7,"x":-15.97,"y":-57.92},{"time":0.8333,"x":2.56,"y":-24.74},{"time":0.9666,"x":8.72,"y":-2.42},{"time":1.0666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.3666,"x":0,"y":0},{"time":5.4666,"x":8.72,"y":-2.42},{"time":5.5666,"x":2.64,"y":-29.02},{"time":5.6666,"x":-15.97,"y":-57.92},{"time":5.7666,"x":-54.64,"y":-57.47},{"time":5.8666,"x":-82.7,"y":-24.93},{"time":6,"x":-91.09,"y":-14.36},{"time":6.2333,"x":-73.57,"y":-24.34}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.3,"x":-37.94,"y":-11.97},{"time":0.4333,"x":-37.68,"y":-12.9},{"time":0.7,"x":-37.08,"y":-15.06},{"time":0.9666,"x":-37.94,"y":-11.97},{"time":1.2333,"x":-37.08,"y":-15.06},{"time":1.4333,"x":-37.94,"y":-11.97},{"time":1.5666,"x":-37.68,"y":-12.9},{"time":1.8666,"x":-37.08,"y":-15.06},{"time":2.1333,"x":-37.94,"y":-11.97},{"time":2.3666,"x":-2.51,"y":-18.55},{"time":2.5666,"x":-29.3,"y":-17.42},{"time":2.7,"x":-47.72,"y":-11.51},{"time":2.9,"x":-28.71,"y":-18.07},{"time":3.0333,"x":-2.51,"y":-18.55},{"time":3.2,"x":-29.3,"y":-17.42},{"time":3.3666,"x":-47.72,"y":-11.51},{"time":3.5333,"x":-28.71,"y":-18.07},{"time":3.6666,"x":-2.51,"y":-18.55},{"time":3.8666,"x":-29.3,"y":-17.42},{"time":4.0333,"x":-47.72,"y":-11.51},{"time":4.1666,"x":-28.71,"y":-18.07},{"time":4.3333,"x":-2.51,"y":-18.55},{"time":4.5333,"x":-37.94,"y":-11.97},{"time":4.7333,"x":-37.08,"y":-15.06},{"time":4.9333,"x":-37.68,"y":-12.9},{"time":5.0666,"x":-37.94,"y":-11.97},{"time":5.2333,"x":-37.08,"y":-15.06},{"time":5.4666,"x":-37.94,"y":-11.97},{"time":5.6666,"x":-37.08,"y":-15.06},{"time":5.8666,"x":-37.68,"y":-12.9},{"time":6,"x":-37.94,"y":-11.97},{"time":6.2333,"x":-37.08,"y":-15.06}]},"other2":{"rotate":[{"time":1.7333,"angle":7.53},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0}],"translate":[{"time":1.7333,"x":11.38,"y":2.75},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0},{"time":5.4666,"x":13.36,"y":3.22}]}},"drawOrder":[{"time":0.3,"offsets":[{"slot":"other3","offset":-26}]},{"time":0.5666},{"time":1.4333,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.5666,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.7333,"offsets":[{"slot":"other4","offset":1}]},{"time":2.1333},{"time":2.3666,"offsets":[{"slot":"arm1L","offset":6},{"slot":"arm2L","offset":6}]},{"time":4.5333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.8333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.9333,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.0666,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.7666,"offsets":[{"slot":"other3","offset":-26}]}]},"sem9":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":6.2333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":6.2333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]},"other2":{"attachment":[{"time":0,"name":"vikings/hat1"},{"time":0.8333,"name":null},{"time":1.7333,"name":"other/chainlet"},{"time":5.4666,"name":null},{"time":5.5666,"name":"vikings/hat1"},{"time":6.2333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.3,"name":"other/cylinder2"},{"time":6,"name":null},{"time":6.2333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.2333,"name":null},{"time":1.4333,"name":"other/sglass2"},{"time":5.0666,"name":null},{"time":6.2333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":6.2333,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-34.37},{"time":0.3,"angle":308.67},{"time":0.4333,"angle":302.88},{"time":0.7,"angle":62.84},{"time":0.9666,"angle":117.84},{"time":1.2333,"angle":-34.37},{"time":1.4333,"angle":308.67},{"time":1.5666,"angle":302.88},{"time":1.8666,"angle":62.84},{"time":2.1333,"angle":39.05},{"time":2.3666,"angle":1.42},{"time":2.7,"angle":290.57},{"time":3.0333,"angle":3.9},{"time":3.3666,"angle":290.57},{"time":3.6666,"angle":3.9},{"time":4.0333,"angle":290.57},{"time":4.3333,"angle":3.9},{"time":4.5333,"angle":39.05},{"time":4.7333,"angle":62.84},{"time":4.9333,"angle":302.88},{"time":5.0666,"angle":308.67},{"time":5.2333,"angle":-34.37},{"time":5.4666,"angle":117.84},{"time":5.6666,"angle":62.84},{"time":5.8666,"angle":302.88},{"time":6,"angle":308.67},{"time":6.2333,"angle":-34.37}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.3,"x":5.8,"y":0.24},{"time":0.4333,"x":5.58,"y":0.6},{"time":0.7,"x":4.55,"y":-2.36},{"time":0.9666,"x":33.6,"y":-1.33},{"time":1.2333,"x":5.06,"y":1.44},{"time":1.4333,"x":5.8,"y":0.24},{"time":1.5666,"x":5.58,"y":0.6},{"time":1.8666,"x":4.55,"y":-0.42},{"time":2.1333,"x":13.9,"y":5.44},{"time":2.3666,"x":6.82,"y":2.03},{"time":2.7,"x":5.59,"y":-1.65},{"time":3.0333,"x":6.82,"y":2.03},{"time":3.3666,"x":5.59,"y":-1.65},{"time":3.6666,"x":6.82,"y":2.03},{"time":4.0333,"x":5.59,"y":-1.65},{"time":4.3333,"x":6.82,"y":2.03},{"time":4.5333,"x":13.9,"y":5.44},{"time":4.7333,"x":4.55,"y":-0.42},{"time":4.9333,"x":5.58,"y":0.6},{"time":5.0666,"x":5.8,"y":0.24},{"time":5.2333,"x":5.06,"y":1.44},{"time":5.4666,"x":33.6,"y":-1.33},{"time":5.6666,"x":4.55,"y":-2.36},{"time":5.8666,"x":5.58,"y":0.6},{"time":6,"x":5.8,"y":0.24},{"time":6.2333,"x":5.06,"y":1.44}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"other4":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0},{"time":1.4333,"angle":220.41},{"time":1.5666,"angle":233.52},{"time":1.8666,"angle":-14.23},{"time":2.1333,"angle":358.59},{"time":2.3666,"angle":360,"curve":"stepped"},{"time":3.0333,"angle":360,"curve":"stepped"},{"time":3.6666,"angle":360,"curve":"stepped"},{"time":4.3333,"angle":360},{"time":4.5333,"angle":358.59},{"time":4.7333,"angle":-14.23},{"time":4.9333,"angle":233.52},{"time":5.0666,"angle":220.41},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0},{"time":1.4333,"x":-43.21,"y":-53.89},{"time":1.5666,"x":-32.82,"y":-62.21},{"time":1.7333,"x":-14.9,"y":-62.86},{"time":1.8666,"x":3.68,"y":-40},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0},{"time":4.7333,"x":3.68,"y":-40},{"time":4.8333,"x":-14.9,"y":-62.86},{"time":4.9333,"x":-32.82,"y":-62.21},{"time":5.0666,"x":-43.21,"y":-53.89},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3,"angle":1.57},{"time":0.4333,"angle":1.1},{"time":0.7,"angle":0},{"time":0.9666,"angle":1.57},{"time":1.2333,"angle":0},{"time":1.4333,"angle":1.57},{"time":1.5666,"angle":1.1},{"time":1.8666,"angle":0},{"time":2.1333,"angle":1.57},{"time":2.3666,"angle":0},{"time":2.7,"angle":1.1},{"time":3.0333,"angle":0},{"time":3.3666,"angle":1.1},{"time":3.6666,"angle":0},{"time":4.0333,"angle":1.1},{"time":4.3333,"angle":0},{"time":4.5333,"angle":1.57},{"time":4.7333,"angle":0},{"time":4.9333,"angle":1.1},{"time":5.0666,"angle":1.57},{"time":5.2333,"angle":0},{"time":5.4666,"angle":1.57},{"time":5.6666,"angle":0},{"time":5.8666,"angle":1.1},{"time":6,"angle":1.57},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":1.51,"y":3.6},{"time":0.4333,"x":1.05,"y":2.19},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":1.51,"y":3.6},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":1.51,"y":3.6},{"time":1.5666,"x":1.05,"y":2.19},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":1.51,"y":3.6},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":1.05,"y":2.19},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":1.05,"y":2.19},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":1.05,"y":2.19},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":1.51,"y":3.6},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":1.05,"y":2.19},{"time":5.0666,"x":1.51,"y":3.6},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":1.51,"y":3.6},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":1.05,"y":2.19},{"time":6,"x":1.51,"y":3.6},{"time":6.2333,"x":0,"y":-1.09}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.7,"x":0,"y":-1.09},{"time":0.9666,"x":0,"y":1.27},{"time":1.2333,"x":0,"y":-1.09},{"time":1.4333,"x":0,"y":1.27},{"time":1.5666,"x":0,"y":0.56},{"time":1.8666,"x":0,"y":-1.09},{"time":2.1333,"x":0,"y":1.27},{"time":2.3666,"x":0,"y":-1.09},{"time":2.7,"x":0,"y":0.56},{"time":3.0333,"x":0,"y":-1.09},{"time":3.3666,"x":0,"y":0.56},{"time":3.6666,"x":0,"y":-1.09},{"time":4.0333,"x":0,"y":0.56},{"time":4.3333,"x":0,"y":-1.09},{"time":4.5333,"x":0,"y":1.27},{"time":4.7333,"x":0,"y":-1.09},{"time":4.9333,"x":0,"y":0.56},{"time":5.0666,"x":0,"y":1.27},{"time":5.2333,"x":0,"y":-1.09},{"time":5.4666,"x":0,"y":1.27},{"time":5.6666,"x":0,"y":-1.09},{"time":5.8666,"x":0,"y":0.56},{"time":6,"x":0,"y":1.27},{"time":6.2333,"x":0,"y":-1.09}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.3,"x":1.43,"y":5.29},{"time":0.4333,"x":-0.74,"y":4.03},{"time":0.7,"x":10.31,"y":3.71},{"time":0.9666,"x":10.6,"y":5.29},{"time":1.2333,"x":10.31,"y":3.71},{"time":1.4333,"x":10.6,"y":5.29},{"time":1.5666,"x":10.52,"y":4.82},{"time":1.8666,"x":10.31,"y":3.71},{"time":2.1333,"x":10.6,"y":5.29},{"time":2.3666,"x":7.57,"y":4.09},{"time":2.7,"x":10.85,"y":1.22},{"time":3.0333,"x":7.57,"y":4.09},{"time":3.3666,"x":10.85,"y":1.22},{"time":3.6666,"x":7.57,"y":4.09},{"time":4.0333,"x":10.85,"y":1.22},{"time":4.3333,"x":7.57,"y":4.09},{"time":4.5333,"x":10.6,"y":5.29},{"time":4.7333,"x":10.31,"y":3.71},{"time":4.9333,"x":10.52,"y":4.82},{"time":5.0666,"x":10.6,"y":5.29},{"time":5.2333,"x":10.31,"y":3.71},{"time":5.4666,"x":10.6,"y":5.29},{"time":5.5666,"x":7.83,"y":3.92},{"time":5.6666,"x":10.31,"y":3.71},{"time":5.8666,"x":-0.74,"y":4.03},{"time":6,"x":1.43,"y":5.29},{"time":6.2333,"x":10.31,"y":3.71}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.3,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":0.9666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.4333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.5666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":1.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.1333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":2.7,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.3666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":3.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.0333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.3333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.5333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.7333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":4.9333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.0666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.2333,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.4666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.6666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":5.8666,"x":-0.08,"y":2.57,"curve":"stepped"},{"time":6,"x":-0.08,"y":2.57},{"time":6.2333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.7,"x":1.09,"y":0},{"time":0.9666,"x":-1.27,"y":0},{"time":1.2333,"x":1.09,"y":0},{"time":1.4333,"x":-1.27,"y":0},{"time":1.5666,"x":-0.56,"y":0},{"time":1.8666,"x":1.09,"y":0},{"time":2.1333,"x":-1.27,"y":0},{"time":2.3666,"x":1.09,"y":0},{"time":2.7,"x":-0.56,"y":0},{"time":3.0333,"x":1.09,"y":0},{"time":3.3666,"x":-0.56,"y":0},{"time":3.6666,"x":1.09,"y":0},{"time":4.0333,"x":-0.56,"y":0},{"time":4.3333,"x":1.09,"y":0},{"time":4.5333,"x":-1.27,"y":0},{"time":4.7333,"x":1.09,"y":0},{"time":4.9333,"x":-0.56,"y":0},{"time":5.0666,"x":-1.27,"y":0},{"time":5.2333,"x":1.09,"y":0},{"time":5.4666,"x":-1.27,"y":0},{"time":5.6666,"x":1.09,"y":0},{"time":5.8666,"x":-0.56,"y":0},{"time":6,"x":-1.27,"y":0},{"time":6.2333,"x":1.09,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"other":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0},{"time":0.7,"angle":-6.22},{"time":0.9666,"angle":-6.62},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0},{"time":1.8666,"angle":-6.22},{"time":2.1333,"angle":-6.62},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0},{"time":4.5333,"angle":-6.62},{"time":4.7333,"angle":-6.22},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0},{"time":5.4666,"angle":-6.62},{"time":5.6666,"angle":-6.22},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":3.69,"y":4.44},{"time":0.9666,"x":2.57,"y":3.63},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":3.69,"y":4.44},{"time":2.1333,"x":2.57,"y":3.63},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0},{"time":4.5333,"x":2.57,"y":3.63},{"time":4.7333,"x":3.69,"y":4.44},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0},{"time":5.4666,"x":2.57,"y":3.63},{"time":5.6666,"x":3.69,"y":4.44},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3,"x":0,"y":0.18},{"time":0.4333,"x":0,"y":2.02},{"time":0.7,"x":0,"y":-5.95},{"time":0.9666,"x":0,"y":0.18},{"time":1.2333,"x":0,"y":-5.95},{"time":1.4333,"x":0,"y":0.18},{"time":1.5666,"x":0,"y":2.02},{"time":1.8666,"x":0,"y":-5.95},{"time":2.1333,"x":0,"y":0.18},{"time":2.3666,"x":0,"y":-5.95},{"time":2.7,"x":0,"y":9.35},{"time":3.0333,"x":0,"y":-5.95},{"time":3.3666,"x":0,"y":9.35},{"time":3.6666,"x":0,"y":-5.95},{"time":4.0333,"x":0,"y":9.35},{"time":4.3333,"x":0,"y":-5.95},{"time":4.5333,"x":0,"y":0.18},{"time":4.7333,"x":0,"y":-5.95},{"time":4.9333,"x":0,"y":2.02},{"time":5.0666,"x":0,"y":0.18},{"time":5.2333,"x":0,"y":-5.95},{"time":5.4666,"x":0,"y":0.18},{"time":5.6666,"x":0,"y":-5.95},{"time":5.8666,"x":0,"y":2.02},{"time":6,"x":0,"y":0.18},{"time":6.2333,"x":0,"y":-5.95}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3,"angle":1.47},{"time":0.4333,"angle":0.13},{"time":0.7,"angle":7.87},{"time":0.9666,"angle":14.22},{"time":1.2333,"angle":12.56},{"time":1.4333,"angle":1.47},{"time":1.5666,"angle":0.13},{"time":1.8666,"angle":7.87},{"time":2.1333,"angle":64.41},{"time":2.3666,"angle":4.29},{"time":2.7,"angle":-3.89},{"time":3.0333,"angle":23.04},{"time":3.3666,"angle":-3.89},{"time":3.6666,"angle":23.04},{"time":4.0333,"angle":-3.89},{"time":4.3333,"angle":23.04},{"time":4.5333,"angle":64.41},{"time":4.7333,"angle":7.87},{"time":4.9333,"angle":0.13},{"time":5.0666,"angle":1.47},{"time":5.2333,"angle":12.56},{"time":5.4666,"angle":14.22},{"time":5.6666,"angle":7.87},{"time":5.8666,"angle":0.13},{"time":6,"angle":1.47},{"time":6.2333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4333,"x":-2.01,"y":0.12},{"time":0.7,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":0.9666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":1.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.5666,"x":-2.01,"y":0.12},{"time":1.8666,"x":4.27,"y":-0.8},{"time":2.1333,"x":6.73,"y":-4.97},{"time":2.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":2.7,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.3666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":3.6666,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.0333,"x":0.2,"y":0.24,"curve":"stepped"},{"time":4.3333,"x":0.2,"y":0.24},{"time":4.5333,"x":6.73,"y":-4.97},{"time":4.7333,"x":4.27,"y":-0.8},{"time":4.9333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.0666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":5.4666,"x":3.44,"y":-1.41,"curve":"stepped"},{"time":5.6666,"x":4.27,"y":-0.8,"curve":"stepped"},{"time":5.8666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":6.2333,"x":-2.01,"y":0.12}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.3,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":0.4333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":0.7,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":0.9666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":1.4333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":1.5666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":1.8666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.1333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":2.3666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":2.7,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.0333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":3.3666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":3.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.0333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":4.3333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.5333,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":4.7333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":4.9333,"x":0.04,"y":2.34,"curve":"stepped"},{"time":5.0666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.2333,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.4666,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":5.6666,"x":-0.06,"y":2.17,"curve":"stepped"},{"time":5.8666,"x":0.04,"y":2.34,"curve":"stepped"},{"time":6,"x":-0.01,"y":2.17,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-0.16,"y":5.31},{"time":0.3,"x":-1.45,"y":4.4},{"time":0.4333,"x":-4.31,"y":4.35},{"time":0.7,"x":3.65,"y":3.13},{"time":0.9666,"x":7.51,"y":5.86},{"time":1.2333,"x":-0.16,"y":5.31},{"time":1.4333,"x":-1.45,"y":4.4},{"time":1.5666,"x":-4.31,"y":4.35},{"time":1.8666,"x":3.65,"y":3.13},{"time":2.1333,"x":7.51,"y":5.86},{"time":2.3666,"x":-0.16,"y":5.31},{"time":2.7,"x":0.1,"y":5.29},{"time":3.0333,"x":-0.16,"y":5.31},{"time":3.3666,"x":0.1,"y":5.29},{"time":3.6666,"x":-0.16,"y":5.31},{"time":4.0333,"x":0.1,"y":5.29},{"time":4.3333,"x":-0.16,"y":5.31},{"time":4.5333,"x":1.66,"y":5.82},{"time":4.7333,"x":-0.63,"y":3},{"time":4.9333,"x":-4.31,"y":4.35},{"time":5.0666,"x":-1.45,"y":4.4},{"time":5.2333,"x":-0.16,"y":5.31},{"time":5.4666,"x":7.51,"y":5.86},{"time":5.6666,"x":3.65,"y":3.13},{"time":5.8666,"x":-4.31,"y":4.35},{"time":6,"x":-1.45,"y":4.4},{"time":6.2333,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.7,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":1.4333,"x":0,"y":0,"curve":"stepped"},{"time":1.5666,"x":0,"y":0,"curve":"stepped"},{"time":1.8666,"x":0,"y":0,"curve":"stepped"},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":2.7,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.0333,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":4.5333,"x":0,"y":0,"curve":"stepped"},{"time":4.7333,"x":0,"y":0,"curve":"stepped"},{"time":4.9333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.4666,"x":0,"y":0,"curve":"stepped"},{"time":5.6666,"x":0,"y":0,"curve":"stepped"},{"time":5.8666,"x":0,"y":0,"curve":"stepped"},{"time":6,"x":0,"y":0,"curve":"stepped"},{"time":6.2333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.7,"x":-2.55,"y":0},{"time":0.9666,"x":-0.58,"y":0},{"time":1.2333,"x":-2.55,"y":0},{"time":1.4333,"x":-0.58,"y":0},{"time":1.5666,"x":0,"y":0},{"time":1.8666,"x":-2.55,"y":0},{"time":2.1333,"x":-0.58,"y":0},{"time":2.3666,"x":-2.55,"y":0},{"time":2.7,"x":0,"y":0},{"time":3.0333,"x":-2.55,"y":0},{"time":3.3666,"x":0,"y":0},{"time":3.6666,"x":-2.55,"y":0},{"time":4.0333,"x":0,"y":0},{"time":4.3333,"x":-2.55,"y":0},{"time":4.5333,"x":-0.58,"y":0},{"time":4.7333,"x":-2.55,"y":0},{"time":4.9333,"x":0,"y":0},{"time":5.0666,"x":-0.58,"y":0},{"time":5.2333,"x":-2.55,"y":0},{"time":5.4666,"x":-0.58,"y":0},{"time":5.6666,"x":-2.55,"y":0},{"time":5.8666,"x":0,"y":0},{"time":6,"x":-0.58,"y":0},{"time":6.2333,"x":-2.55,"y":0}]},"other3":{"rotate":[{"time":0.3,"angle":213.99},{"time":0.4333,"angle":212.86},{"time":0.5666,"angle":243.29},{"time":0.7,"angle":-80.37},{"time":0.9666,"angle":-1.51,"curve":"stepped"},{"time":1.0666,"angle":-1.51,"curve":"stepped"},{"time":1.2333,"angle":-1.51,"curve":"stepped"},{"time":2.3666,"angle":-1.51,"curve":"stepped"},{"time":3.0333,"angle":-1.51,"curve":"stepped"},{"time":3.6666,"angle":-1.51,"curve":"stepped"},{"time":4.3333,"angle":-1.51,"curve":"stepped"},{"time":5.2333,"angle":-1.51,"curve":"stepped"},{"time":5.3666,"angle":-1.51,"curve":"stepped"},{"time":5.4666,"angle":-1.51},{"time":5.6666,"angle":-80.37},{"time":5.7666,"angle":243.29},{"time":5.8666,"angle":212.86},{"time":6,"angle":213.99}],"translate":[{"time":0,"x":-73.57,"y":-24.34},{"time":0.3,"x":-91.09,"y":-14.36},{"time":0.4333,"x":-82.7,"y":-24.93},{"time":0.5666,"x":-54.64,"y":-57.47},{"time":0.7,"x":-15.97,"y":-57.92},{"time":0.8333,"x":2.56,"y":-24.74},{"time":0.9666,"x":8.72,"y":-2.42},{"time":1.0666,"x":0,"y":0,"curve":"stepped"},{"time":1.2333,"x":0,"y":0,"curve":"stepped"},{"time":2.3666,"x":0,"y":0,"curve":"stepped"},{"time":3.0333,"x":0,"y":0,"curve":"stepped"},{"time":3.6666,"x":0,"y":0,"curve":"stepped"},{"time":4.3333,"x":0,"y":0,"curve":"stepped"},{"time":5.2333,"x":0,"y":0,"curve":"stepped"},{"time":5.3666,"x":0,"y":0},{"time":5.4666,"x":8.72,"y":-2.42},{"time":5.5666,"x":2.56,"y":-24.74},{"time":5.6666,"x":-15.97,"y":-57.92},{"time":5.7666,"x":-54.64,"y":-57.47},{"time":5.8666,"x":-82.7,"y":-24.93},{"time":6,"x":-91.09,"y":-14.36},{"time":6.2333,"x":-73.57,"y":-24.34}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.7,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0,"curve":"stepped"},{"time":1.2333,"angle":0,"curve":"stepped"},{"time":1.4333,"angle":0,"curve":"stepped"},{"time":1.5666,"angle":0,"curve":"stepped"},{"time":1.8666,"angle":0,"curve":"stepped"},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":2.3666,"angle":0,"curve":"stepped"},{"time":2.7,"angle":0,"curve":"stepped"},{"time":3.0333,"angle":0,"curve":"stepped"},{"time":3.3666,"angle":0,"curve":"stepped"},{"time":3.6666,"angle":0,"curve":"stepped"},{"time":4.0333,"angle":0,"curve":"stepped"},{"time":4.3333,"angle":0,"curve":"stepped"},{"time":4.5333,"angle":0,"curve":"stepped"},{"time":4.7333,"angle":0,"curve":"stepped"},{"time":4.9333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.2333,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0,"curve":"stepped"},{"time":5.6666,"angle":0,"curve":"stepped"},{"time":5.8666,"angle":0,"curve":"stepped"},{"time":6,"angle":0,"curve":"stepped"},{"time":6.2333,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.1,"x":-18.18,"y":-8.02},{"time":0.3,"x":-8.86,"y":9.5},{"time":0.4333,"x":-24.32,"y":23.51},{"time":0.7,"x":-18.47,"y":-3.53},{"time":0.8333,"x":-26.77,"y":-12.64},{"time":0.9666,"x":-37.94,"y":-11.97},{"time":1.2333,"x":-37.08,"y":-15.06},{"time":1.4333,"x":-37.94,"y":-11.97},{"time":1.5666,"x":-37.68,"y":-12.9},{"time":1.8666,"x":-37.08,"y":-15.06},{"time":2.1333,"x":-37.94,"y":-11.97},{"time":2.3666,"x":-2.51,"y":-18.55},{"time":2.5666,"x":-29.3,"y":-17.42},{"time":2.7,"x":-47.72,"y":-11.51},{"time":2.9,"x":-28.71,"y":-18.07},{"time":3.0333,"x":-2.51,"y":-18.55},{"time":3.2,"x":-29.3,"y":-17.42},{"time":3.3666,"x":-47.72,"y":-11.51},{"time":3.5333,"x":-28.71,"y":-18.07},{"time":3.6666,"x":-2.51,"y":-18.55},{"time":3.8666,"x":-29.3,"y":-17.42},{"time":4.0333,"x":-47.72,"y":-11.51},{"time":4.1666,"x":-28.71,"y":-18.07},{"time":4.3333,"x":-2.51,"y":-18.55},{"time":4.5333,"x":-37.94,"y":-11.97},{"time":4.7333,"x":-37.08,"y":-15.06},{"time":4.9333,"x":-37.68,"y":-12.9},{"time":5.0666,"x":-37.94,"y":-11.97},{"time":5.2333,"x":-37.08,"y":-15.06},{"time":5.4666,"x":-37.94,"y":-11.97},{"time":5.5666,"x":-39.32,"y":-15.27},{"time":5.6666,"x":-21.98,"y":-4.99},{"time":5.8666,"x":-24.32,"y":23.51},{"time":6,"x":-8.86,"y":9.5},{"time":6.1333,"x":-18.18,"y":-8.02},{"time":6.2333,"x":-37.08,"y":-15.06}]},"other2":{"rotate":[{"time":0,"angle":2.2},{"time":0.3,"angle":8.85},{"time":0.5666,"angle":55.16},{"time":0.7,"angle":114.33},{"time":0.8333,"angle":140.45},{"time":1.7333,"angle":7.53},{"time":2.1333,"angle":0,"curve":"stepped"},{"time":5.0666,"angle":0,"curve":"stepped"},{"time":5.4666,"angle":0},{"time":5.5666,"angle":140.45},{"time":5.6666,"angle":114.33},{"time":5.7666,"angle":55.16},{"time":6,"angle":8.85}],"translate":[{"time":0,"x":39.48,"y":-1.21},{"time":0.3,"x":42.08,"y":0.62},{"time":0.4333,"x":42.85,"y":4.73},{"time":0.5666,"x":34.65,"y":10.1},{"time":0.7,"x":9.04,"y":26.59},{"time":0.8333,"x":-44.69,"y":23.66},{"time":1.7333,"x":11.38,"y":2.75},{"time":2.1333,"x":0,"y":0,"curve":"stepped"},{"time":5.0666,"x":0,"y":0},{"time":5.4666,"x":13.36,"y":3.22},{"time":5.5666,"x":-44.69,"y":23.66},{"time":5.6666,"x":9.04,"y":26.59},{"time":5.7666,"x":34.65,"y":10.1},{"time":5.8666,"x":42.85,"y":4.73},{"time":6,"x":42.08,"y":0.62}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"other2","offset":9}]},{"time":0.3,"offsets":[{"slot":"other2","offset":10},{"slot":"other3","offset":-26}]},{"time":0.5666,"offsets":[{"slot":"other2","offset":18}]},{"time":1.4333,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.5666,"offsets":[{"slot":"other4","offset":-16}]},{"time":1.7333,"offsets":[{"slot":"other4","offset":1}]},{"time":2.1333},{"time":2.3666,"offsets":[{"slot":"arm1L","offset":6},{"slot":"arm2L","offset":6}]},{"time":4.5333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.8333,"offsets":[{"slot":"other4","offset":1}]},{"time":4.9333,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.0666,"offsets":[{"slot":"other4","offset":-16}]},{"time":5.5666,"offsets":[{"slot":"other2","offset":18},{"slot":"other4","offset":-16}]},{"time":5.7666,"offsets":[{"slot":"other2","offset":19},{"slot":"other3","offset":-26}]},{"time":6,"offsets":[{"slot":"other2","offset":10},{"slot":"other3","offset":-26}]}]},"sheild":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.3333,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":1.3333,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.7,"name":"eyelid1"},{"time":0.7333,"name":"eyelid2"},{"time":0.8,"name":"eyelid3"},{"time":0.9,"name":"eyelid2"},{"time":0.9333,"name":"eyelid1"},{"time":0.9666,"name":null},{"time":1.3333,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.3333,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildbig"},{"time":1.3333,"name":"gun/sheildbig"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":61,"curve":"stepped"},{"time":0.3333,"angle":61,"curve":"stepped"},{"time":0.4333,"angle":61,"curve":"stepped"},{"time":0.6666,"angle":61,"curve":"stepped"},{"time":1,"angle":61,"curve":"stepped"},{"time":1.1,"angle":61,"curve":"stepped"},{"time":1.3333,"angle":61}],"translate":[{"time":0,"x":3.36,"y":-0.2},{"time":0.3333,"x":2.75,"y":0.23},{"time":0.4333,"x":2.29,"y":-0.5},{"time":0.6666,"x":3.36,"y":-0.2},{"time":1,"x":2.75,"y":0.23},{"time":1.1,"x":2.29,"y":-0.5},{"time":1.3333,"x":3.36,"y":-0.2}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.3333,"angle":20.68},{"time":0.4333,"angle":18.24},{"time":0.6666,"angle":12.56},{"time":1,"angle":20.68},{"time":1.1,"angle":18.24},{"time":1.3333,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.6666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.1,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":1.3333,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.3333,"x":-0.58,"y":0},{"time":0.4333,"x":0,"y":0},{"time":0.6666,"x":-2.55,"y":0},{"time":1,"x":-0.58,"y":0},{"time":1.1,"x":0,"y":0},{"time":1.3333,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":22},{"time":0.3333,"angle":26},{"time":0.4333,"angle":27},{"time":0.6666,"angle":22},{"time":1,"angle":26},{"time":1.1,"angle":27},{"time":1.3333,"angle":22}],"translate":[{"time":0,"x":11,"y":37.4},{"time":0.3333,"x":11,"y":42.4},{"time":0.4333,"x":10,"y":42.4},{"time":0.6666,"x":11,"y":37.4},{"time":1,"x":11,"y":42.4},{"time":1.1,"x":10,"y":42.4},{"time":1.3333,"x":11,"y":37.4}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3333,"x":0,"y":1.27},{"time":0.4333,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09},{"time":1,"x":0,"y":1.27},{"time":1.1,"x":0,"y":0.56},{"time":1.3333,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.3333,"x":0,"y":0.18},{"time":0.4333,"x":0,"y":2.02},{"time":0.6666,"x":0,"y":-5.95},{"time":1,"x":0,"y":0.18},{"time":1.1,"x":0,"y":2.02},{"time":1.3333,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-2.79,"y":10.79},{"time":0.3333,"x":-2.8,"y":15.36},{"time":0.4333,"x":-2.8,"y":13.79},{"time":0.6666,"x":-2.8,"y":10.79},{"time":1,"x":-2.8,"y":15.36},{"time":1.1,"x":-2.8,"y":13.79},{"time":1.3333,"x":-2.8,"y":10.79}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":-1.1,"y":-1.09},{"time":0.3333,"x":-0.47,"y":-1.09},{"time":0.4333,"x":-0.76,"y":-1.09},{"time":0.6666,"x":-1.1,"y":-1.09},{"time":1,"x":-0.47,"y":-1.09},{"time":1.1,"x":-0.76,"y":-1.09},{"time":1.3333,"x":-1.1,"y":-1.09}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3333,"x":-1.27,"y":0},{"time":0.4333,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0},{"time":1,"x":-1.27,"y":0},{"time":1.1,"x":-0.56,"y":0},{"time":1.3333,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3333,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0,"curve":"stepped"},{"time":1,"angle":0,"curve":"stepped"},{"time":1.1,"angle":0,"curve":"stepped"},{"time":1.3333,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3333,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0,"curve":"stepped"},{"time":1,"x":0,"y":0,"curve":"stepped"},{"time":1.1,"x":0,"y":0,"curve":"stepped"},{"time":1.3333,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"sheildbig","offset":30}]}]},"sheildoff":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.5,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.5,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildbig"},{"time":0.2333,"name":"gun/sheildsmall"},{"time":0.5,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":61},{"time":0.2333,"angle":39.48},{"time":0.3666,"angle":9.18},{"time":0.5,"angle":-23.59}],"translate":[{"time":0,"x":3.36,"y":-0.2},{"time":0.2333,"x":4.57,"y":-0.4},{"time":0.3666,"x":4.45,"y":-0.76},{"time":0.5,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56},{"time":0.2333,"angle":18.24},{"time":0.3666,"angle":20.68},{"time":0.5,"angle":17.66}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.5,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.2333,"x":0,"y":0},{"time":0.3666,"x":-0.58,"y":0},{"time":0.5,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":22},{"time":0.2333,"angle":2.81},{"time":0.3666,"angle":-6.22},{"time":0.5,"angle":-4.91}],"translate":[{"time":0,"x":11,"y":37.4},{"time":0.2333,"x":16.17,"y":21.01},{"time":0.3666,"x":11.92,"y":5.95},{"time":0.5,"x":3.36,"y":-1.43}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":0,"y":0.56},{"time":0.3666,"x":0,"y":1.27},{"time":0.5,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.2333,"x":0,"y":2.02},{"time":0.3666,"x":0,"y":0.18},{"time":0.5,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-2.79,"y":10.79},{"time":0.2333,"x":-1.73,"y":2.89},{"time":0.3666,"x":-7.7,"y":-8.61},{"time":0.5,"x":-33.38,"y":-15.4}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-1.1,"y":-1.09},{"time":0.2333,"x":-2.76,"y":-1.09},{"time":0.3666,"x":3.88,"y":-0.41},{"time":0.5,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-0.56,"y":0},{"time":0.3666,"x":-1.27,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-0.56,"y":0},{"time":0.3666,"x":-1.27,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"sheildbig","offset":30}]},{"time":0.2333}]},"sheildon":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.5,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.5,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.5,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":0.3666,"name":"gun/sheildbig"},{"time":0.5,"name":"gun/sheildbig"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":-23.59},{"time":0.2333,"angle":9.18},{"time":0.3666,"angle":39.48},{"time":0.5,"angle":61}],"translate":[{"time":0,"x":5.06,"y":1.44},{"time":0.2333,"x":4.45,"y":-0.76},{"time":0.3666,"x":4.57,"y":-0.4},{"time":0.5,"x":3.36,"y":-0.2}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":17.66},{"time":0.2333,"angle":20.68},{"time":0.3666,"angle":18.24},{"time":0.5,"angle":12.56}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.2333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.3666,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.5,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.2333,"x":-0.58,"y":0},{"time":0.3666,"x":0,"y":0},{"time":0.5,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":-4.91},{"time":0.2333,"angle":-6.22},{"time":0.3666,"angle":2.81},{"time":0.5,"angle":22}],"translate":[{"time":0,"x":3.36,"y":-1.43},{"time":0.2333,"x":11.92,"y":5.95},{"time":0.3666,"x":16.17,"y":21.01},{"time":0.5,"x":11,"y":37.4}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.2333,"x":0,"y":1.27},{"time":0.3666,"x":0,"y":0.56},{"time":0.5,"x":0,"y":-1.09}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":-5.95},{"time":0.2333,"x":0,"y":0.18},{"time":0.3666,"x":0,"y":2.02},{"time":0.5,"x":0,"y":-5.95}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":-33.38,"y":-15.4},{"time":0.2333,"x":-7.7,"y":-8.61},{"time":0.3666,"x":-1.73,"y":2.89},{"time":0.5,"x":-2.79,"y":10.79}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.2333,"x":3.88,"y":-0.41},{"time":0.3666,"x":-2.76,"y":-1.09},{"time":0.5,"x":-1.1,"y":-1.09}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3666,"x":-0.56,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2333,"x":-1.27,"y":0},{"time":0.3666,"x":-0.56,"y":0},{"time":0.5,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2333,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.5,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2333,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.5,"x":0,"y":0}]}},"drawOrder":[{"time":0.3666,"offsets":[{"slot":"sheildbig","offset":30}]},{"time":0.5,"offsets":[{"slot":"sheildbig","offset":30}]}]},"shoot":{"slots":{"arm1L":{"attachment":[{"time":0,"name":null}]},"arm1X":{"attachment":[{"time":0,"name":"arm1X"}]},"arm2L":{"attachment":[{"time":0,"name":null}]},"arm2X":{"attachment":[{"time":0,"name":"arm2X"}]},"eyelid":{"attachment":[{"time":0,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":0.6666,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0.13,"y":0.95},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.07,"y":6.37},{"time":0.3666,"x":-0.58,"y":0.48},{"time":0.4666,"x":0,"y":0},{"time":0.6666,"x":-1.48,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-351.26},{"time":0.3666,"angle":-357.28},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-4.84,"y":0.89},{"time":0.3666,"x":-0.7,"y":-0.02},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":8.21},{"time":0.3666,"angle":2.8},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.19,"y":-1.09},{"time":0.3666,"x":0,"y":1.27},{"time":0.4666,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-0.1,"y":3.27},{"time":0.3666,"x":0,"y":3.4},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-3.79,"y":0.26},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-13.33,"y":1.54},{"time":0.3666,"x":-3.64,"y":0},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":2.26,"y":-1.78},{"time":0.3666,"x":-0.8,"y":-0.01},{"time":0.4666,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-0.3,"y":-1.58},{"time":0.3666,"x":-1.68,"y":0.01},{"time":0.4666,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]}}},"shoot2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.6666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.6666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":0.4,"name":null},{"time":0.6666,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":18.52},{"time":0.2,"angle":105.5},{"time":0.3,"angle":120.75},{"time":0.4333,"angle":18.52},{"time":0.6666,"angle":325.63}],"translate":[{"time":0,"x":0.3,"y":-1.22,"curve":"stepped"},{"time":0.3,"x":0.3,"y":-1.22},{"time":0.4333,"x":-0.73,"y":-1.81},{"time":0.6666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":12.56,"curve":"stepped"},{"time":0.3,"angle":12.56,"curve":"stepped"},{"time":0.4333,"angle":12.56,"curve":"stepped"},{"time":0.6666,"angle":12.56}],"translate":[{"time":0,"x":1.57,"y":0.25,"curve":"stepped"},{"time":0.3,"x":1.57,"y":0.25},{"time":0.4333,"x":4.16,"y":-0.63},{"time":0.6666,"x":-2.01,"y":0.11}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-2.55,"y":0},{"time":0.2,"x":-2.44,"y":1.18},{"time":0.3,"x":-1.99,"y":3.88},{"time":0.4333,"x":-1.95,"y":-2.67},{"time":0.6666,"x":-2.55,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-188.6},{"time":0.1,"angle":-507.36},{"time":0.2,"angle":-461.54},{"time":0.3,"angle":-453.67},{"time":0.4333,"angle":-188.6,"curve":"stepped"},{"time":0.6666,"angle":-188.6}],"translate":[{"time":0,"x":-12.63,"y":44.5},{"time":0.1,"x":-31.9,"y":45.81},{"time":0.2,"x":-46.41,"y":36.33},{"time":0.3,"x":-49.72,"y":24.74},{"time":0.4333,"x":-12.63,"y":44.5,"curve":"stepped"},{"time":0.6666,"x":-12.63,"y":44.5}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.4333,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.6666,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0},{"time":0.2,"angle":4.99},{"time":0.3,"angle":9.56},{"time":0.4333,"angle":-12.6},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09,"curve":"stepped"},{"time":0.2,"x":0,"y":-1.09},{"time":0.3,"x":-1.54,"y":-0.17},{"time":0.4333,"x":3.51,"y":-1.09},{"time":0.6666,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-37.08,"y":-15.06},{"time":0.2,"x":-41.06,"y":-15.86,"curve":"stepped"},{"time":0.3,"x":-41.06,"y":-15.86},{"time":0.4333,"x":-37.45,"y":-8.6},{"time":0.6666,"x":-37.08,"y":-15.06}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71},{"time":0.2,"x":10.41,"y":4.9,"curve":"stepped"},{"time":0.3,"x":10.41,"y":4.9},{"time":0.4333,"x":10.31,"y":3.71,"curve":"stepped"},{"time":0.6666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2,"x":1.91,"y":-0.39},{"time":0.3,"x":1.46,"y":-2.18},{"time":0.4333,"x":-1.86,"y":4.09},{"time":0.6666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2,"x":0.35,"y":-0.31},{"time":0.3,"x":-1.52,"y":-1.93},{"time":0.4333,"x":2.06,"y":4.52},{"time":0.6666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.4333,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.4333,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"gun","offset":-23}]},{"time":0.6666,"offsets":[{"slot":"gun","offset":-23}]}]},"shoot3":{"slots":{"arm1L":{"attachment":[{"time":0,"name":null}]},"arm1X":{"attachment":[{"time":0,"name":"arm1X"}]},"arm2L":{"attachment":[{"time":0,"name":null}]},"arm2X":{"attachment":[{"time":0,"name":"arm2X"}]},"eyelid":{"attachment":[{"time":0,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun2"},{"time":0.6666,"name":"gun2"}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.6666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0.13,"y":0.95},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.07,"y":6.37},{"time":0.3666,"x":-0.58,"y":0.48},{"time":0.4666,"x":0,"y":0},{"time":0.6666,"x":-1.48,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-351.26},{"time":0.3666,"angle":-357.28},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-4.84,"y":0.89},{"time":0.3666,"x":-0.7,"y":-0.02},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":8.21},{"time":0.3666,"angle":2.8},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-1.19,"y":-1.09},{"time":0.3666,"x":0,"y":1.27},{"time":0.4666,"x":0,"y":0.56},{"time":0.6666,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-0.1,"y":3.27},{"time":0.3666,"x":0,"y":3.4},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-3.79,"y":0.26},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-13.33,"y":1.54},{"time":0.3666,"x":-3.64,"y":0},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":2.26,"y":-1.78},{"time":0.3666,"x":-0.8,"y":-0.01},{"time":0.4666,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":-0.3,"y":-1.58},{"time":0.3666,"x":-1.68,"y":0.01},{"time":0.4666,"x":-0.56,"y":0},{"time":0.6666,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3666,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.6666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3666,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.6666,"x":0,"y":0}]}}},"walk":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":0.9666,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":0.9666,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"gun":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"other":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":0.9666,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":"gun/sheildsmall"},{"time":0.9666,"name":"gun/sheildsmall"}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":293.79},{"time":0.2,"angle":303.63},{"time":0.4666,"angle":-0.11},{"time":0.7333,"angle":303.63},{"time":0.9666,"angle":293.79}],"translate":[{"time":0,"x":5.06,"y":1.44,"curve":"stepped"},{"time":0.2,"x":5.06,"y":1.44},{"time":0.4666,"x":2.15,"y":0.61},{"time":0.7333,"x":5.06,"y":1.44,"curve":"stepped"},{"time":0.9666,"x":5.06,"y":1.44}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":2.1,"curve":"stepped"},{"time":0.2,"angle":2.1},{"time":0.4666,"angle":32.27},{"time":0.7333,"angle":2.1,"curve":"stepped"},{"time":0.9666,"angle":2.1}],"translate":[{"time":0,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.2,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.4666,"x":-0.94,"y":-0.36,"curve":"stepped"},{"time":0.7333,"x":-2.01,"y":0.12,"curve":"stepped"},{"time":0.9666,"x":-2.01,"y":0.12}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":-1.52,"y":-1.94},{"time":0.2,"x":-2.75,"y":0},{"time":0.4666,"x":-1.65,"y":-1.16},{"time":0.7333,"x":-2.75,"y":0},{"time":0.9666,"x":-1.52,"y":-1.94}]},"gun":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"sheildbig":{"rotate":[{"time":0,"angle":-43},{"time":0.2,"angle":-22.77},{"time":0.4666,"angle":0},{"time":0.7333,"angle":-22.77},{"time":0.9666,"angle":-43}],"translate":[{"time":0,"x":-18,"y":-2.6},{"time":0.2,"x":-6.62,"y":-5.95},{"time":0.4666,"x":10.9,"y":9.49},{"time":0.7333,"x":-6.14,"y":-6.33},{"time":0.9666,"x":-18,"y":-2.6}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":3.9},{"time":0.2,"x":0,"y":-2.5},{"time":0.4666,"x":0,"y":5.09},{"time":0.7333,"x":0,"y":-2.5},{"time":0.9666,"x":0,"y":3.9}]},"target":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":1.94,"y":-2.43},{"time":0.2,"x":0.81,"y":-3.67},{"time":0.4666,"x":2.33,"y":-1.24},{"time":0.7333,"x":0,"y":-1.21},{"time":0.9666,"x":1.94,"y":-2.43}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":-11.68,"y":-6.11},{"time":0.2,"x":-26.93,"y":-18.96},{"time":0.4666,"x":-50.88,"y":-2.9},{"time":0.7333,"x":-26.93,"y":-18.96},{"time":0.9666,"x":-11.68,"y":-6.11}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":10.31,"y":3.71,"curve":"stepped"},{"time":0.2,"x":10.31,"y":3.71,"curve":"stepped"},{"time":0.4666,"x":10.31,"y":3.71,"curve":"stepped"},{"time":0.7333,"x":10.31,"y":3.71,"curve":"stepped"},{"time":0.9666,"x":10.31,"y":3.71}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":1.96,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.2,"x":2.75,"y":0},{"time":0.3333,"x":3.18,"y":-8.04},{"time":0.4666,"x":-0.64,"y":-16.53},{"time":0.6,"x":-0.55,"y":-15.38},{"time":0.7333,"x":2.75,"y":0},{"time":0.9666,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":1.81,"y":0},{"time":0.2,"x":2.6,"y":-1.03},{"time":0.3333,"x":-3.5,"y":10.45},{"time":0.4666,"x":-4.49,"y":18.28},{"time":0.7333,"x":6.31,"y":0},{"time":0.8666,"x":7.95,"y":0},{"time":0.9666,"x":1.81,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":-9.85,"y":-0.88},{"time":0.2,"x":1.45,"y":0.79},{"time":0.3333,"x":14.04,"y":10.89},{"time":0.4666,"x":24.62,"y":23.15},{"time":0.6,"x":20.27,"y":0.04},{"time":0.7333,"x":1.45,"y":-0.25},{"time":0.9666,"x":-9.85,"y":-0.88}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":5.27,"y":17.3},{"time":0.2,"x":3.98,"y":0.09},{"time":0.3333,"x":-19.1,"y":-0.14},{"time":0.4666,"x":-31.6,"y":2.61},{"time":0.7333,"x":-2.56,"y":7.17},{"time":0.8666,"x":1.59,"y":15.33},{"time":0.9666,"x":5.27,"y":17.3}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.2,"angle":0,"curve":"stepped"},{"time":0.4666,"angle":0,"curve":"stepped"},{"time":0.7333,"angle":0,"curve":"stepped"},{"time":0.9666,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.2,"x":0,"y":0,"curve":"stepped"},{"time":0.4666,"x":0,"y":0,"curve":"stepped"},{"time":0.7333,"x":0,"y":0,"curve":"stepped"},{"time":0.9666,"x":0,"y":0}]}}},"win":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.2,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":1.2,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.6333,"name":"eyelid1"},{"time":0.6666,"name":"eyelid2"},{"time":0.7333,"name":"eyelid3"},{"time":0.8,"name":"eyelid2"},{"time":0.8333,"name":"eyelid1"},{"time":0.8666,"name":null},{"time":1.2,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":1.2,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":63.39},{"time":0.1333,"angle":63.56},{"time":0.3,"angle":50.7},{"time":0.4666,"angle":63.56},{"time":0.6,"angle":63.39},{"time":0.7666,"angle":63.56},{"time":0.9,"angle":50.7},{"time":1.0666,"angle":63.56},{"time":1.2,"angle":63.39}],"translate":[{"time":0,"x":-4.8,"y":2.12},{"time":0.3,"x":4.86,"y":-5.6},{"time":0.6,"x":-4.8,"y":2.12},{"time":0.9,"x":4.86,"y":-5.6},{"time":1.2,"x":-4.8,"y":2.12}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":36.53},{"time":0.1333,"angle":11.67},{"time":0.3,"angle":8.48},{"time":0.4666,"angle":11.67},{"time":0.6,"angle":36.53},{"time":0.7666,"angle":11.67},{"time":0.9,"angle":8.48},{"time":1.0666,"angle":11.67},{"time":1.2,"angle":36.53}],"translate":[{"time":0,"x":5.59,"y":-3.21},{"time":0.3,"x":3.28,"y":0.78},{"time":0.6,"x":5.59,"y":-3.21},{"time":0.9,"x":3.28,"y":0.78},{"time":1.2,"x":5.59,"y":-3.21}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":-3.39,"y":0},{"time":0.3,"x":0.16,"y":0},{"time":0.6,"x":-3.39,"y":0},{"time":0.9,"x":0.16,"y":0},{"time":1.2,"x":-3.39,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-345.12},{"time":0.3,"angle":-350.32},{"time":0.6,"angle":-345.12},{"time":0.9,"angle":-350.32},{"time":1.2,"angle":-345.12}],"translate":[{"time":0,"x":25.05,"y":-25.51},{"time":0.3,"x":31.31,"y":-17.14},{"time":0.6,"x":25.05,"y":-25.51},{"time":0.9,"x":31.31,"y":-17.14},{"time":1.2,"x":25.05,"y":-25.51}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3,"angle":1.57},{"time":0.6,"angle":0},{"time":0.9,"angle":1.57},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":1.51,"y":3.6},{"time":0.6,"x":0,"y":-1.09},{"time":0.9,"x":1.51,"y":3.6},{"time":1.2,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":0,"y":6.73},{"time":0.6,"x":0,"y":-1.09},{"time":0.9,"x":0,"y":6.73},{"time":1.2,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":-13.44,"y":8.97},{"time":0.3,"x":-2.21,"y":18.26},{"time":0.6,"x":-13.44,"y":8.97},{"time":0.9,"x":-2.21,"y":18.26},{"time":1.2,"x":-13.44,"y":8.97}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":3.29,"y":7.07},{"time":0.3,"x":3.22,"y":-1.55},{"time":0.6,"x":3.29,"y":7.07},{"time":0.9,"x":3.22,"y":-1.55},{"time":1.2,"x":3.29,"y":7.07}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.6,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1.2,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.6,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1.2,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"gun","offset":-23}]},{"time":1.2,"offsets":[{"slot":"gun","offset":-23}]}]},"win2":{"slots":{"arm1L":{"attachment":[{"time":0,"name":"arm1L"},{"time":1.2,"name":"arm1L"}]},"arm1X":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"arm2L":{"attachment":[{"time":0,"name":"arm2L"},{"time":1.2,"name":"arm2L"}]},"arm2X":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"eyelid":{"attachment":[{"time":0,"name":null},{"time":0.6333,"name":"eyelid1"},{"time":0.6666,"name":"eyelid2"},{"time":0.7333,"name":"eyelid3"},{"time":0.8,"name":"eyelid2"},{"time":0.8333,"name":"eyelid1"},{"time":0.8666,"name":null},{"time":1.2,"name":null}]},"eyelidone":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"face":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"gun":{"attachment":[{"time":0,"name":"gun"},{"time":1.2,"name":"gun"}]},"other":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other2":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other3":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"other4":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]},"sheildbig":{"attachment":[{"time":0,"name":null},{"time":1.2,"name":null}]}},"bones":{"arm1L":{"rotate":[{"time":0,"angle":63.39},{"time":0.1333,"angle":63.56},{"time":0.3,"angle":50.7},{"time":0.4666,"angle":63.56},{"time":0.6,"angle":63.39},{"time":0.7666,"angle":63.56},{"time":0.9,"angle":50.7},{"time":1.0666,"angle":63.56},{"time":1.2,"angle":63.39}],"translate":[{"time":0,"x":-4.8,"y":2.12},{"time":0.3,"x":4.86,"y":-5.6},{"time":0.6,"x":-4.8,"y":2.12},{"time":0.9,"x":4.86,"y":-5.6},{"time":1.2,"x":-4.8,"y":2.12}]},"arm1X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"arm2L":{"rotate":[{"time":0,"angle":36.53},{"time":0.1333,"angle":11.67},{"time":0.3,"angle":-2.09},{"time":0.4666,"angle":11.67},{"time":0.6,"angle":36.53},{"time":0.7666,"angle":11.67},{"time":0.9,"angle":-2.09},{"time":1.0666,"angle":11.67},{"time":1.2,"angle":36.53}],"translate":[{"time":0,"x":5.59,"y":-3.21},{"time":0.3,"x":3.28,"y":0.78},{"time":0.6,"x":5.59,"y":-3.21},{"time":0.9,"x":3.28,"y":0.78},{"time":1.2,"x":5.59,"y":-3.21}]},"arm2X":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"head":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":-3.39,"y":0},{"time":0.3,"x":0.16,"y":0},{"time":0.6,"x":-3.39,"y":0},{"time":0.9,"x":0.16,"y":0},{"time":1.2,"x":-3.39,"y":0}]},"gun":{"rotate":[{"time":0,"angle":-302.77},{"time":0.3,"angle":-314.51},{"time":0.6,"angle":-302.69},{"time":0.9,"angle":-314.51},{"time":1.2,"angle":-302.77}],"translate":[{"time":0,"x":17.57,"y":-42.04},{"time":0.3,"x":22.33,"y":-30.71},{"time":0.6,"x":17.58,"y":-42.04},{"time":0.9,"x":22.33,"y":-30.71},{"time":1.2,"x":17.57,"y":-42.04}]},"sheildbig":{"rotate":[{"time":0,"angle":0},{"time":0.3,"angle":1.57},{"time":0.6,"angle":0},{"time":0.9,"angle":1.57},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":1.51,"y":3.6},{"time":0.6,"x":0,"y":-1.09},{"time":0.9,"x":1.51,"y":3.6},{"time":1.2,"x":0,"y":-1.09}]},"root":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"body":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":-1.09},{"time":0.3,"x":0,"y":6.73},{"time":0.6,"x":0,"y":-1.09},{"time":0.9,"x":0,"y":6.73},{"time":1.2,"x":0,"y":-1.09}]},"targethead":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"aim":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":-13.44,"y":8.97},{"time":0.3,"x":-2.21,"y":18.26},{"time":0.6,"x":-13.44,"y":8.97},{"time":0.9,"x":-2.21,"y":18.26},{"time":1.2,"x":-13.44,"y":8.97}]},"arm1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":3.29,"y":7.07},{"time":0.3,"x":3.22,"y":-1.55},{"time":0.6,"x":3.29,"y":7.07},{"time":0.9,"x":3.22,"y":-1.55},{"time":1.2,"x":3.29,"y":7.07}]},"arm2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"armleft":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"leg1R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.6,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1.2,"x":1.09,"y":0}]},"leg2R":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"leg1L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":1.09,"y":0},{"time":0.3,"x":-1.27,"y":0},{"time":0.6,"x":1.09,"y":0},{"time":0.9,"x":-1.27,"y":0},{"time":1.2,"x":1.09,"y":0}]},"leg2L":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"browR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"browL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"eyes":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"pupilR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"pupilL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"nose":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"mouth":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"beard":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"legR":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"legL":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]},"face":{"rotate":[{"time":0,"angle":0,"curve":"stepped"},{"time":0.3,"angle":0,"curve":"stepped"},{"time":0.6,"angle":0,"curve":"stepped"},{"time":0.9,"angle":0,"curve":"stepped"},{"time":1.2,"angle":0}],"translate":[{"time":0,"x":0,"y":0,"curve":"stepped"},{"time":0.3,"x":0,"y":0,"curve":"stepped"},{"time":0.6,"x":0,"y":0,"curve":"stepped"},{"time":0.9,"x":0,"y":0,"curve":"stepped"},{"time":1.2,"x":0,"y":0}]}},"drawOrder":[{"time":0,"offsets":[{"slot":"gun","offset":-23}]},{"time":1.2,"offsets":[{"slot":"gun","offset":-23}]}]}}} \ No newline at end of file diff --git a/games/RaftWars2/assets/spine/skeleton.png b/games/RaftWars2/assets/spine/skeleton.png new file mode 100644 index 00000000..774c0eb0 Binary files /dev/null and b/games/RaftWars2/assets/spine/skeleton.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_back.json b/games/RaftWars2/assets/spritesheets/ss_back.json new file mode 100644 index 00000000..e9ba7015 --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_back.json @@ -0,0 +1,107 @@ +{"frames": { + +"cloud01_0000": +{ + "frame": {"x":1,"y":1,"w":344,"h":124}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":344,"h":124}, + "sourceSize": {"w":344,"h":124} +}, +"cloud02_0000": +{ + "frame": {"x":346,"y":1,"w":651,"h":115}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":115}, + "sourceSize": {"w":651,"h":115} +}, +"cloud03_0000": +{ + "frame": {"x":998,"y":1,"w":290,"h":104}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":290,"h":104}, + "sourceSize": {"w":290,"h":104} +}, +"ground1_1_0000": +{ + "frame": {"x":1289,"y":1,"w":398,"h":168}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":398,"h":168}, + "sourceSize": {"w":398,"h":168} +}, +"ground1_2_0000": +{ + "frame": {"x":1,"y":170,"w":619,"h":169}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":619,"h":169}, + "sourceSize": {"w":619,"h":169} +}, +"ground1_3_0000": +{ + "frame": {"x":621,"y":170,"w":509,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":509,"h":117}, + "sourceSize": {"w":509,"h":117} +}, +"ground2_1_0000": +{ + "frame": {"x":1131,"y":170,"w":398,"h":182}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":398,"h":182}, + "sourceSize": {"w":398,"h":182} +}, +"ground2_2_0000": +{ + "frame": {"x":1530,"y":170,"w":489,"h":207}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":489,"h":207}, + "sourceSize": {"w":489,"h":207} +}, +"ground2_3_0000": +{ + "frame": {"x":1,"y":378,"w":569,"h":187}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":569,"h":187}, + "sourceSize": {"w":569,"h":187} +}, +"ground3_1_0000": +{ + "frame": {"x":571,"y":378,"w":391,"h":161}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":391,"h":161}, + "sourceSize": {"w":391,"h":161} +}, +"palm1_0000": +{ + "frame": {"x":963,"y":378,"w":145,"h":232}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":145,"h":232}, + "sourceSize": {"w":145,"h":232} +}, +"sky2_0000": +{ + "frame": {"x":1109,"y":378,"w":405,"h":305}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":405,"h":305}, + "sourceSize": {"w":405,"h":305} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_back.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_back.png b/games/RaftWars2/assets/spritesheets/ss_back.png new file mode 100644 index 00000000..17ecf181 Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_back.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_comics.json b/games/RaftWars2/assets/spritesheets/ss_comics.json new file mode 100644 index 00000000..e0184cd6 --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_comics.json @@ -0,0 +1,899 @@ +{"frames": { + +"cairplane1_0000": +{ + "frame": {"x":1425,"y":1288,"w":387,"h":149}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":387,"h":149}, + "sourceSize": {"w":387,"h":149} +}, +"cball_0000": +{ + "frame": {"x":2016,"y":249,"w":25,"h":26}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":25,"h":26}, + "sourceSize": {"w":25,"h":26} +}, +"cbin1_0000": +{ + "frame": {"x":773,"y":1388,"w":323,"h":170}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":323,"h":170}, + "sourceSize": {"w":323,"h":170} +}, +"cbox1_0000": +{ + "frame": {"x":1,"y":1,"w":1301,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":301}, + "sourceSize": {"w":1301,"h":301} +}, +"cbox11_0000": +{ + "frame": {"x":1303,"y":605,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox2_0000": +{ + "frame": {"x":1303,"y":1,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox2_2_0000": +{ + "frame": {"x":773,"y":1288,"w":651,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":99}, + "sourceSize": {"w":651,"h":99} +}, +"cbox3_0000": +{ + "frame": {"x":1303,"y":303,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox4_0000": +{ + "frame": {"x":1,"y":907,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox6_0000": +{ + "frame": {"x":653,"y":907,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox7_0000": +{ + "frame": {"x":1305,"y":907,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox8_0000": +{ + "frame": {"x":1,"y":303,"w":1301,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":301}, + "sourceSize": {"w":1301,"h":301} +}, +"cbox8_2_0000": +{ + "frame": {"x":419,"y":1209,"w":1301,"h":78}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":78}, + "sourceSize": {"w":1301,"h":78} +}, +"cbox9_0000": +{ + "frame": {"x":1,"y":605,"w":1301,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":301}, + "sourceSize": {"w":1301,"h":301} +}, +"ceffect_0000": +{ + "frame": {"x":2016,"y":196,"w":25,"h":29}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":6,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0001": +{ + "frame": {"x":2016,"y":196,"w":25,"h":29}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":6,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0002": +{ + "frame": {"x":1955,"y":793,"w":37,"h":38}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":0,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0003": +{ + "frame": {"x":2011,"y":565,"w":33,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0004": +{ + "frame": {"x":2011,"y":565,"w":33,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0005": +{ + "frame": {"x":2015,"y":131,"w":30,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":3,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0006": +{ + "frame": {"x":2015,"y":131,"w":30,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":3,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0007": +{ + "frame": {"x":2016,"y":276,"w":23,"h":24}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":7,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0008": +{ + "frame": {"x":2016,"y":276,"w":23,"h":24}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":7,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0009": +{ + "frame": {"x":2016,"y":343,"w":19,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":24,"y":7,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0010": +{ + "frame": {"x":2016,"y":343,"w":19,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":24,"y":7,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0011": +{ + "frame": {"x":2029,"y":323,"w":18,"h":17}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":27,"y":12,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0012": +{ + "frame": {"x":2029,"y":323,"w":18,"h":17}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":27,"y":12,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0013": +{ + "frame": {"x":2016,"y":366,"w":17,"h":13}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":14,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"ceffect_0014": +{ + "frame": {"x":2016,"y":366,"w":17,"h":13}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":14,"w":46,"h":38}, + "sourceSize": {"w":46,"h":38} +}, +"cflash_0000": +{ + "frame": {"x":2015,"y":162,"w":25,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":28,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0001": +{ + "frame": {"x":2015,"y":162,"w":25,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":28,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0002": +{ + "frame": {"x":2016,"y":301,"w":12,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":24,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0003": +{ + "frame": {"x":2016,"y":301,"w":12,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":24,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0004": +{ + "frame": {"x":1955,"y":651,"w":37,"h":58}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":12,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0005": +{ + "frame": {"x":1955,"y":651,"w":37,"h":58}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":12,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0006": +{ + "frame": {"x":1998,"y":502,"w":44,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":10,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0007": +{ + "frame": {"x":1998,"y":502,"w":44,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":10,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0008": +{ + "frame": {"x":1955,"y":502,"w":42,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0009": +{ + "frame": {"x":1955,"y":502,"w":42,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0010": +{ + "frame": {"x":2018,"y":66,"w":25,"h":56}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0011": +{ + "frame": {"x":2018,"y":66,"w":25,"h":56}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0012": +{ + "frame": {"x":2030,"y":1,"w":17,"h":53}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0013": +{ + "frame": {"x":2030,"y":1,"w":17,"h":53}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0014": +{ + "frame": {"x":1993,"y":651,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":19,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0015": +{ + "frame": {"x":1993,"y":651,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":19,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0016": +{ + "frame": {"x":2029,"y":301,"w":15,"h":21}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":43,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0017": +{ + "frame": {"x":2029,"y":301,"w":15,"h":21}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":43,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0018": +{ + "frame": {"x":2016,"y":226,"w":30,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":39,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0019": +{ + "frame": {"x":2016,"y":226,"w":30,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":39,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cmsg1_0000": +{ + "frame": {"x":1541,"y":1612,"w":403,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":403,"h":71}, + "sourceSize": {"w":403,"h":71} +}, +"cmsg10_0000": +{ + "frame": {"x":1551,"y":1438,"w":438,"h":101}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":438,"h":101}, + "sourceSize": {"w":438,"h":101} +}, +"cmsg11_0000": +{ + "frame": {"x":1813,"y":1351,"w":220,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":220,"h":83}, + "sourceSize": {"w":220,"h":83} +}, +"cmsg12_0000": +{ + "frame": {"x":716,"y":1559,"w":315,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":83}, + "sourceSize": {"w":315,"h":83} +}, +"cmsg13_0000": +{ + "frame": {"x":710,"y":1643,"w":246,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":246,"h":83}, + "sourceSize": {"w":246,"h":83} +}, +"cmsg18_0000": +{ + "frame": {"x":1500,"y":1684,"w":200,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":200,"h":50}, + "sourceSize": {"w":200,"h":50} +}, +"cmsg2_0000": +{ + "frame": {"x":1,"y":1648,"w":260,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":260,"h":50}, + "sourceSize": {"w":260,"h":50} +}, +"cmsg3_0000": +{ + "frame": {"x":1551,"y":1540,"w":493,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":493,"h":71}, + "sourceSize": {"w":493,"h":71} +}, +"cmsg4_0000": +{ + "frame": {"x":1097,"y":1388,"w":148,"h":46}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":148,"h":46}, + "sourceSize": {"w":148,"h":46} +}, +"cmsg5_0000": +{ + "frame": {"x":1701,"y":1684,"w":150,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":150,"h":50}, + "sourceSize": {"w":150,"h":50} +}, +"cmsg6_0000": +{ + "frame": {"x":262,"y":1550,"w":453,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":453,"h":71}, + "sourceSize": {"w":453,"h":71} +}, +"cmsg7_0000": +{ + "frame": {"x":1097,"y":1550,"w":443,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":443,"h":71}, + "sourceSize": {"w":443,"h":71} +}, +"cmsg8_0000": +{ + "frame": {"x":262,"y":1622,"w":291,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":291,"h":83}, + "sourceSize": {"w":291,"h":83} +}, +"cmsg9_0000": +{ + "frame": {"x":1097,"y":1438,"w":453,"h":111}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":453,"h":111}, + "sourceSize": {"w":453,"h":111} +}, +"cp1_0000": +{ + "frame": {"x":1955,"y":1,"w":74,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":74,"h":64}, + "sourceSize": {"w":74,"h":64} +}, +"cp2_0000": +{ + "frame": {"x":1955,"y":131,"w":59,"h":65}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":59,"h":65}, + "sourceSize": {"w":59,"h":65} +}, +"cpirate_0000": +{ + "frame": {"x":419,"y":1288,"w":353,"h":261}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":353,"h":261}, + "sourceSize": {"w":353,"h":261} +}, +"csdig_0000": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0001": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0002": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0003": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0004": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0005": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0006": +{ + "frame": {"x":554,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0007": +{ + "frame": {"x":1032,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0008": +{ + "frame": {"x":1032,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0009": +{ + "frame": {"x":1188,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0010": +{ + "frame": {"x":1188,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0011": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0012": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0013": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0014": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0015": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0016": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0017": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0018": +{ + "frame": {"x":1344,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0019": +{ + "frame": {"x":1188,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0020": +{ + "frame": {"x":1188,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0021": +{ + "frame": {"x":1032,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"csdig_0022": +{ + "frame": {"x":1032,"y":1622,"w":155,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":155,"h":138}, + "sourceSize": {"w":155,"h":138} +}, +"cssonboat1_0000": +{ + "frame": {"x":1,"y":1509,"w":260,"h":138}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":260,"h":138}, + "sourceSize": {"w":260,"h":138} +}, +"cssonboat2_0000": +{ + "frame": {"x":1813,"y":1209,"w":219,"h":141}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":219,"h":141}, + "sourceSize": {"w":219,"h":141} +}, +"diamonds_part2_0000": +{ + "frame": {"x":1955,"y":197,"w":60,"h":57}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":60,"h":57}, + "sourceSize": {"w":60,"h":57} +}, +"e2_0000": +{ + "frame": {"x":1993,"y":793,"w":37,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":11,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0001": +{ + "frame": {"x":1993,"y":793,"w":37,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":11,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0002": +{ + "frame": {"x":1955,"y":568,"w":55,"h":47}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":1,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0003": +{ + "frame": {"x":1955,"y":408,"w":60,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":0,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0004": +{ + "frame": {"x":1955,"y":255,"w":60,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":1,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0005": +{ + "frame": {"x":1955,"y":306,"w":60,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":1,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0006": +{ + "frame": {"x":1955,"y":357,"w":60,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":2,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0007": +{ + "frame": {"x":1955,"y":458,"w":64,"h":43}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":8,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0008": +{ + "frame": {"x":1955,"y":616,"w":66,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":14,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0009": +{ + "frame": {"x":1955,"y":710,"w":68,"h":31}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":17,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0010": +{ + "frame": {"x":1955,"y":742,"w":74,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":22,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0011": +{ + "frame": {"x":1955,"y":769,"w":71,"h":23}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":22,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0012": +{ + "frame": {"x":1955,"y":832,"w":72,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":26,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0013": +{ + "frame": {"x":1955,"y":852,"w":73,"h":17}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":29,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0014": +{ + "frame": {"x":1955,"y":886,"w":55,"h":15}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":31,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0015": +{ + "frame": {"x":1955,"y":886,"w":55,"h":15}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":31,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"e2_0016": +{ + "frame": {"x":1955,"y":870,"w":64,"h":15}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":32,"w":74,"h":52}, + "sourceSize": {"w":74,"h":52} +}, +"gold_part1_0000": +{ + "frame": {"x":1955,"y":66,"w":62,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":64}, + "sourceSize": {"w":62,"h":64} +}, +"history_cloud_0000": +{ + "frame": {"x":1,"y":1209,"w":417,"h":299}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":417,"h":299}, + "sourceSize": {"w":417,"h":299} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_comics.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_comics.png b/games/RaftWars2/assets/spritesheets/ss_comics.png new file mode 100644 index 00000000..cf5e9070 Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_comics.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_comics2.json b/games/RaftWars2/assets/spritesheets/ss_comics2.json new file mode 100644 index 00000000..3d913700 --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_comics2.json @@ -0,0 +1,851 @@ +{"frames": { + +"cbin2_0000": +{ + "frame": {"x":653,"y":1512,"w":378,"h":200}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":378,"h":200}, + "sourceSize": {"w":378,"h":200} +}, +"cbin3_0000": +{ + "frame": {"x":1303,"y":854,"w":378,"h":200}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":378,"h":200}, + "sourceSize": {"w":378,"h":200} +}, +"cbin4_0000": +{ + "frame": {"x":1032,"y":1512,"w":378,"h":200}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":378,"h":200}, + "sourceSize": {"w":378,"h":200} +}, +"cbird1_0000": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0001": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0002": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0003": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0004": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0005": +{ + "frame": {"x":1955,"y":257,"w":75,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":1,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0006": +{ + "frame": {"x":1925,"y":1834,"w":85,"h":64}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":25,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0007": +{ + "frame": {"x":1925,"y":1834,"w":85,"h":64}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":25,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0008": +{ + "frame": {"x":1925,"y":1834,"w":85,"h":64}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":25,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0009": +{ + "frame": {"x":1546,"y":1055,"w":82,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":39,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0010": +{ + "frame": {"x":1546,"y":1055,"w":82,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":39,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0011": +{ + "frame": {"x":1305,"y":1713,"w":89,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":38,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0012": +{ + "frame": {"x":1305,"y":1713,"w":89,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":38,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0013": +{ + "frame": {"x":1305,"y":1713,"w":89,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":38,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0014": +{ + "frame": {"x":1925,"y":1761,"w":82,"h":72}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":17,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0015": +{ + "frame": {"x":1925,"y":1761,"w":82,"h":72}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":17,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0016": +{ + "frame": {"x":1925,"y":1761,"w":82,"h":72}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":17,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0017": +{ + "frame": {"x":1955,"y":346,"w":73,"h":89}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":31,"y":0,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird1_0018": +{ + "frame": {"x":1955,"y":346,"w":73,"h":89}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":31,"y":0,"w":104,"h":122}, + "sourceSize": {"w":104,"h":122} +}, +"cbird2_0000": +{ + "frame": {"x":1955,"y":168,"w":76,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":88}, + "sourceSize": {"w":76,"h":88} +}, +"cbird3_0000": +{ + "frame": {"x":1955,"y":168,"w":76,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":28,"y":1,"w":76,"h":88}, + "sourceSize": {"w":76,"h":88} +}, +"cbird3_0001": +{ + "frame": {"x":1955,"y":168,"w":76,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":28,"y":1,"w":76,"h":88}, + "sourceSize": {"w":76,"h":88} +}, +"cbird3_0002": +{ + "frame": {"x":1849,"y":1331,"w":89,"h":64}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":25,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0003": +{ + "frame": {"x":1955,"y":84,"w":81,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":39,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0004": +{ + "frame": {"x":1955,"y":1,"w":89,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":38,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0005": +{ + "frame": {"x":1955,"y":1,"w":89,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":38,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0006": +{ + "frame": {"x":1955,"y":526,"w":86,"h":72}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":17,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0007": +{ + "frame": {"x":1955,"y":526,"w":86,"h":72}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":17,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0008": +{ + "frame": {"x":1955,"y":436,"w":73,"h":89}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":30,"y":0,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbird3_0009": +{ + "frame": {"x":1955,"y":436,"w":73,"h":89}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":30,"y":0,"w":103,"h":122}, + "sourceSize": {"w":103,"h":122} +}, +"cbomb1_0000": +{ + "frame": {"x":1858,"y":605,"w":180,"h":165}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":180,"h":165}, + "sourceSize": {"w":180,"h":165} +}, +"cbomb2_0000": +{ + "frame": {"x":1411,"y":1512,"w":368,"h":189}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":368,"h":189}, + "sourceSize": {"w":368,"h":189} +}, +"cbox11_0000": +{ + "frame": {"x":1303,"y":1,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox13_0000": +{ + "frame": {"x":1,"y":705,"w":1301,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":301}, + "sourceSize": {"w":1301,"h":301} +}, +"cbox15_0000": +{ + "frame": {"x":1,"y":403,"w":1301,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":301}, + "sourceSize": {"w":1301,"h":301} +}, +"cbox16_0000": +{ + "frame": {"x":1,"y":1159,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox17_0000": +{ + "frame": {"x":1,"y":1461,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox18_0000": +{ + "frame": {"x":1,"y":1,"w":1301,"h":401}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":401}, + "sourceSize": {"w":1301,"h":401} +}, +"cbox18_2_0000": +{ + "frame": {"x":1,"y":1007,"w":1301,"h":151}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":151}, + "sourceSize": {"w":1301,"h":151} +}, +"cbox2_0000": +{ + "frame": {"x":1303,"y":303,"w":651,"h":301}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":301}, + "sourceSize": {"w":651,"h":301} +}, +"cbox2_2_0000": +{ + "frame": {"x":653,"y":1713,"w":651,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":651,"h":99}, + "sourceSize": {"w":651,"h":99} +}, +"cbox8_2_0000": +{ + "frame": {"x":653,"y":1432,"w":1301,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":1301,"h":79}, + "sourceSize": {"w":1301,"h":79} +}, +"cbung_0000": +{ + "frame": {"x":540,"y":1763,"w":46,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":88,"y":46,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0001": +{ + "frame": {"x":540,"y":1763,"w":46,"h":49}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":88,"y":46,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0002": +{ + "frame": {"x":1846,"y":1774,"w":78,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":66,"y":25,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0003": +{ + "frame": {"x":1846,"y":1774,"w":78,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":66,"y":25,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0004": +{ + "frame": {"x":1510,"y":1326,"w":124,"h":105}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":45,"y":12,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0005": +{ + "frame": {"x":1510,"y":1326,"w":124,"h":105}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":45,"y":12,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0006": +{ + "frame": {"x":1855,"y":1654,"w":185,"h":106}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":0,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0007": +{ + "frame": {"x":1855,"y":1654,"w":185,"h":106}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":0,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0008": +{ + "frame": {"x":1635,"y":1331,"w":213,"h":46}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":69,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0009": +{ + "frame": {"x":1635,"y":1331,"w":213,"h":46}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":69,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0010": +{ + "frame": {"x":1305,"y":1796,"w":17,"h":16}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":51,"y":122,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cbung_0011": +{ + "frame": {"x":1305,"y":1796,"w":17,"h":16}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":51,"y":122,"w":213,"h":138}, + "sourceSize": {"w":213,"h":138} +}, +"cflash_0000": +{ + "frame": {"x":1476,"y":2014,"w":25,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":28,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0001": +{ + "frame": {"x":1476,"y":2014,"w":25,"h":33}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":28,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0002": +{ + "frame": {"x":979,"y":1925,"w":12,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":24,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0003": +{ + "frame": {"x":979,"y":1925,"w":12,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":24,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0004": +{ + "frame": {"x":2009,"y":771,"w":37,"h":58}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":12,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0005": +{ + "frame": {"x":2009,"y":771,"w":37,"h":58}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":12,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0006": +{ + "frame": {"x":1629,"y":1055,"w":44,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":10,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0007": +{ + "frame": {"x":1629,"y":1055,"w":44,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":10,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0008": +{ + "frame": {"x":1433,"y":1969,"w":42,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0009": +{ + "frame": {"x":1433,"y":1969,"w":42,"h":65}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0010": +{ + "frame": {"x":463,"y":1991,"w":25,"h":56}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0011": +{ + "frame": {"x":463,"y":1991,"w":25,"h":56}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":0,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0012": +{ + "frame": {"x":2029,"y":346,"w":17,"h":53}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0013": +{ + "frame": {"x":2029,"y":346,"w":17,"h":53}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":5,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0014": +{ + "frame": {"x":2008,"y":1761,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":19,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0015": +{ + "frame": {"x":2008,"y":1761,"w":39,"h":42}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":19,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0016": +{ + "frame": {"x":1395,"y":1713,"w":15,"h":21}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":43,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0017": +{ + "frame": {"x":1395,"y":1713,"w":15,"h":21}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":43,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0018": +{ + "frame": {"x":1780,"y":1654,"w":30,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":39,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cflash_0019": +{ + "frame": {"x":1780,"y":1654,"w":30,"h":22}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":39,"w":52,"h":72}, + "sourceSize": {"w":52,"h":72} +}, +"cmsg1_0000": +{ + "frame": {"x":1488,"y":1858,"w":403,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":403,"h":71}, + "sourceSize": {"w":403,"h":71} +}, +"cmsg10_0000": +{ + "frame": {"x":540,"y":1925,"w":438,"h":101}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":438,"h":101}, + "sourceSize": {"w":438,"h":101} +}, +"cmsg11_0000": +{ + "frame": {"x":1804,"y":1930,"w":220,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":220,"h":83}, + "sourceSize": {"w":220,"h":83} +}, +"cmsg12_0000": +{ + "frame": {"x":1488,"y":1930,"w":315,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":83}, + "sourceSize": {"w":315,"h":83} +}, +"cmsg13_0000": +{ + "frame": {"x":1676,"y":1247,"w":246,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":246,"h":83}, + "sourceSize": {"w":246,"h":83} +}, +"cmsg14_0000": +{ + "frame": {"x":1475,"y":1774,"w":370,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":370,"h":83}, + "sourceSize": {"w":370,"h":83} +}, +"cmsg15_0000": +{ + "frame": {"x":994,"y":1813,"w":480,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":480,"h":83}, + "sourceSize": {"w":480,"h":83} +}, +"cmsg16_0000": +{ + "frame": {"x":1676,"y":1164,"w":281,"h":82}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":281,"h":82}, + "sourceSize": {"w":281,"h":82} +}, +"cmsg18_0000": +{ + "frame": {"x":262,"y":1991,"w":200,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":200,"h":50}, + "sourceSize": {"w":200,"h":50} +}, +"cmsg19_0000": +{ + "frame": {"x":1546,"y":1139,"w":95,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":95,"h":50}, + "sourceSize": {"w":95,"h":50} +}, +"cmsg2_0000": +{ + "frame": {"x":1,"y":1991,"w":260,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":260,"h":50}, + "sourceSize": {"w":260,"h":50} +}, +"cmsg3_0000": +{ + "frame": {"x":994,"y":1897,"w":493,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":493,"h":71}, + "sourceSize": {"w":493,"h":71} +}, +"cmsg4_0000": +{ + "frame": {"x":1635,"y":1378,"w":148,"h":46}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":148,"h":46}, + "sourceSize": {"w":148,"h":46} +}, +"cmsg5_0000": +{ + "frame": {"x":1858,"y":771,"w":150,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":150,"h":50}, + "sourceSize": {"w":150,"h":50} +}, +"cmsg6_0000": +{ + "frame": {"x":979,"y":1969,"w":453,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":453,"h":71}, + "sourceSize": {"w":453,"h":71} +}, +"cmsg7_0000": +{ + "frame": {"x":1411,"y":1702,"w":443,"h":71}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":443,"h":71}, + "sourceSize": {"w":443,"h":71} +}, +"cmsg8_0000": +{ + "frame": {"x":1218,"y":1339,"w":291,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":291,"h":83}, + "sourceSize": {"w":291,"h":83} +}, +"cmsg9_0000": +{ + "frame": {"x":540,"y":1813,"w":453,"h":111}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":453,"h":111}, + "sourceSize": {"w":453,"h":111} +}, +"crack_0000": +{ + "frame": {"x":1452,"y":1197,"w":223,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":223,"h":128}, + "sourceSize": {"w":223,"h":128} +}, +"cssonboat3_0000": +{ + "frame": {"x":1780,"y":1512,"w":233,"h":141}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":233,"h":141}, + "sourceSize": {"w":233,"h":141} +}, +"cssonboat4_0000": +{ + "frame": {"x":1218,"y":1197,"w":233,"h":141}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":233,"h":141}, + "sourceSize": {"w":233,"h":141} +}, +"cssonboat5_0000": +{ + "frame": {"x":1303,"y":1055,"w":242,"h":141}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":242,"h":141}, + "sourceSize": {"w":242,"h":141} +}, +"cstar_0000": +{ + "frame": {"x":1682,"y":854,"w":271,"h":207}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":271,"h":207}, + "sourceSize": {"w":271,"h":207} +}, +"ctv_0000": +{ + "frame": {"x":1676,"y":1062,"w":255,"h":101}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":255,"h":101}, + "sourceSize": {"w":255,"h":101} +}, +"cwhale1_0000": +{ + "frame": {"x":1,"y":1763,"w":538,"h":227}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":538,"h":227}, + "sourceSize": {"w":538,"h":227} +}, +"cwhale2_0000": +{ + "frame": {"x":1303,"y":605,"w":554,"h":248}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":554,"h":248}, + "sourceSize": {"w":554,"h":248} +}, +"cwhale3_0000": +{ + "frame": {"x":653,"y":1159,"w":564,"h":272}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":564,"h":272}, + "sourceSize": {"w":564,"h":272} +}, +"poopok_0000": +{ + "frame": {"x":1218,"y":1159,"w":47,"h":34}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":47,"h":34}, + "sourceSize": {"w":47,"h":34} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_comics2.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_comics2.png b/games/RaftWars2/assets/spritesheets/ss_comics2.png new file mode 100644 index 00000000..f327d049 Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_comics2.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_game1.json b/games/RaftWars2/assets/spritesheets/ss_game1.json new file mode 100644 index 00000000..cb57273c --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_game1.json @@ -0,0 +1,1307 @@ +{"frames": { + +"aquapark3_0000": +{ + "frame": {"x":503,"y":905,"w":142,"h":110}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":142,"h":110}, + "sourceSize": {"w":142,"h":110} +}, +"aquapark4_0000": +{ + "frame": {"x":688,"y":796,"w":686,"h":292}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":686,"h":292}, + "sourceSize": {"w":686,"h":292} +}, +"aquapark5_0000": +{ + "frame": {"x":1375,"y":796,"w":625,"h":306}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":625,"h":306}, + "sourceSize": {"w":625,"h":306} +}, +"ball1_0000": +{ + "frame": {"x":646,"y":905,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32} +}, +"ball2_0000": +{ + "frame": {"x":2001,"y":995,"w":27,"h":26}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":27,"h":26}, + "sourceSize": {"w":27,"h":26} +}, +"ball3_0000": +{ + "frame": {"x":2001,"y":910,"w":46,"h":26}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":46,"h":26}, + "sourceSize": {"w":46,"h":26} +}, +"ball5_0000": +{ + "frame": {"x":646,"y":938,"w":31,"h":31}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":31,"h":31}, + "sourceSize": {"w":31,"h":31} +}, +"ball6_0000": +{ + "frame": {"x":2001,"y":966,"w":27,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":27,"h":28}, + "sourceSize": {"w":27,"h":28} +}, +"ball7_0000": +{ + "frame": {"x":646,"y":970,"w":27,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":27,"h":27}, + "sourceSize": {"w":27,"h":27} +}, +"base1_0000": +{ + "frame": {"x":1840,"y":1367,"w":188,"h":128}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":188,"h":128}, + "sourceSize": {"w":188,"h":128} +}, +"base2_0000": +{ + "frame": {"x":852,"y":1391,"w":443,"h":242}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":443,"h":242}, + "sourceSize": {"w":443,"h":242} +}, +"base3_0000": +{ + "frame": {"x":802,"y":1103,"w":618,"h":287}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":618,"h":287}, + "sourceSize": {"w":618,"h":287} +}, +"base4_0000": +{ + "frame": {"x":1553,"y":1,"w":373,"h":391}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":373,"h":391}, + "sourceSize": {"w":373,"h":391} +}, +"beach1_0000": +{ + "frame": {"x":1,"y":1391,"w":850,"h":193}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":850,"h":193}, + "sourceSize": {"w":850,"h":193} +}, +"beach2_0000": +{ + "frame": {"x":1,"y":1089,"w":800,"h":230}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":800,"h":230}, + "sourceSize": {"w":800,"h":230} +}, +"bear_0000": +{ + "frame": {"x":1619,"y":1901,"w":65,"h":80}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":65,"h":80}, + "sourceSize": {"w":65,"h":80} +}, +"bear_kick_0000": +{ + "frame": {"x":1971,"y":388,"w":75,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0001": +{ + "frame": {"x":1971,"y":388,"w":75,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0002": +{ + "frame": {"x":1971,"y":388,"w":75,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0003": +{ + "frame": {"x":1971,"y":388,"w":75,"h":88}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0004": +{ + "frame": {"x":1255,"y":1890,"w":74,"h":85}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0005": +{ + "frame": {"x":1255,"y":1890,"w":74,"h":85}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0006": +{ + "frame": {"x":1255,"y":1890,"w":74,"h":85}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"bear_kick_0007": +{ + "frame": {"x":1255,"y":1890,"w":74,"h":85}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":75,"h":88}, + "sourceSize": {"w":75,"h":88} +}, +"boat12_1_0000": +{ + "frame": {"x":1,"y":905,"w":501,"h":182}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":501,"h":182}, + "sourceSize": {"w":501,"h":182} +}, +"boat12_2_0000": +{ + "frame": {"x":1,"y":1585,"w":349,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":349,"h":32}, + "sourceSize": {"w":349,"h":32} +}, +"boat12_3_0000": +{ + "frame": {"x":1,"y":1634,"w":908,"h":108}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":908,"h":108}, + "sourceSize": {"w":908,"h":108} +}, +"boat13_0000": +{ + "frame": {"x":1669,"y":1648,"w":361,"h":155}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":361,"h":155}, + "sourceSize": {"w":361,"h":155} +}, +"boat14_0000": +{ + "frame": {"x":1421,"y":1367,"w":418,"h":280}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":418,"h":280}, + "sourceSize": {"w":418,"h":280} +}, +"boat15_0000": +{ + "frame": {"x":1553,"y":393,"w":417,"h":100}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":417,"h":100}, + "sourceSize": {"w":417,"h":100} +}, +"boat16_0000": +{ + "frame": {"x":503,"y":1016,"w":98,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":98,"h":41}, + "sourceSize": {"w":98,"h":41} +}, +"boat1_rw2_0000": +{ + "frame": {"x":1669,"y":1804,"w":245,"h":96}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":245,"h":96}, + "sourceSize": {"w":245,"h":96} +}, +"boat2_rw2_0000": +{ + "frame": {"x":442,"y":1830,"w":322,"h":72}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":322,"h":72}, + "sourceSize": {"w":322,"h":72} +}, +"boat3_rw2_0000": +{ + "frame": {"x":910,"y":1634,"w":500,"h":137}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":500,"h":137}, + "sourceSize": {"w":500,"h":137} +}, +"boat4_rw2_0000": +{ + "frame": {"x":1539,"y":504,"w":500,"h":263}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":500,"h":263}, + "sourceSize": {"w":500,"h":263} +}, +"bridge3_0000": +{ + "frame": {"x":1,"y":1743,"w":440,"h":113}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":440,"h":113}, + "sourceSize": {"w":440,"h":113} +}, +"camcoder_0000": +{ + "frame": {"x":1157,"y":1885,"w":97,"h":91}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":97,"h":91}, + "sourceSize": {"w":97,"h":91} +}, +"chair_0000": +{ + "frame": {"x":1389,"y":1880,"w":101,"h":98}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":98}, + "sourceSize": {"w":101,"h":98} +}, +"drone_body_0000": +{ + "frame": {"x":220,"y":1857,"w":136,"h":75}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":136,"h":75}, + "sourceSize": {"w":136,"h":75} +}, +"drone_propeller_0000": +{ + "frame": {"x":1984,"y":1243,"w":51,"h":13}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":0,"w":69,"h":13}, + "sourceSize": {"w":69,"h":13} +}, +"drone_propeller_0001": +{ + "frame": {"x":1984,"y":1243,"w":51,"h":13}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":0,"w":69,"h":13}, + "sourceSize": {"w":69,"h":13} +}, +"drone_propeller_0002": +{ + "frame": {"x":1984,"y":1283,"w":52,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":69,"h":13}, + "sourceSize": {"w":69,"h":13} +}, +"drone_propeller_0003": +{ + "frame": {"x":1984,"y":1257,"w":53,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":0,"w":69,"h":13}, + "sourceSize": {"w":69,"h":13} +}, +"drone_propeller_0004": +{ + "frame": {"x":1984,"y":1270,"w":53,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":0,"w":69,"h":13}, + "sourceSize": {"w":69,"h":13} +}, +"excavator_0000": +{ + "frame": {"x":1,"y":1,"w":799,"h":490}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":799,"h":490}, + "sourceSize": {"w":799,"h":490} +}, +"flag_0000": +{ + "frame": {"x":1971,"y":477,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0001": +{ + "frame": {"x":1971,"y":477,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0002": +{ + "frame": {"x":1971,"y":477,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0003": +{ + "frame": {"x":573,"y":1060,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0004": +{ + "frame": {"x":573,"y":1060,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0005": +{ + "frame": {"x":573,"y":1060,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0006": +{ + "frame": {"x":503,"y":1058,"w":69,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0007": +{ + "frame": {"x":503,"y":1058,"w":69,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0008": +{ + "frame": {"x":503,"y":1058,"w":69,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0009": +{ + "frame": {"x":1984,"y":1187,"w":59,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0010": +{ + "frame": {"x":1984,"y":1187,"w":59,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0011": +{ + "frame": {"x":1984,"y":1187,"w":59,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0012": +{ + "frame": {"x":1984,"y":1215,"w":57,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0013": +{ + "frame": {"x":1984,"y":1215,"w":57,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0014": +{ + "frame": {"x":1984,"y":1215,"w":57,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":0,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0015": +{ + "frame": {"x":724,"y":1320,"w":64,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0016": +{ + "frame": {"x":724,"y":1320,"w":64,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0017": +{ + "frame": {"x":724,"y":1320,"w":64,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":5,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0018": +{ + "frame": {"x":654,"y":1320,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0019": +{ + "frame": {"x":654,"y":1320,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"flag_0020": +{ + "frame": {"x":654,"y":1320,"w":69,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":69,"h":27}, + "sourceSize": {"w":69,"h":27} +}, +"grandpa_0000": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0001": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0002": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0003": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0004": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0005": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0006": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0007": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0008": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0009": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0010": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0011": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0012": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0013": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0014": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0015": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0016": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0017": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0018": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0019": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0020": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0021": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0022": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0023": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0024": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0025": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0026": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0027": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0028": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0029": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0030": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0031": +{ + "frame": {"x":1939,"y":1496,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0032": +{ + "frame": {"x":1915,"y":1804,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0033": +{ + "frame": {"x":1915,"y":1804,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0034": +{ + "frame": {"x":1,"y":1857,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0035": +{ + "frame": {"x":1,"y":1857,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0036": +{ + "frame": {"x":765,"y":1830,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0037": +{ + "frame": {"x":765,"y":1830,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0038": +{ + "frame": {"x":867,"y":1830,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0039": +{ + "frame": {"x":867,"y":1830,"w":101,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0040": +{ + "frame": {"x":1915,"y":1804,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0041": +{ + "frame": {"x":1915,"y":1804,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0042": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0043": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0044": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0045": +{ + "frame": {"x":1296,"y":1517,"w":101,"h":116}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0046": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0047": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_0048": +{ + "frame": {"x":1287,"y":1772,"w":101,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":117}, + "sourceSize": {"w":101,"h":117} +}, +"grandpa_kick_0000": +{ + "frame": {"x":1840,"y":1496,"w":98,"h":124}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0001": +{ + "frame": {"x":1840,"y":1496,"w":98,"h":124}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0002": +{ + "frame": {"x":1840,"y":1496,"w":98,"h":124}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0003": +{ + "frame": {"x":1840,"y":1496,"w":98,"h":124}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0004": +{ + "frame": {"x":1296,"y":1391,"w":99,"h":125}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0005": +{ + "frame": {"x":1296,"y":1391,"w":99,"h":125}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0006": +{ + "frame": {"x":1296,"y":1391,"w":99,"h":125}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grandpa_kick_0007": +{ + "frame": {"x":1296,"y":1391,"w":99,"h":125}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":99,"h":125}, + "sourceSize": {"w":99,"h":125} +}, +"grenade_0000": +{ + "frame": {"x":2001,"y":865,"w":34,"h":44}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":34,"h":44}, + "sourceSize": {"w":34,"h":44} +}, +"gun11_0000": +{ + "frame": {"x":654,"y":1347,"w":67,"h":22}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":67,"h":22}, + "sourceSize": {"w":67,"h":22} +}, +"hamburgers_building_0000": +{ + "frame": {"x":1,"y":492,"w":686,"h":412}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":686,"h":412}, + "sourceSize": {"w":686,"h":412} +}, +"hammer1_0000": +{ + "frame": {"x":2001,"y":794,"w":43,"h":70}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":43,"h":70}, + "sourceSize": {"w":43,"h":70} +}, +"helicopter_0000": +{ + "frame": {"x":1421,"y":1103,"w":562,"h":263}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":562,"h":263}, + "sourceSize": {"w":562,"h":263} +}, +"helicopter_propeller1_0000": +{ + "frame": {"x":1,"y":1618,"w":524,"h":14}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":46,"y":0,"w":621,"h":14}, + "sourceSize": {"w":621,"h":14} +}, +"helicopter_propeller1_0001": +{ + "frame": {"x":1,"y":1618,"w":524,"h":14}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":46,"y":0,"w":621,"h":14}, + "sourceSize": {"w":621,"h":14} +}, +"helicopter_propeller1_0002": +{ + "frame": {"x":1539,"y":768,"w":493,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":621,"h":14}, + "sourceSize": {"w":621,"h":14} +}, +"helicopter_propeller1_0003": +{ + "frame": {"x":802,"y":1089,"w":524,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":46,"y":1,"w":621,"h":14}, + "sourceSize": {"w":621,"h":14} +}, +"helicopter_propeller1_0004": +{ + "frame": {"x":1539,"y":781,"w":484,"h":12}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":137,"y":1,"w":621,"h":14}, + "sourceSize": {"w":621,"h":14} +}, +"helicopter_propeller2_0000": +{ + "frame": {"x":1061,"y":1885,"w":95,"h":95}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":95,"h":95}, + "sourceSize": {"w":95,"h":95} +}, +"helicopter_propeller2_0001": +{ + "frame": {"x":1061,"y":1885,"w":95,"h":95}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":95,"h":95}, + "sourceSize": {"w":95,"h":95} +}, +"helicopter_propeller2_0002": +{ + "frame": {"x":357,"y":1857,"w":80,"h":81}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":7,"w":95,"h":95}, + "sourceSize": {"w":95,"h":95} +}, +"helicopter_propeller2_0003": +{ + "frame": {"x":357,"y":1857,"w":80,"h":81}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":7,"w":95,"h":95}, + "sourceSize": {"w":95,"h":95} +}, +"kship_0000": +{ + "frame": {"x":801,"y":1,"w":751,"h":502}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":751,"h":502}, + "sourceSize": {"w":751,"h":502} +}, +"pilot1_0000": +{ + "frame": {"x":1927,"y":1,"w":106,"h":129}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0001": +{ + "frame": {"x":1927,"y":1,"w":106,"h":129}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0002": +{ + "frame": {"x":1927,"y":1,"w":106,"h":129}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0003": +{ + "frame": {"x":1927,"y":1,"w":106,"h":129}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0004": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0005": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0006": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0007": +{ + "frame": {"x":1927,"y":260,"w":106,"h":127}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0008": +{ + "frame": {"x":1927,"y":260,"w":106,"h":127}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0009": +{ + "frame": {"x":1927,"y":260,"w":106,"h":127}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":2,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0010": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0011": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pilot1_0012": +{ + "frame": {"x":1927,"y":131,"w":106,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":106,"h":129}, + "sourceSize": {"w":106,"h":129} +}, +"pool_tile2_0000": +{ + "frame": {"x":969,"y":1885,"w":91,"h":101}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":91,"h":101}, + "sourceSize": {"w":91,"h":101} +}, +"rocket_0000": +{ + "frame": {"x":2001,"y":937,"w":42,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":42,"h":28}, + "sourceSize": {"w":42,"h":28} +}, +"rocket2_0000": +{ + "frame": {"x":602,"y":1016,"w":77,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":43}, + "sourceSize": {"w":77,"h":43} +}, +"rod_0000": +{ + "frame": {"x":103,"y":1857,"w":116,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":116,"h":99}, + "sourceSize": {"w":116,"h":99} +}, +"roll_0000": +{ + "frame": {"x":1984,"y":1103,"w":56,"h":83}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":56,"h":83}, + "sourceSize": {"w":56,"h":83} +}, +"sandbag_0000": +{ + "frame": {"x":1051,"y":1772,"w":235,"h":112}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":235,"h":112}, + "sourceSize": {"w":235,"h":112} +}, +"stoneland_3_0000": +{ + "frame": {"x":688,"y":504,"w":850,"h":291}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":850,"h":291}, + "sourceSize": {"w":850,"h":291} +}, +"turtleboat_0000": +{ + "frame": {"x":1491,"y":1880,"w":127,"h":75}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":127,"h":75}, + "sourceSize": {"w":127,"h":75} +}, +"umbrella_0000": +{ + "frame": {"x":1411,"y":1648,"w":257,"h":231}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":257,"h":231}, + "sourceSize": {"w":257,"h":231} +}, +"water_purple_0000": +{ + "frame": {"x":442,"y":1772,"w":608,"h":57}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":608,"h":57}, + "sourceSize": {"w":608,"h":57} +}, +"whale_shadow_0000": +{ + "frame": {"x":1,"y":1320,"w":652,"h":60}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":652,"h":60}, + "sourceSize": {"w":652,"h":60} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_game1.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_game1.png b/games/RaftWars2/assets/spritesheets/ss_game1.png new file mode 100644 index 00000000..86bef609 Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_game1.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_game2.json b/games/RaftWars2/assets/spritesheets/ss_game2.json new file mode 100644 index 00000000..c90420ee --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_game2.json @@ -0,0 +1,2507 @@ +{"frames": { + +"aimCircle_0000": +{ + "frame": {"x":838,"y":916,"w":51,"h":51}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":51}, + "sourceSize": {"w":51,"h":51} +}, +"aimball_0000": +{ + "frame": {"x":995,"y":541,"w":15,"h":15}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":15,"h":15}, + "sourceSize": {"w":15,"h":15} +}, +"ammo1_0000": +{ + "frame": {"x":363,"y":1088,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32} +}, +"ammo2_0000": +{ + "frame": {"x":1174,"y":343,"w":32,"h":33}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":33}, + "sourceSize": {"w":32,"h":33} +}, +"ammo3_0000": +{ + "frame": {"x":1821,"y":1114,"w":32,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":32}, + "sourceSize": {"w":32,"h":32} +}, +"ball1_0000": +{ + "frame": {"x":1174,"y":377,"w":32,"h":33}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":32,"h":33}, + "sourceSize": {"w":32,"h":33} +}, +"ball7_0000": +{ + "frame": {"x":234,"y":1107,"w":28,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":28,"h":27}, + "sourceSize": {"w":28,"h":27} +}, +"ballG_0000": +{ + "frame": {"x":1011,"y":541,"w":11,"h":12}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":11,"h":12}, + "sourceSize": {"w":11,"h":12} +}, +"ball_n_0000": +{ + "frame": {"x":657,"y":1142,"w":42,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":42,"h":43}, + "sourceSize": {"w":42,"h":43} +}, +"ball_t_0000": +{ + "frame": {"x":74,"y":1154,"w":42,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":42,"h":42}, + "sourceSize": {"w":42,"h":42} +}, +"balls3_n_0000": +{ + "frame": {"x":1988,"y":632,"w":56,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":56,"h":50}, + "sourceSize": {"w":56,"h":50} +}, +"balls3_t_0000": +{ + "frame": {"x":1981,"y":775,"w":56,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":56,"h":50}, + "sourceSize": {"w":56,"h":50} +}, +"bird_0000": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0001": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0002": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0003": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0004": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0005": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0006": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0007": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0008": +{ + "frame": {"x":811,"y":1077,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0009": +{ + "frame": {"x":811,"y":1077,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0010": +{ + "frame": {"x":811,"y":1077,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0011": +{ + "frame": {"x":811,"y":1077,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0012": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0013": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0014": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_0015": +{ + "frame": {"x":1861,"y":1076,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0000": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0001": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0002": +{ + "frame": {"x":403,"y":1050,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0003": +{ + "frame": {"x":286,"y":1052,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0004": +{ + "frame": {"x":286,"y":1052,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0005": +{ + "frame": {"x":480,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0006": +{ + "frame": {"x":480,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0007": +{ + "frame": {"x":480,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0008": +{ + "frame": {"x":557,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0009": +{ + "frame": {"x":557,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0010": +{ + "frame": {"x":634,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0011": +{ + "frame": {"x":634,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0012": +{ + "frame": {"x":634,"y":1055,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0013": +{ + "frame": {"x":1413,"y":1058,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_attack_0014": +{ + "frame": {"x":1413,"y":1058,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0000": +{ + "frame": {"x":1490,"y":1058,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0001": +{ + "frame": {"x":1490,"y":1058,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0002": +{ + "frame": {"x":1,"y":1067,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0003": +{ + "frame": {"x":1,"y":1067,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0004": +{ + "frame": {"x":78,"y":1067,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0005": +{ + "frame": {"x":78,"y":1067,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0006": +{ + "frame": {"x":1567,"y":1069,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0007": +{ + "frame": {"x":1567,"y":1069,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0008": +{ + "frame": {"x":937,"y":1070,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0009": +{ + "frame": {"x":937,"y":1070,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0010": +{ + "frame": {"x":1269,"y":1073,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0011": +{ + "frame": {"x":1269,"y":1073,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0012": +{ + "frame": {"x":1014,"y":1074,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0013": +{ + "frame": {"x":1014,"y":1074,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0014": +{ + "frame": {"x":1951,"y":1074,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"bird_fly_0015": +{ + "frame": {"x":1951,"y":1074,"w":76,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":86}, + "sourceSize": {"w":76,"h":86} +}, +"btnReplay_0000": +{ + "frame": {"x":1982,"y":878,"w":51,"h":51}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":51,"h":51}, + "sourceSize": {"w":51,"h":51} +}, +"btn_gun_0000": +{ + "frame": {"x":1951,"y":987,"w":86,"h":86}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":86,"h":86}, + "sourceSize": {"w":86,"h":86} +}, +"btn_pause_0000": +{ + "frame": {"x":1740,"y":1082,"w":80,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":80,"h":79}, + "sourceSize": {"w":80,"h":79} +}, +"e1_0000": +{ + "frame": {"x":1172,"y":1082,"w":80,"h":79}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":56,"y":65,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0001": +{ + "frame": {"x":1172,"y":1082,"w":80,"h":79}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":56,"y":65,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0002": +{ + "frame": {"x":167,"y":890,"w":120,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":37,"y":18,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0003": +{ + "frame": {"x":167,"y":890,"w":120,"h":128}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":37,"y":18,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0004": +{ + "frame": {"x":1209,"y":907,"w":143,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":30,"y":13,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0005": +{ + "frame": {"x":1209,"y":907,"w":143,"h":117}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":30,"y":13,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0006": +{ + "frame": {"x":1,"y":890,"w":165,"h":134}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":2,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0007": +{ + "frame": {"x":1813,"y":579,"w":174,"h":134}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":2,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0008": +{ + "frame": {"x":1872,"y":183,"w":174,"h":141}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":0,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0009": +{ + "frame": {"x":1161,"y":417,"w":180,"h":141}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":0,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0010": +{ + "frame": {"x":1796,"y":352,"w":188,"h":140}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":3,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0011": +{ + "frame": {"x":1796,"y":352,"w":188,"h":140}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":3,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0012": +{ + "frame": {"x":967,"y":408,"w":193,"h":132}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":14,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0013": +{ + "frame": {"x":1813,"y":854,"w":168,"h":132}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":14,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e1_0014": +{ + "frame": {"x":1813,"y":714,"w":167,"h":139}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":11,"w":193,"h":150}, + "sourceSize": {"w":193,"h":150} +}, +"e2_0000": +{ + "frame": {"x":1464,"y":1145,"w":69,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":33,"y":22,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0001": +{ + "frame": {"x":1464,"y":1145,"w":69,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":33,"y":22,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0002": +{ + "frame": {"x":1462,"y":969,"w":106,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":21,"y":3,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0003": +{ + "frame": {"x":403,"y":955,"w":114,"h":94}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":0,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0004": +{ + "frame": {"x":723,"y":916,"w":114,"h":96}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":17,"y":2,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0005": +{ + "frame": {"x":288,"y":955,"w":114,"h":96}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":17,"y":2,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0006": +{ + "frame": {"x":603,"y":916,"w":119,"h":95}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":5,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0007": +{ + "frame": {"x":1540,"y":93,"w":123,"h":82}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":16,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0008": +{ + "frame": {"x":1342,"y":417,"w":128,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":28,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0009": +{ + "frame": {"x":1135,"y":1025,"w":133,"h":56}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":35,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0010": +{ + "frame": {"x":1269,"y":1025,"w":143,"h":47}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":45,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0011": +{ + "frame": {"x":234,"y":1139,"w":136,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":45,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0012": +{ + "frame": {"x":517,"y":1142,"w":139,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":52,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0013": +{ + "frame": {"x":303,"y":475,"w":140,"h":28}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":60,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0014": +{ + "frame": {"x":1872,"y":325,"w":105,"h":25}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":63,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0015": +{ + "frame": {"x":1872,"y":325,"w":105,"h":25}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":19,"y":63,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e2_0016": +{ + "frame": {"x":444,"y":475,"w":123,"h":25}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":64,"w":143,"h":100}, + "sourceSize": {"w":143,"h":100} +}, +"e3_0000": +{ + "frame": {"x":446,"y":1142,"w":70,"h":70}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":19,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0001": +{ + "frame": {"x":371,"y":1137,"w":74,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":16,"y":17,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0002": +{ + "frame": {"x":937,"y":969,"w":100,"h":100}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":4,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0003": +{ + "frame": {"x":1091,"y":1082,"w":80,"h":80}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":14,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0004": +{ + "frame": {"x":1946,"y":493,"w":84,"h":85}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0005": +{ + "frame": {"x":725,"y":1013,"w":85,"h":87}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":9,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0006": +{ + "frame": {"x":1861,"y":987,"w":89,"h":88}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":7,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0007": +{ + "frame": {"x":1768,"y":987,"w":92,"h":94}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":6,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0008": +{ + "frame": {"x":1569,"y":969,"w":93,"h":99}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":5,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0009": +{ + "frame": {"x":1038,"y":969,"w":96,"h":104}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":3,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0010": +{ + "frame": {"x":838,"y":969,"w":98,"h":107}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":2,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0011": +{ + "frame": {"x":1664,"y":907,"w":103,"h":111}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":1,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e3_0012": +{ + "frame": {"x":1353,"y":907,"w":108,"h":115}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":108,"h":115}, + "sourceSize": {"w":108,"h":115} +}, +"e4_0000": +{ + "frame": {"x":838,"y":330,"w":30,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":7,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0001": +{ + "frame": {"x":838,"y":330,"w":30,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":7,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0002": +{ + "frame": {"x":1346,"y":1073,"w":44,"h":44}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":0,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0003": +{ + "frame": {"x":363,"y":1052,"w":39,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":6,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0004": +{ + "frame": {"x":363,"y":1052,"w":39,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":6,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0005": +{ + "frame": {"x":567,"y":955,"w":35,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":4,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0006": +{ + "frame": {"x":567,"y":955,"w":35,"h":35}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":10,"y":4,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0007": +{ + "frame": {"x":1740,"y":1050,"w":27,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":23,"y":9,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0008": +{ + "frame": {"x":1740,"y":1050,"w":27,"h":27}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":23,"y":9,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0009": +{ + "frame": {"x":1471,"y":459,"w":22,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":8,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0010": +{ + "frame": {"x":1471,"y":459,"w":22,"h":26}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":29,"y":8,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0011": +{ + "frame": {"x":568,"y":475,"w":21,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":32,"y":14,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0012": +{ + "frame": {"x":568,"y":475,"w":21,"h":19}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":32,"y":14,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0013": +{ + "frame": {"x":1450,"y":481,"w":20,"h":15}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":16,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e4_0014": +{ + "frame": {"x":1450,"y":481,"w":20,"h":15}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":35,"y":16,"w":55,"h":44}, + "sourceSize": {"w":55,"h":44} +}, +"e5_0000": +{ + "frame": {"x":1740,"y":1019,"w":27,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0001": +{ + "frame": {"x":1174,"y":263,"w":33,"h":37}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0002": +{ + "frame": {"x":155,"y":1067,"w":41,"h":38}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":5,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0003": +{ + "frame": {"x":1135,"y":969,"w":47,"h":50}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":2,"y":2,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0004": +{ + "frame": {"x":1982,"y":930,"w":52,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0005": +{ + "frame": {"x":1982,"y":930,"w":52,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":1,"y":1,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0006": +{ + "frame": {"x":1982,"y":826,"w":54,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0007": +{ + "frame": {"x":1982,"y":826,"w":54,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0008": +{ + "frame": {"x":518,"y":955,"w":48,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0009": +{ + "frame": {"x":518,"y":955,"w":48,"h":51}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":1,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0010": +{ + "frame": {"x":888,"y":1077,"w":42,"h":46}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0011": +{ + "frame": {"x":888,"y":1077,"w":42,"h":46}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":4,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0012": +{ + "frame": {"x":2010,"y":45,"w":35,"h":41}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":8,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0013": +{ + "frame": {"x":838,"y":365,"w":28,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":8,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"e5_0014": +{ + "frame": {"x":838,"y":365,"w":28,"h":34}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":13,"y":8,"w":54,"h":52}, + "sourceSize": {"w":54,"h":52} +}, +"grampus_swim_0000": +{ + "frame": {"x":1671,"y":1,"w":338,"h":181}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":338,"h":181}, + "sourceSize": {"w":338,"h":181} +}, +"grampus_up_0000": +{ + "frame": {"x":869,"y":93,"w":338,"h":169}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":8,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0001": +{ + "frame": {"x":869,"y":93,"w":338,"h":169}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":8,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0002": +{ + "frame": {"x":1208,"y":93,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":0,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0003": +{ + "frame": {"x":1208,"y":93,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":0,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0004": +{ + "frame": {"x":1208,"y":93,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":0,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0005": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0006": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0007": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0008": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0009": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0010": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0011": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0012": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0013": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0014": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0015": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0016": +{ + "frame": {"x":1540,"y":183,"w":331,"h":168}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":4,"y":2,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0017": +{ + "frame": {"x":869,"y":93,"w":338,"h":169}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":8,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grampus_up_0018": +{ + "frame": {"x":869,"y":93,"w":338,"h":169}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":8,"w":338,"h":177}, + "sourceSize": {"w":338,"h":177} +}, +"grenade_0000": +{ + "frame": {"x":2010,"y":1,"w":34,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":34,"h":43}, + "sourceSize": {"w":34,"h":43} +}, +"grenade_n_0000": +{ + "frame": {"x":1768,"y":907,"w":41,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":41,"h":53}, + "sourceSize": {"w":41,"h":53} +}, +"grenade_t_0000": +{ + "frame": {"x":1496,"y":262,"w":41,"h":54}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":41,"h":54}, + "sourceSize": {"w":41,"h":54} +}, +"gull_0000": +{ + "frame": {"x":711,"y":1101,"w":78,"h":74}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0001": +{ + "frame": {"x":711,"y":1101,"w":78,"h":74}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0002": +{ + "frame": {"x":711,"y":1101,"w":78,"h":74}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0003": +{ + "frame": {"x":711,"y":1101,"w":78,"h":74}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0004": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0005": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0006": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0007": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0008": +{ + "frame": {"x":155,"y":1107,"w":78,"h":73}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0009": +{ + "frame": {"x":155,"y":1107,"w":78,"h":73}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0010": +{ + "frame": {"x":155,"y":1107,"w":78,"h":73}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0011": +{ + "frame": {"x":155,"y":1107,"w":78,"h":73}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":1,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0012": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0013": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0014": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_0015": +{ + "frame": {"x":1644,"y":1106,"w":78,"h":74}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":78,"h":74}, + "sourceSize": {"w":78,"h":74} +}, +"gull_kick_0000": +{ + "frame": {"x":1663,"y":1019,"w":76,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0001": +{ + "frame": {"x":1663,"y":1019,"w":76,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0002": +{ + "frame": {"x":1663,"y":1019,"w":76,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0003": +{ + "frame": {"x":1663,"y":1019,"w":76,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0004": +{ + "frame": {"x":208,"y":1019,"w":77,"h":87}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0005": +{ + "frame": {"x":208,"y":1019,"w":77,"h":87}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0006": +{ + "frame": {"x":208,"y":1019,"w":77,"h":87}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"gull_kick_0007": +{ + "frame": {"x":208,"y":1019,"w":77,"h":87}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":77,"h":87}, + "sourceSize": {"w":77,"h":87} +}, +"hp_bar1_0000": +{ + "frame": {"x":1342,"y":481,"w":53,"h":15}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":53,"h":15}, + "sourceSize": {"w":53,"h":15} +}, +"hp_bar1_wh_0000": +{ + "frame": {"x":1,"y":1025,"w":206,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":206,"h":41}, + "sourceSize": {"w":206,"h":41} +}, +"hp_bar1mini_0000": +{ + "frame": {"x":963,"y":541,"w":31,"h":11}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":31,"h":11}, + "sourceSize": {"w":31,"h":11} +}, +"hp_bar2_0000": +{ + "frame": {"x":1396,"y":481,"w":53,"h":15}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":53,"h":15}, + "sourceSize": {"w":53,"h":15} +}, +"hp_bar2_wh_0000": +{ + "frame": {"x":518,"y":1013,"w":206,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":206,"h":41}, + "sourceSize": {"w":206,"h":41} +}, +"hp_bar2mini_0000": +{ + "frame": {"x":1985,"y":474,"w":31,"h":11}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":31,"h":11}, + "sourceSize": {"w":31,"h":11} +}, +"icon_power_0000": +{ + "frame": {"x":1,"y":1154,"w":72,"h":27}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":72,"h":27}, + "sourceSize": {"w":72,"h":27} +}, +"krutilka_0000": +{ + "frame": {"x":2010,"y":87,"w":14,"h":90}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":14,"h":90}, + "sourceSize": {"w":14,"h":90} +}, +"log_gull_0000": +{ + "frame": {"x":1985,"y":325,"w":39,"h":148}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":39,"h":148}, + "sourceSize": {"w":39,"h":148} +}, +"map_0000": +{ + "frame": {"x":888,"y":1163,"w":421,"h":10}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":421,"h":10}, + "sourceSize": {"w":421,"h":10} +}, +"map_dead_0000": +{ + "frame": {"x":1988,"y":683,"w":35,"h":29}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":35,"h":29}, + "sourceSize": {"w":35,"h":29} +}, +"map_h1_0000": +{ + "frame": {"x":1821,"y":1082,"w":37,"h":31}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":37,"h":31}, + "sourceSize": {"w":37,"h":31} +}, +"map_h2_0000": +{ + "frame": {"x":1413,"y":1023,"w":37,"h":31}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":37,"h":31}, + "sourceSize": {"w":37,"h":31} +}, +"msg1_0000": +{ + "frame": {"x":288,"y":916,"w":314,"h":38}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":314,"h":38}, + "sourceSize": {"w":314,"h":38} +}, +"msg2_0000": +{ + "frame": {"x":1346,"y":1145,"w":117,"h":37}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":117,"h":37}, + "sourceSize": {"w":117,"h":37} +}, +"msg_tail_0000": +{ + "frame": {"x":2031,"y":535,"w":15,"h":18}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":15,"h":18}, + "sourceSize": {"w":15,"h":18} +}, +"num_0_0000": +{ + "frame": {"x":1174,"y":301,"w":26,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":26,"h":41}, + "sourceSize": {"w":26,"h":41} +}, +"num_1_0000": +{ + "frame": {"x":1391,"y":1073,"w":17,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":17,"h":41}, + "sourceSize": {"w":17,"h":41} +}, +"num_2_0000": +{ + "frame": {"x":1183,"y":969,"w":23,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":41}, + "sourceSize": {"w":23,"h":41} +}, +"num_3_0000": +{ + "frame": {"x":2025,"y":129,"w":22,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":41}, + "sourceSize": {"w":22,"h":41} +}, +"num_4_0000": +{ + "frame": {"x":1471,"y":417,"w":23,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":23,"h":41}, + "sourceSize": {"w":23,"h":41} +}, +"num_43_0000": +{ + "frame": {"x":2025,"y":367,"w":22,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":41}, + "sourceSize": {"w":22,"h":41} +}, +"num_45_0000": +{ + "frame": {"x":2028,"y":1074,"w":17,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":17,"h":41}, + "sourceSize": {"w":17,"h":41} +}, +"num_5_0000": +{ + "frame": {"x":2025,"y":451,"w":21,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":41}, + "sourceSize": {"w":21,"h":41} +}, +"num_58_0000": +{ + "frame": {"x":2031,"y":493,"w":13,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":13,"h":41}, + "sourceSize": {"w":13,"h":41} +}, +"num_6_0000": +{ + "frame": {"x":2025,"y":409,"w":21,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":41}, + "sourceSize": {"w":21,"h":41} +}, +"num_7_0000": +{ + "frame": {"x":2025,"y":325,"w":22,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":41}, + "sourceSize": {"w":22,"h":41} +}, +"num_8_0000": +{ + "frame": {"x":811,"y":1013,"w":21,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":21,"h":41}, + "sourceSize": {"w":21,"h":41} +}, +"num_9_0000": +{ + "frame": {"x":2025,"y":87,"w":22,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":22,"h":41}, + "sourceSize": {"w":22,"h":41} +}, +"panel_turn_0000": +{ + "frame": {"x":591,"y":330,"w":246,"h":73}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":246,"h":73}, + "sourceSize": {"w":246,"h":73} +}, +"rocket_0000": +{ + "frame": {"x":1496,"y":317,"w":43,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":43,"h":28}, + "sourceSize": {"w":43,"h":28} +}, +"rocket_n_0000": +{ + "frame": {"x":907,"y":506,"w":55,"h":52}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":55,"h":52}, + "sourceSize": {"w":55,"h":52} +}, +"rocket_t_0000": +{ + "frame": {"x":1988,"y":579,"w":55,"h":52}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":55,"h":52}, + "sourceSize": {"w":55,"h":52} +}, +"shark_swim_0000": +{ + "frame": {"x":869,"y":263,"w":304,"h":144}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":304,"h":144}, + "sourceSize": {"w":304,"h":144} +}, +"shark_up_0000": +{ + "frame": {"x":291,"y":330,"w":299,"h":144}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":18,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0001": +{ + "frame": {"x":291,"y":330,"w":299,"h":144}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":18,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0002": +{ + "frame": {"x":1208,"y":262,"w":287,"h":154}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":0,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0003": +{ + "frame": {"x":1208,"y":262,"w":287,"h":154}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":0,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0004": +{ + "frame": {"x":1208,"y":262,"w":287,"h":154}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":8,"y":0,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0005": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0006": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0007": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0008": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0009": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0010": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0011": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0012": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0013": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0014": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0015": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0016": +{ + "frame": {"x":1,"y":330,"w":289,"h":149}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":6,"y":8,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0017": +{ + "frame": {"x":1496,"y":352,"w":299,"h":144}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":18,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"shark_up_0018": +{ + "frame": {"x":1496,"y":352,"w":299,"h":144}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":18,"w":299,"h":162}, + "sourceSize": {"w":299,"h":162} +}, +"water1_0000": +{ + "frame": {"x":869,"y":1,"w":801,"h":91}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":801,"h":91}, + "sourceSize": {"w":801,"h":91} +}, +"water2_0000": +{ + "frame": {"x":1462,"y":907,"w":201,"h":61}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":201,"h":61}, + "sourceSize": {"w":201,"h":61} +}, +"wave2_0000": +{ + "frame": {"x":1,"y":480,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0001": +{ + "frame": {"x":1,"y":480,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0002": +{ + "frame": {"x":1342,"y":497,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0003": +{ + "frame": {"x":1342,"y":497,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0004": +{ + "frame": {"x":1342,"y":497,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0005": +{ + "frame": {"x":1644,"y":497,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0006": +{ + "frame": {"x":1644,"y":497,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0007": +{ + "frame": {"x":303,"y":506,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0008": +{ + "frame": {"x":303,"y":506,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0009": +{ + "frame": {"x":605,"y":506,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0010": +{ + "frame": {"x":605,"y":506,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0011": +{ + "frame": {"x":605,"y":506,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0012": +{ + "frame": {"x":907,"y":559,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0013": +{ + "frame": {"x":907,"y":559,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0014": +{ + "frame": {"x":1,"y":562,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0015": +{ + "frame": {"x":1,"y":562,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0016": +{ + "frame": {"x":1209,"y":579,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0017": +{ + "frame": {"x":1209,"y":579,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0018": +{ + "frame": {"x":1209,"y":579,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0019": +{ + "frame": {"x":1511,"y":579,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0020": +{ + "frame": {"x":1511,"y":579,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0021": +{ + "frame": {"x":303,"y":588,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0022": +{ + "frame": {"x":303,"y":588,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0023": +{ + "frame": {"x":605,"y":588,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0024": +{ + "frame": {"x":605,"y":588,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0025": +{ + "frame": {"x":605,"y":588,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0026": +{ + "frame": {"x":907,"y":641,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0027": +{ + "frame": {"x":907,"y":641,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0028": +{ + "frame": {"x":1,"y":644,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0029": +{ + "frame": {"x":1,"y":644,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0030": +{ + "frame": {"x":1209,"y":661,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0031": +{ + "frame": {"x":1209,"y":661,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0032": +{ + "frame": {"x":1209,"y":661,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0033": +{ + "frame": {"x":1511,"y":661,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0034": +{ + "frame": {"x":1511,"y":661,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0035": +{ + "frame": {"x":303,"y":670,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0036": +{ + "frame": {"x":303,"y":670,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0037": +{ + "frame": {"x":605,"y":670,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0038": +{ + "frame": {"x":605,"y":670,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0039": +{ + "frame": {"x":605,"y":670,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0040": +{ + "frame": {"x":907,"y":723,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0041": +{ + "frame": {"x":907,"y":723,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0042": +{ + "frame": {"x":1,"y":726,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0043": +{ + "frame": {"x":1,"y":726,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0044": +{ + "frame": {"x":1209,"y":743,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0045": +{ + "frame": {"x":1209,"y":743,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0046": +{ + "frame": {"x":1209,"y":743,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0047": +{ + "frame": {"x":1511,"y":743,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0048": +{ + "frame": {"x":1511,"y":743,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0049": +{ + "frame": {"x":303,"y":752,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0050": +{ + "frame": {"x":303,"y":752,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0051": +{ + "frame": {"x":605,"y":752,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0052": +{ + "frame": {"x":605,"y":752,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0053": +{ + "frame": {"x":605,"y":752,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0054": +{ + "frame": {"x":907,"y":805,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0055": +{ + "frame": {"x":907,"y":805,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0056": +{ + "frame": {"x":1,"y":808,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0057": +{ + "frame": {"x":1,"y":808,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0058": +{ + "frame": {"x":1209,"y":825,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0059": +{ + "frame": {"x":1209,"y":825,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0060": +{ + "frame": {"x":1209,"y":825,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0061": +{ + "frame": {"x":1511,"y":825,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0062": +{ + "frame": {"x":1511,"y":825,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0063": +{ + "frame": {"x":303,"y":834,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0064": +{ + "frame": {"x":303,"y":834,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0065": +{ + "frame": {"x":605,"y":834,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0066": +{ + "frame": {"x":605,"y":834,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0067": +{ + "frame": {"x":605,"y":834,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0068": +{ + "frame": {"x":907,"y":887,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"wave2_0069": +{ + "frame": {"x":907,"y":887,"w":301,"h":81}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":81}, + "sourceSize": {"w":301,"h":81} +}, +"weapon_panel_0000": +{ + "frame": {"x":591,"y":408,"w":375,"h":97}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":375,"h":97}, + "sourceSize": {"w":375,"h":97} +}, +"whale_0000": +{ + "frame": {"x":1,"y":1,"w":867,"h":328}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":867,"h":328}, + "sourceSize": {"w":867,"h":328} +}, +"white_circle_0000": +{ + "frame": {"x":1981,"y":714,"w":60,"h":60}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":60,"h":60}, + "sourceSize": {"w":60,"h":60} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_game2.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_game2.png b/games/RaftWars2/assets/spritesheets/ss_game2.png new file mode 100644 index 00000000..ff28c550 Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_game2.png differ diff --git a/games/RaftWars2/assets/spritesheets/ss_menu.json b/games/RaftWars2/assets/spritesheets/ss_menu.json new file mode 100644 index 00000000..76fd1e54 --- /dev/null +++ b/games/RaftWars2/assets/spritesheets/ss_menu.json @@ -0,0 +1,1339 @@ +{"frames": { + +"Lifebuoy_0000": +{ + "frame": {"x":1,"y":1,"w":479,"h":480}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":479,"h":480}, + "sourceSize": {"w":479,"h":480} +}, +"V_0000": +{ + "frame": {"x":388,"y":1584,"w":57,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":57,"h":42}, + "sourceSize": {"w":57,"h":42} +}, +"ammo_shop1_0000": +{ + "frame": {"x":1891,"y":1586,"w":49,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":49,"h":32}, + "sourceSize": {"w":49,"h":32} +}, +"ammo_shop2_0000": +{ + "frame": {"x":1265,"y":1046,"w":49,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":49,"h":32}, + "sourceSize": {"w":49,"h":32} +}, +"ammo_shop3_0000": +{ + "frame": {"x":1941,"y":1586,"w":49,"h":32}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":49,"h":32}, + "sourceSize": {"w":49,"h":32} +}, +"arrow_wind_0000": +{ + "frame": {"x":717,"y":1559,"w":34,"h":41}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":34,"h":41}, + "sourceSize": {"w":34,"h":41} +}, +"baddies_0000": +{ + "frame": {"x":120,"y":1599,"w":36,"h":34}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":36,"h":34}, + "sourceSize": {"w":36,"h":34} +}, +"ball_n_0000": +{ + "frame": {"x":1996,"y":1585,"w":43,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":43,"h":43}, + "sourceSize": {"w":43,"h":43} +}, +"ball_small_0000": +{ + "frame": {"x":1343,"y":1590,"w":35,"h":36}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":35,"h":36}, + "sourceSize": {"w":35,"h":36} +}, +"ball_t_0000": +{ + "frame": {"x":1996,"y":1541,"w":43,"h":43}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":43,"h":43}, + "sourceSize": {"w":43,"h":43} +}, +"balls3_n_0000": +{ + "frame": {"x":331,"y":1584,"w":56,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":56,"h":50}, + "sourceSize": {"w":56,"h":50} +}, +"balls3_t_0000": +{ + "frame": {"x":274,"y":1584,"w":56,"h":50}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":56,"h":50}, + "sourceSize": {"w":56,"h":50} +}, +"boatshop1_0000": +{ + "frame": {"x":1346,"y":1347,"w":221,"h":132}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":221,"h":132}, + "sourceSize": {"w":221,"h":132} +}, +"boatshop2_0000": +{ + "frame": {"x":303,"y":1343,"w":221,"h":132}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":221,"h":132}, + "sourceSize": {"w":221,"h":132} +}, +"boatshop3_0000": +{ + "frame": {"x":1124,"y":1347,"w":221,"h":132}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":221,"h":132}, + "sourceSize": {"w":221,"h":132} +}, +"boatshop4_0000": +{ + "frame": {"x":1,"y":1357,"w":221,"h":132}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":221,"h":132}, + "sourceSize": {"w":221,"h":132} +}, +"bonus_box_0000": +{ + "frame": {"x":1936,"y":362,"w":108,"h":106}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":108,"h":106}, + "sourceSize": {"w":108,"h":106} +}, +"btn_bonus_0000": +{ + "frame": {"x":1807,"y":230,"w":229,"h":131}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":229,"h":131}, + "sourceSize": {"w":229,"h":131} +}, +"btn_close_0000": +{ + "frame": {"x":901,"y":1549,"w":65,"h":65}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":65,"h":65}, + "sourceSize": {"w":65,"h":65} +}, +"btn_continue_0000": +{ + "frame": {"x":1568,"y":1375,"w":229,"h":117}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":229,"h":117}, + "sourceSize": {"w":229,"h":117} +}, +"btn_credits_0000": +{ + "frame": {"x":1318,"y":585,"w":80,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":80,"h":79}, + "sourceSize": {"w":80,"h":79} +}, +"btn_gun_0000": +{ + "frame": {"x":1936,"y":469,"w":85,"h":85}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":85,"h":85}, + "sourceSize": {"w":85,"h":85} +}, +"btn_heroic_0000": +{ + "frame": {"x":951,"y":1449,"w":140,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":140,"h":99}, + "sourceSize": {"w":140,"h":99} +}, +"btn_home_0000": +{ + "frame": {"x":1950,"y":909,"w":79,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":79,"h":79}, + "sourceSize": {"w":79,"h":79} +}, +"btn_home3_0000": +{ + "frame": {"x":1379,"y":1480,"w":135,"h":70}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":135,"h":70}, + "sourceSize": {"w":135,"h":70} +}, +"btn_home4_0000": +{ + "frame": {"x":1,"y":1490,"w":135,"h":70}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":135,"h":70}, + "sourceSize": {"w":135,"h":70} +}, +"btn_music_0000": +{ + "frame": {"x":1318,"y":665,"w":80,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":80,"h":79}, + "sourceSize": {"w":80,"h":79} +}, +"btn_music_0001": +{ + "frame": {"x":1318,"y":745,"w":80,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":80,"h":79}, + "sourceSize": {"w":80,"h":79} +}, +"btn_play_0000": +{ + "frame": {"x":1798,"y":1375,"w":229,"h":116}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":229,"h":116}, + "sourceSize": {"w":229,"h":116} +}, +"btn_play2_0000": +{ + "frame": {"x":755,"y":1449,"w":195,"h":99}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":195,"h":99}, + "sourceSize": {"w":195,"h":99} +}, +"btn_progress_0000": +{ + "frame": {"x":1092,"y":1480,"w":169,"h":76}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":169,"h":76}, + "sourceSize": {"w":169,"h":76} +}, +"btn_replay_0000": +{ + "frame": {"x":525,"y":1442,"w":229,"h":116}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":229,"h":116}, + "sourceSize": {"w":229,"h":116} +}, +"btn_shop2_0000": +{ + "frame": {"x":1867,"y":1250,"w":180,"h":119}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":180,"h":119}, + "sourceSize": {"w":180,"h":119} +}, +"btn_skip1_0000": +{ + "frame": {"x":157,"y":1599,"w":31,"h":34}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":31,"h":34}, + "sourceSize": {"w":31,"h":34} +}, +"btn_skip2_0000": +{ + "frame": {"x":1092,"y":1449,"w":30,"h":30}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":30,"h":30}, + "sourceSize": {"w":30,"h":30} +}, +"btn_sound_0000": +{ + "frame": {"x":1950,"y":989,"w":79,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":79,"h":79}, + "sourceSize": {"w":79,"h":79} +}, +"btn_sound_0001": +{ + "frame": {"x":525,"y":1343,"w":79,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":79,"h":79}, + "sourceSize": {"w":79,"h":79} +}, +"btn_start_0000": +{ + "frame": {"x":1,"y":1254,"w":301,"h":102}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":301,"h":102}, + "sourceSize": {"w":301,"h":102} +}, +"btn_template_0000": +{ + "frame": {"x":223,"y":1476,"w":245,"h":66}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":245,"h":66}, + "sourceSize": {"w":245,"h":66} +}, +"cflash_0000": +{ + "frame": {"x":1996,"y":1492,"w":39,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":42,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0001": +{ + "frame": {"x":1996,"y":1492,"w":39,"h":48}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":26,"y":42,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0002": +{ + "frame": {"x":454,"y":482,"w":18,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":52,"y":35,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0003": +{ + "frame": {"x":454,"y":482,"w":18,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":52,"y":35,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0004": +{ + "frame": {"x":469,"y":1476,"w":55,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":18,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0005": +{ + "frame": {"x":469,"y":1476,"w":55,"h":86}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":18,"y":18,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0006": +{ + "frame": {"x":1930,"y":1492,"w":65,"h":93}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":15,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0007": +{ + "frame": {"x":1930,"y":1492,"w":65,"h":93}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":12,"y":15,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0008": +{ + "frame": {"x":223,"y":1357,"w":63,"h":96}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":6,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0009": +{ + "frame": {"x":223,"y":1357,"w":63,"h":96}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":9,"y":6,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0010": +{ + "frame": {"x":1265,"y":845,"w":37,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":0,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0011": +{ + "frame": {"x":1265,"y":845,"w":37,"h":83}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":0,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0012": +{ + "frame": {"x":2022,"y":469,"w":25,"h":78}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":8,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0013": +{ + "frame": {"x":2022,"y":469,"w":25,"h":78}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":7,"y":8,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0014": +{ + "frame": {"x":525,"y":1559,"w":59,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":29,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0015": +{ + "frame": {"x":525,"y":1559,"w":59,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":29,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0016": +{ + "frame": {"x":605,"y":1372,"w":21,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":65,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0017": +{ + "frame": {"x":605,"y":1372,"w":21,"h":30}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":65,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0018": +{ + "frame": {"x":1298,"y":1590,"w":44,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":59,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"cflash_0019": +{ + "frame": {"x":1298,"y":1590,"w":44,"h":32}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":3,"y":59,"w":77,"h":108}, + "sourceSize": {"w":77,"h":108} +}, +"clocks_0000": +{ + "frame": {"x":1219,"y":1557,"w":36,"h":42}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":36,"h":42}, + "sourceSize": {"w":36,"h":42} +}, +"close_0000": +{ + "frame": {"x":1216,"y":1158,"w":42,"h":51}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":42,"h":51}, + "sourceSize": {"w":42,"h":51} +}, +"cmsg20_0000": +{ + "frame": {"x":633,"y":1105,"w":453,"h":127}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":453,"h":127}, + "sourceSize": {"w":453,"h":127} +}, +"coin1_0000": +{ + "frame": {"x":605,"y":1343,"w":27,"h":28}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":27,"h":28}, + "sourceSize": {"w":27,"h":28} +}, +"coin_panel_0000": +{ + "frame": {"x":1515,"y":1546,"w":123,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":123,"h":53}, + "sourceSize": {"w":123,"h":53} +}, +"coin_panel2_0000": +{ + "frame": {"x":1515,"y":1493,"w":150,"h":52}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":150,"h":52}, + "sourceSize": {"w":150,"h":52} +}, +"coins_0000": +{ + "frame": {"x":585,"y":1559,"w":68,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":68,"h":53}, + "sourceSize": {"w":68,"h":53} +}, +"coins_n_0000": +{ + "frame": {"x":137,"y":1490,"w":67,"h":49}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":67,"h":49}, + "sourceSize": {"w":67,"h":49} +}, +"congratulations_panel_0000": +{ + "frame": {"x":1581,"y":1088,"w":458,"h":161}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":458,"h":161}, + "sourceSize": {"w":458,"h":161} +}, +"credits_panel_0000": +{ + "frame": {"x":481,"y":1,"w":401,"h":562}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":401,"h":562}, + "sourceSize": {"w":401,"h":562} +}, +"empty_star_0000": +{ + "frame": {"x":755,"y":1549,"w":76,"h":73}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":76,"h":73}, + "sourceSize": {"w":76,"h":73} +}, +"flag_language_0000": +{ + "frame": {"x":967,"y":1549,"w":62,"h":63}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0001": +{ + "frame": {"x":1379,"y":1551,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0002": +{ + "frame": {"x":1442,"y":1551,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0003": +{ + "frame": {"x":1639,"y":1553,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0004": +{ + "frame": {"x":1702,"y":1553,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0005": +{ + "frame": {"x":1765,"y":1554,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0006": +{ + "frame": {"x":1828,"y":1554,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0007": +{ + "frame": {"x":1030,"y":1557,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0008": +{ + "frame": {"x":1093,"y":1557,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"flag_language_0009": +{ + "frame": {"x":1156,"y":1557,"w":62,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":63}, + "sourceSize": {"w":62,"h":63} +}, +"grenade_n_0000": +{ + "frame": {"x":1216,"y":1104,"w":41,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":41,"h":53}, + "sourceSize": {"w":41,"h":53} +}, +"grenade_t_0000": +{ + "frame": {"x":1265,"y":992,"w":41,"h":53}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":41,"h":53}, + "sourceSize": {"w":41,"h":53} +}, +"heroic_coin_0000": +{ + "frame": {"x":1798,"y":1492,"w":131,"h":61}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":131,"h":61}, + "sourceSize": {"w":131,"h":61} +}, +"heroic_empty_0000": +{ + "frame": {"x":1666,"y":1493,"w":125,"h":59}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":125,"h":59}, + "sourceSize": {"w":125,"h":59} +}, +"icon_buy_movie_0000": +{ + "frame": {"x":1256,"y":1590,"w":41,"h":35}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":41,"h":35}, + "sourceSize": {"w":41,"h":35} +}, +"l1_0000": +{ + "frame": {"x":370,"y":564,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l10_0000": +{ + "frame": {"x":317,"y":824,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l11_0000": +{ + "frame": {"x":1318,"y":828,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l12_0000": +{ + "frame": {"x":1265,"y":1088,"w":315,"h":258}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":258}, + "sourceSize": {"w":315,"h":258} +}, +"l13_0000": +{ + "frame": {"x":1634,"y":828,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l14_0000": +{ + "frame": {"x":633,"y":845,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l2_0000": +{ + "frame": {"x":1402,"y":568,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l3_0000": +{ + "frame": {"x":949,"y":845,"w":315,"h":258}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":258}, + "sourceSize": {"w":315,"h":258} +}, +"l4_0000": +{ + "frame": {"x":1718,"y":568,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l5_0000": +{ + "frame": {"x":686,"y":585,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l6_0000": +{ + "frame": {"x":1,"y":995,"w":315,"h":258}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":258}, + "sourceSize": {"w":315,"h":258} +}, +"l7_0000": +{ + "frame": {"x":1002,"y":585,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l8_0000": +{ + "frame": {"x":1,"y":735,"w":315,"h":259}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":259}, + "sourceSize": {"w":315,"h":259} +}, +"l9_0000": +{ + "frame": {"x":317,"y":1084,"w":315,"h":258}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":315,"h":258}, + "sourceSize": {"w":315,"h":258} +}, +"logo_0000": +{ + "frame": {"x":1402,"y":366,"w":533,"h":201}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":533,"h":201}, + "sourceSize": {"w":533,"h":201} +}, +"logo_grenade_0000": +{ + "frame": {"x":654,"y":1559,"w":62,"h":57}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":62,"h":57}, + "sourceSize": {"w":62,"h":57} +}, +"logo_phazer_0000": +{ + "frame": {"x":274,"y":1543,"w":176,"h":40}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":176,"h":40}, + "sourceSize": {"w":176,"h":40} +}, +"logo_tbs_0000": +{ + "frame": {"x":1581,"y":1250,"w":285,"h":124}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":285,"h":124}, + "sourceSize": {"w":285,"h":124} +}, +"logosimon2_0000": +{ + "frame": {"x":900,"y":1233,"w":223,"h":215}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":223,"h":215}, + "sourceSize": {"w":223,"h":215} +}, +"logosman_0000": +{ + "frame": {"x":633,"y":1233,"w":266,"h":208}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":266,"h":208}, + "sourceSize": {"w":266,"h":208} +}, +"lost_panel_0000": +{ + "frame": {"x":883,"y":333,"w":518,"h":251}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":518,"h":251}, + "sourceSize": {"w":518,"h":251} +}, +"next_0000": +{ + "frame": {"x":137,"y":1543,"w":136,"h":55}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":136,"h":55}, + "sourceSize": {"w":136,"h":55} +}, +"pause_panel_0000": +{ + "frame": {"x":1,"y":482,"w":368,"h":252}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":368,"h":252}, + "sourceSize": {"w":368,"h":252} +}, +"rocket_n_0000": +{ + "frame": {"x":64,"y":1561,"w":55,"h":52}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":55,"h":52}, + "sourceSize": {"w":55,"h":52} +}, +"rocket_t_0000": +{ + "frame": {"x":451,"y":1563,"w":55,"h":52}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":55,"h":52}, + "sourceSize": {"w":55,"h":52} +}, +"sheildshop1_0000": +{ + "frame": {"x":1124,"y":1225,"w":127,"h":120}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":127,"h":120}, + "sourceSize": {"w":127,"h":120} +}, +"sheildshop2_0000": +{ + "frame": {"x":1087,"y":1104,"w":128,"h":120}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":128,"h":120}, + "sourceSize": {"w":128,"h":120} +}, +"sheildshop3_0000": +{ + "frame": {"x":1262,"y":1480,"w":116,"h":109}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":116,"h":109}, + "sourceSize": {"w":116,"h":109} +}, +"star_0000": +{ + "frame": {"x":370,"y":482,"w":83,"h":79}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":83,"h":79}, + "sourceSize": {"w":83,"h":79} +}, +"tut_aim_0000": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0001": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0002": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0003": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0004": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0005": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0006": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0007": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0008": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0009": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0010": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0011": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0012": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0013": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0014": +{ + "frame": {"x":1265,"y":929,"w":40,"h":62}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":14,"y":11,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0015": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0016": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0017": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0018": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0019": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0020": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0021": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0022": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_aim_0023": +{ + "frame": {"x":317,"y":735,"w":51,"h":69}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":54,"h":73}, + "sourceSize": {"w":54,"h":73} +}, +"tut_arm_0000": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0001": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0002": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0003": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0004": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0005": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0006": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0007": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0008": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0009": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0010": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0011": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0012": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0013": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0014": +{ + "frame": {"x":1,"y":1561,"w":62,"h":57}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":11,"y":11,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0015": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0016": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0017": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0018": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0019": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0020": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0021": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0022": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"tut_arm_0023": +{ + "frame": {"x":832,"y":1549,"w":68,"h":63}, + "rotated": false, + "trimmed": true, + "spriteSourceSize": {"x":0,"y":0,"w":73,"h":68}, + "sourceSize": {"w":73,"h":68} +}, +"upgrade_panel_0000": +{ + "frame": {"x":1402,"y":1,"w":404,"h":364}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":404,"h":364}, + "sourceSize": {"w":404,"h":364} +}, +"win_panel_0000": +{ + "frame": {"x":883,"y":1,"w":518,"h":331}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":518,"h":331}, + "sourceSize": {"w":518,"h":331} +}, +"window_language_big_0000": +{ + "frame": {"x":1807,"y":1,"w":233,"h":228}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":233,"h":228}, + "sourceSize": {"w":233,"h":228} +}, +"window_language_small_0000": +{ + "frame": {"x":1950,"y":828,"w":79,"h":80}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":79,"h":80}, + "sourceSize": {"w":79,"h":80} +}}, +"meta": { + "app": "Adobe Animate", + "version": "16.2.0.24", + "image": "ss_menu.png", + "format": "RGBA8888", + "size": {"w":2048,"h":2048}, + "scale": "1" +} +} diff --git a/games/RaftWars2/assets/spritesheets/ss_menu.png b/games/RaftWars2/assets/spritesheets/ss_menu.png new file mode 100644 index 00000000..da37be8d Binary files /dev/null and b/games/RaftWars2/assets/spritesheets/ss_menu.png differ diff --git a/games/RaftWars2/assets/text/text.json b/games/RaftWars2/assets/text/text.json new file mode 100644 index 00000000..6550df64 --- /dev/null +++ b/games/RaftWars2/assets/text/text.json @@ -0,0 +1,1998 @@ +{ + "EN": { + "play": "play", + "get_now": "get now", + "resume": "resume", + "continue": "continue", + "select": "select", + "skip": "skip", + "credits": "CREDITS", + "upgrades": "UPGRADES", + "max": "MAX", + "level_N": "LEVEL #:", + "complete_N_shots": "Complete with # shots to get 3 stars", + "producer": "Producer", + "developed_by": "Developed by", + "music_by": "Music by", + "clear_progress": "clear\nprogress", + "clear_confirm": "Are you sure?\nprogress will be lost", + "made_with": "Made with", + "tap_to_continue": "TAP TO CONTINUE", + "tap_to_begin": "Tap to begin", + "your_turn": "Your turn", + + "level_nameRW1_1": "Defend Your Treasure", + "level_nameRW1_2": "Fearless Vikings", + "level_nameRW1_3": "Thugs of War", + "level_nameRW1_4": "Obnoxious Neighbors", + "level_nameRW1_5": "Shuriken Warriors", + "level_nameRW1_6": "Pirates Return", + "level_nameRW1_7": "Brutal Encounter", + "level_nameRW1_8": "Viking Vengeance", + "level_nameRW1_9": "Brutal Revenge", + "level_nameRW1_10": "The Last Shurikens", + "level_nameRW1_11": "Quartet of Thugs", + "level_nameRW1_12": "Fight for Family", + "level_nameRW1_13": "Turn of Events", + + "level_nameRW2_1": "The paint bucket", + "level_nameRW2_2": "Security trouble", + "level_nameRW2_3": "Greedy neighbours", + "level_nameRW2_4": "The shrimp mascot", + "level_nameRW2_5": "The waterslide", + "level_nameRW2_6": "Heli attack", + "level_nameRW2_7": "Angry builders", + "level_nameRW2_8": "Octomom", + "level_nameRW2_9": "Whaling Whalers", + "level_nameRW2_10": "Drone attack", + "level_nameRW2_11": "Waterslide part 2", + "level_nameRW2_12": "Turtle warriors", + "level_nameRW2_13": "The big explosion", + + "battle_won": "BATTLE WON!", + "battle_lost": "BATTLE LOST", + "shots_fired": "SHOTS FIRED: #", + "time_used": "TIME USED:", + "time_used_N": "TIME USED: # secs", + "baddies_soaked": "BADDIES SOAKED: #", + "congratulations": "CONGRATULATIONS!", + "text_finalRW1": " Well done! After fighting off the bad\nguys and withstanding his parent's greed\n Simon is happily digging gold again.", + "text_finalRW2": " Well done! After blowing up the whale\nand some digging around the area where\nthe hamburger restaurant used to be,\nSimon has found back his treasure!", + "total_score": "TOTAL SCORE:", + "credits_earned": "CREDITS EARNED:", + + "start_simon_talkRW1_0": "Haha !! They wrecked their ship !", + "start_simon_talkRW1_1": "I'm scared…", + "start_simon_talkRW1_2": "Watch out, they're angry!", + "start_simon_talkRW1_3": "Hola hermanos!", + "start_simon_talkRW1_4": "Eeek!! they are armed with shurikens!", + "start_simon_talkRW1_5": "I thought we'd taken care of them...", + "start_simon_talkRW1_6": "Hide your goat and chickens!", + "start_simon_talkRW1_7": "They don't give up, do they?", + "start_simon_talkRW1_8": "Eeek, that brutal tribe again!", + "start_simon_talkRW1_9": "Let's teach them a lesson", + "start_simon_talkRW1_10": "They carry turtlebombs !!!!", + "start_simon_talkRW1_11": "Oh nooo! they captured mom and dad!", + "start_simon_talkRW1_12": "Mom and Dad! They are after my treasure!", + + "start_brother_talkRW1_0": "Those pirates are toast!", + "start_brother_talkRW1_1": "Oh no, vikings !", + "start_brother_talkRW1_2": "Angry bikers!", + "start_brother_talkRW1_3": "Our neighbors!!!", + "start_brother_talkRW1_4": "Crazy guys!", + "start_brother_talkRW1_5": "The Pirates are back!", + "start_brother_talkRW1_6": "Eeeek !! Brutes !!!", + "start_brother_talkRW1_7": "Vikings? Not again…", + "start_brother_talkRW1_8": "Brutes are back!", + "start_brother_talkRW1_9": "Samurai, Ninja, or Fishermen??", + "start_brother_talkRW1_10": "Those guys look tough…", + "start_brother_talkRW1_11": "Mom and Dad!", + "start_brother_talkRW1_12": "Mom and Dad!", + + "start_simon_talkRW2_0": "Let's sink it!", + "start_simon_talkRW2_1": "They are not taking this lightly..", + "start_simon_talkRW2_2": "They are after our treasure again..", + "start_simon_talkRW2_3": "Let's get that shrimp!", + "start_simon_talkRW2_4": "Everyone is hating us now..!", + "start_simon_talkRW2_5": "Oh no...", + "start_simon_talkRW2_6": "Is it too late to run?", + "start_simon_talkRW2_7": "They must be after our treasure too..", + "start_simon_talkRW2_8": "Ahh, that poor whale.", + "start_simon_talkRW2_9": "Cowards..", + "start_simon_talkRW2_10": "Don't worry, I've got your back", + "start_simon_talkRW2_11": "Prepare for impact..", + "start_simon_talkRW2_12": "Let's sink those drones first!", + + "start_brother_talkRW2_0": "See that bucket of paint?", + "start_brother_talkRW2_1": "Oh no, security!", + "start_brother_talkRW2_2": "Our neighbours!!", + "start_brother_talkRW2_3": "It's the company mascott!!", + "start_brother_talkRW2_4": "Eeek!! Angry kids", + "start_brother_talkRW2_5": "Security have a heli!!", + "start_brother_talkRW2_6": "Eeek!! Angry builders!", + "start_brother_talkRW2_7": "Omg.. It's octomom!", + "start_brother_talkRW2_8": "They came all the way from the East!", + "start_brother_talkRW2_9": "Security have drones?!", + "start_brother_talkRW2_10": "Oh no.. more angry kids!", + "start_brother_talkRW2_11": "Kids with turtlebombs!!", + "start_brother_talkRW2_12": "Get ready for a big explosion!", + + "simon_talk1": "Abandon ship!", + "simon_talk2": "I'm hungry!", + "simon_talk3": "Eeeek! A shark!", + "simon_talk4": "Hit me baby one more time!", + "simon_talk5": "I'm on a boat.. I'm on a boat..", + + "security_talk": "Security .. Security .. Come quick\n There's trouble at the pool!", + "blow_up_whale": "Ok, let's blow up the whale!!!", + + "pain_talk0": "Oof!", + "pain_talk1": "Oh!", + "pain_talk2": "Oops!", + "pain_talk3": "Ouch!", + "pain_talk4": "Dang!", + "pain_talk5": "Ahh my knee", + "pain_talk6": "The devil in me", + "pain_talk7": "Ahh sick", + "pain_talk8": "Holy cow!", + "pain_talk9": "Ahh the devil", + + "enemy_talk0": "Attack!", + "enemy_talk1": "I'll get you!", + "enemy_talk2": "Go away!", + "enemy_talk3": "Think you're tough?", + "enemy_talk4": "You're gonna need a bigger boat", + "enemy_talk5": "I'll kick your ass!", + "enemy_talk6": "Surrender now!", + "enemy_talk7": "You have no chance", + "enemy_talk8": "Hope you learned to swim!", + + "comicsRW1_0_text1": "Meet Simon, a cheerful little fellow.\nHe's having a fun afternoon at the beach.", + "comicsRW1_0_text2": "He's about make an amazing discovery\n that will change his life forever.", + "comicsRW1_0_text3": "Solid gold!", + "comicsRW1_0_text4": "Diamonds!", + "comicsRW1_0_text5": "I'm rich!", + + "comicsRW1_1_text1": "The good news soon found \nit's way into the papers...", + "comicsRW1_1_text2": "The treasure is mine!", + "comicsRW1_1_text3": "Time to team up with your brother\nand defend what's rightfully yours!", + + "comicsRW1_2_text1": "Mom, dad!", + "comicsRW1_2_text2": "Son!", + "comicsRW1_2_text3": "After clearing the coasts Simon\nis happily reunited with his parents", + "comicsRW1_2_text4": "but then...", + "comicsRW1_2_text5": "The treasure is ours!", + + "comicsRW1_4_text1": "Sadly mom and dad have turned against\nyou and are after Simon's treasure as well!", + + "comicsRW2_0_text1": "Previously in\nRaft Wars...", + "comicsRW2_1_text1": "Meet three year old Simon. After digging up gold and diamonds at the beach near his house his life will never be the same...", + "comicsRW2_1_text2": "GOLD!", + "comicsRW2_1_text3": "DIAMONDS!", + "comicsRW2_1_text4": "We're rich!", + "comicsRW2_1_text5": "Simon and his brother fought bravely to defend their treasure.", + "comicsRW2_1_text6": "The treasure is mine!", + + "comicsRW2_2_text1": "Six months later..", + + "comicsRW2_3_text1": "The boys are returing home from a long well deserved holiday...", + "comicsRW2_3_text2": "Iceberg ahead!!", + "comicsRW2_3_text3": "That's not an iceberg.", + "comicsRW2_3_text4": "They are building a water park!", + "comicsRW2_3_text5": "Isn't that where we buried our gold and diamonds?", + "comicsRW2_3_text6": "Before their holiday the boys buried their treasure to hide it from their greedy parents and the tax collectors...", + + "comicsRW2_4_text1": "They built this water park right on top of our treasure!", + "comicsRW2_4_text2": "How do we dig up our gold and diamonds now?", + "comicsRW2_4_text3": "Let's drive this place out of business!", + + "comicsRW2_5_text1": "What's that there floating in the water?", + "comicsRW2_5_text2": "It's a huge dead whale.", + "comicsRW2_5_text3": "And it's floating towards the water park!", + + "comicsRW2_6_text1": "This dead whale just washed ashore at aqualand waterpark.", + "comicsRW2_6_text2": "According to authorities there's a high risk this bloated whale is about to explode...", + "comicsRW2_6_text3": "Well. We will just have to see about that...", + "comicsRW2_6_text4": "Omg! I think the whale is going to explode!", + + "comicsRW2_7_text1": "According to my calculations our treasure is buried below the hamburger restaurant...", + "comicsRW2_7_text2": "A big explosion is exactly what we need...", + "comicsRW2_7_text3": "Btw... Look what\nI ordered online...", + "comicsRW2_7_text4": "Awesome!\nLet's blow up that whale!", + + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Nothing happened!", + "comicsRW2_8_text3": "but then...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + + "comicsRW2_9_text1": "Omg! I can't look.", + "comicsRW2_9_text2": "OMG!!!", + + "more_games": "more games" + + }, + "IT":{ + "play": "gioca", + "get_now": "Ottieni ora", + "resume": "riprendi", + "continue": "continua", + "select": "seleziona", + "skip": "salta", + "credits": "RINGRAZIAMENTI", + "upgrades": "MIGLIORAMENTI", + "max": "MAX", + "level_N": "LIVELLO #:", + "complete_N_shots": "Termina con # colpi per ottenere 3 stelle", + "producer": "Produttore", + "developed_by": "Sviluppato da", + "music_by": "Musica di", + "clear_progress": "elimina\nprogressi", + "clear_confirm": "Vuoi procedere?\nTutti i progressi andranno perduti", + "made_with": "Creato con", + "tap_to_continue": "TOCCA PER CONTINUARE", + "tap_to_begin": "Tocca per continuare", + "your_turn": "Tocca a te", + "level_nameRW1_1": "Difendi il tuo tesoro", + "level_nameRW1_2": "Vichinghi temerari", + "level_nameRW1_3": "L'arte della guerra", + "level_nameRW1_4": "Vicini molesti", + "level_nameRW1_5": "Shuriken letali", + "level_nameRW1_6": "Pirati alla riscossa", + "level_nameRW1_7": "Incontro brutale", + "level_nameRW1_8": "Vendetta vichinga", + "level_nameRW1_9": "Ritorsione brutale", + "level_nameRW1_10": "Gli ultimi Shuriken", + "level_nameRW1_11": "Brutti ceffi", + "level_nameRW1_12": "Onore di famiglia", + "level_nameRW1_13": "Svolta insperata", + "level_nameRW2_1": "Il secchio di vernice", + "level_nameRW2_2": "Sicurezza alla riscossa", + "level_nameRW2_3": "Vicini avidi", + "level_nameRW2_4": "Il gamberetto mascotte", + "level_nameRW2_5": "Lo scivolo d'acqua", + "level_nameRW2_6": "Attacco dall'alto", + "level_nameRW2_7": "Muratori infuriati", + "level_nameRW2_8": "Ottomamma", + "level_nameRW2_9": "Balenieri in un baleno", + "level_nameRW2_10": "Attacco coi droni", + "level_nameRW2_11": "Scivolo d'acqua parte 2", + "level_nameRW2_12": "Guerrieri tartaruga", + "level_nameRW2_13": "La grande esplosione", + "battle_won": "HAI VINTO!", + "battle_lost": "HAI PERSO", + "shots_fired": "COLPI SPARATI: #", + "time_used": "TEMPO:", + "time_used_N": "TEMPO: # sec", + "baddies_soaked": "CATTIVI BAGNATI: #", + "congratulations": "CONGRATULAZIONI!", + "text_finalRW1": "Ben fatto! Dopo aver sconfitto i cattivi e aver contrastato l'avidità dei genitori, Simon è tornato felicemente a scavare oro.", + "text_finalRW2": "Ben fatto! Dopo aver fatto saltare la balena e aver scavato nella zona dove stava il ristorante di hamburger, Simon ha ritrovato il suo tesoro!", + "total_score": "PUNTEGGIO TOT:", + "credits_earned": "CREDITI RICEVUTI:", + "start_simon_talkRW1_0": "Ahah! Hanno distrutto la loro nave!", + "start_simon_talkRW1_1": "Ho paura...", + "start_simon_talkRW1_2": "Attenzione, sono arrabbiati!", + "start_simon_talkRW1_3": "Hola hermanos!", + "start_simon_talkRW1_4": "Argh!! Sono armati di shuriken!", + "start_simon_talkRW1_5": "Pensavo li avessimo già sistemati...", + "start_simon_talkRW1_6": "Nascondete capre e galline!", + "start_simon_talkRW1_7": "Non si arrendono proprio, eh?", + "start_simon_talkRW1_8": "Argh, di nuovo quella tribù di bruti!", + "start_simon_talkRW1_9": "Facciamogli vedere noi.", + "start_simon_talkRW1_10": "Hanno delle Tartabombe!!!", + "start_simon_talkRW1_11": "Oh nooo! Hanno catturato mamma e papà!", + "start_simon_talkRW1_12": "Mamma e papà! Vogliono il mio tesoro!", + "start_brother_talkRW1_0": "Questi pirati sono spacciati!", + "start_brother_talkRW1_1": "Oh no, i Vichinghi!", + "start_brother_talkRW1_2": "Motociclisti arrabbiati!", + "start_brother_talkRW1_3": "I nostri vicini!!!", + "start_brother_talkRW1_4": "Che pazzi!", + "start_brother_talkRW1_5": "I pirati sono tornati!", + "start_brother_talkRW1_6": "Argh!!! Dei bruti!!!", + "start_brother_talkRW1_7": "Vichinghi? Di nuovo?", + "start_brother_talkRW1_8": "I bruti sono tornati!", + "start_brother_talkRW1_9": "Samurai, ninja o pescatori??", + "start_brother_talkRW1_10": "Sembrano dei tipi tosti...", + "start_brother_talkRW1_11": "Mamma e papà!", + "start_brother_talkRW1_12": "Mamma e papà!", + "start_simon_talkRW2_0": "Affondiamola!", + "start_simon_talkRW2_1": "Non l'hanno presa bene...", + "start_simon_talkRW2_2": "Vogliono il nostro tesoro, un'altra volta...", + "start_simon_talkRW2_3": "Prendiamo quel gamberetto!", + "start_simon_talkRW2_4": "Ora ci odiano tutti!", + "start_simon_talkRW2_5": "Oh no...", + "start_simon_talkRW2_6": "È troppo tardi per scappare?", + "start_simon_talkRW2_7": "Vorranno anche loro il nostro tesoro...", + "start_simon_talkRW2_8": "Ah, quella povera balena.", + "start_simon_talkRW2_9": "Codardi.", + "start_simon_talkRW2_10": "No problem, ci penso io", + "start_simon_talkRW2_11": "Prepariamoci all'impatto...", + "start_simon_talkRW2_12": "Affondiamo prima quei droni!", + "start_brother_talkRW2_0": "Vedi quel secchio di vernice?", + "start_brother_talkRW2_1": "Oh no, la sicurezza!", + "start_brother_talkRW2_2": "I nostri vicini!", + "start_brother_talkRW2_3": "È la mascotte dell'azienda!!", + "start_brother_talkRW2_4": "Argh!! Bambini infuriati", + "start_brother_talkRW2_5": "La Sicurezza ha un elicottero!", + "start_brother_talkRW2_6": "Argh!! Muratori infuriati!", + "start_brother_talkRW2_7": "Oh no... È l'Ottomamma!", + "start_brother_talkRW2_8": "Vengono dal lontano Oriente!", + "start_brother_talkRW2_9": "La Sicurezza ha dei droni?!", + "start_brother_talkRW2_10": "Oh no... Altri bambini infuriati!", + "start_brother_talkRW2_11": "Bambini con Tartabombe!!", + "start_brother_talkRW2_12": "È in arrivo un'esplosione con i fiocchi!", + "simon_talk1": "Abbandonare la nave!", + "simon_talk2": "Ho fame!", + "simon_talk3": "Aaargh! Uno squalo!", + "simon_talk4": "Colpisci, su dai!", + "simon_talk5": "Rema... Rema...", + "security_talk": "Sicurezza... Sicurezza... Venite subito. C'è un problema nella piscina!", + "blow_up_whale": "Va bene, facciamo saltare la balena!!!", + "pain_talk0": "Ahi!", + "pain_talk1": "Oh!", + "pain_talk2": "Ops!", + "pain_talk3": "Ahia!", + "pain_talk4": "Argh!", + "pain_talk5": "Il mio ginocchio", + "pain_talk6": "Mannaggia la miseria!", + "pain_talk7": "Corbezzoli!", + "pain_talk8": "Santa miseria!", + "pain_talk9": "Miseriaccia!", + "enemy_talk0": "Attacco!", + "enemy_talk1": "Non mi scappi!", + "enemy_talk2": "Scappa!", + "enemy_talk3": "Credi di essere forte?", + "enemy_talk4": "Ti servirà una nave più grande!", + "enemy_talk5": "Ti faccio vedere io!", + "enemy_talk6": "Arrenditi, subito!", + "enemy_talk7": "Non hai nessuna speranza!", + "enemy_talk8": "Spero che tu sappia nuotare!", + "comicsRW1_0_text1": "Questo è Simon, un allegro tipetto. Si sta divertendo alla spiaggia.", + "comicsRW1_0_text2": "Sta per fare una scoperta che cambierà per sempre la sua vita.", + "comicsRW1_0_text3": "Oro zecchino!", + "comicsRW1_0_text4": "Diamanti!", + "comicsRW1_0_text5": "Sono ricco!", + "comicsRW1_1_text1": "La buona notizia è arrivata fino ai giornali...", + "comicsRW1_1_text2": "Il tesoro è mio!", + "comicsRW1_1_text3": "È ora di unire le forze con tuo fratello per difendere ciò che è vostro!", + "comicsRW1_2_text1": "Mamma, papà!", + "comicsRW1_2_text2": "Figliolo!", + "comicsRW1_2_text3": "Dopo aver ripulito la costa, Simon torna con gioia dalla sua famiglia.", + "comicsRW1_2_text4": "Ma poi...", + "comicsRW1_2_text5": "Il tesoro è nostro!", + "comicsRW1_4_text1": "Purtroppo, mamma e papà ti hanno voltato le spalle e vogliono mettere le mani sul tesoro di Simon!", + "comicsRW2_0_text1": "Precedentemente in Raft Wars...", + "comicsRW2_1_text1": "Questo è Simon e ha tre anni. Dopo aver trovato oro e diamanti nella spiaggia vicino a casa sua, la sua vita è cambiata per sempre...", + "comicsRW2_1_text2": "ORO!", + "comicsRW2_1_text3": "DIAMANTI!", + "comicsRW2_1_text4": "Siamo ricchi!", + "comicsRW2_1_text5": "Simon e suo fratello hanno combattuto con coraggio per difendere il tesoro.", + "comicsRW2_1_text6": "Il tesoro è mio!", + "comicsRW2_2_text1": "Sei mesi dopo...", + "comicsRW2_3_text1": "I ragazzi stanno tornando da una meritata vacanza...", + "comicsRW2_3_text2": "Attenzione, iceberg!!!", + "comicsRW2_3_text3": "Quello non è un iceberg.", + "comicsRW2_3_text4": "Stanno costruendo un parco acquatico!", + "comicsRW2_3_text5": "Ma non abbiamo seppellito lì l'oro e i diamanti?", + "comicsRW2_3_text6": "Prima della vacanza, i ragazzi hanno nascosto il tesoro per toglierlo alle grinfie dei genitori e del Fisco...", + "comicsRW2_4_text1": "Hanno costruito questo parco acquatico proprio sopra il nostro tesoro!", + "comicsRW2_4_text2": "E ora come faremo a prendere l'oro e i diamanti?", + "comicsRW2_4_text3": "Facciamo fallire questo posto!", + "comicsRW2_5_text1": "Cos'è quel coso che galleggia in acqua?", + "comicsRW2_5_text2": "È un'enorme balena morta.", + "comicsRW2_5_text3": "E sta galleggiando in direzione del parco!", + "comicsRW2_6_text1": "Questa balena morta si è spiaggiata nel parco acquatico.", + "comicsRW2_6_text2": "Stando alle autorità competenti, potrebbe scoppiare da un momento all'altro...", + "comicsRW2_6_text3": "Beh. Vedremo...", + "comicsRW2_6_text4": "Santo cielo! Sembra che la balena stia per esplodere!", + "comicsRW2_7_text1": "Secondo i nostri calcoli, il tesoro è sepolto sotto il ristorante di hamburger...", + "comicsRW2_7_text2": "Un'esplosione è proprio quello che ci serve...", + "comicsRW2_7_text3": "Comunque... Guarda cos'ho ordinato online...", + "comicsRW2_7_text4": "Alla grande! Facciamo saltare in aria quella balena!", + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Non è successo niente!", + "comicsRW2_8_text3": "Ma poi...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + "comicsRW2_9_text1": "Santo cielo! Non posso guardare.", + "comicsRW2_9_text2": "Santo cielo!!!", + "more_games": "altri giochi" + }, + "ES":{ + "play": "jugar", + "get_now": "Obtenlo ya", + "resume": "reanudar", + "continue": "continuar", + "select": "seleccionar", + "skip": "omitir", + "credits": "CRÉDITOS", + "upgrades": "MEJORAS", + "max": "MÁX", + "level_N": "NIVEL #:", + "complete_N_shots": "Completa con # disparos para conseguir 3 estrellas", + "producer": "Productora", + "developed_by": "Desarrollado por", + "music_by": "Música de", + "clear_progress": "eliminar\nprogreso", + "clear_confirm": "¿Seguro?\nSe perderá el progreso", + "made_with": "Desarrollado con", + "tap_to_continue": "TOCA PARA CONTINUAR", + "tap_to_begin": "Toca para empezar", + "your_turn": "Tu turno", + "level_nameRW1_1": "Defiende tu tesoro", + "level_nameRW1_2": "Vikingos valientes", + "level_nameRW1_3": "Gamberros de guerra", + "level_nameRW1_4": "Vecinos desagradables", + "level_nameRW1_5": "Guerreros con estrellas ninja", + "level_nameRW1_6": "El retorno de los piratas", + "level_nameRW1_7": "Encuentro brutal", + "level_nameRW1_8": "Venganza vikinga", + "level_nameRW1_9": "Venganza brutal", + "level_nameRW1_10": "Las últimas estrellas ninja", + "level_nameRW1_11": "Cuarteto de gamberros", + "level_nameRW1_12": "Lucha por la familia", + "level_nameRW1_13": "Cambio de tornas", + "level_nameRW2_1": "El cubo de pintura", + "level_nameRW2_2": "Problemas de seguridad", + "level_nameRW2_3": "Vecinos avariciosos", + "level_nameRW2_4": "La mascota gamba", + "level_nameRW2_5": "El tobogán de agua", + "level_nameRW2_6": "Ataque de helicóptero", + "level_nameRW2_7": "Constructores enfadados", + "level_nameRW2_8": "Octomadre", + "level_nameRW2_9": "Balleneros de caza", + "level_nameRW2_10": "Ataque de drones", + "level_nameRW2_11": "El tobogán de agua 2", + "level_nameRW2_12": "Guerreros tortuga", + "level_nameRW2_13": "La gran explosión", + "battle_won": "¡BATALLA GANADA!", + "battle_lost": "¡BATALLA PERDIDA!", + "shots_fired": "DISPAROS: #", + "time_used": "TIEMPO USADO:", + "time_used_N": "TIEMPO USADO: # s", + "baddies_soaked": "MALOS EN AGUA: #", + "congratulations": "¡ENHORABUENA!", + "text_finalRW1": "¡Buen trabajo! Tras deshacerse de los malos y soportar la avaricia de sus padres, Simón vuelve a buscar oro.", + "text_finalRW2": "¡Buen trabajo! Después de hacer explotar a la ballena y cavar cerca de donde antes estaba la hamburguesería, ¡Simón encuentra su tesoro!", + "total_score": "PUNTUACIÓN TOTAL:", + "credits_earned": "CRÉDITOS CONSEGUIDOS:", + "start_simon_talkRW1_0": "¡Ja, ja! ¡Han destrozado su barco!", + "start_simon_talkRW1_1": "Tengo miedo...", + "start_simon_talkRW1_2": "Cuidado, ¡están enfadados!", + "start_simon_talkRW1_3": "¡Hola, hermanos!", + "start_simon_talkRW1_4": "¡Aaah! ¡Que llevan estrellas ninja!", + "start_simon_talkRW1_5": "Pensaba que nos habíamos ocupado de ellos…", + "start_simon_talkRW1_6": "¡Que no os pillen con las manos en la masa!", + "start_simon_talkRW1_7": "No saben cuando rendirse, ¿eh?", + "start_simon_talkRW1_8": "¡Aaah, es la tribu de brutos!", + "start_simon_talkRW1_9": "Vamos a darles una lección", + "start_simon_talkRW1_10": "¡Que llevan bombas tortuga!", + "start_simon_talkRW1_11": "¡Oh, no! ¡Han capturado a mamá y papá!", + "start_simon_talkRW1_12": "¡Mamá y papá! ¡Están tras mi tesoro!", + "start_brother_talkRW1_0": "¡Esos piratas no sabían nadar!", + "start_brother_talkRW1_1": "¡Oh, no! ¡Vikingos!", + "start_brother_talkRW1_2": "¡Moteros enfadados!", + "start_brother_talkRW1_3": "¡Los vecinos!", + "start_brother_talkRW1_4": "¡Gente chiflada!", + "start_brother_talkRW1_5": "¡Los piratas han vuelto!", + "start_brother_talkRW1_6": "¡Aaah! ¡Los brutos!", + "start_brother_talkRW1_7": "¿Vikingos? Otra vez no...", + "start_brother_talkRW1_8": "¡Los brutos han vuelto!", + "start_brother_talkRW1_9": "¿Samuráis, ninjas o pescadores?", + "start_brother_talkRW1_10": "Esos tipos parecen duros...", + "start_brother_talkRW1_11": "¡Mamá y papá!", + "start_brother_talkRW1_12": "¡Mamá y papá!", + "start_simon_talkRW2_0": "¡Hundámoslo!", + "start_simon_talkRW2_1": "No se andan con rodeos…", + "start_simon_talkRW2_2": "Van tras nuestro tesoro, otra vez…", + "start_simon_talkRW2_3": "¡Consigamos esa gamba!", + "start_simon_talkRW2_4": "¡Ahora todo el mundo nos odia!", + "start_simon_talkRW2_5": "Oh, no…", + "start_simon_talkRW2_6": "¿Podemos salir por patas?", + "start_simon_talkRW2_7": "Querrán hacerse con nuestro tesoro también…", + "start_simon_talkRW2_8": "Uf, pobre ballena.", + "start_simon_talkRW2_9": "Cobardes…", + "start_simon_talkRW2_10": "No te preocupes, yo te protejo", + "start_simon_talkRW2_11": "Preparaos para el impacto…", + "start_simon_talkRW2_12": "¡Acabemos con esos drones primero!", + "start_brother_talkRW2_0": "¿Ves el cubo de pintura?", + "start_brother_talkRW2_1": "¡Oh, no! ¡La seguridad!", + "start_brother_talkRW2_2": "¡Los vecinos!", + "start_brother_talkRW2_3": "¡Es la mascota de la empresa!", + "start_brother_talkRW2_4": "¡Aaah! ¡Niños enfadados!", + "start_brother_talkRW2_5": "¡La seguridad tiene un helicóptero!", + "start_brother_talkRW2_6": "¡Aaah! ¡Constructores enfadados!", + "start_brother_talkRW2_7": "¡Madre mía! ¡Es la octomadre!", + "start_brother_talkRW2_8": "¡Han venido del Este!", + "start_brother_talkRW2_9": "¡¿La seguridad tiene drones?!", + "start_brother_talkRW2_10": "¡Oh, no! ¡Más niños enfadados!", + "start_brother_talkRW2_11": "¡Niños con bombas tortuga!", + "start_brother_talkRW2_12": "¡Aquí viene una explosión bestial!", + "simon_talk1": "¡Abandonemos el barco!", + "simon_talk2": "¡Tengo hambre!", + "simon_talk3": "¡Aaah! ¡Un tiburón!", + "simon_talk4": "¡A que no me vuelves a dar!", + "simon_talk5": "¡Flotando voy! ¡Flotando vengo!", + "security_talk": "Seguridad… Seguridad… Rápido ¡Tenemos problemas en la piscina!", + "blow_up_whale": "¡A explotar a esa ballena!", + "pain_talk0": "¡Uf!", + "pain_talk1": "¡Oh!", + "pain_talk2": "¡Uy!", + "pain_talk3": "¡Ay!", + "pain_talk4": "¡Vaya!", + "pain_talk5": "¡Ay mi rodilla!", + "pain_talk6": "¡Duele que no veas!", + "pain_talk7": "Ay, qué mal", + "pain_talk8": "¡Cielo santo!", + "pain_talk9": "Eso me ha dolido", + "enemy_talk0": "¡Al ataque!", + "enemy_talk1": "¡Te pillaré!", + "enemy_talk2": "¡Largo!", + "enemy_talk3": "¿Os creéis duros?", + "enemy_talk4": "Vais a necesitar un barco más grande", + "enemy_talk5": "¡Os daremos una paliza!", + "enemy_talk6": "¡Rendíos!", + "enemy_talk7": "No podéis ganar", + "enemy_talk8": "¡Espero que sepáis nadar!", + "comicsRW1_0_text1": "Te presento a Simón, un chico alegre. Está disfrutando de la tarde en la playa.", + "comicsRW1_0_text2": "Está a punto de descubrir algo maravilloso que le cambiará la vida para siempre.", + "comicsRW1_0_text3": "¡Oro macizo!", + "comicsRW1_0_text4": "¡Diamantes!", + "comicsRW1_0_text5": "¡Soy rico!", + "comicsRW1_1_text1": "Las buenas noticias llegaron al periódico poco después…", + "comicsRW1_1_text2": "¡El tesoro es mío!", + "comicsRW1_1_text3": "¡Ha llegado la hora de unir fuerzas con tu hermano y defender lo que es tuyo!", + "comicsRW1_2_text1": "¡Mamá, papá!", + "comicsRW1_2_text2": "¡Hijo!", + "comicsRW1_2_text3": "Tras limpiar las costas, Simón se reúne de nuevo con sus padres", + "comicsRW1_2_text4": "pero entonces…", + "comicsRW1_2_text5": "¡El tesoro es nuestro!", + "comicsRW1_4_text1": "¡Por desgracia, tus padres se han vuelto tu contra y también quieren el tesoro de Simón!", + "comicsRW2_0_text1": "Anteriormente en Raft Wars…", + "comicsRW2_1_text1": "Te presento a Simón, un niño de tres años. Su vida cambió cuando encontró oro y diamantes en la playa cerca de su casa…", + "comicsRW2_1_text2": "¡ORO!", + "comicsRW2_1_text3": "¡DIAMANTES!", + "comicsRW2_1_text4": "¡Somos ricos!", + "comicsRW2_1_text5": "Simón y su hermano defendieron su tesoro con valentía.", + "comicsRW2_1_text6": "¡El tesoro es mío!", + "comicsRW2_2_text1": "Seis meses después…", + "comicsRW2_3_text1": "Los chicos regresan a casa después de unas merecidas vacaciones…", + "comicsRW2_3_text2": "¡Iceberg a la vista!", + "comicsRW2_3_text3": "¡Eso no es un iceberg!", + "comicsRW2_3_text4": "¡Están construyendo un parque acuático!", + "comicsRW2_3_text5": "Ahí enterramos el oro y los diamantes, ¿no?", + "comicsRW2_3_text6": "Antes de las vacaciones, los chicos enterraron su tesoro para ocultarlo de sus padres y de los recaudadores de impuestos…", + "comicsRW2_4_text1": "¡Han construido el parque acuático justo encima de nuestro tesoro!", + "comicsRW2_4_text2": "¿Cómo vamos a desenterrar el oro y los diamantes ahora?", + "comicsRW2_4_text3": "¡Hagamos que la empresa quiebre!", + "comicsRW2_5_text1": "¿Qué es aquello en el agua?", + "comicsRW2_5_text2": "Es una enorme ballena muerta.", + "comicsRW2_5_text3": "¡Que se dirige hacia el parque acuático!", + "comicsRW2_6_text1": "La ballena muerta ha sido arrastrada hasta las orillas de Aqualand.", + "comicsRW2_6_text2": "Según las autoridades, esta ballena hinchada puede estar a punto de explotar…", + "comicsRW2_6_text3": "Bueno… eso tendremos que verlo…", + "comicsRW2_6_text4": "¡Madre mía! ¡Creo que la ballena va a explotar!", + "comicsRW2_7_text1": "Si no me equivoco, nuestro tesoro está enterrado bajo la hamburguesería…", + "comicsRW2_7_text2": "Una gran explosión es justo lo que necesitamos…", + "comicsRW2_7_text3": "Por cierto, mira lo que compre online…", + "comicsRW2_7_text4": "¡Genial! ¡Hagamos que la ballena explote!", + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "¡No ha pasado nada!", + "comicsRW2_8_text3": "pero entonces…", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "¡GRRRR!", + "comicsRW2_9_text1": "¡Ay! No puedo mirar.", + "comicsRW2_9_text2": "¡MADRE MÍA!", + "more_games": "más juegos" + }, + "PT":{ + "play": "jogar", + "get_now": "Obter agora", + "resume": "voltar a jogar", + "continue": "continuar", + "select": "selecionar", + "skip": "saltar", + "credits": "CRÉDITOS", + "upgrades": "MELHORIAS", + "max": "MAX", + "level_N": "NIVEL #:", + "complete_N_shots": "Completar com # tiros para ganhar 3 estrelas", + "producer": "Produtor", + "developed_by": "Criado por", + "music_by": "Música de", + "clear_progress": "limpar\nprogresso", + "clear_confirm": "Você tem a certeza?\nO progresso será perdido", + "made_with": "Feito com", + "tap_to_continue": "toque para continuar", + "tap_to_begin": "toque para iniciar", + "your_turn": "A sua vez", + + "level_nameRW1_1": "Defenda o seu Tesouro", + "level_nameRW1_2": "Vikings Destemidos", + "level_nameRW1_3": "Bandidos da Guerra", + "level_nameRW1_4": "Vizinhos Desagradáveis", + "level_nameRW1_5": "Guerreiros de Shuriken", + "level_nameRW1_6": "Os Piratas estão de volta", + "level_nameRW1_7": "Encontro Brutal", + "level_nameRW1_8": "A Vingança dos Viking", + "level_nameRW1_9": "Vingança Brutal", + "level_nameRW1_10": "Os Últimos dos Shuriken", + "level_nameRW1_11": "Quarteto de Bandidos", + "level_nameRW1_12": "Luta pela Família", + "level_nameRW1_13": "A Reviravolta", + + "level_nameRW2_1": "O balde de tinta", + "level_nameRW2_2": "Problema com seguranças", + "level_nameRW2_3": "Vizinhos gananciosos", + "level_nameRW2_4": "A mascote de camarão", + "level_nameRW2_5": "O escorrega aquático", + "level_nameRW2_6": "Ataque de Helicóptero", + "level_nameRW2_7": "Construtores raivosos", + "level_nameRW2_8": "Mãezona", + "level_nameRW2_9": "Pesca da Baleia", + "level_nameRW2_10": "Ataque de drones", + "level_nameRW2_11": "O escorrega aquático parte 2", + "level_nameRW2_12": "Guerreiros da tartaruga", + "level_nameRW2_13": "A grande explosão", + + "battle_won": "BATALHA VENCIDA!", + "battle_lost": "BATALHA PERDIDA", + "shots_fired": "TIROS DISPARADOS: #", + "time_used": "TEMPO UTILIZADO:", + "time_used_N": "TEMPO UTILIZADO: # segundos", + "baddies_soaked": "VILÕES ENCHARCADOS: #", + "congratulations": "PARABÉNS!", + "text_finalRW1": " Muito bem! Após derrotar os vilões e resistir aos seus pais gananciosos, Simon volta a escavar o seu ouro alegremente.", + "text_finalRW2": " Muito bem! Após explodir a baleia e escavar os arredores da área onde a hamburgueria costumava estar, Simon encontrou o seu tesouro de volta!", + "total_score": "PONTUAÇÃO TOTAL:", + "credits_earned": "CRÉDITOS GANHOS:", + + "start_simon_talkRW1_0": "Haha!! O barco deles quebrou!", + "start_simon_talkRW1_1": "Estou assustado...", + "start_simon_talkRW1_2": "Cuidado, eles estão revoltados!", + "start_simon_talkRW1_3": "Olá irmãos!", + "start_simon_talkRW1_4": "Não!! Eles estão armados com shurikens!", + "start_simon_talkRW1_5": "Pensei que havíamos tratado deles...", + "start_simon_talkRW1_6": "Esconde a tua cabra e as tuas galinhas!", + "start_simon_talkRW1_7": "Eles não desistem, não é verdade?", + "start_simon_talkRW1_8": "Não! Aquela tribo brutal novamente!", + "start_simon_talkRW1_9": "Vamos dar-lhes uma verdadeira lição", + "start_simon_talkRW1_10": "Eles carregam bombas-tartaruga !!!!", + "start_simon_talkRW1_11": "Oh não! Eles capturaram o papá e a mamã!", + "start_simon_talkRW1_12": "Papá e mamã! Eles estão atrás do meu tesouro!", + + "start_brother_talkRW1_0": "Esses piratas são fichinha!", + "start_brother_talkRW1_1": "Oh não, vikings !", + "start_brother_talkRW1_2": "Motoqueiros aquáticos engraçadinhos!", + "start_brother_talkRW1_3": "São os nossos vizinhos!!!", + "start_brother_talkRW1_4": "Eles são malucos!", + "start_brother_talkRW1_5": "Os Piratas estão de volta!", + "start_brother_talkRW1_6": "Não!! Seus brutos!!!", + "start_brother_talkRW1_7": "Vikings? Outra vez, não…", + "start_brother_talkRW1_8": "Os Brutos estão de volta!", + "start_brother_talkRW1_9": "Samurai, Ninja, ou Pescador??", + "start_brother_talkRW1_10": "Esses homens parecem fortes…", + "start_brother_talkRW1_11": "Papá e mamã!", + "start_brother_talkRW1_12": "Papá e mamã!", + + "start_simon_talkRW2_0": "Vamos afundá-lo!", + "start_simon_talkRW2_1": "Eles não estão para brincadeira..", + "start_simon_talkRW2_2": "Eles querem o nosso tesouro novamente..", + "start_simon_talkRW2_3": "Vamos apanhar aquele camarão!", + "start_simon_talkRW2_4": "Agora todos nos odeiam..!", + "start_simon_talkRW2_5": "Oh não...", + "start_simon_talkRW2_6": "Já é tarde para correr?", + "start_simon_talkRW2_7": "Eles também devem estar atrás do nosso tesouro..", + "start_simon_talkRW2_8": "Ah, pobre baleia.", + "start_simon_talkRW2_9": "Covardes..", + "start_simon_talkRW2_10": "Não se preocupe, eu protejo-a", + "start_simon_talkRW2_11": "Preparar para o impacto..", + "start_simon_talkRW2_12": "Vamos afundar com esses drones primeiro!", + + "start_brother_talkRW2_0": "Viste aquele balde de tinta?", + "start_brother_talkRW2_1": "Oh não, seguranças!", + "start_brother_talkRW2_2": "São os nossos vizinhos!!", + "start_brother_talkRW2_3": "É o mascote da empresa!!", + "start_brother_talkRW2_4": "Ora aí está!! Crianças birrentas", + "start_brother_talkRW2_5": "Os seguranças têm um helicóptero!!", + "start_brother_talkRW2_6": "Ora aí está!! Pedreiros engraçadinhos!", + "start_brother_talkRW2_7": "Meu deus.. É uma mãezona!", + "start_brother_talkRW2_8": "Eles vieram de longe!", + "start_brother_talkRW2_9": "Os seguranças têm drones?!", + "start_brother_talkRW2_10": "Oh não.. mais crianças birrentas!", + "start_brother_talkRW2_11": "Crianças com bombas-tartaruga!!", + "start_brother_talkRW2_12": "Prepara-te para a grande explosão!", + + "simon_talk1": "Abandonar o navio!", + "simon_talk2": "Estou esfomeado!", + "simon_talk3": "Puxa! Um tubarão!", + "simon_talk4": "Prepara-te que está na hora!", + "simon_talk5": "O meu barquinho amarelinho...", + + "security_talk": "Segurança .. Segurança .. Vem rápido! Temos problemas na piscina!", + "blow_up_whale": "Ok, vamos detonar com a baleia!!!", + + "pain_talk0": "Argh!", + "pain_talk1": "Ah!", + "pain_talk2": "Oops!", + "pain_talk3": "Ugh!", + "pain_talk4": "Ai!", + "pain_talk5": "Essa doeu", + "pain_talk6": "Snif, snif...", + "pain_talk7": "Uff!", + "pain_talk8": "Essa não!", + "pain_talk9": "Ah, meu...", + + "enemy_talk0": "Atacar!", + "enemy_talk1": "Vou-te apanhar!", + "enemy_talk2": "Vai embora!", + "enemy_talk3": "Está armado em mau?", + "enemy_talk4": "Tu vais precisar de um barco maior!", + "enemy_talk5": "Vou-te detonar!", + "enemy_talk6": "Rende-te, agora!", + "enemy_talk7": "Não tem hipótese!", + "enemy_talk8": "Espero que saiba nadar!", + + "comicsRW1_0_text1": "Este é o Simon, um pequeno alegre amigo. Ele está a ter uma tarde divertida na praia.", + "comicsRW1_0_text2": "Ele está prestes a fazer uma incrível descoberta que irá mudar a sua vida para sempre.", + "comicsRW1_0_text3": "Muito ouro!", + "comicsRW1_0_text4": "Diamantes...", + "comicsRW1_0_text5": "Estou rico!", + + "comicsRW1_1_text1": "A boa notícia tornou-se logo um assunto de jornal...", + "comicsRW1_1_text2": "O tesouro é meu!", + "comicsRW1_1_text3": "É hora de se juntar ao seu irmão e defender o que é legitimamente seu!", + + "comicsRW1_2_text1": "Mãe, pai!", + "comicsRW1_2_text2": "Filho!", + "comicsRW1_2_text3": "Após limpar a costa, Simon fica feliz ao se reunir com os seus pais", + "comicsRW1_2_text4": "porém...", + "comicsRW1_2_text5": "O tesouro é nosso!", + + "comicsRW1_4_text1": "Triste, a mãe e o pai viram-se contra ti e estão também atrás do tesouro do Simon!", + + "comicsRW2_0_text1": "Anteriormente em \nRaft Wars...", + "comicsRW2_1_text1": "Este é o Simon com três anos de idade. Após escavar ouro e diamantes na praia perto da sua casa, a sua vida nunca será a mesma...", + "comicsRW2_1_text2": "OURO!", + "comicsRW2_1_text3": "DIAMANTES!", + "comicsRW2_1_text4": "Estamos ricos!", + "comicsRW2_1_text5": "Simon e o seu irmão lutaram corajosamente para defender o seu tesouro.", + "comicsRW2_1_text6": "O tesouro é meu!", + + "comicsRW2_2_text1": "Seis meses depois..", + + "comicsRW2_3_text1": "Os meninos estão a regressar a casa após longas e merecidas férias...", + "comicsRW2_3_text2": "Icebergue à frente!!", + "comicsRW2_3_text3": "Isso não é um icebergue.", + "comicsRW2_3_text4": "Estão construindo um parque aquático!", + "comicsRW2_3_text5": "Não foi lá que enterramos o nosso ouro e diamantes?", + "comicsRW2_3_text6": "Antes de irem de férias, os meninos enterraram o seu tesouro para escondê-lo dos seus pais gananciosos e coletores de impostos...", + + "comicsRW2_4_text1": "Eles construíram esse parque aquático mesmo em cima do nosso tesouro!", + "comicsRW2_4_text2": "Como vamos desenterrar o nosso ouro e diamantes agora?", + "comicsRW2_4_text3": "Vamos fazê-los tirar umas férias para sempre!", + + "comicsRW2_5_text1": "O que é aquilo a boiar na água?", + "comicsRW2_5_text2": "É uma baleia morta gigante.", + "comicsRW2_5_text3": "E está a boiar em direção ao parque aquático!", + + "comicsRW2_6_text1": "Essa baleia morta acabou de encalhar no parque aquático Aqualand.", + "comicsRW2_6_text2": "De acordo com as autoridades, existe um grande risco dessa baleia inchada estar prestes a explodir...", + "comicsRW2_6_text3": "Bem. Nós teremos que analisar isso...", + "comicsRW2_6_text4": "Meu Deus! Acho que a baleia vai explodir!", + + "comicsRW2_7_text1": "De acordo com mos eus cálculos, o nosso tesouro está enterrado de baixo da hamburgueria...", + "comicsRW2_7_text2": "Uma grande explosão é exatamente o que precisamos...", + "comicsRW2_7_text3": "Aliás... Olha o que eu comprei online...", + "comicsRW2_7_text4": "É demais! Vamos detonar aquela baleia!", + + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Não aconteceu nada!", + "comicsRW2_8_text3": "então...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + + "comicsRW2_9_text1": "Meu Deus! Não posso olhar.", + "comicsRW2_9_text2": "Caraças!!!", + + "more_games": "mais jogos" + }, + "TR":{ + "play": "oyna", + "get_now": "Hemen al", + "resume": "devam et", + "continue": "devam et", + "select": "seç", + "skip": "atla", + "credits": "JENERiK", + "upgrades": "YÜKSELTMELER", + "max": "MAKSiMUM", + "level_N": "#. SEViYE:", + "complete_N_shots": "3 yıldız almak için # atışla tamamla", + "producer": "Yapımcı", + "developed_by": "Geliştirici", + "music_by": "Müzik", + "clear_progress": "ilerlemeyi\ntemizle", + "clear_confirm": "Emin misin?\nilerlemeni kaybedeceksin", + "made_with": "Yazılım", + "tap_to_continue": "DEVAM ETMEK iÇiN DOKUN", + "tap_to_begin": "Devam etmek için dokun", + "your_turn": "Senin sıran", + "level_nameRW1_1": "Hazineni Savun", + "level_nameRW1_2": "Korkusuz Vikingler", + "level_nameRW1_3": "Savaş Haydutları", + "level_nameRW1_4": "Pis Komşular", + "level_nameRW1_5": "Ninja Yıldızı Savaşçıları", + "level_nameRW1_6": "Korsanların Dönüşü", + "level_nameRW1_7": "Vahşi Karşılaşma", + "level_nameRW1_8": "Viking intikamı", + "level_nameRW1_9": "Vahşi intikam", + "level_nameRW1_10": "Son Ninja Yıldızları", + "level_nameRW1_11": "Haydut Dörtlüsü", + "level_nameRW1_12": "Aile Savaşı", + "level_nameRW1_13": "Olayların Degişimi", + "level_nameRW2_1": "Boya kovası", + "level_nameRW2_2": "Güvenlik sorunu", + "level_nameRW2_3": "Açgözlü komşular", + "level_nameRW2_4": "Karides maskot", + "level_nameRW2_5": "Su kaydıragı", + "level_nameRW2_6": "Helikopter saldırısı", + "level_nameRW2_7": "Öfkeli inşaatçılar", + "level_nameRW2_8": "Octomom", + "level_nameRW2_9": "Balina Avcıları", + "level_nameRW2_10": "Dron saldırısı", + "level_nameRW2_11": "Su kaydıragı", + "level_nameRW2_12": "Kaplumbaga savaşçılar", + "level_nameRW2_13": "Büyük patlama", + "battle_won": "SAVAŞI KAZANDIN!", + "battle_lost": "SAVAŞI KAYBETTiN", + "shots_fired": "YAPILAN ATIŞ SAYISI: #", + "time_used": "KULLANILAN SÜRE:", + "time_used_N": "KULLANILAN SÜRE: # saniye", + "baddies_soaked": "SUYA DÜŞÜRÜLEN KÖTÜ ADAMLAR: #", + "congratulations": "TEBRiKLER!", + "text_finalRW1": "Tebrikler! Simon, kötü adamları yendikte ve ebeveynlerinin açgözlülügüne katlandıktan sonra tekrar mutlu bir şekilde altın çıkarmaya başladı.", + "text_finalRW2": "Tebrikler! Balinayı patlattıktan ve hamburgercinin eskiden bulundugu yeri kazdıktan sonra Simon, hazinesini buldu!", + "total_score": "TOPLAM PUAN:", + "credits_earned": "KAZANDIgIN KREDi:", + "start_simon_talkRW1_0": "Haha! Gemilerini batırdılar!", + "start_simon_talkRW1_1": "Çok korktum?", + "start_simon_talkRW1_2": "Dikkat et, çok kızgın görünüyorlar!", + "start_simon_talkRW1_3": "Merhaba millet!", + "start_simon_talkRW1_4": "Aaa! Ninja yıldızları var!", + "start_simon_talkRW1_5": "Onların işini bitirdigimizi sanıyordum...", + "start_simon_talkRW1_6": "Keçilerinizi ve tavuklarınızı saklayın!", + "start_simon_talkRW1_7": "Hiç pes etmiyorlar, degil mi?", + "start_simon_talkRW1_8": "Yine şu vahşi kabile!", + "start_simon_talkRW1_9": "Hadi şunlara derslerini verelim", + "start_simon_talkRW1_10": "Kaplumbaga bombaları var!!!", + "start_simon_talkRW1_11": "Olamaz! Annemle babamı yakalamışlar!", + "start_simon_talkRW1_12": "Annemle babam! Hazinemin peşindeler!", + "start_brother_talkRW1_0": "Bu korsanların işi bitti!", + "start_brother_talkRW1_1": "Olamaz, vikingler!", + "start_brother_talkRW1_2": "Öfkeli motosikletliler!", + "start_brother_talkRW1_3": "Komşularımız!!!", + "start_brother_talkRW1_4": "Deliler!", + "start_brother_talkRW1_5": "Korsanlar döndü!", + "start_brother_talkRW1_6": "Olamaz! Vahşiler!!!", + "start_brother_talkRW1_7": "Vikingler mi? Yine mi?", + "start_brother_talkRW1_8": "Vahşiler döndü!", + "start_brother_talkRW1_9": "Samuraylar mı, ninjalar mı yoksa balıkçılar mı?", + "start_brother_talkRW1_10": "Bu adamlar çok güçlü görünüyor?", + "start_brother_talkRW1_11": "Annemle babam!", + "start_brother_talkRW1_12": "Annemle babam!", + "start_simon_talkRW2_0": "Hadi şunu batıralım!", + "start_simon_talkRW2_1": "Bunu hiç de hafife almıyorlar...", + "start_simon_talkRW2_2": "Yine hazinemizin peşindeler...", + "start_simon_talkRW2_3": "Şu karidesi alalım!", + "start_simon_talkRW2_4": "Şimdi herkes bizden nefret edecek!..", + "start_simon_talkRW2_5": "Olamaz...", + "start_simon_talkRW2_6": "Kaçmak için çok mu geç?", + "start_simon_talkRW2_7": "Bunlar da hazinemizin peşinde olmalı...", + "start_simon_talkRW2_8": "Ah, zavallı balina.", + "start_simon_talkRW2_9": "Korkaklar...", + "start_simon_talkRW2_10": "Merak etme, arkandayım", + "start_simon_talkRW2_11": "Çarpışmaya hazır olun..", + "start_simon_talkRW2_12": "Önce şu dronları batıralım!", + "start_brother_talkRW2_0": "Şu boya kovasını gördün mü?", + "start_brother_talkRW2_1": "Olamaz, güvenlik!", + "start_brother_talkRW2_2": "Komşularımız!!!", + "start_brother_talkRW2_3": "Şirket maskotu!!!", + "start_brother_talkRW2_4": "Olamaz!!! Öfkeli çocuklar", + "start_brother_talkRW2_5": "Güvenligin helikopteri var!!!", + "start_brother_talkRW2_6": "Olamaz!!! Öfkeli inşaatçılar!", + "start_brother_talkRW2_7": "Aman tanrım... Bu octomom!", + "start_brother_talkRW2_8": "Dogudan onca yolu katedip gelmişler!", + "start_brother_talkRW2_9": "Güvenligin dronları mı var?!", + "start_brother_talkRW2_10": "Olamaz... Yine öfkeli çocuklar!", + "start_brother_talkRW2_11": "Kaplumbaga bombalı çocuklar!!!", + "start_brother_talkRW2_12": "Büyük bir patlamaya hazır olun!", + "simon_talk1": "Gemiyi terk edin!", + "simon_talk2": "Acıktım!", + "simon_talk3": "Olamaz! Köpekbalıgı!", + "simon_talk4": "Bir kere daha vursana!", + "simon_talk5": "Teknedeyim... Teknedeyim...", + "security_talk": "Güvenlik... Güvenlik... Hemen gelin Havuzda sorun var!", + "blow_up_whale": "Pekâlâ, şu balinayı patlatalım!!!", + "pain_talk0": "Of!", + "pain_talk1": "Ah!", + "pain_talk2": "Olamaz!", + "pain_talk3": "Ay!", + "pain_talk4": "Kahretsin!", + "pain_talk5": "Ah, dizim", + "pain_talk6": "içim acıdı", + "pain_talk7": "Ah, bu çok kötüydü", + "pain_talk8": "Vay be!", + "pain_talk9": "Ah, kahretsin", + "enemy_talk0": "Saldırın!", + "enemy_talk1": "işini bitirecegim!", + "enemy_talk2": "Git buradan!", + "enemy_talk3": "Çok mu güçlü oldugunu sanıyorsun?", + "enemy_talk4": "Daha büyük bir tekneye ihtiyacın olacak", + "enemy_talk5": "Seni mahvedecegim!", + "enemy_talk6": "Teslim ol!", + "enemy_talk7": "Hiç şansın yok", + "enemy_talk8": "Umarım yüzmeyi biliyorsundur!", + "comicsRW1_0_text1": "Eglenceli dostumuz Simon'la tanış. Plajda keyifli bir vakit geçiriyor.", + "comicsRW1_0_text2": "Hayatını degiştirecek muhteşem bir şeyi keşfetmek üzere.", + "comicsRW1_0_text3": "Altın!", + "comicsRW1_0_text4": "Elmas!", + "comicsRW1_0_text5": "Zengin oldum!", + "comicsRW1_1_text1": "İyi haberler, gazetede yerini aldı...", + "comicsRW1_1_text2": "Hazine benim!", + "comicsRW1_1_text3": "Kardeşinle birleşip sana ait olan şeyleri koruma vakti geldi!", + "comicsRW1_2_text1": "Anne, baba!", + "comicsRW1_2_text2": "Evlât!", + "comicsRW1_2_text3": "Simon, sahilleri temizledikten sonra ilesiyle tekrar bir araya geldi", + "comicsRW1_2_text4": "ama ardından...", + "comicsRW1_2_text5": "Hazine bizim!", + "comicsRW1_4_text1": "Ne yazık ki annenle baban sana düşman oldu ve Simon'ın hazinesinin peşine düştü!", + "comicsRW2_0_text1": "Raft Wars'ta daha önce...", + "comicsRW2_1_text1": "Bu, Simon'ın üç yaşındaki hali. Evinin yanındaki plajda altın ve elmas bulduktan sonra hayatı tamamen degişti...", + "comicsRW2_1_text2": "ALTIN!", + "comicsRW2_1_text3": "ELMAS!", + "comicsRW2_1_text4": "Zengin olduk!", + "comicsRW2_1_text5": "Simon ile kardeşi, hazinelerini savunmak için cesurca savaştı.", + "comicsRW2_1_text6": "Hazine benim!", + "comicsRW2_2_text1": "Altı ay sonra...", + "comicsRW2_3_text1": "Kardeşler, uzun bir tatilin ardından evlerine dönüyor...", + "comicsRW2_3_text2": "Buz dagı!!!", + "comicsRW2_3_text3": "Buz dagı degil bu.", + "comicsRW2_3_text4": "Su parkı yapıyorlar!", + "comicsRW2_3_text5": "Altınlarımızla elmaslarımızı gömdügümüz yer degil mi orası?", + "comicsRW2_3_text6": "Kardeşler, tatillerinden önce açgözlü ebeveynlerinin ve vergi tahsildarlarının ulaşamaması için hazinelerini gömmüştü...", + "comicsRW2_4_text1": "Bu su parkını hazinemizin üstüne yapmışlar!", + "comicsRW2_4_text2": "Altınlarımızı ve elmaslarımızı nasıl çıkaracagız şimdi?", + "comicsRW2_4_text3": "Önce bu işletmeyi batıralım!", + "comicsRW2_5_text1": "Suda yüzen şu şey de ne?", + "comicsRW2_5_text2": "Dev bir balina cesedi.", + "comicsRW2_5_text3": "Hem de su parkına dogru gidiyor!", + "comicsRW2_6_text1": "Ölü balina, Aqualand su parkının kıyısına vurdu.", + "comicsRW2_6_text2": "Yetkililere göre şişen balina cesedinin patlama riski çok yüksek...", + "comicsRW2_6_text3": "Pekâlâ. Bakalım neler olacak?", + "comicsRW2_6_text4": "Aman tanrım! Balina patlamak üzere!", + "comicsRW2_7_text1": "Hesaplarıma göre hazinemiz hamburgercinin altında gömülü olmalı...", + "comicsRW2_7_text2": "Tek ihtiyacımız olan büyük bir patlama...", + "comicsRW2_7_text3": "Bu arada... internet'ten verdigim siparişe bak...", + "comicsRW2_7_text4": "Mükemmel! Hadi şu balinayı patlatalım!", + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Hiçbir şey olmadı!", + "comicsRW2_8_text3": "ama ardından...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + "comicsRW2_9_text1": "Aman tanrım! Bakamayacagım.", + "comicsRW2_9_text2": "AMAN TANRIM!!!", + "more_games": "diger oyunlar" + }, + "DE":{ + "play": "Spielen", + "get_now": "Jetzt holen", + "resume": "Fortsetzen", + "continue": "Weiter", + "select": "Auswählen", + "skip": "Überspringen", + "credits": "MITWIRKENDE", + "upgrades": "UPGRADES", + "max": "MAX.", + "level_N": "LEVEL #:", + "complete_N_shots": "Mit # Schüssen abschließen, um 3 Sterne zu erhalten", + "producer": "Produktion", + "developed_by": "Entwickelt von", + "music_by": "Musik von", + "clear_progress": "Fortschritt\nlöschen", + "clear_confirm": "Bist du sicher?\nDer Fortschritt geht verloren.", + "made_with": "Gemacht mit", + "tap_to_continue": "ZUM FORTFAHREN TIPPEN", + "tap_to_begin": "Zum Beginnen tippen", + "your_turn": "Du bist dran", + "level_nameRW1_1": "Verteidige deinen Schatz", + "level_nameRW1_2": "Furchtlose Wikinger", + "level_nameRW1_3": "Kriegsverbrecher", + "level_nameRW1_4": "Lästige Nachbarn", + "level_nameRW1_5": "Shuriken-Krieger", + "level_nameRW1_6": "Rückkehr der Piraten", + "level_nameRW1_7": "Brutale Begegnung", + "level_nameRW1_8": "Rache der Wikinger", + "level_nameRW1_9": "Brutale Rache", + "level_nameRW1_10": "Die letzten Shuriken", + "level_nameRW1_11": "Schlägerquartett", + "level_nameRW1_12": "Kampf für die Familie", + "level_nameRW1_13": "Wendepunkt", + "level_nameRW2_1": "Der Farbeimer", + "level_nameRW2_2": "Sicherheitsprobleme", + "level_nameRW2_3": "Gierige Nachbarn", + "level_nameRW2_4": "Das Maskottchen", + "level_nameRW2_5": "Die Wasserrutsche", + "level_nameRW2_6": "Heli-Angriff", + "level_nameRW2_7": "Wütende Baumeister", + "level_nameRW2_8": "Oktomom", + "level_nameRW2_9": "Walfangende Walfänger", + "level_nameRW2_10": "Drohnenangriff", + "level_nameRW2_11": "Wasserrutsche Teil 2", + "level_nameRW2_12": "Schildkrötenkrieger", + "level_nameRW2_13": "Die große Explosion", + "battle_won": "KAMPF GEWONNEN!", + "battle_lost": "KAMPF VERLOREN", + "shots_fired": "SCHÜSSE ABGEFEUERT: #", + "time_used": "GEBRAUCHTE ZEIT:", + "time_used_N": "GEBRAUCHTE ZEIT: # Sek.", + "baddies_soaked": "DURCHNÄSSTE BÖSEWICHTE: #", + "congratulations": "GLÜCKWUNSCH!", + "text_finalRW1": "Gut gemacht! Nachdem er sich gegen die bösen Kerle gewehrt hat und der Gier seiner Eltern standgehalten hat , gräbt Simon wieder fröhlich nach Gold.", + "text_finalRW2": "Gut gemacht! Nachdem er den Wal in die Luft gejagt und in der Gegend gegraben hat, wo früher das Hamburger-Restaurant stand, hat Simon seinen Schatz wiedergefunden!", + "total_score": "GESAMTPUNKTZAHL:", + "credits_earned": "VERDIENTE CREDITS:", + "start_simon_talkRW1_0": "Haha!!! Sie haben ihr Schiff zerstört!", + "start_simon_talkRW1_1": "Ich habe Angst...", + "start_simon_talkRW1_2": "Vorsicht, die sind wütend!", + "start_simon_talkRW1_3": "Hola hermanos!", + "start_simon_talkRW1_4": "Aaaah!!! Sie sind mit Shuriken bewaffnet!", + "start_simon_talkRW1_5": "Ich dachte, die hätten wir längst erledigt ...", + "start_simon_talkRW1_6": "Versteckt eure Ziege und die Hühner!", + "start_simon_talkRW1_7": "Die geben nicht auf, oder?", + "start_simon_talkRW1_8": "Aaah, dieser brutale Stamm schon wieder!", + "start_simon_talkRW1_9": "Erteilen wir ihnen eine Lektion!", + "start_simon_talkRW1_10": "Die haben Schildkrötenbomben!!!", + "start_simon_talkRW1_11": "Oh nein! Sie haben Mama und Papa gefangen genommen!", + "start_simon_talkRW1_12": "Mama und Papa! Sie sind hinter meinem Schatz her!", + "start_brother_talkRW1_0": "Diese Piraten sind erledigt!", + "start_brother_talkRW1_1": "Oh nein, Wikinger!", + "start_brother_talkRW1_2": "Wütende Biker!", + "start_brother_talkRW1_3": "Unsere Nachbarn!!!", + "start_brother_talkRW1_4": "Verrückte Kerle!", + "start_brother_talkRW1_5": "Die Piraten sind zurück!", + "start_brother_talkRW1_6": "Aaaah!! Grobiane!!!!!!!!", + "start_brother_talkRW1_7": "Wikinger? Nicht schon wieder...", + "start_brother_talkRW1_8": "Die Grobiane sind zurück!", + "start_brother_talkRW1_9": "Samurai, Ninja oder Fischer???", + "start_brother_talkRW1_10": "Diese Typen sehen taff aus...", + "start_brother_talkRW1_11": "Mama und Papa!", + "start_brother_talkRW1_12": "Mama und Papa!", + "start_simon_talkRW2_0": "Versenken wir es!", + "start_simon_talkRW2_1": "Das nehmen die nicht auf die leichte Schulter ...", + "start_simon_talkRW2_2": "Die sind schon wieder hinter unserem Schatz her.", + "start_simon_talkRW2_3": "Holen wir uns den Schwächling!", + "start_simon_talkRW2_4": "Jetzt hassen uns alle!", + "start_simon_talkRW2_5": "Oh nein ...", + "start_simon_talkRW2_6": "Ist es zu spät, um wegzulaufen?", + "start_simon_talkRW2_7": "Die müssen auch hinter unserem Schatz her sein.", + "start_simon_talkRW2_8": "Ahh, dieser arme Wal.", + "start_simon_talkRW2_9": "Feiglinge ...", + "start_simon_talkRW2_10": "Keine Sorge, ich passe auf dich auf.", + "start_simon_talkRW2_11": "Auf Aufprall vorbereiten ...", + "start_simon_talkRW2_12": "Versenken wir zuerst die Drohnen!", + "start_brother_talkRW2_0": "Siehst du den Farbeimer?", + "start_brother_talkRW2_1": "Oh nein, der Sicherheitsdienst!", + "start_brother_talkRW2_2": "Unsere Nachbarn!!!", + "start_brother_talkRW2_3": "Es ist das Firmenmaskottchen!!", + "start_brother_talkRW2_4": "Aaaah!! Wütende Kinder!", + "start_brother_talkRW2_5": "Der Sicherheitsdienst hat einen Heli!", + "start_brother_talkRW2_6": "Aaaah!! Wütende Baumeister!", + "start_brother_talkRW2_7": "OMG ... Da ist Oktomom!", + "start_brother_talkRW2_8": "Sie sind von weit aus dem Osten gekommen!", + "start_brother_talkRW2_9": "Der Sicherheitsdienst hat Drohnen?!", + "start_brother_talkRW2_10": "Oh nein ... noch mehr wütende Kinder!", + "start_brother_talkRW2_11": "Kinder mit Schildkrötenbomben!!", + "start_brother_talkRW2_12": "Mach dich bereit für eine große Explosion!", + "simon_talk1": "Schiff verlassen!", + "simon_talk2": "Ich habe Hunger!", + "simon_talk3": "Aaaah!! Ein Hai!", + "simon_talk4": "Triff mich noch mal, Baby!", + "simon_talk5": "Ich bin auf einem Boot. Ich bin auf einem Boot.", + "security_talk": "Sicherheitsdienst ... Sicherheitsdienst ... Kommt schnell, es gibt Ärger am Pool!", + "blow_up_whale": "Okay, lass uns den Wal in die Luft jagen!!!", + "pain_talk0": "Uff!", + "pain_talk1": "Oh!", + "pain_talk2": "Hoppla!", + "pain_talk3": "Autsch!", + "pain_talk4": "Verdammt!", + "pain_talk5": "Ahh, mein Knie!", + "pain_talk6": "Teuflisch!", + "pain_talk7": "Ahh, irre.", + "pain_talk8": "Heilige Scheiße!", + "pain_talk9": "Ahh, zum Teufel!", + "enemy_talk0": "Angriff!", + "enemy_talk1": "Ich kriege dich!", + "enemy_talk2": "Verschwinde!", + "enemy_talk3": "Du denkst, du bist hart?", + "enemy_talk4": "Du wirst ein größeres Boot brauchen.", + "enemy_talk5": "Ich trete dir in den Arsch!", + "enemy_talk6": "Ergib dich!", + "enemy_talk7": "Du hast keine Chance!", + "enemy_talk8": "Ich hoffe, du hast schwimmen gelernt!", + "comicsRW1_0_text1": "Das ist Simon, ein fröhlicher kleiner Kerl. Er verbringt einen unterhaltsamen Nachmittag am Strand.", + "comicsRW1_0_text2": "Er ist dabei, eine erstaunliche Entdeckung zu machen, die sein Leben für immer verändern wird.", + "comicsRW1_0_text3": "Gold!", + "comicsRW1_0_text4": "Diamanten!", + "comicsRW1_0_text5": "Ich bin reich!", + "comicsRW1_1_text1": "Die gute Nachricht war schon bald auch in der Presse zu lesen ...", + "comicsRW1_1_text2": "Der Schatz gehört mir!", + "comicsRW1_1_text3": "Zeit, dich mit deinem Bruder zu verbünden und das zu verteidigen, was rechtmäßig dir gehört!", + "comicsRW1_2_text1": "Mama, Papa!", + "comicsRW1_2_text2": "Sohn!", + "comicsRW1_2_text3": "Nachdem er alles erledigt hat, ist Simon wieder glücklich mit seinen Eltern vereint.", + "comicsRW1_2_text4": "Aber dann ...", + "comicsRW1_2_text5": "Der Schatz gehört uns!", + "comicsRW1_4_text1": "Leider haben sich Mama und Papa gegen ihren Sohn gewandt und sind jetzt auch hinter Simons Schatz her!", + "comicsRW2_0_text1": "Zuvor in Raft Wars ...", + "comicsRW2_1_text1": "Das ist der dreijährige Simon. Nachdem er am Strand in der Nähe seines Hauses Gold und Diamanten ausgegraben hat, wird sein Leben nie wieder dasselbe sein ...", + "comicsRW2_1_text2": "GOLD!", + "comicsRW2_1_text3": "DIAMANTEN!", + "comicsRW2_1_text4": "Wir sind reich!", + "comicsRW2_1_text5": "Simon und sein Bruder kämpften tapfer, um ihren Schatz zu verteidigen.", + "comicsRW2_1_text6": "Der Schatz gehört mir!", + "comicsRW2_2_text1": "Sechs Monate später ...", + "comicsRW2_3_text1": "Die Jungen kehren von einem wohlverdienten Urlaub nach Hause zurück ...", + "comicsRW2_3_text2": "Eisberg voraus!!", + "comicsRW2_3_text3": "Das ist kein Eisberg.", + "comicsRW2_3_text4": "Sie bauen einen Wasserpark!", + "comicsRW2_3_text5": "Haben wir dort nicht unser Gold und unsere Diamanten vergraben?", + "comicsRW2_3_text6": "Vor ihrem Urlaub hatten die Jungen ihren Schatz vergraben, um ihn vor ihren gierigen Eltern und den Steuereintreibern zu verstecken ...", + "comicsRW2_4_text1": "Sie haben diesen Wasserpark direkt auf unserem Schatz gebaut!", + "comicsRW2_4_text2": "Wie graben wir jetzt unser Gold und unsere Diamanten aus?", + "comicsRW2_4_text3": "Sorgen wir dafür, dass dieser Ort keine Geschäfte macht!", + "comicsRW2_5_text1": "Was schwimmt denn da im Wasser?", + "comicsRW2_5_text2": "Das ist ein riesiger toter Wal.", + "comicsRW2_5_text3": "Und er schwimmt in Richtung Wasserpark!", + "comicsRW2_6_text1": "Dieser tote Wal wurde gerade im Aqualand-Wasserpark an Land gespült.", + "comicsRW2_6_text2": "Laut Behörden besteht ein hohes Risiko, dass der aufgeblähte Wal kurz davor steht, zu explodieren ...", + "comicsRW2_6_text3": "Nun. Das werden wir ja noch sehen ...", + "comicsRW2_6_text4": "OMG! Ich glaube, der Wal wird explodieren!", + "comicsRW2_7_text1": "Nach meinen Berechnungen ist unser Schatz unter dem Hamburger-Restaurant vergraben ...", + "comicsRW2_7_text2": "Eine große Explosion ist genau das, was wir brauchen ...", + "comicsRW2_7_text3": "Übrigens ... Sieh mal, was ich online bestellt habe ...", + "comicsRW2_7_text4": "Super! Lass uns den Wal in die Luft jagen!", + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Es ist nichts passiert!", + "comicsRW2_8_text3": "Aber dann ...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + "comicsRW2_9_text1": "OMG! Ich kann gar nicht hinsehen.", + "comicsRW2_9_text2": "OMG!!!", + "more_games": "Weitere Spiele" + }, + "BR":{ + "play": "jogar", + "get_now": "Obtenha\nagora", + "resume": "continuar", + "continue": "continue", + "select": "selecionar", + "skip": "pular", + "credits": "CRÉDITOS", + "upgrades": "MELHORIAS", + "max": "MAX", + "level_N": "LEVEL #:", + "complete_N_shots": "Complete com # tiros para ganhar 3 estrelas", + "producer": "Produtor", + "developed_by": "Desenvolvido por", + "music_by": "Música por", + "clear_progress": "limpar\nprogresso", + "clear_confirm": "Você tem certeza?\nprogresso será perdido", + "made_with": "Feito com", + "tap_to_continue": "TAP PARA CONTINUAR", + "tap_to_begin": "Tap para iniciar", + "your_turn": "Seu turno", + + "level_nameRW1_1": "Defenda Seu Tesouro", + "level_nameRW1_2": "Vikings Destemidos", + "level_nameRW1_3": "Bandidos de Guerra", + "level_nameRW1_4": "Vizinhos Desagradáveis", + "level_nameRW1_5": "Guerreiros Shuriken", + "level_nameRW1_6": "Os Piratas Retornaram", + "level_nameRW1_7": "Encontro Brutal", + "level_nameRW1_8": "A Vingança Viking", + "level_nameRW1_9": "Vingança Brutal", + "level_nameRW1_10": "Os Últimos Dos Shuriken", + "level_nameRW1_11": "Quarteto Bandido", + "level_nameRW1_12": "Lute Por Sua Família", + "level_nameRW1_13": "A Reviravolta", + + "level_nameRW2_1": "A lata de tinta", + "level_nameRW2_2": "Problema com seguranças", + "level_nameRW2_3": "Vizinhos gananciosos", + "level_nameRW2_4": "O mascote de camarão", + "level_nameRW2_5": "O toboágua", + "level_nameRW2_6": "Ataque de Helicóptero", + "level_nameRW2_7": "Construtores raivosos", + "level_nameRW2_8": "Mãezona", + "level_nameRW2_9": "Baleação de Baleeiro", + "level_nameRW2_10": "Ataque dos drones", + "level_nameRW2_11": "Toboágua parte 2", + "level_nameRW2_12": "Guerreiros tartaruga", + "level_nameRW2_13": "A grande explosão", + + "battle_won": "BATALHA VENCIDA!", + "battle_lost": "BATALHA PERDIDA", + "shots_fired": "TIROS DISPARADOS: #", + "time_used": "TEMPO UTILIZADO:", + "time_used_N": "TEMPO UTILIZADO: # secs", + "baddies_soaked": "VILÕES ENCHARCADOS: #", + "congratulations": "PARABÉNS!", + "text_finalRW1": " Muito bem! Após derrotar os malvadões e resistir aos seus pais gananciosos Simon volta a escavar o seu ouro alegremente.", + "text_finalRW2": " Muito bem! Após explodir a baleia e escavar os arredores da área onde a hambugueria costumava estar, Simon encontrou o seu tesouro de volta!", + "total_score": "PONTUAÇÃO TOTAL:", + "credits_earned": "CRÉDITOS GANHOS:", + + "start_simon_talkRW1_0": "Haha !! O barco deles quebrou !", + "start_simon_talkRW1_1": "Tô assustado...", + "start_simon_talkRW1_2": "Cuidado, eles estão bravos!", + "start_simon_talkRW1_3": "Hola hermanos!", + "start_simon_talkRW1_4": "Eita!! eles estão armados com shurikens!", + "start_simon_talkRW1_5": "Pensei que haviamos cuidado deles...", + "start_simon_talkRW1_6": "Esconda sua cabra e suas galinhas!", + "start_simon_talkRW1_7": "Eles não desistem, não é mesmo?", + "start_simon_talkRW1_8": "Nossa, aquela tribo brutal novamente!", + "start_simon_talkRW1_9": "Vamos ensiná-los uma lição", + "start_simon_talkRW1_10": "Eles carregam bombas-tartaruga !!!!", + "start_simon_talkRW1_11": "Oh nããoo! eles capturaram papai e mamãe!", + "start_simon_talkRW1_12": "Papai e mamãe! Eles estão atrás do meu tesouro!", + + "start_brother_talkRW1_0": "Esses piratas são fichinha!", + "start_brother_talkRW1_1": "Oh não, vikings !", + "start_brother_talkRW1_2": "Motoqueiros aquáticos brabões!", + "start_brother_talkRW1_3": "Nossos vizinhos!!!", + "start_brother_talkRW1_4": "Caras malucos!", + "start_brother_talkRW1_5": "Os Piratas estão de volta!", + "start_brother_talkRW1_6": "Eita !! Brutos !!!", + "start_brother_talkRW1_7": "Vikings? De novo não…", + "start_brother_talkRW1_8": "Brutos estão de volta!", + "start_brother_talkRW1_9": "Samurai, Ninja, ou Pescador??", + "start_brother_talkRW1_10": "Esses caras parecem fortes…", + "start_brother_talkRW1_11": "Papai e mamãe!", + "start_brother_talkRW1_12": "Papai e mamãe!", + + "start_simon_talkRW2_0": "Vamos afundá-lo!", + "start_simon_talkRW2_1": "Eles não estão levando na brincadeira..", + "start_simon_talkRW2_2": "Eles querem nosso tesouro de novo..", + "start_simon_talkRW2_3": "Vamos pegar aquele camarão!", + "start_simon_talkRW2_4": "Todos nos odeiam agora..!", + "start_simon_talkRW2_5": "Oh não...", + "start_simon_talkRW2_6": "Já é tarde para correr?", + "start_simon_talkRW2_7": "Eles também devem estar atras do nosso tesouro..", + "start_simon_talkRW2_8": "Ahh, pobre baleia.", + "start_simon_talkRW2_9": "Covardes..", + "start_simon_talkRW2_10": "Não se preocupe, te dou cobertura", + "start_simon_talkRW2_11": "Preparar para o impacto..", + "start_simon_talkRW2_12": "Vamos afundar com esses drones primeiro!", + + "start_brother_talkRW2_0": "Viu aquele balde de tinta?", + "start_brother_talkRW2_1": "Oh não, seguranças!", + "start_brother_talkRW2_2": "Nossos vizinhos!!", + "start_brother_talkRW2_3": "É o mascote da empresa!!", + "start_brother_talkRW2_4": "Eita!! Crianças emburradas", + "start_brother_talkRW2_5": "Os seguranças tem um helocóptero!!", + "start_brother_talkRW2_6": "Eita!! Pedreiros brabões!", + "start_brother_talkRW2_7": "Céus.. É uma mãezona!", + "start_brother_talkRW2_8": "Eles vieram de longe!", + "start_brother_talkRW2_9": "Seguranças tem drones?!", + "start_brother_talkRW2_10": "Oh não.. mais crianças emburradas!", + "start_brother_talkRW2_11": "Crianças com bombas-tartaruga!!", + "start_brother_talkRW2_12": "Prepare-se para a grande explosão!", + + "simon_talk1": "Abandonar o navio!", + "simon_talk2": "Tô faminto!", + "simon_talk3": "Eita! Um tubarão!", + "simon_talk4": "Prepara que agora é hora!", + "simon_talk5": "Meeu barquinho amareliiinho...", + + "security_talk": "Segurança .. Segurança .. Venha rápido Temos problemas na piscina!", + "blow_up_whale": "Ok, vamos detonar com a baleia!!!", + + "pain_talk0": "Argh!", + "pain_talk1": "Ah!", + "pain_talk2": "Oops!", + "pain_talk3": "Ugh!", + "pain_talk4": "Ai!", + "pain_talk5": "Essa doeu", + "pain_talk6": "Snif, snif...", + "pain_talk7": "Uff!", + "pain_talk8": "Essa não!", + "pain_talk9": "Ah, seu...", + + "enemy_talk0": "Atacar!", + "enemy_talk1": "Vou te pegar!", + "enemy_talk2": "Vai embora!", + "enemy_talk3": "Tá achando que é durão?", + "enemy_talk4": "Você vai precisar de um barco maior!", + "enemy_talk5": "Vou te detonar!", + "enemy_talk6": "Renda-se, agora!", + "enemy_talk7": "Você não tem chance!", + "enemy_talk8": "Espero que saiba nadar!", + + "comicsRW1_0_text1": "Esse é o Simon, um pequeno alegre camarada. Ele está tendo uma tarde divertida na praia.", + "comicsRW1_0_text2": "Ele está prestes a fazer uma descoberta incrível que mudará a sua vida para sempre.", + "comicsRW1_0_text3": "Muito ouro!", + "comicsRW1_0_text4": "Diamantes...", + "comicsRW1_0_text5": "Tô rico!", + + "comicsRW1_1_text1": "A boa notícia logo virou matéria de jornal...", + "comicsRW1_1_text2": "O tesouro é meu!", + "comicsRW1_1_text3": "Hora de juntar-se ao seu irmão e defender o que é legitimamente seu!", + + "comicsRW1_2_text1": "Mãe, pai!", + "comicsRW1_2_text2": "Filho!", + "comicsRW1_2_text3": "Após limpar a costa, Simon fica feliz ao se reunir com seus pais", + "comicsRW1_2_text4": "porém...", + "comicsRW1_2_text5": "O tesouro é nosso!", + + "comicsRW1_4_text1": "Triste, mãe e pai se rebelaram contra você e estão atrás do tesouro de Simon também!", + + "comicsRW2_0_text1": "Previamente em\nRaft Wars...", + "comicsRW2_1_text1": "Esse é o Simon com três anos de idade. Após escavar ouro e diamantes na praia perto de sua casa, sua vida nunca será a mesma...", + "comicsRW2_1_text2": "OURO!", + "comicsRW2_1_text3": "DIAMANTES!", + "comicsRW2_1_text4": "Estamos ricos!", + "comicsRW2_1_text5": "Simon e seu irmão lutaram corajosamente para defender o seu tesouro.", + "comicsRW2_1_text6": "O tesouro é meu!", + + "comicsRW2_2_text1": "Seis meses depois..", + + "comicsRW2_3_text1": "Os meninos estão retornando para casa após longas e merecidas férias...", + "comicsRW2_3_text2": "Icebergue à frente!!", + "comicsRW2_3_text3": "Isso não é um icebergue.", + "comicsRW2_3_text4": "Estão construindo um parque aquático!", + "comicsRW2_3_text5": "Não foi lá que enterramos nosso ouro e diamantes?", + "comicsRW2_3_text6": "Antes de suas férias, os meninos enterraram o seu tesouro para escondê-lo de seus pais gananciosos e coletores de impostos...", + + "comicsRW2_4_text1": "Eles construíram esse parque aquático bem em cima do nosso tesouro!", + "comicsRW2_4_text2": "Como vamos desenterrar nosso ouro e diamantes agora?", + "comicsRW2_4_text3": "Vamos fazê-los tirar umas férias para sempre!", + + "comicsRW2_5_text1": "O que é aquilo boiando na água?", + "comicsRW2_5_text2": "É uma baleia morta gigante.", + "comicsRW2_5_text3": "E está boiando em direção ao parque aquático!", + + "comicsRW2_6_text1": "Essa baleia morta acabou de encalhar no parque aquático Aqualand.", + "comicsRW2_6_text2": "De acordo com as autoridades, existe um grande risco dessa baleia inchada estar prestes a explodir...", + "comicsRW2_6_text3": "Bem. Nós teremos que ver sobre isso...", + "comicsRW2_6_text4": "Meu Deus! Acho que a baleia vai explodir!", + + "comicsRW2_7_text1": "De acordo com meus cálculos, nosso tesouro está enterrado abaixo da hamburgueria...", + "comicsRW2_7_text2": "Uma grande explosão é exatamente o que precisamos...", + "comicsRW2_7_text3": "Aliás... Olha o que eu comprei online...", + "comicsRW2_7_text4": "Demais! Vamos detonar aquela baleia!", + + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Não aconteceu nada!", + "comicsRW2_8_text3": "então...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + + "comicsRW2_9_text1": "Meu Deus! Não posso olhar.", + "comicsRW2_9_text2": "CARACA!!!", + + "more_games": "mais jogos" + }, + "RU":{ + "play": "играть", + "get_now": "получить", + "resume": "возобновить", + "continue": "продолжить", + "select": "выбрать", + "skip": "пропустить", + "credits": "авторы", + "upgrades": "улучшения", + "max": "МАКСИМУМ", + "level_N": "уровень #:", + "complete_N_shots": "Заверши за # выстрелов, чтобы получить 3 звезды", + "producer": "Продюссер", + "developed_by": "Разработчик", + "music_by": "Музыка", + "clear_progress": "очистить\nпрогресс", + "clear_confirm": "Вы уверены?\nпрогресс будет потерян", + "made_with": "Сделано с", + "tap_to_continue": "нажми, чтоб продолжить", + "tap_to_begin": "нажми, чтобы начать", + "your_turn": "Ваш ход", + + "level_nameRW1_1": "Защити свое сокровище", + "level_nameRW1_2": "Бесстрашные викинги", + "level_nameRW1_3": "Головорезы войны", + "level_nameRW1_4": "Отвратительные соседи", + "level_nameRW1_5": "Воины с сюрикенами", + "level_nameRW1_6": "Возвращение пиратов", + "level_nameRW1_7": "Зверская стычка", + "level_nameRW1_8": "Месть викингов", + "level_nameRW1_9": "Зверская месть", + "level_nameRW1_10": "Последние сюрикены", + "level_nameRW1_11": "Квартет бандитов", + "level_nameRW1_12": "Борьба за семью", + "level_nameRW1_13": "Поворот событий", + + "level_nameRW2_1": "Ведро с краской", + "level_nameRW2_2": "Проблема безопасности", + "level_nameRW2_3": "Ненасытные соседи", + "level_nameRW2_4": "Креветка талисман", + "level_nameRW2_5": "Водная горка", + "level_nameRW2_6": "Атака с вертолёта", + "level_nameRW2_7": "Разгневанные строители", + "level_nameRW2_8": "Мама-осьминожка", + "level_nameRW2_9": "Китобойное судно", + "level_nameRW2_10": "Атака дронов", + "level_nameRW2_11": "Водная горка 2", + "level_nameRW2_12": "Воины черепахи", + "level_nameRW2_13": "Большой взрыв", + + "battle_won": "сражение выиграно!", + "battle_lost": "сражение проиграно", + "shots_fired": "выстрелов сделано: #", + "time_used": "использовано времени:", + "time_used_N": "использовано времени: # сек", + "baddies_soaked": "злодеев утоплено: #", + "congratulations": "ПОЗДРАВЛЯЕМ!", + "text_finalRW1": "Отлично сработано! После борьбы с плохими парнями и противостояния жадности родителей, Саймон снова радостно копает золото.", + "text_finalRW2": "Отлично сработано! Взорвав кита и покопавшись в районе, где раньше был ресторан для гамбургеров, Саймон нашел свое сокровище!", + "total_score": "общий счет:", + "credits_earned": "монет заработано:", + + "start_simon_talkRW1_0": "Хаха !! Они разрушили свой корабль!", + "start_simon_talkRW1_1": "Я боюсь…", + "start_simon_talkRW1_2": "Берегись, они злые!", + "start_simon_talkRW1_3": "Привет братья!", + "start_simon_talkRW1_4": "Ого !! они вооружены сюрикенами!", + "start_simon_talkRW1_5": "Я думал, что мы позаботились о них ...", + "start_simon_talkRW1_6": "Спрячь свою козу и кур!", + "start_simon_talkRW1_7": "Они не сдаются, не так ли?", + "start_simon_talkRW1_8": "И снова это чертово племя!", + "start_simon_talkRW1_9": "Давайте преподадим им урок", + "start_simon_talkRW1_10": "У них черепахи-бомбы !!!!", + "start_simon_talkRW1_11": "Ох нееет, они поймали маму и папу!", + "start_simon_talkRW1_12": "Мама и папа! Они охотятся за моим сокровищем!", + + "start_brother_talkRW1_0": "Этим пиратам конец!", + "start_brother_talkRW1_1": "О нет, викинги!", + "start_brother_talkRW1_2": "Злые байкеры!", + "start_brother_talkRW1_3": "Наши соседи!!!", + "start_brother_talkRW1_4": "Сумасшедшие парни!", + "start_brother_talkRW1_5": "Пираты вернулись!", + "start_brother_talkRW1_6": "Э-э-э! Звери !!!", + "start_brother_talkRW1_7": "Викинги? опять…", + "start_brother_talkRW1_8": "Звери вернулись!", + "start_brother_talkRW1_9": "Самураи, ниндзя или рыбаки ??", + "start_brother_talkRW1_10": "Эти парни выглядят жесткими …", + "start_brother_talkRW1_11": "Мама и Папа!", + "start_brother_talkRW1_12": "Мама и Папа!", + + "start_simon_talkRW2_0": "Давайте потопим его!", + "start_simon_talkRW2_1": "Они не воспринимают это всерьёз ..", + "start_simon_talkRW2_2": "Они снова охотятся за нашим сокровищем ..", + "start_simon_talkRW2_3": "Давай достанем эту креветку!", + "start_simon_talkRW2_4": "Все ненавидят нас сейчас ..!", + "start_simon_talkRW2_5": "О нет...", + "start_simon_talkRW2_6": "Слишком поздно бежать?", + "start_simon_talkRW2_7": "Они, должно быть, охотятся на наше сокровища тоже ..", + "start_simon_talkRW2_8": "Ах, этот бедный кит.", + "start_simon_talkRW2_9": "Трусы ..", + "start_simon_talkRW2_10": "Не волнуйся, я за твоей спиной", + "start_simon_talkRW2_11": "Приготовьтесь к удару..", + "start_simon_talkRW2_12": "Давайте потопим эти дроны первыми!", + + "start_brother_talkRW2_0": "Видишь это ведро с краской?", + "start_brother_talkRW2_1": "О нет, охрана!", + "start_brother_talkRW2_2": "Наши соседи!!", + "start_brother_talkRW2_3": "Это талисман компании!", + "start_brother_talkRW2_4": "Э-э-э!! Сердитые дети", + "start_brother_talkRW2_5": "У охраны есть вертолёт!!", + "start_brother_talkRW2_6": "Э-э-э!! Злые строители!", + "start_brother_talkRW2_7": "Воу.. это мама восьмерняшек!", + "start_brother_talkRW2_8": "Они все пришли с Востока!", + "start_brother_talkRW2_9": "У охраны есть дроны?!", + "start_brother_talkRW2_10": "Ох нет.. опять злые дети!", + "start_brother_talkRW2_11": "Дети с черепахо-бомбами!!", + "start_brother_talkRW2_12": "Приготовиться к большому взрыву!", + + "simon_talk1": "Покинуть корабль!", + "simon_talk2": "Я голоден!", + "simon_talk3": "Э-э-э! Акула!", + "simon_talk4": "Порази меня детка еще раз!", + "simon_talk5": "Я на лодке .. Я на лодке ..", + + "security_talk": "Охрана .. Охрана .. Давайте реще .. Около бассейна проблемы !", + "blow_up_whale": "Хорошо, давайте взорвем кита !!!", + + "pain_talk0": "Уф!", + "pain_talk1": "Ох!", + "pain_talk2": "Упс!", + "pain_talk3": "Ой!", + "pain_talk4": "Опасно!", + "pain_talk5": "Ах мое колено", + "pain_talk6": "Дьявол во мне", + "pain_talk7": "Ааа больно", + "pain_talk8": "Святая корова!", + "pain_talk9": "Ааа дьявол", + + "enemy_talk0": "Атака!", + "enemy_talk1": "Я тебя достану!", + "enemy_talk2": "Пошел прочь!", + "enemy_talk3": "Думаешь, ты крут?", + "enemy_talk4": "Тебе понадобится лодка побольше", + "enemy_talk5": "Я надеру тебе задницу!", + "enemy_talk6": "Сдавайся сейчас!", + "enemy_talk7": "У тебя нет шансов", + "enemy_talk8": "Надеюсь, ты научился плавать!", + + "comicsRW1_0_text1": "Познакомьтесь с Саймоном, веселый карапузик. Он хорошо проводит время на пляже.", + "comicsRW1_0_text2": "Он очень близок к удивительному открытию, которое изменит его жизнь навсегда.", + "comicsRW1_0_text3": "Чистое золото!", + "comicsRW1_0_text4": "Бриллианты!", + "comicsRW1_0_text5": "Я богат!", + + "comicsRW1_1_text1": "Хорошая новость вскоре оказалась в газетах ...", + "comicsRW1_1_text2": "Мое сокровище!", + "comicsRW1_1_text3": "Время объединиться со своим братом и защитить то, что по праву принадлежит вам!", + + "comicsRW1_2_text1": "Мама папа!", + "comicsRW1_2_text2": "Сын!", + "comicsRW1_2_text3": "После расчистки побережья, Саймон счастливо воссоединяется со своими родителями", + "comicsRW1_2_text4": "но затем...", + "comicsRW1_2_text5": "Сокровище - наше!", + + "comicsRW1_4_text1": "К сожалению, мама и папа обернулись против вас и тоже охотятся за сокровищами Саймона!", + + "comicsRW2_0_text1": "Ранее в\nRaft Wars...", + "comicsRW2_1_text1": "Встречайте трехлетнего Саймона. После добычи золота и алмазов на пляже возле его дома, его жизнь никогда не будет прежней ...", + "comicsRW2_1_text2": "Золото!", + "comicsRW2_1_text3": "Бриллианты!", + "comicsRW2_1_text4": "Я богат!", + "comicsRW2_1_text5": "Саймон и его брат храбро сражались, чтобы защитить свои сокровища.", + "comicsRW2_1_text6": "Мое сокровище!", + + "comicsRW2_2_text1": "Шесть месяцев спустя ..", + + "comicsRW2_3_text1": "Мальчики возвращаются домой после долгого заслуженного отпуска ...", + "comicsRW2_3_text2": "Айсберг впереди !!", + "comicsRW2_3_text3": "Это не айсберг.", + "comicsRW2_3_text4": "Они строят аквапарк!", + "comicsRW2_3_text5": "Разве это не то место, где мы закопали наше золото и бриллианты?", + "comicsRW2_3_text6": "Перед своим отпуском мальчики закопали свое сокровище, чтобы спрятать его от своих жадных родителей и коллекторов ...", + + "comicsRW2_4_text1": "Они построили этот аквапарк прямо на месте нашего сокровища!", + "comicsRW2_4_text2": "Как мы сейчас откопаем наше золото и бриллианты?", + "comicsRW2_4_text3": "Давайте вытеснить это место из дела!", + + "comicsRW2_5_text1": "Что это там плавает в воде?", + "comicsRW2_5_text2": "Это огромный мертвый кит.", + "comicsRW2_5_text3": "И он плывет прямо к аквапарку!", + + "comicsRW2_6_text1": "Этот мертвый кит только что выплыл на берег в аквапарке Aqualand.", + "comicsRW2_6_text2": "По мнению властей, существует высокий риск того, что этот раздутый кит вот-вот взорвется ...", + "comicsRW2_6_text3": "Что ж. Нам просто нужно посмотреть об этом ...", + "comicsRW2_6_text4": "О, мой бог! Я думаю, что кит взорвется!", + + "comicsRW2_7_text1": "По моим подсчетам, наше сокровище закопано под рестораном для гамбургеров ...", + "comicsRW2_7_text2": "Большой взрыв - именно то, что нам нужно ...", + "comicsRW2_7_text3": "Кстати ... Посмотрите, что я заказал онлайн", + "comicsRW2_7_text4": "Потрясающие! Давайте взорвём этого кита!", + + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Ничего не случилось!", + "comicsRW2_8_text3": "но затем...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "ГРРРР!", + + "comicsRW2_9_text1": "Боже мой! Я ничего не вижу!", + "comicsRW2_9_text2": "БОЖЕ МОЙ!!!", + + "more_games": "больше игр" + }, + "FR":{ + "play": "jouer", + "get_now": "Obtenir\nmaintenant", + "resume": "reprendre", + "continue": "continuer", + "select": "sélectionner", + "skip": "passer", + "credits": "CRÉDITS", + "upgrades": "AMÉLIORATIONS", + "max": "MAX.", + "level_N": "NIVEAU # :", + "complete_N_shots": "Terminez avec # tirs pour remporter 3 étoiles.", + "producer": "Producteur", + "developed_by": "Développé par", + "music_by": "Musiques de", + "clear_progress": "Effacer\nprogression", + "clear_confirm": "Confirmer ?\nVotre progression sera perdue !", + "made_with": "Fait avec", + "tap_to_continue": "TOUCHER POUR CONTINUER", + "tap_to_begin": "Toucher pour démarrer", + "your_turn": "Votre tour", + "level_nameRW1_1": "Défendez votre trésor", + "level_nameRW1_2": "Vaillants vikings", + "level_nameRW1_3": "Les voyous belliqueux", + "level_nameRW1_4": "Des voisins agaçants", + "level_nameRW1_5": "Guerriers shurikens", + "level_nameRW1_6": "Le retour des pirates", + "level_nameRW1_7": "Une rencontre brutale", + "level_nameRW1_8": "La vengeance des vikings", + "level_nameRW1_9": "Vengeance brutale", + "level_nameRW1_10": "Les derniers shurikens", + "level_nameRW1_11": "Quatuor de voyous", + "level_nameRW1_12": "Une lutte familiale", + "level_nameRW1_13": "La tournure des événements", + "level_nameRW2_1": "Le seau de peinture", + "level_nameRW2_2": "Faille de sécurité", + "level_nameRW2_3": "De bien cupides voisins", + "level_nameRW2_4": "La mascotte crevette", + "level_nameRW2_5": "La cascade", + "level_nameRW2_6": "Attaque d'hélico", + "level_nameRW2_7": "Ouvriers en colère", + "level_nameRW2_8": "Octomom", + "level_nameRW2_9": "Baleiniers gémissants", + "level_nameRW2_10": "Attaque de drone", + "level_nameRW2_11": "La cascade 2e partie", + "level_nameRW2_12": "Guerriers tortues", + "level_nameRW2_13": "Une grosse explosion", + "battle_won": "BATAILLE REMPORTÉE !", + "battle_lost": "BATAILLE PERDUE !", + "shots_fired": "TIRS UTILISÉS : #", + "time_used": "TEMPS UTILISÉS :", + "time_used_N": "TEMPS UTILISÉ : # s.", + "baddies_soaked": "MÉCHANTS TREMPÉS : #", + "congratulations": "FÉLICITATIONS !", + "text_finalRW1": "Bien joué ! Après avoir repoussé les méchants et résisté à la cupidité de ses parents, Simon peut retourner chercher de l'or !", + "text_finalRW2": "Bien joué ! Après avoir vaincu la baleine et creusé près des débris du restaurant de hamburgers, Simon a retrouvé son trésor !", + "total_score": "SCORE TOTAL :", + "credits_earned": "CRÉDITS OBTENUS :", + "start_simon_talkRW1_0": "Haha, ils ont abîmé leur navire !", + "start_simon_talkRW1_1": "J'ai peur...", + "start_simon_talkRW1_2": "Attention, ils sont furieux !", + "start_simon_talkRW1_3": "Hola hermanos!", + "start_simon_talkRW1_4": "Aaah ! Ils ont des shurikens !", + "start_simon_talkRW1_5": "Je croyais que nous nous en étions débarrassés.", + "start_simon_talkRW1_6": "Planquez votre bouc et vos poulets !", + "start_simon_talkRW1_7": "Ils sont tenaces, hein ?", + "start_simon_talkRW1_8": "Aaah, cette tribu brutale est de retour !", + "start_simon_talkRW1_9": "Donnons-leur une bonne leçon !", + "start_simon_talkRW1_10": "Ils ont des tortues-bombes sur eux !", + "start_simon_talkRW1_11": "Oh non ! Ils ont capturé maman et papa !", + "start_simon_talkRW1_12": "Maman et papa en ont après mon trésor !", + "start_brother_talkRW1_0": "Ces pirates sont cuits !", + "start_brother_talkRW1_1": "Oh non, des vikings !", + "start_brother_talkRW1_2": "Motards en colère !", + "start_brother_talkRW1_3": "Nos voisins !", + "start_brother_talkRW1_4": "C'est qui, ces tarés ?", + "start_brother_talkRW1_5": "Les pirates sont revenus !", + "start_brother_talkRW1_6": "Aaah, des brutes !", + "start_brother_talkRW1_7": "Encore des vikings ? Oh non !", + "start_brother_talkRW1_8": "Les brutes reviennent !", + "start_brother_talkRW1_9": "Samouraïs, ninjas ou bien... pêcheurs ?", + "start_brother_talkRW1_10": "Ces types ont l'air d'être coriaces !", + "start_brother_talkRW1_11": "Maman et papa !", + "start_brother_talkRW1_12": "Maman et papa !", + "start_simon_talkRW2_0": "Coulons tout ça !", + "start_simon_talkRW2_1": "Ils ne prennent pas ceci à la légère...", + "start_simon_talkRW2_2": "Ils en veulent de nouveau à mon trésor !", + "start_simon_talkRW2_3": "Débarrassons-nous de cette crevette !", + "start_simon_talkRW2_4": "Maintenant, tout le monde nous déteste !", + "start_simon_talkRW2_5": "Oh non !", + "start_simon_talkRW2_6": "C'est trop tard pour fuir ?", + "start_simon_talkRW2_7": "Ils doivent aussi vouloir notre trésor...", + "start_simon_talkRW2_8": "Pauvre baleine...", + "start_simon_talkRW2_9": "Bande de lâches !", + "start_simon_talkRW2_10": "Pas de panique, je suis là.", + "start_simon_talkRW2_11": "Préparez-vous à l'impact...", + "start_simon_talkRW2_12": "Coulons d'abord les drones !", + "start_brother_talkRW2_0": "Vous voyez ce seau de peinture ?", + "start_brother_talkRW2_1": "Oh non, voilà la sécurité !", + "start_brother_talkRW2_2": "V'là les voisins !", + "start_brother_talkRW2_3": "Voilà la mascotte de la compagnie !", + "start_brother_talkRW2_4": "Aaaah, des gamins furieux !", + "start_brother_talkRW2_5": "La sécurité possède un hélico !", + "start_brother_talkRW2_6": "Aaaah ! Des ouvriers en colère !", + "start_brother_talkRW2_7": "Oh non, voilà octomom !", + "start_brother_talkRW2_8": "Ils viennent de l'est !", + "start_brother_talkRW2_9": "La sécurité est venue avec des drones ?", + "start_brother_talkRW2_10": "Oh non... d'autres gamins furieux !", + "start_brother_talkRW2_11": "Des gamins avec des tortue-bombes !", + "start_brother_talkRW2_12": "Préparez-vous à une énorme explosion !", + "simon_talk1": "Quittez le navire !", + "simon_talk2": "J'ai faim !", + "simon_talk3": "Aaaah ! Un requin !", + "simon_talk4": "Encore un petit coup !", + "simon_talk5": "J'suis sur un bateau... j'suis sur un bateau...", + "security_talk": "Sécurité, sécurité, venez vite ! Y'a du grabuge à la piscine !", + "blow_up_whale": "Faisons exploser cette baleine !", + "pain_talk0": "Ouf !", + "pain_talk1": "Oh !", + "pain_talk2": "Oups !", + "pain_talk3": "Ouille !", + "pain_talk4": "Mince !", + "pain_talk5": "Aah, mon genou !", + "pain_talk6": "Par tous les diables !", + "pain_talk7": "Je suis... malade !", + "pain_talk8": "La vache !", + "pain_talk9": "Aah, bon sang !", + "enemy_talk0": "Attaquez !", + "enemy_talk1": "Je vous aurai !", + "enemy_talk2": "Allez-vous-en !", + "enemy_talk3": "Vous croyez être des durs ?", + "enemy_talk4": "Vous aurez besoin d'un plus gros bateau !", + "enemy_talk5": "Je vous botterai les fesses !", + "enemy_talk6": "Rendez-vous !", + "enemy_talk7": "Vous n'avez aucune chance.", + "enemy_talk8": "J'espère que vous savez nager !", + "comicsRW1_0_text1": "Voilà Simon, un charmant petit bonhomme. Il s'amuse bien à la plage.", + "comicsRW1_0_text2": "Il est sur le point de faire une merveilleuse découverte, qui bouleversera sa vie à jamais.", + "comicsRW1_0_text3": "De l'or !", + "comicsRW1_0_text4": "Des diamants !", + "comicsRW1_0_text5": "Je suis riche !", + "comicsRW1_1_text1": "Et la nouvelle se répandit bientôt grâce aux journaux.", + "comicsRW1_1_text2": "Le trésor est à moi !", + "comicsRW1_1_text3": "Il est temps de faire équipe avec votre frère et défendre ce qui vous appartient !", + "comicsRW1_2_text1": "Maman, papa !", + "comicsRW1_2_text2": "Fiston !", + "comicsRW1_2_text3": "Une fois la côte nettoyée, Simon fut enfin réuni avec ses parents", + "comicsRW1_2_text4": "quand soudain...", + "comicsRW1_2_text5": "Le trésor est à nous !", + "comicsRW1_4_text1": "Malheureusement, papa et maman se sont retournés contre vous et veulent voler le trésor !", + "comicsRW2_0_text1": "Précédemment dans Raft Wars...", + "comicsRW2_1_text1": "Voilà Simon à trois ans. Après avoir trouvé de l'or et des diamants sur la plage près de sa maison, sa vie va être bouleversée...", + "comicsRW2_1_text2": "De l'or !", + "comicsRW2_1_text3": "Des diamants !", + "comicsRW2_1_text4": "Nous sommes riches !", + "comicsRW2_1_text5": "Simon et son frère défendirent courageusement leur trésor.", + "comicsRW2_1_text6": "Le trésor est à moi !", + "comicsRW2_2_text1": "Six mois plus tard...", + "comicsRW2_3_text1": "Les garçons rentrent à la maison après des vacances méritées.", + "comicsRW2_3_text2": "Iceberg droit devant !", + "comicsRW2_3_text3": "Ce n'est pas un iceberg...", + "comicsRW2_3_text4": "Ils construisent un parc aquatique !", + "comicsRW2_3_text5": "N'est-ce pas là que nous avons enterré notre or et nos diamants ?", + "comicsRW2_3_text6": "Avant les vacances, les garçons avaient enterré leur trésor pour le protéger des mains avides de leurs parents et du percepteur d'impôts...", + "comicsRW2_4_text1": "Ils ont construit leur parc aquatique au-dessus de notre trésor !", + "comicsRW2_4_text2": "Comment pouvons-nous récupérer notre or et nos diamants ?", + "comicsRW2_4_text3": "Faisons fermer cet endroit !", + "comicsRW2_5_text1": "Qu'est-ce qui flotte là, dans l'eau ?", + "comicsRW2_5_text2": "C'est une énorme baleine morte.", + "comicsRW2_5_text3": "Elle se dirige vers le parc aquatique !", + "comicsRW2_6_text1": "Cette baleine morte vient de s'échouer au parc aqualand.", + "comicsRW2_6_text2": "D'après les autorités, cette baleine trop gonflée a de fortes chances d'exploser...", + "comicsRW2_6_text3": "Eh bien, nous allons bien voir cela...", + "comicsRW2_6_text4": "Oh non ! La baleine est sur le point d'exploser !", + "comicsRW2_7_text1": "D'après mes calculs, notre trésor est enterré sous le restaurant de hamburgers...", + "comicsRW2_7_text2": "Cette explosion pourrait tomber à pic...", + "comicsRW2_7_text3": "Au fait, regarde ce que j'ai commandé en ligne...", + "comicsRW2_7_text4": "C'est génial ! Faisons exploser cette baleine !", + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Il ne s'est rien passé !", + "comicsRW2_8_text3": "mais alors...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR !", + "comicsRW2_9_text1": "Mon dieu, je n'ose pas regarder.", + "comicsRW2_9_text2": "Bon sang !", + "more_games": "plus de jeux" + }, + "NL":{ + "play": "start", + "get_now": "Pak Mee", + "resume": "verder", + "continue": "verder", + "select": "selecteer", + "skip": "sla over", + "credits": "CREDITS", + "upgrades": "UPGRADES", + "max": "MAX", + "level_N": "LEVEL #:", + "complete_N_shots": "Win met # schoten voor 3 sterren", + "producer": "Producent", + "developed_by": "Ontwikkeld door", + "music_by": "Muziek", + "clear_progress": "wis\nsaved game", + "clear_confirm": "Weet je het zeker?\n voortgang wordt gewist", + "made_with": "Gemaakt met", + "tap_to_continue": "TAP OM VERDER TE GAAN", + "tap_to_begin": "Tap om te starten", + "your_turn": "Jouw beurt", + + "level_nameRW1_1": "Verdedig de schat", + "level_nameRW1_2": "Furieuze Vikings", + "level_nameRW1_3": "Zware Jongens", + "level_nameRW1_4": "Schurkerige Buren", + "level_nameRW1_5": "Shuriken Strijders", + "level_nameRW1_6": "Terugkeer van de Piraten", + "level_nameRW1_7": "Brute Ontmoeting", + "level_nameRW1_8": "Wraakzuchtige Vikingen", + "level_nameRW1_9": "Brute Wraak", + "level_nameRW1_10": "De Laatste Shurikens", + "level_nameRW1_11": "Kwartet van Zware Jongens", + "level_nameRW1_12": "Gevecht voor Familie", + "level_nameRW1_13": "Alles is Anders", + + "level_nameRW2_1": "De Emmer met Verf", + "level_nameRW2_2": "Beveiliging Alarm", + "level_nameRW2_3": "Gierige Buren", + "level_nameRW2_4": "De Mascotte", + "level_nameRW2_5": "De Waterglijbaan", + "level_nameRW2_6": "Heli Aanval", + "level_nameRW2_7": "Boze Bouwers", + "level_nameRW2_8": "Octomoeder", + "level_nameRW2_9": "Walvisvaarders", + "level_nameRW2_10": "Drone Aanval", + "level_nameRW2_11": "Waterglijbaan Deel 2", + "level_nameRW2_12": "Schildpad Strijders", + "level_nameRW2_13": "De Grote Explosie", + + "battle_won": "GEWONNEN!", + "battle_lost": "VERLOREN", + "shots_fired": "AANTAL SCHOTEN: #", + "time_used": "TIJDSDUUR:", + "time_used_N": "TIJDSDUUR: # sec", + "baddies_soaked": "VIJANDEN VERSLAGEN: #", + "congratulations": "GEFELICITEERD!", + "text_finalRW1": " Goed gedaan! Na het verslaan van de \nslechterikken en het uit de weg ruimen van zijn hebberige ouders \nis Simon weer vrolijk goud aan het graven.", + "text_finalRW2": " Goed gedaan! Na het opblazen van de walvis\nen na wat graven rond het vormalige hamburger restaurant\nheeft Simon zijn schat met goud teruggevonden!", + "total_score": "TOTALE SCORE:", + "credits_earned": "CREDITS VERDIEND:", + + "start_simon_talkRW1_0": "Haha !! Ze hebben hun schip gesloopt!", + "start_simon_talkRW1_1": "Ik ben bang…", + "start_simon_talkRW1_2": "Pas op, ze zijn woedend!", + "start_simon_talkRW1_3": "Hallo jongens!", + "start_simon_talkRW1_4": "Aaaaah!! ze hebben shurikens bij zich!", + "start_simon_talkRW1_5": "Ik dacht dat we ze al hadden verslagen...", + "start_simon_talkRW1_6": "Verstop uw geit en kippen!", + "start_simon_talkRW1_7": "Ze geven het niet op zo te zien", + "start_simon_talkRW1_8": "Aaarghhh, die brute stam opnieuw!", + "start_simon_talkRW1_9": "We zullen ze laten zien wie de baas is", + "start_simon_talkRW1_10": "Ze hebben schildpad bommen bij zich !!!!", + "start_simon_talkRW1_11": "Oh neeee! ze hebben pa en ma vastgeketend!", + "start_simon_talkRW1_12": "Papa en Mama! Ze zitten ook achter mijn schat aan!", + + "start_brother_talkRW1_0": "Die piraten zijn gezien!", + "start_brother_talkRW1_1": "Oh nee, Vikingen !", + "start_brother_talkRW1_2": "Boze bikers!", + "start_brother_talkRW1_3": "Onze eigen buren!!!", + "start_brother_talkRW1_4": "Dwaze gasten", + "start_brother_talkRW1_5": "De Piraten zijn terug!", + "start_brother_talkRW1_6": "Aiiiii !! Woeste strijders!!!", + "start_brother_talkRW1_7": "Vikingen? Niet opnieuw..", + "start_brother_talkRW1_8": "Brute strijders zijn terug!", + "start_brother_talkRW1_9": "Samurai, Ninja, of Visserslui??", + "start_brother_talkRW1_10": "Die gasten zien er ruw uit…", + "start_brother_talkRW1_11": "Papa en Mama!", + "start_brother_talkRW1_12": "Pa en Ma!", + + "start_simon_talkRW2_0": "Die gaat het water in!", + "start_simon_talkRW2_1": "Ze vatten dit niet echt licht op..", + "start_simon_talkRW2_2": "Ze zitten weer achter onze schat met goud aan..", + "start_simon_talkRW2_3": "Die garnaal gaan we pakken!", + "start_simon_talkRW2_4": "Ze hebben allemaal een hekel aan ons nu..!", + "start_simon_talkRW2_5": "Oh nee...", + "start_simon_talkRW2_6": "Kunnen we nog wegrennen?", + "start_simon_talkRW2_7": "Zo te zien hebben zij het ook op onze schat gemunt..", + "start_simon_talkRW2_8": "Ach, die ongelukkige walvis.", + "start_simon_talkRW2_9": "Lafaards..", + "start_simon_talkRW2_10": "Geen zorgen, ik sta achter je", + "start_simon_talkRW2_11": "Bereid je voor op de impact..", + "start_simon_talkRW2_12": "Laten we die drones eerst te grazen nemen!", + + "start_brother_talkRW2_0": "Zie je die emmer met verf?", + "start_brother_talkRW2_1": "Oh nee, beveiliging!", + "start_brother_talkRW2_2": "Onze eigen buren!!", + "start_brother_talkRW2_3": "Zie ik daar de bedrijfs mascotte??", + "start_brother_talkRW2_4": "Ohhhh!! Boze kids", + "start_brother_talkRW2_5": "Beveiliging heeft een bedrijfs heli ?!!", + "start_brother_talkRW2_6": "Aaaahhh!! Boze bouwvakkers!", + "start_brother_talkRW2_7": "Oh mijn god.. Het is Octomoeder!", + "start_brother_talkRW2_8": "Ze zijn helemaal vanuit het oosten gekomen!", + "start_brother_talkRW2_9": "Beveiliging heeft drones?!", + "start_brother_talkRW2_10": "Oh neee.. nog meer boze kids!", + "start_brother_talkRW2_11": "Gasten met schildpad bommen!!", + "start_brother_talkRW2_12": "Pas op, er komt een grote explosie!", + + "simon_talk1": "Verlaat het schip!", + "simon_talk2": "Ik heb honger!", + "simon_talk3": "Whaaaa! Een haai!", + "simon_talk4": "Hit me baby one more time!", + "simon_talk5": "I'm on a boat.. I'm on a boat..", + + "security_talk": "Beveiliging .. Beveiliging .. Kom snel\n Er zijn problemen bij het zwembad!", + "blow_up_whale": "Ok, we blazen die walvis op!!!", + + "pain_talk0": "Oef!", + "pain_talk1": "Oh!", + "pain_talk2": "Oeps!", + "pain_talk3": "Auwww!", + "pain_talk4": "Jeetje!", + "pain_talk5": "Ai m'n knie", + "pain_talk6": "Bliksems", + "pain_talk7": "Ahh ziek", + "pain_talk8": "Holy shit!", + "pain_talk9": "Ahh vervloekt", + + "enemy_talk0": "Aanvalluhh!!", + "enemy_talk1": "Ik krijg je wel!", + "enemy_talk2": "Ga weg!", + "enemy_talk3": "Wie is hier de baas?", + "enemy_talk4": "Haha, geen schijn van kans", + "enemy_talk5": "Ik neem jullie te grazen", + "enemy_talk6": "Geef je over, nu!", + "enemy_talk7": "Je bent reddeloos verloren", + "enemy_talk8": "Hopelijk kan je zwemmen", + + "comicsRW1_0_text1": "Dit is Simon, een vrolijk kereltje. Hij geniet van een fijne middag op het strand.", + "comicsRW1_0_text2": "Hij staat op het punt een ontdekking to doen dat z'n level voor altijd zal veranderen.", + "comicsRW1_0_text3": "Puur Goud!", + "comicsRW1_0_text4": "Diamanten!", + "comicsRW1_0_text5": "Ik ben steenrijk!", + + "comicsRW1_1_text1": "Het goede nieuws staat al spoedig in alle kranten...", + "comicsRW1_1_text2": "De schat is voor mij!", + "comicsRW1_1_text3": "Tijd om samen met je broer te verdedigen wat van jou is!", + + "comicsRW1_2_text1": "Mam, pap!", + "comicsRW1_2_text2": "Zoon!", + "comicsRW1_2_text3": "Na het veiligstellen van de omgeving is Simon weer terug bij zijn familie", + "comicsRW1_2_text4": "maar dan...", + "comicsRW1_2_text5": "De schat behoort ons toe!", + + "comicsRW1_4_text1": "Triest genoeg hebben vader en moeder zich tegen je gekeerd en zijn nu ook op jacht naar de schat!", + + "comicsRW2_0_text1": "Wat eerder gebeurde in Raft Wars...", + "comicsRW2_1_text1": "Dit is de drie jarige Simon. Na het opgraven van goud en diamanten op het strand naast zijn huis zal zijn level voorgoed veranderd zijn...", + "comicsRW2_1_text2": "GOUD!", + "comicsRW2_1_text3": "DIAMANTEN!", + "comicsRW2_1_text4": "Ik ben steenrijk!", + "comicsRW2_1_text5": "Simon and zijn broer hebben dapper gestreden om de waardevolle schat te verdedigen", + "comicsRW2_1_text6": "Die schat is van mij!", + + "comicsRW2_2_text1": "Zes maanden later..", + + "comicsRW2_3_text1": "De jongens komen terug van een lange welverdiende vakantie...", + "comicsRW2_3_text2": "IJsberg in zicht!!", + "comicsRW2_3_text3": "Dat is zeker geen ijsberg.", + "comicsRW2_3_text4": "Ze zijn een waterpark aan het bouwen!", + "comicsRW2_3_text5": "Is dat niet precies de plek waar we onze schat hebben begraven?", + "comicsRW2_3_text6": "Vlak voor hun vakantie hadden de jongens hun schat begraven om het te verbergen voor hun hebberige ouders en de belastingdienst...", + + "comicsRW2_4_text1": "Ze hebben dit waterpark precies bovenop onze schat gebouwd!", + "comicsRW2_4_text2": "Hoe kunnen we ons goud en onze diamenten nu nog opgraven?", + "comicsRW2_4_text3": "We gaan dit bedrijf met de grond gelijk maken!", + + "comicsRW2_5_text1": "Wat drijft daar verderop in het water?", + "comicsRW2_5_text2": "Het is een enorme dode walvis.", + "comicsRW2_5_text3": "En hij drijft richting het waterpark!", + + "comicsRW2_6_text1": "Deze dode walvis is zojuist aangespoeld bij waterpark Aqualand.", + "comicsRW2_6_text2": "Volgens de authoriteiten bestaat er een grote kans dat deze opgezwollen walvis zal ontploffen...", + "comicsRW2_6_text3": "We zullen u op de hoogte houden van de stand van zaken...", + "comicsRW2_6_text4": "Oh mijn god! Die walvis staat op springen!", + + "comicsRW2_7_text1": "Volgens mijn berekeningen bevindt onze schat zich precies onder het hamburger restaurant...", + "comicsRW2_7_text2": "Een grote explosie is precies wat we nodig hebben...", + "comicsRW2_7_text3": "Trouwens... Kijk hier eens wat ik op marktplaats heb besteld...", + "comicsRW2_7_text4": "Fantastisch! We gaan de walvis een handje helpen!", + + "comicsRW2_8_text1": "???", + "comicsRW2_8_text2": "Dat werkte niet!", + "comicsRW2_8_text3": "maar toen...", + "comicsRW2_8_text4": "!", + "comicsRW2_8_text5": "GRRRR!", + + "comicsRW2_9_text1": "Oh mijn god! Ik kan het niet aanzien.", + "comicsRW2_9_text2": "OMG!!!", + + "more_games": "meer spellen" + } +} diff --git a/games/RaftWars2/assets/transp.png b/games/RaftWars2/assets/transp.png new file mode 100644 index 00000000..25124e2c Binary files /dev/null and b/games/RaftWars2/assets/transp.png differ diff --git a/games/RaftWars2/css/stylesheet.css b/games/RaftWars2/css/stylesheet.css new file mode 100644 index 00000000..1fd4cf29 --- /dev/null +++ b/games/RaftWars2/css/stylesheet.css @@ -0,0 +1,35 @@ +body { + background: #2E3440; + margin: 0; + overflow:hidden; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +#orientation { + margin: 0 auto; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-image: url(../assets/orientation.jpg); + background-repeat: no-repeat; + background-position: center; + background-color: rgb(0, 0, 0); + z-index: 999; + display: none; +} + +#banner { + margin: 0 auto; + position: absolute; + bottom: 0; + display: block; + left: 50%; + transform: translateX(-50%); +} diff --git a/games/RaftWars2/index.html b/games/RaftWars2/index.html index 91a48e09..71fe531f 100644 --- a/games/RaftWars2/index.html +++ b/games/RaftWars2/index.html @@ -1,50 +1,29 @@ - - - - - - - - - - RaftWars2 - - - - - - - - -
-

Raft Wars 2

-
- - - -
- - -
- - - - + + + + + + Raft Wars 2 + + + + + + + + + + + + + + + + +
+
+ + + + + \ No newline at end of file diff --git a/games/RaftWars2/js/BitmapText.js b/games/RaftWars2/js/BitmapText.js new file mode 100644 index 00000000..badd54a5 --- /dev/null +++ b/games/RaftWars2/js/BitmapText.js @@ -0,0 +1,767 @@ +/** +* @author Richard Davey +* @copyright 2016 Photon Storm Ltd. +* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} +*/ + +/** +* BitmapText objects work by taking a texture file and an XML or JSON file that describes the font structure. +* It then generates a new Sprite object for each letter of the text, proportionally spaced out and aligned to +* match the font structure. +* +* BitmapText objects are less flexible than Text objects, in that they have less features such as shadows, fills and the ability +* to use Web Fonts, however you trade this flexibility for rendering speed. You can also create visually compelling BitmapTexts by +* processing the font texture in an image editor, applying fills and any other effects required. +* +* To create multi-line text insert \r, \n or \r\n escape codes into the text string. +* +* If you are having performance issues due to the volume of sprites being rendered, and do not require the text to be constantly +* updating, you can use BitmapText.generateTexture to create a static texture from this BitmapText. +* +* To create a BitmapText data files you can use: +* +* BMFont (Windows, free): http://www.angelcode.com/products/bmfont/ +* Glyph Designer (OS X, commercial): http://www.71squared.com/en/glyphdesigner +* Littera (Web-based, free): http://kvazars.com/littera/ +* +* For most use cases it is recommended to use XML. If you wish to use JSON, the formatting should be equal to the result of +* converting a valid XML file through the popular X2JS library. An online tool for conversion can be found here: http://codebeautify.org/xmltojson +* +* If you were using an older version of Phaser (< 2.4) and using the DOMish parser hack, please remove this. It isn't required any longer. +* +* @class Phaser.BitmapText +* @constructor +* @extends PIXI.DisplayObjectContainer +* @extends Phaser.Component.Core +* @extends Phaser.Component.Angle +* @extends Phaser.Component.AutoCull +* @extends Phaser.Component.Bounds +* @extends Phaser.Component.Destroy +* @extends Phaser.Component.FixedToCamera +* @extends Phaser.Component.InputEnabled +* @extends Phaser.Component.InWorld +* @extends Phaser.Component.LifeSpan +* @extends Phaser.Component.PhysicsBody +* @extends Phaser.Component.Reset +* @param {Phaser.Game} game - A reference to the currently running game. +* @param {number} x - X coordinate to display the BitmapText object at. +* @param {number} y - Y coordinate to display the BitmapText object at. +* @param {string} font - The key of the BitmapText as stored in Phaser.Cache. +* @param {string} [text=''] - The text that will be rendered. This can also be set later via BitmapText.text. +* @param {number} [size=32] - The size the font will be rendered at in pixels. +* @param {string} [align='left'] - The alignment of multi-line text. Has no effect if there is only one line of text. +*/ +Phaser.BitmapText = function (game, x, y, font, text, size, align) +{ + + x = x || 0; + y = y || 0; + font = font || ''; + text = text || ''; + size = size || 32; + align = align || 'left'; + + PIXI.DisplayObjectContainer.call(this); + + /** + * @property {number} type - The const type of this object. + * @readonly + */ + this.type = Phaser.BITMAPTEXT; + + /** + * @property {number} physicsType - The const physics body type of this object. + * @readonly + */ + this.physicsType = Phaser.SPRITE; + + /** + * @property {number} textWidth - The width in pixels of the overall text area, taking into consideration multi-line text. + * @readOnly + */ + this.textWidth = 0; + + /** + * @property {number} textHeight - The height in pixels of the overall text area, taking into consideration multi-line text. + * @readOnly + */ + this.textHeight = 0; + + /** + * @property {Phaser.Point} anchor - The anchor value of this BitmapText. + */ + this.anchor = new Phaser.Point(); + + /** + * @property {Phaser.Point} _prevAnchor - The previous anchor value. + * @private + */ + this._prevAnchor = new Phaser.Point(); + + /** + * @property {array} _glyphs - Private tracker for the letter sprite pool. + * @private + */ + this._glyphs = []; + + /** + * @property {number} _maxWidth - Internal cache var. + * @private + */ + this._maxWidth = 0; + + /** + * @property {string} _text - Internal cache var. + * @private + */ + this._text = text.toString() || ''; + + /** + * @property {string} _data - Internal cache var. + * @private + */ + this._data = game.cache.getBitmapFont(font); + + /** + * @property {string} _font - Internal cache var. + * @private + */ + this._font = font; + + /** + * @property {number} _fontSize - Internal cache var. + * @private + */ + this._fontSize = size; + + /** + * @property {string} _align - Internal cache var. + * @private + */ + this._align = align; + + /** + * @property {number} _letterSpacing - Internal cache var. + * @private + */ + this._letterSpacing = 0; + + /** + * @property {number} _tint - Internal cache var. + * @private + */ + this._tint = 0xFFFFFF; + + this.updateText(); + + /** + * @property {boolean} dirty - The dirty state of this object. + */ + this.dirty = false; + + Phaser.Component.Core.init.call(this, game, x, y, '', null); + +}; + +Phaser.BitmapText.prototype = Object.create(PIXI.DisplayObjectContainer.prototype); +Phaser.BitmapText.prototype.constructor = Phaser.BitmapText; + +Phaser.Component.Core.install.call(Phaser.BitmapText.prototype, [ + 'Angle', + 'AutoCull', + 'Bounds', + 'Destroy', + 'FixedToCamera', + 'InputEnabled', + 'InWorld', + 'LifeSpan', + 'PhysicsBody', + 'Reset' +]); + +Phaser.BitmapText.prototype.preUpdatePhysics = Phaser.Component.PhysicsBody.preUpdate; +Phaser.BitmapText.prototype.preUpdateLifeSpan = Phaser.Component.LifeSpan.preUpdate; +Phaser.BitmapText.prototype.preUpdateInWorld = Phaser.Component.InWorld.preUpdate; +Phaser.BitmapText.prototype.preUpdateCore = Phaser.Component.Core.preUpdate; + +/** +* Automatically called by World.preUpdate. +* +* @method +* @memberof Phaser.BitmapText +* @return {boolean} True if the BitmapText was rendered, otherwise false. +*/ +Phaser.BitmapText.prototype.preUpdate = function () +{ + + if (!this.preUpdatePhysics() || !this.preUpdateLifeSpan() || !this.preUpdateInWorld()) + { + return false; + } + + return this.preUpdateCore(); + +}; + +/** +* Automatically called by World.preUpdate. +* @method Phaser.BitmapText.prototype.postUpdate +*/ +Phaser.BitmapText.prototype.postUpdate = function () +{ + + Phaser.Component.PhysicsBody.postUpdate.call(this); + Phaser.Component.FixedToCamera.postUpdate.call(this); + + if (this.body && this.body.type === Phaser.Physics.ARCADE) + { + if ((this.textWidth !== this.body.sourceWidth) || (this.textHeight !== this.body.sourceHeight)) + { + this.body.setSize(this.textWidth, this.textHeight); + } + } + +}; + +/** +* The text to be displayed by this BitmapText object. +* +* It's faster to use `BitmapText.text = string`, but this is kept for backwards compatibility. +* +* @method Phaser.BitmapText.prototype.setText +* @param {string} text - The text to be displayed by this BitmapText object. +*/ +Phaser.BitmapText.prototype.setText = function (text) +{ + + this.text = text; + +}; + +/** +* Given the input text this will scan the characters until either a newline is encountered, +* or the line exceeds maxWidth, taking into account kerning, character widths and scaling. +* +* @method Phaser.BitmapText.prototype.scanLine +* @private +* @param {object} data - A reference to the font object in the Phaser.Cache. +* @param {float} scale - The scale of the font in relation to the texture. +* @param {string} text - The text to parse. +* @return {object} An object containing the parsed characters, total pixel width and x offsets. +*/ +Phaser.BitmapText.prototype.scanLine = function (data, scale, text) +{ + + var x = 0; + var w = 0; + var lastSpace = -1; + var wrappedWidth = 0; + var prevCharCode = null; + var maxWidth = (this._maxWidth > 0) ? this._maxWidth : null; + var chars = []; + + // Let's scan the text and work out if any of the lines are > maxWidth + for (var i = 0; i < text.length; i++) + { + var end = (i === text.length - 1) ? true : false; + + if ((/(?:\r\n|\r|\n)/).test(text.charAt(i))) + { + return { width: w, text: text.substr(0, i), end: end, chars: chars }; + } + else + { + var charCode = text.charCodeAt(i); + var charData = data.chars[charCode]; + + var c = 0; + + // If the character data isn't found in the data array + // then we replace it with a blank space + if (charData === undefined) + { + charCode = 32; + charData = data.chars[charCode]; + } + + // Adjust for kerning from previous character to this one + var kerning = (prevCharCode && charData.kerning[prevCharCode]) ? charData.kerning[prevCharCode] : 0; + + // Record the last space in the string and the current width + if ((/(\s)/).test(text.charAt(i))) + { + lastSpace = i; + wrappedWidth = w; + } + + // What will the line width be if we add this character to it? + c = (kerning + charData.texture.width + charData.xOffset) * scale; + + // Do we need to line-wrap? + if (maxWidth && ((w + c) >= maxWidth) && lastSpace > -1) + { + // The last space was at "lastSpace" which was "i - lastSpace" characters ago + return { width: wrappedWidth || w, text: text.substr(0, i - (i - lastSpace)), end: false, chars: chars }; + } + else + { + w += (charData.xAdvance + kerning + this.letterSpacing) * scale; + + chars.push(x + (charData.xOffset + kerning + this.letterSpacing) * scale); + + x += (charData.xAdvance + kerning + this.letterSpacing) * scale; + + prevCharCode = charCode; + } + } + } + + return { width: w, text: text, end: end, chars: chars }; + +}; + +/** +* Given a text string this will scan each character in the string to ensure it exists +* in the BitmapText font data. If it doesn't the character is removed, or replaced with the `replace` argument. +* +* If no font data has been loaded at all this returns an empty string, as nothing can be rendered. +* +* @method Phaser.BitmapText.prototype.cleanText +* @param {string} text - The text to parse. +* @param {string} [replace=''] - The replacement string for any missing characters. +* @return {string} The cleaned text string. +*/ +Phaser.BitmapText.prototype.cleanText = function (text, replace) +{ + + if (replace === undefined) + { + replace = ''; + } + + var data = this._data.font; + + if (!data) + { + return ''; + } + + var re = /\r\n|\n\r|\n|\r/g; + var lines = text.replace(re, '\n').split('\n'); + + for (var i = 0; i < lines.length; i++) + { + var output = ''; + var line = lines[i]; + + for (var c = 0; c < line.length; c++) + { + if (data.chars[line.charCodeAt(c)]) + { + output = output.concat(line[c]); + } + else + { + output = output.concat(replace); + } + } + + lines[i] = output; + } + + return lines.join('\n'); + +}; + +/** +* Renders text and updates it when needed. +* +* @method Phaser.BitmapText.prototype.updateText +* @private +*/ +Phaser.BitmapText.prototype.updateText = function () +{ + + var data = this._data.font; + + if (!data) + { + return; + } + + var text = this.text; + var scale = this._fontSize / data.size; + var lines = []; + + var y = 0; + + this.textWidth = 0; + + do + { + var line = this.scanLine(data, scale, text); + + line.y = y; + + lines.push(line); + + if (line.width > this.textWidth) + { + this.textWidth = line.width; + } + + y += (data.lineHeight * scale); + + text = text.substr(line.text.length + 1); + + } while (line.end === false); + + this.textHeight = y; + + var t = 0; + var align = 0; + var ax = this.textWidth * this.anchor.x; + var ay = this.textHeight * this.anchor.y; + + for (var i = 0; i < lines.length; i++) + { + var line = lines[i]; + + if (this._align === 'right') + { + align = this.textWidth - line.width; + } + else if (this._align === 'center') + { + align = (this.textWidth - line.width) / 2; + } + + for (var c = 0; c < line.text.length; c++) + { + var charCode = line.text.charCodeAt(c); + var charData = data.chars[charCode]; + + if (charData === undefined) + { + charCode = 32; + charData = data.chars[charCode]; + } + + var g = this._glyphs[t]; + + if (g) + { + // Sprite already exists in the glyphs pool, so we'll reuse it for this letter + g.texture = charData.texture; + } + else + { + // We need a new sprite as the pool is empty or exhausted + g = new PIXI.Sprite(charData.texture); + g.name = line.text[c]; + this._glyphs.push(g); + } + + g.position.x = (line.chars[c] + align) - ax; + g.position.y = (line.y + (charData.yOffset * scale)) - ay; + + g.scale.set(scale); + g.tint = this.tint; + g.texture.requiresReTint = true; + g.cachedTint = 0xFFFFFF; + + if (!g.parent) + { + this.addChild(g); + } + + t++; + } + } + + // Remove unnecessary children + // This moves them from the display list (children array) but retains them in the _glyphs pool + for (i = t; i < this._glyphs.length; i++) + { + this.removeChild(this._glyphs[i]); + } + +}; + +/** +* If a BitmapText changes from having a large number of characters to having very few characters it will cause lots of +* Sprites to be retained in the BitmapText._glyphs array. Although they are not attached to the display list they +* still take up memory while sat in the glyphs pool waiting to be re-used in the future. +* +* If you know that the BitmapText will not grow any larger then you can purge out the excess glyphs from the pool +* by calling this method. +* +* Calling this doesn't prevent you from increasing the length of the text again in the future. +* +* @method Phaser.BitmapText.prototype.purgeGlyphs +* @return {integer} The amount of glyphs removed from the pool. +*/ +Phaser.BitmapText.prototype.purgeGlyphs = function () +{ + + var len = this._glyphs.length; + var kept = []; + + for (var i = 0; i < this._glyphs.length; i++) + { + if (this._glyphs[i].parent !== this) + { + this._glyphs[i].destroy(); + } + else + { + kept.push(this._glyphs[i]); + } + } + + this._glyphs = []; + this._glyphs = kept; + + this.updateText(); + + return len - kept.length; + +}; + +/** +* Updates the transform of this object. +* +* @method Phaser.BitmapText.prototype.updateTransform +* @private +*/ +Phaser.BitmapText.prototype.updateTransform = function () +{ + + if (this.dirty || !this.anchor.equals(this._prevAnchor)) + { + this.updateText(); + this.dirty = false; + this._prevAnchor.copyFrom(this.anchor); + } + + PIXI.DisplayObjectContainer.prototype.updateTransform.call(this); + +}; + +/** +* @name Phaser.BitmapText#letterSpacing +* @property {string} letterSpacing - Sets the letter spacing between each character of this Bitmap Text. Can be a positive value to increase the space, or negative to reduce it. Spacing is applied after the kerning values have been set. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'letterSpacing', { + + get: function () + { + return this._letterSpacing; + }, + + set: function (value) + { + + if (typeof(value) === 'number') + { + this._letterSpacing = value; + this.updateText(); + } + + } + +}); + +/** +* @name Phaser.BitmapText#align +* @property {string} align - Alignment for multi-line text ('left', 'center' or 'right'), does not affect single lines of text. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'align', { + + get: function () + { + return this._align; + }, + + set: function (value) + { + + if (value !== this._align && (value === 'left' || value === 'center' || value === 'right')) + { + this._align = value; + this.updateText(); + } + + } + +}); + +/** +* @name Phaser.BitmapText#tint +* @property {number} tint - The tint applied to the BitmapText. This is a hex value. Set to white to disable (0xFFFFFF) +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'tint', { + + get: function () + { + return this._tint; + }, + + set: function (value) + { + + if (value !== this._tint) + { + this._tint = value; + this.updateText(); + } + + } + +}); + +/** +* @name Phaser.BitmapText#font +* @property {string} font - The font the text will be rendered in, i.e. 'Arial'. Must be loaded in the browser before use. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'font', { + + get: function () + { + return this._font; + }, + + set: function (value) + { + + if (value !== this._font) + { + this._font = value.trim(); + this._data = this.game.cache.getBitmapFont(this._font); + this.updateText(); + } + + } + +}); + +/** +* @name Phaser.BitmapText#fontSize +* @property {number} fontSize - The size of the font in pixels. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'fontSize', { + + get: function () + { + return this._fontSize; + }, + + set: function (value) + { + + value = parseInt(value, 10); + + if (value !== this._fontSize && value > 0) + { + this._fontSize = value; + this.updateText(); + } + + } + +}); + +/** +* @name Phaser.BitmapText#text +* @property {string} text - The text to be displayed by this BitmapText object. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'text', { + + get: function () + { + return this._text; + }, + + set: function (value) + { + + if (value !== this._text) + { + this._text = value.toString() || ''; + this.updateText(); + } + + } + +}); + +/** +* The maximum display width of this BitmapText in pixels. +* +* If BitmapText.text is longer than maxWidth then the lines will be automatically wrapped +* based on the last whitespace character found in the line. +* +* If no whitespace was found then no wrapping will take place and consequently the maxWidth value will not be honored. +* +* Disable maxWidth by setting the value to 0. +* +* @name Phaser.BitmapText#maxWidth +* @property {number} maxWidth - The maximum width of this BitmapText in pixels. +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'maxWidth', { + + get: function () + { + + return this._maxWidth; + + }, + + set: function (value) + { + + if (value !== this._maxWidth) + { + this._maxWidth = value; + this.updateText(); + } + + } + +}); + +/** +* Enable or disable texture smoothing for this BitmapText. +* +* The smoothing is applied to the BaseTexture of this font, which all letters of the text reference. +* +* Smoothing is enabled by default. +* +* @name Phaser.BitmapText#smoothed +* @property {boolean} smoothed +*/ +Object.defineProperty(Phaser.BitmapText.prototype, 'smoothed', { + + get: function () + { + + return !this._data.base.scaleMode; + + }, + + set: function (value) + { + + if (value) + { + this._data.base.scaleMode = 0; + } + else + { + this._data.base.scaleMode = 1; + } + this._data.base.dirty(); + + } + +}); diff --git a/games/RaftWars2/js/box2d-plugin-full.min.js b/games/RaftWars2/js/box2d-plugin-full.min.js new file mode 100644 index 00000000..e2998a93 --- /dev/null +++ b/games/RaftWars2/js/box2d-plugin-full.min.js @@ -0,0 +1,15 @@ +/* Phaser Box2D Plugin by Photon Storm. Built: 2015-07-07 */ +var COMPILED=!1,goog=goog||{};goog.global=this,goog.global.CLOSURE_UNCOMPILED_DEFINES,goog.global.CLOSURE_DEFINES,goog.isDef=function(a){return void 0!==a},goog.exportPath_=function(a,b,c){var d=a.split("."),e=c||goog.global;d[0]in e||!e.execScript||e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)!d.length&&goog.isDef(b)?e[f]=b:e=e[f]?e[f]:e[f]={}},goog.define=function(a,b){var c=b;COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,a)?c=goog.global.CLOSURE_UNCOMPILED_DEFINES[a]:goog.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,a)&&(c=goog.global.CLOSURE_DEFINES[a])),goog.exportPath_(a,c)},goog.DEBUG=!0,goog.define("goog.LOCALE","en"),goog.define("goog.TRUSTED_SITE",!0),goog.define("goog.STRICT_MODE_COMPATIBLE",!1),goog.provide=function(a){if(!COMPILED){if(goog.isProvided_(a))throw Error('Namespace "'+a+'" already declared.');delete goog.implicitNamespaces_[a];for(var b=a;(b=b.substring(0,b.lastIndexOf(".")))&&!goog.getObjectByName(b);)goog.implicitNamespaces_[b]=!0}goog.exportPath_(a)},goog.setTestOnly=function(a){if(COMPILED&&!goog.DEBUG)throw a=a||"",Error("Importing test-only code into non-debug environment"+(a?": "+a:"."))},goog.forwardDeclare=function(){},COMPILED||(goog.isProvided_=function(a){return!goog.implicitNamespaces_[a]&&goog.isDefAndNotNull(goog.getObjectByName(a))},goog.implicitNamespaces_={}),goog.getObjectByName=function(a,b){for(var c,d=a.split("."),e=b||goog.global;c=d.shift();){if(!goog.isDefAndNotNull(e[c]))return null;e=e[c]}return e},goog.globalize=function(a,b){var c=b||goog.global;for(var d in a)c[d]=a[d]},goog.addDependency=function(a,b,c){if(goog.DEPENDENCIES_ENABLED){for(var d,e,f=a.replace(/\\/g,"/"),g=goog.dependencies_,h=0;d=b[h];h++)g.nameToPath[d]=f,f in g.pathToNames||(g.pathToNames[f]={}),g.pathToNames[f][d]=!0;for(var i=0;e=c[i];i++)f in g.requires||(g.requires[f]={}),g.requires[f][e]=!0}},goog.define("goog.ENABLE_DEBUG_LOADER",!0),goog.require=function(a){if(!COMPILED){if(goog.isProvided_(a))return;if(goog.ENABLE_DEBUG_LOADER){var b=goog.getPathFromDeps_(a);if(b)return goog.included_[b]=!0,void goog.writeScripts_()}var c="goog.require could not find: "+a;throw goog.global.console&&goog.global.console.error(c),Error(c)}},goog.basePath="",goog.global.CLOSURE_BASE_PATH,goog.global.CLOSURE_NO_DEPS,goog.global.CLOSURE_IMPORT_SCRIPT,goog.nullFunction=function(){},goog.identityFunction=function(a){return a},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(a){a.getInstance=function(){return a.instance_?a.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a),a.instance_=new a)}},goog.instantiatedSingletons_=[],goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.DEPENDENCIES_ENABLED&&(goog.included_={},goog.dependencies_={pathToNames:{},nameToPath:{},requires:{},visited:{},written:{}},goog.inHtmlDocument_=function(){var a=goog.global.document;return"undefined"!=typeof a&&"write"in a},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)return void(goog.basePath=goog.global.CLOSURE_BASE_PATH);if(goog.inHtmlDocument_())for(var a=goog.global.document,b=a.getElementsByTagName("script"),c=b.length-1;c>=0;--c){var d=b[c].src,e=d.lastIndexOf("?"),f=-1==e?d.length:e;if("base.js"==d.substr(f-7,7))return void(goog.basePath=d.substr(0,f-7))}},goog.importScript_=function(a){var b=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_;!goog.dependencies_.written[a]&&b(a)&&(goog.dependencies_.written[a]=!0)},goog.writeScriptTag_=function(a){if(goog.inHtmlDocument_()){var b=goog.global.document;if("complete"==b.readyState){var c=/\bdeps.js$/.test(a);if(c)return!1;throw Error('Cannot write "'+a+'" after document load')}return b.write(''),!0}return!1},goog.writeScripts_=function(){function a(e){if(!(e in d.written)){if(e in d.visited)return void(e in c||(c[e]=!0,b.push(e)));if(d.visited[e]=!0,e in d.requires)for(var f in d.requires[e])if(!goog.isProvided_(f)){if(!(f in d.nameToPath))throw Error("Undefined nameToPath for "+f);a(d.nameToPath[f])}e in c||(c[e]=!0,b.push(e))}}var b=[],c={},d=goog.dependencies_;for(var e in goog.included_)d.written[e]||a(e);for(var f=0;f>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b){if(a.clone)return a.clone();var c="array"==b?[]:{};for(var d in a)c[d]=goog.cloneObject(a[d]);return c}return a},goog.bindNative_=function(a){return a.call.apply(a.bind,arguments)},goog.bindJs_=function(a,b){if(!a)throw new Error;if(arguments.length>2){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(d,c),a.apply(b,d)}}return function(){return a.apply(b,arguments)}},goog.bind=function(){return goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(a){var b=Array.prototype.slice.call(arguments,1);return function(){var c=b.slice();return c.push.apply(c,arguments),a.apply(this,c)}},goog.mixin=function(a,b){for(var c in b)a[c]=b[c]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(a){if(goog.global.execScript)goog.global.execScript(a,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_&&(goog.global.eval("var _et_ = 1;"),"undefined"!=typeof goog.global._et_?(delete goog.global._et_,goog.evalWorksForGlobals_=!0):goog.evalWorksForGlobals_=!1),goog.evalWorksForGlobals_)goog.global.eval(a);else{var b=goog.global.document,c=b.createElement("script");c.type="text/javascript",c.defer=!1,c.appendChild(b.createTextNode(a)),b.body.appendChild(c),b.body.removeChild(c)}}},goog.evalWorksForGlobals_=null,goog.cssNameMapping_,goog.cssNameMappingStyle_,goog.getCssName=function(a,b){var c,d=function(a){return goog.cssNameMapping_[a]||a},e=function(a){for(var b=a.split("-"),c=[],e=0;ed;++d)c[d]=b(d);return c},box2d.b2MakeNumberArray=function(a){return box2d.b2MakeArray(a,function(){return 0})},goog.provide("box2d.b2Math"),goog.require("box2d.b2Settings"),box2d.b2_pi_over_180=box2d.b2_pi/180,box2d.b2_180_over_pi=180/box2d.b2_pi,box2d.b2_two_pi=2*box2d.b2_pi,box2d.b2Abs=function(a){return 0>a?-a:a},box2d.b2Min=function(a,b){return b>a?a:b},box2d.b2Max=function(a,b){return a>b?a:b},box2d.b2Clamp=function(a,b,c){return b>a?b:a>c?c:a},box2d.b2Swap=function(a,b){box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1);var c=a[0];a[0]=b[0],b[0]=c},box2d.b2IsValid=function(a){return isFinite(a)},box2d.b2Sq=function(a){return a*a},box2d.b2InvSqrt=function(a){return 1/Math.sqrt(a)},box2d.b2Sqrt=function(a){return Math.sqrt(a)},box2d.b2Pow=function(a,b){return Math.pow(a,b)},box2d.b2DegToRad=function(a){return a*box2d.b2_pi_over_180},box2d.b2RadToDeg=function(a){return a*box2d.b2_180_over_pi},box2d.b2Cos=function(a){return Math.cos(a)},box2d.b2Sin=function(a){return Math.sin(a)},box2d.b2Acos=function(a){return Math.acos(a)},box2d.b2Asin=function(a){return Math.asin(a)},box2d.b2Atan2=function(a,b){return Math.atan2(a,b)},box2d.b2NextPowerOfTwo=function(a){return a|=a>>1&2147483647,a|=a>>2&1073741823,a|=a>>4&268435455,a|=a>>8&16777215,a|=a>>16&65535,a+1},box2d.b2IsPowerOfTwo=function(a){return a>0&&0===(a&a-1)},box2d.b2Random=function(){return 2*Math.random()-1},box2d.b2RandomRange=function(a,b){return(b-a)*Math.random()+a},box2d.b2Vec2=function(a,b){this.x=a||0,this.y=b||0},box2d.b2Vec2.prototype.x=0,box2d.b2Vec2.prototype.y=0,box2d.b2Vec2_zero=new box2d.b2Vec2,box2d.b2Vec2.ZERO=new box2d.b2Vec2,box2d.b2Vec2.UNITX=new box2d.b2Vec2(1,0),box2d.b2Vec2.UNITY=new box2d.b2Vec2(0,1),box2d.b2Vec2.s_t0=new box2d.b2Vec2,box2d.b2Vec2.s_t1=new box2d.b2Vec2,box2d.b2Vec2.s_t2=new box2d.b2Vec2,box2d.b2Vec2.s_t3=new box2d.b2Vec2,box2d.b2Vec2.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2Vec2})},box2d.b2Vec2.prototype.Clone=function(){return new box2d.b2Vec2(this.x,this.y)},box2d.b2Vec2.prototype.SetZero=function(){return this.x=0,this.y=0,this},box2d.b2Vec2.prototype.SetXY=function(a,b){return this.x=a,this.y=b,this},box2d.b2Vec2.prototype.Copy=function(a){return this.x=a.x,this.y=a.y,this},box2d.b2Vec2.prototype.SelfAdd=function(a){return this.x+=a.x,this.y+=a.y,this},box2d.b2Vec2.prototype.SelfAddXY=function(a,b){return this.x+=a,this.y+=b,this},box2d.b2Vec2.prototype.SelfSub=function(a){return this.x-=a.x,this.y-=a.y,this},box2d.b2Vec2.prototype.SelfSubXY=function(a,b){return this.x-=a,this.y-=b,this},box2d.b2Vec2.prototype.SelfMul=function(a){return this.x*=a,this.y*=a,this},box2d.b2Vec2.prototype.SelfMulAdd=function(a,b){return this.x+=a*b.x,this.y+=a*b.y,this},box2d.b2Vec2.prototype.SelfMulSub=function(a,b){return this.x-=a*b.x,this.y-=a*b.y,this},box2d.b2Vec2.prototype.Dot=function(a){return this.x*a.x+this.y*a.y},box2d.b2Vec2.prototype.Cross=function(a){return this.x*a.y-this.y*a.x},box2d.b2Vec2.prototype.Length=function(){var a=this.x,b=this.y;return Math.sqrt(a*a+b*b)},box2d.b2Vec2.prototype.GetLength=box2d.b2Vec2.prototype.Length,box2d.b2Vec2.prototype.LengthSquared=function(){var a=this.x,b=this.y;return a*a+b*b},box2d.b2Vec2.prototype.GetLengthSquared=box2d.b2Vec2.prototype.LengthSquared,box2d.b2Vec2.prototype.Normalize=function(){var a=this.GetLength();if(a>=box2d.b2_epsilon){var b=1/a;this.x*=b,this.y*=b}return a},box2d.b2Vec2.prototype.SelfNormalize=function(){var a=this.GetLength();if(a>=box2d.b2_epsilon){var b=1/a;this.x*=b,this.y*=b}return this},box2d.b2Vec2.prototype.SelfRotate=function(a,b){var c=this.x,d=this.y;return this.x=a*c-b*d,this.y=b*c+a*d,this},box2d.b2Vec2.prototype.SelfRotateRadians=function(a){return this.SelfRotate(Math.cos(a),Math.sin(a))},box2d.b2Vec2.prototype.SelfRotateDegrees=function(a){return this.SelfRotateRadians(box2d.b2DegToRad(a))},box2d.b2Vec2.prototype.IsValid=function(){return isFinite(this.x)&&isFinite(this.y)},box2d.b2Vec2.prototype.SelfCrossVS=function(a){var b=this.x;return this.x=a*this.y,this.y=-a*b,this},box2d.b2Vec2.prototype.SelfCrossSV=function(a){var b=this.x;return this.x=-a*this.y,this.y=a*b,this},box2d.b2Vec2.prototype.SelfMinV=function(a){return this.x=box2d.b2Min(this.x,a.x),this.y=box2d.b2Min(this.y,a.y),this},box2d.b2Vec2.prototype.SelfMaxV=function(a){return this.x=box2d.b2Max(this.x,a.x),this.y=box2d.b2Max(this.y,a.y),this},box2d.b2Vec2.prototype.SelfAbs=function(){return this.x=box2d.b2Abs(this.x),this.y=box2d.b2Abs(this.y),this},box2d.b2Vec2.prototype.SelfNeg=function(){return this.x=-this.x,this.y=-this.y,this},box2d.b2Vec2.prototype.SelfSkew=function(){var a=this.x;return this.x=-this.y,this.y=a,this},box2d.b2AbsV=function(a,b){return b.x=box2d.b2Abs(a.x),b.y=box2d.b2Abs(a.y),b},box2d.b2MinV=function(a,b,c){return c.x=box2d.b2Min(a.x,b.x),c.y=box2d.b2Min(a.y,b.y),c},box2d.b2MaxV=function(a,b,c){return c.x=box2d.b2Max(a.x,b.x),c.y=box2d.b2Max(a.y,b.y),c},box2d.b2ClampV=function(a,b,c,d){return d.x=box2d.b2Clamp(a.x,b.x,c.x),d.y=box2d.b2Clamp(a.y,b.y,c.y),d},box2d.b2RotateV=function(a,b,c,d){var e=a.x,f=a.y;return d.x=b*e-c*f,d.y=c*e+b*f,d},box2d.b2RotateRadiansV=function(a,b,c){return box2d.b2RotateV(a,Math.cos(b),Math.sin(b),c)},box2d.b2RotateDegreesV=function(a,b,c){return box2d.b2RotateRadiansV(a,box2d.b2DegToRad(b),c)},box2d.b2DotVV=function(a,b){return a.x*b.x+a.y*b.y},box2d.b2CrossVV=function(a,b){return a.x*b.y-a.y*b.x},box2d.b2CrossVS=function(a,b,c){var d=a.x;return c.x=b*a.y,c.y=-b*d,c},box2d.b2CrossVOne=function(a,b){var c=a.x;return b.x=a.y,b.y=-c,b},box2d.b2CrossSV=function(a,b,c){var d=b.x;return c.x=-a*b.y,c.y=a*d,c},box2d.b2CrossOneV=function(a,b){var c=a.x;return b.x=-a.y,b.y=c,b},box2d.b2AddVV=function(a,b,c){return c.x=a.x+b.x,c.y=a.y+b.y,c},box2d.b2SubVV=function(a,b,c){return c.x=a.x-b.x,c.y=a.y-b.y,c},box2d.b2MulSV=function(a,b,c){return c.x=b.x*a,c.y=b.y*a,c},box2d.b2AddVMulSV=function(a,b,c,d){return d.x=a.x+b*c.x,d.y=a.y+b*c.y,d},box2d.b2SubVMulSV=function(a,b,c,d){return d.x=a.x-b*c.x,d.y=a.y-b*c.y,d},box2d.b2AddVCrossSV=function(a,b,c,d){var e=c.x;return d.x=a.x-b*c.y,d.y=a.y+b*e,d},box2d.b2MidVV=function(a,b,c){return c.x=.5*(a.x+b.x),c.y=.5*(a.y+b.y),c},box2d.b2ExtVV=function(a,b,c){return c.x=.5*(b.x-a.x),c.y=.5*(b.y-a.y),c},box2d.b2IsEqualToV=function(a,b){return a.x===b.x&&a.y===b.y},box2d.b2DistanceVV=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)},box2d.b2DistanceSquaredVV=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d},box2d.b2NegV=function(a,b){return b.x=-a.x,b.y=-a.y,b},box2d.b2Vec3=function(a,b,c){this.x=a||0,this.y=b||0,this.z=c||0},box2d.b2Vec3.prototype.x=0,box2d.b2Vec3.prototype.y=0,box2d.b2Vec3.prototype.z=0,box2d.b2Vec3.ZERO=new box2d.b2Vec3,box2d.b2Vec3.s_t0=new box2d.b2Vec3,box2d.b2Vec3.prototype.Clone=function(){return new box2d.b2Vec3(this.x,this.y,this.z)},box2d.b2Vec3.prototype.SetZero=function(){return this.x=0,this.y=0,this.z=0,this},box2d.b2Vec3.prototype.SetXYZ=function(a,b,c){return this.x=a,this.y=b,this.z=c,this},box2d.b2Vec3.prototype.Copy=function(a){return this.x=a.x,this.y=a.y,this.z=a.z,this},box2d.b2Vec3.prototype.SelfNeg=function(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this},box2d.b2Vec3.prototype.SelfAdd=function(a){return this.x+=a.x,this.y+=a.y,this.z+=a.z,this},box2d.b2Vec3.prototype.SelfAddXYZ=function(a,b,c){return this.x+=a,this.y+=b,this.z+=c,this},box2d.b2Vec3.prototype.SelfSub=function(a){return this.x-=a.x,this.y-=a.y,this.z-=a.z,this},box2d.b2Vec3.prototype.SelfSubXYZ=function(a,b,c){return this.x-=a,this.y-=b,this.z-=c,this},box2d.b2Vec3.prototype.SelfMul=function(a){return this.x*=a,this.y*=a,this.z*=a,this},box2d.b2DotV3V3=function(a,b){return a.x*b.x+a.y*b.y+a.z*b.z},box2d.b2CrossV3V3=function(a,b,c){var d=a.x,e=a.y,f=a.z,g=b.x,h=b.y,i=b.z;return c.x=e*i-f*h,c.y=f*g-d*i,c.z=d*h-e*g,c},box2d.b2Mat22=function(){this.ex=new box2d.b2Vec2(1,0),this.ey=new box2d.b2Vec2(0,1)},box2d.b2Mat22.prototype.ex=null,box2d.b2Mat22.prototype.ey=null,box2d.b2Mat22.IDENTITY=new box2d.b2Mat22,box2d.b2Mat22.prototype.Clone=function(){return(new box2d.b2Mat22).Copy(this)},box2d.b2Mat22.FromVV=function(a,b){return(new box2d.b2Mat22).SetVV(a,b)},box2d.b2Mat22.FromSSSS=function(a,b,c,d){return(new box2d.b2Mat22).SetSSSS(a,b,c,d)},box2d.b2Mat22.FromAngleRadians=function(a){return(new box2d.b2Mat22).SetAngleRadians(a)},box2d.b2Mat22.prototype.SetSSSS=function(a,b,c,d){return this.ex.SetXY(a,c),this.ey.SetXY(b,d),this},box2d.b2Mat22.prototype.SetVV=function(a,b){return this.ex.Copy(a),this.ey.Copy(b),this},box2d.b2Mat22.prototype.SetAngle=function(a){var b=Math.cos(a),c=Math.sin(a);return this.ex.SetXY(b,c),this.ey.SetXY(-c,b),this},box2d.b2Mat22.prototype.SetAngleRadians=box2d.b2Mat22.prototype.SetAngle,box2d.b2Mat22.prototype.SetAngleDegrees=function(a){return this.SetAngle(box2d.b2DegToRad(a))},box2d.b2Mat22.prototype.Copy=function(a){return this.ex.Copy(a.ex),this.ey.Copy(a.ey),this},box2d.b2Mat22.prototype.SetIdentity=function(){return this.ex.SetXY(1,0),this.ey.SetXY(0,1),this},box2d.b2Mat22.prototype.SetZero=function(){return this.ex.SetZero(),this.ey.SetZero(),this},box2d.b2Mat22.prototype.GetAngle=function(){return Math.atan2(this.ex.y,this.ex.x)},box2d.b2Mat22.prototype.GetAngleRadians=box2d.b2Mat22.prototype.GetAngle,box2d.b2Mat22.prototype.GetInverse=function(a){var b=this.ex.x,c=this.ey.x,d=this.ex.y,e=this.ey.y,f=b*e-c*d;return 0!==f&&(f=1/f),a.ex.x=f*e,a.ey.x=-f*c,a.ex.y=-f*d,a.ey.y=f*b,a},box2d.b2Mat22.prototype.Solve=function(a,b,c){var d=this.ex.x,e=this.ey.x,f=this.ex.y,g=this.ey.y,h=d*g-e*f;return 0!==h&&(h=1/h),c.x=h*(g*a-e*b),c.y=h*(d*b-f*a),c},box2d.b2Mat22.prototype.SelfAbs=function(){return this.ex.SelfAbs(),this.ey.SelfAbs(),this},box2d.b2Mat22.prototype.SelfInv=function(){return this.GetInverse(this)},box2d.b2Mat22.prototype.SelfAddM=function(a){return this.ex.SelfAdd(a.ex),this.ey.SelfAdd(a.ey),this},box2d.b2Mat22.prototype.SelfSubM=function(a){return this.ex.SelfSub(a.ex),this.ey.SelfSub(a.ey),this},box2d.b2AbsM=function(a,b){var c=a.ex,d=a.ey;return b.ex.x=box2d.b2Abs(c.x),b.ex.y=box2d.b2Abs(c.y),b.ey.x=box2d.b2Abs(d.x),b.ey.y=box2d.b2Abs(d.y),b},box2d.b2MulMV=function(a,b,c){var d=a.ex,e=a.ey,f=b.x,g=b.y;return c.x=d.x*f+e.x*g,c.y=d.y*f+e.y*g,c},box2d.b2MulTMV=function(a,b,c){var d=a.ex,e=a.ey,f=b.x,g=b.y;return c.x=d.x*f+d.y*g,c.y=e.x*f+e.y*g,c},box2d.b2AddMM=function(a,b,c){var d=a.ex,e=a.ey,f=b.ex,g=b.ey;return c.ex.x=d.x+f.x,c.ex.y=d.y+f.y,c.ey.x=e.x+g.x,c.ey.y=e.y+g.y,c},box2d.b2MulMM=function(a,b,c){var d=a.ex.x,e=a.ex.y,f=a.ey.x,g=a.ey.y,h=b.ex.x,i=b.ex.y,j=b.ey.x,k=b.ey.y;return c.ex.x=d*h+f*i,c.ex.y=e*h+g*i,c.ey.x=d*j+f*k,c.ey.y=e*j+g*k,c},box2d.b2MulTMM=function(a,b,c){var d=a.ex.x,e=a.ex.y,f=a.ey.x,g=a.ey.y,h=b.ex.x,i=b.ex.y,j=b.ey.x,k=b.ey.y;return c.ex.x=d*h+e*i,c.ex.y=f*h+g*i,c.ey.x=d*j+e*k,c.ey.y=f*j+g*k,c},box2d.b2Mat33=function(){this.ex=new box2d.b2Vec3(1,0,0),this.ey=new box2d.b2Vec3(0,1,0),this.ez=new box2d.b2Vec3(0,0,1)},box2d.b2Mat33.prototype.ex=null,box2d.b2Mat33.prototype.ey=null,box2d.b2Mat33.prototype.ez=null,box2d.b2Mat33.IDENTITY=new box2d.b2Mat33,box2d.b2Mat33.prototype.Clone=function(){return(new box2d.b2Mat33).Copy(this)},box2d.b2Mat33.prototype.SetVVV=function(a,b,c){return this.ex.Copy(a),this.ey.Copy(b),this.ez.Copy(c),this},box2d.b2Mat33.prototype.Copy=function(a){return this.ex.Copy(a.ex),this.ey.Copy(a.ey),this.ez.Copy(a.ez),this},box2d.b2Mat33.prototype.SetIdentity=function(){return this.ex.SetXYZ(1,0,0),this.ey.SetXYZ(0,1,0),this.ez.SetXYZ(0,0,1),this},box2d.b2Mat33.prototype.SetZero=function(){return this.ex.SetZero(),this.ey.SetZero(),this.ez.SetZero(),this},box2d.b2Mat33.prototype.SelfAddM=function(a){return this.ex.SelfAdd(a.ex),this.ey.SelfAdd(a.ey),this.ez.SelfAdd(a.ez),this},box2d.b2Mat33.prototype.Solve33=function(a,b,c,d){var e=this.ex.x,f=this.ex.y,g=this.ex.z,h=this.ey.x,i=this.ey.y,j=this.ey.z,k=this.ez.x,l=this.ez.y,m=this.ez.z,n=e*(i*m-j*l)+f*(j*k-h*m)+g*(h*l-i*k);return 0!==n&&(n=1/n),d.x=n*(a*(i*m-j*l)+b*(j*k-h*m)+c*(h*l-i*k)),d.y=n*(e*(b*m-c*l)+f*(c*k-a*m)+g*(a*l-b*k)),d.z=n*(e*(i*c-j*b)+f*(j*a-h*c)+g*(h*b-i*a)),d},box2d.b2Mat33.prototype.Solve22=function(a,b,c){var d=this.ex.x,e=this.ey.x,f=this.ex.y,g=this.ey.y,h=d*g-e*f;return 0!==h&&(h=1/h),c.x=h*(g*a-e*b),c.y=h*(d*b-f*a),c},box2d.b2Mat33.prototype.GetInverse22=function(a){var b=this.ex.x,c=this.ey.x,d=this.ex.y,e=this.ey.y,f=b*e-c*d;0!==f&&(f=1/f),a.ex.x=f*e,a.ey.x=-f*c,a.ex.z=0,a.ex.y=-f*d,a.ey.y=f*b,a.ey.z=0,a.ez.x=0,a.ez.y=0,a.ez.z=0},box2d.b2Mat33.prototype.GetSymInverse33=function(a){var b=box2d.b2DotV3V3(this.ex,box2d.b2CrossV3V3(this.ey,this.ez,box2d.b2Vec3.s_t0));0!==b&&(b=1/b);var c=this.ex.x,d=this.ey.x,e=this.ez.x,f=this.ey.y,g=this.ez.y,h=this.ez.z;a.ex.x=b*(f*h-g*g),a.ex.y=b*(e*g-d*h),a.ex.z=b*(d*g-e*f),a.ey.x=a.ex.y,a.ey.y=b*(c*h-e*e),a.ey.z=b*(e*d-c*g),a.ez.x=a.ex.z,a.ez.y=a.ey.z,a.ez.z=b*(c*f-d*d)},box2d.b2MulM33V3=function(a,b,c){var d=b.x,e=b.y,f=b.z;return c.x=a.ex.x*d+a.ey.x*e+a.ez.x*f,c.y=a.ex.y*d+a.ey.y*e+a.ez.y*f,c.z=a.ex.z*d+a.ey.z*e+a.ez.z*f,c},box2d.b2MulM33XYZ=function(a,b,c,d,e){return e.x=a.ex.x*b+a.ey.x*c+a.ez.x*d,e.y=a.ex.y*b+a.ey.y*c+a.ez.y*d,e.z=a.ex.z*b+a.ey.z*c+a.ez.z*d,e},box2d.b2MulM33V2=function(a,b,c){var d=b.x,e=b.y;return c.x=a.ex.x*d+a.ey.x*e,c.y=a.ex.y*d+a.ey.y*e,c},box2d.b2MulM33XY=function(a,b,c,d){return d.x=a.ex.x*b+a.ey.x*c,d.y=a.ex.y*b+a.ey.y*c,d},box2d.b2Rot=function(a){a&&(this.angle=a,this.s=Math.sin(a),this.c=Math.cos(a))},box2d.b2Rot.prototype.angle=0,box2d.b2Rot.prototype.s=0,box2d.b2Rot.prototype.c=1,box2d.b2Rot.IDENTITY=new box2d.b2Rot,box2d.b2Rot.prototype.Clone=function(){return(new box2d.b2Rot).Copy(this)},box2d.b2Rot.prototype.Copy=function(a){return this.angle=a.angle,this.s=a.s,this.c=a.c,this},box2d.b2Rot.prototype.SetAngle=function(a){return this.angle!==a&&(this.angle=a,this.s=Math.sin(a),this.c=Math.cos(a)),this},box2d.b2Rot.prototype.SetAngleRadians=box2d.b2Rot.prototype.SetAngle,box2d.b2Rot.prototype.SetAngleDegrees=function(a){return this.SetAngle(box2d.b2DegToRad(a))},box2d.b2Rot.prototype.SetIdentity=function(){return this.angle=0,this.s=0,this.c=1,this},box2d.b2Rot.prototype.GetAngle=function(){return this.angle},box2d.b2Rot.prototype.GetAngleRadians=box2d.b2Rot.prototype.GetAngle,box2d.b2Rot.prototype.GetAngleDegrees=function(){return box2d.b2RadToDeg(this.GetAngle())},box2d.b2Rot.prototype.GetXAxis=function(a){return a.x=this.c,a.y=this.s,a},box2d.b2Rot.prototype.GetYAxis=function(a){return a.x=-this.s,a.y=this.c,a},box2d.b2MulRR=function(a,b,c){var d=a.c,e=a.s,f=b.c,g=b.s;for(c.s=e*f+d*g,c.c=d*f-e*g,c.angle=a.angle+b.angle;c.angle<-box2d.b2_pi;)c.angle+=box2d.b2_two_pi;for(;c.angle>=box2d.b2_pi;)c.angle-=box2d.b2_two_pi;return c},box2d.b2MulTRR=function(a,b,c){var d=a.c,e=a.s,f=b.c,g=b.s;for(c.s=d*g-e*f,c.c=d*f+e*g,c.angle=a.angle-b.angle;c.angle<-box2d.b2_pi;)c.angle+=box2d.b2_two_pi;for(;c.angle>=box2d.b2_pi;)c.angle-=box2d.b2_two_pi;return c},box2d.b2MulRV=function(a,b,c){var d=a.c,e=a.s,f=b.x,g=b.y;return c.x=d*f-e*g,c.y=e*f+d*g,c},box2d.b2MulTRV=function(a,b,c){var d=a.c,e=a.s,f=b.x,g=b.y;return c.x=d*f+e*g,c.y=-e*f+d*g,c},box2d.b2Transform=function(){this.p=new box2d.b2Vec2,this.q=new box2d.b2Rot},box2d.b2Transform.prototype.p=null,box2d.b2Transform.prototype.q=null,box2d.b2Transform.IDENTITY=new box2d.b2Transform,box2d.b2Transform.prototype.Clone=function(){return(new box2d.b2Transform).Copy(this)},box2d.b2Transform.prototype.Copy=function(a){return this.p.Copy(a.p),this.q.Copy(a.q),this},box2d.b2Transform.prototype.SetIdentity=function(){return this.p.SetZero(),this.q.SetIdentity(),this},box2d.b2Transform.prototype.SetPositionRotation=function(a,b){return this.p.Copy(a),this.q.Copy(b),this},box2d.b2Transform.prototype.SetPositionAngleRadians=function(a,b){return this.p.Copy(a),this.q.SetAngleRadians(b),this},box2d.b2Transform.prototype.SetPosition=function(a){return this.p.Copy(a),this},box2d.b2Transform.prototype.SetPositionXY=function(a,b){return this.p.SetXY(a,b),this},box2d.b2Transform.prototype.SetRotation=function(a){return this.q.Copy(a),this},box2d.b2Transform.prototype.SetRotationAngleRadians=function(a){return this.q.SetAngleRadians(a),this},box2d.b2Transform.prototype.GetPosition=function(){return this.p},box2d.b2Transform.prototype.GetRotation=function(){return this.q},box2d.b2Transform.prototype.GetRotationAngle=function(){return this.q.GetAngle()},box2d.b2Transform.prototype.GetRotationAngleRadians=box2d.b2Transform.prototype.GetRotationAngle,box2d.b2Transform.prototype.GetAngle=function(){return this.q.GetAngle()},box2d.b2Transform.prototype.GetAngleRadians=box2d.b2Transform.prototype.GetAngle,box2d.b2MulXV=function(a,b,c){var d=a.q.c,e=a.q.s,f=b.x,g=b.y;return c.x=d*f-e*g+a.p.x,c.y=e*f+d*g+a.p.y,c},box2d.b2MulTXV=function(a,b,c){var d=a.q.c,e=a.q.s,f=b.x-a.p.x,g=b.y-a.p.y;return c.x=d*f+e*g,c.y=-e*f+d*g,c},box2d.b2MulXX=function(a,b,c){return box2d.b2MulRR(a.q,b.q,c.q),box2d.b2AddVV(box2d.b2MulRV(a.q,b.p,c.p),a.p,c.p),c},box2d.b2MulTXX=function(a,b,c){return box2d.b2MulTRR(a.q,b.q,c.q),box2d.b2MulTRV(a.q,box2d.b2SubVV(b.p,a.p,c.p),c.p),c},box2d.b2Sweep=function(){this.localCenter=new box2d.b2Vec2,this.c0=new box2d.b2Vec2,this.c=new box2d.b2Vec2},box2d.b2Sweep.prototype.localCenter=null,box2d.b2Sweep.prototype.c0=null,box2d.b2Sweep.prototype.c=null,box2d.b2Sweep.prototype.a0=0,box2d.b2Sweep.prototype.a=0,box2d.b2Sweep.prototype.alpha0=0,box2d.b2Sweep.prototype.Clone=function(){return(new box2d.b2Sweep).Copy(this)},box2d.b2Sweep.prototype.Copy=function(a){return this.localCenter.Copy(a.localCenter),this.c0.Copy(a.c0),this.c.Copy(a.c),this.a0=a.a0,this.a=a.a,this.alpha0=a.alpha0,this},box2d.b2Sweep.prototype.GetTransform=function(a,b){var c=1-b;a.p.x=c*this.c0.x+b*this.c.x,a.p.y=c*this.c0.y+b*this.c.y;var d=c*this.a0+b*this.a;return a.q.SetAngleRadians(d),a.p.SelfSub(box2d.b2MulRV(a.q,this.localCenter,box2d.b2Vec2.s_t0)),a},box2d.b2Sweep.prototype.Advance=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.alpha0<1);var b=(a-this.alpha0)/(1-this.alpha0);this.c0.x+=b*(this.c.x-this.c0.x),this.c0.y+=b*(this.c.y-this.c0.y),this.a0+=b*(this.a-this.a0),this.alpha0=a},box2d.b2Sweep.prototype.Normalize=function(){var a=box2d.b2_two_pi*Math.floor(this.a0/box2d.b2_two_pi);this.a0-=a,this.a-=a},goog.provide("box2d.b2Controller"),goog.require("box2d.b2Settings"),box2d.b2ControllerEdge=function(){},box2d.b2ControllerEdge.prototype.controller=null,box2d.b2ControllerEdge.prototype.body=null,box2d.b2ControllerEdge.prototype.prevBody=null,box2d.b2ControllerEdge.prototype.nextBody=null,box2d.b2ControllerEdge.prototype.prevController=null,box2d.b2ControllerEdge.prototype.nextController=null,box2d.b2Controller=function(){},box2d.b2Controller.prototype.m_world=null,box2d.b2Controller.prototype.m_bodyList=null,box2d.b2Controller.prototype.m_bodyCount=0,box2d.b2Controller.prototype.m_prev=null,box2d.b2Controller.prototype.m_next=null,box2d.b2Controller.prototype.Step=function(){},box2d.b2Controller.prototype.Draw=function(){},box2d.b2Controller.prototype.GetNext=function(){return this.m_next +},box2d.b2Controller.prototype.GetPrev=function(){return this.m_prev},box2d.b2Controller.prototype.GetWorld=function(){return this.m_world},box2d.b2Controller.prototype.GetBodyList=function(){return this.m_bodyList},box2d.b2Controller.prototype.AddBody=function(a){var b=new box2d.b2ControllerEdge;b.body=a,b.controller=this,b.nextBody=this.m_bodyList,b.prevBody=null,this.m_bodyList&&(this.m_bodyList.prevBody=b),this.m_bodyList=b,++this.m_bodyCount,b.nextController=a.m_controllerList,b.prevController=null,a.m_controllerList&&(a.m_controllerList.prevController=b),a.m_controllerList=b,++a.m_controllerCount},box2d.b2Controller.prototype.RemoveBody=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_bodyCount>0);for(var b=this.m_bodyList;b&&b.body!==a;)b=b.nextBody;box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==b),b.prevBody&&(b.prevBody.nextBody=b.nextBody),b.nextBody&&(b.nextBody.prevBody=b.prevBody),this.m_bodyList===b&&(this.m_bodyList=b.nextBody),--this.m_bodyCount,b.nextController&&(b.nextController.prevController=b.prevController),b.prevController&&(b.prevController.nextController=b.nextController),a.m_controllerList===b&&(a.m_controllerList=b.nextController),--a.m_controllerCount},box2d.b2Controller.prototype.Clear=function(){for(;this.m_bodyList;)this.RemoveBody(this.m_bodyList.body);this.m_bodyCount=0},goog.provide("box2d.b2ConstantAccelController"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Controller"),goog.require("box2d.b2Math"),box2d.b2ConstantAccelController=function(){goog.base(this),this.A=new box2d.b2Vec2(0,0)},goog.inherits(box2d.b2ConstantAccelController,box2d.b2Controller),box2d.b2ConstantAccelController.prototype.A=null,box2d.b2ConstantAccelController.prototype.Step=function(a){for(var b=box2d.b2MulSV(a.dt,this.A,box2d.b2ConstantAccelController.prototype.Step.s_dtA),c=this.m_bodyList;c;c=c.nextBody){var d=c.body;d.IsAwake()&&d.SetLinearVelocity(box2d.b2AddVV(d.GetLinearVelocity(),b,box2d.b2Vec2.s_t0))}},box2d.b2ConstantAccelController.prototype.Step.s_dtA=new box2d.b2Vec2,goog.provide("box2d.b2Joint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Math"),box2d.b2JointType={e_unknownJoint:0,e_revoluteJoint:1,e_prismaticJoint:2,e_distanceJoint:3,e_pulleyJoint:4,e_mouseJoint:5,e_gearJoint:6,e_wheelJoint:7,e_weldJoint:8,e_frictionJoint:9,e_ropeJoint:10,e_motorJoint:11,e_areaJoint:12},goog.exportProperty(box2d.b2JointType,"e_unknownJoint",box2d.b2JointType.e_unknownJoint),goog.exportProperty(box2d.b2JointType,"e_revoluteJoint",box2d.b2JointType.e_revoluteJoint),goog.exportProperty(box2d.b2JointType,"e_prismaticJoint",box2d.b2JointType.e_prismaticJoint),goog.exportProperty(box2d.b2JointType,"e_distanceJoint",box2d.b2JointType.e_distanceJoint),goog.exportProperty(box2d.b2JointType,"e_pulleyJoint",box2d.b2JointType.e_pulleyJoint),goog.exportProperty(box2d.b2JointType,"e_mouseJoint",box2d.b2JointType.e_mouseJoint),goog.exportProperty(box2d.b2JointType,"e_gearJoint",box2d.b2JointType.e_gearJoint),goog.exportProperty(box2d.b2JointType,"e_wheelJoint",box2d.b2JointType.e_wheelJoint),goog.exportProperty(box2d.b2JointType,"e_weldJoint",box2d.b2JointType.e_weldJoint),goog.exportProperty(box2d.b2JointType,"e_frictionJoint",box2d.b2JointType.e_frictionJoint),goog.exportProperty(box2d.b2JointType,"e_ropeJoint",box2d.b2JointType.e_ropeJoint),goog.exportProperty(box2d.b2JointType,"e_motorJoint",box2d.b2JointType.e_motorJoint),goog.exportProperty(box2d.b2JointType,"e_areaJoint",box2d.b2JointType.e_areaJoint),box2d.b2LimitState={e_inactiveLimit:0,e_atLowerLimit:1,e_atUpperLimit:2,e_equalLimits:3},goog.exportProperty(box2d.b2LimitState,"e_inactiveLimit",box2d.b2LimitState.e_inactiveLimit),goog.exportProperty(box2d.b2LimitState,"e_atLowerLimit",box2d.b2LimitState.e_atLowerLimit),goog.exportProperty(box2d.b2LimitState,"e_atUpperLimit",box2d.b2LimitState.e_atUpperLimit),goog.exportProperty(box2d.b2LimitState,"e_equalLimits",box2d.b2LimitState.e_equalLimits),box2d.b2Jacobian=function(){this.linear=new box2d.b2Vec2},box2d.b2Jacobian.prototype.linear=null,box2d.b2Jacobian.prototype.angularA=0,box2d.b2Jacobian.prototype.angularB=0,box2d.b2Jacobian.prototype.SetZero=function(){return this.linear.SetZero(),this.angularA=0,this.angularB=0,this},box2d.b2Jacobian.prototype.Set=function(a,b,c){return this.linear.Copy(a),this.angularA=b,this.angularB=c,this},box2d.b2JointEdge=function(){},box2d.b2JointEdge.prototype.other=null,box2d.b2JointEdge.prototype.joint=null,box2d.b2JointEdge.prototype.prev=null,box2d.b2JointEdge.prototype.next=null,box2d.b2JointDef=function(a){this.type=a},box2d.b2JointDef.prototype.type=box2d.b2JointType.e_unknownJoint,box2d.b2JointDef.prototype.userData=null,box2d.b2JointDef.prototype.bodyA=null,box2d.b2JointDef.prototype.bodyB=null,box2d.b2JointDef.prototype.collideConnected=!1,box2d.b2Joint=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.bodyA!==a.bodyB),this.m_type=a.type,this.m_edgeA=new box2d.b2JointEdge,this.m_edgeB=new box2d.b2JointEdge,this.m_bodyA=a.bodyA,this.m_bodyB=a.bodyB,this.m_collideConnected=a.collideConnected,this.m_userData=a.userData},box2d.b2Joint.prototype.m_type=box2d.b2JointType.e_unknownJoint,box2d.b2Joint.prototype.m_prev=null,box2d.b2Joint.prototype.m_next=null,box2d.b2Joint.prototype.m_edgeA=null,box2d.b2Joint.prototype.m_edgeB=null,box2d.b2Joint.prototype.m_bodyA=null,box2d.b2Joint.prototype.m_bodyB=null,box2d.b2Joint.prototype.m_index=0,box2d.b2Joint.prototype.m_islandFlag=!1,box2d.b2Joint.prototype.m_collideConnected=!1,box2d.b2Joint.prototype.m_userData=null,box2d.b2Joint.prototype.GetAnchorA=function(a){return a.SetZero()},box2d.b2Joint.prototype.GetAnchorB=function(a){return a.SetZero()},box2d.b2Joint.prototype.GetReactionForce=function(a,b){return b.SetZero()},box2d.b2Joint.prototype.GetReactionTorque=function(){return 0},box2d.b2Joint.prototype.InitVelocityConstraints=function(){},box2d.b2Joint.prototype.SolveVelocityConstraints=function(){},box2d.b2Joint.prototype.SolvePositionConstraints=function(){return!1},box2d.b2Joint.prototype.GetType=function(){return this.m_type},box2d.b2Joint.prototype.GetBodyA=function(){return this.m_bodyA},box2d.b2Joint.prototype.GetBodyB=function(){return this.m_bodyB},box2d.b2Joint.prototype.GetNext=function(){return this.m_next},box2d.b2Joint.prototype.GetUserData=function(){return this.m_userData},box2d.b2Joint.prototype.SetUserData=function(a){this.m_userData=a},box2d.b2Joint.prototype.GetCollideConnected=function(){return this.m_collideConnected},box2d.b2Joint.prototype.Dump=function(){box2d.DEBUG&&box2d.b2Log("// Dump is not supported for this joint type.\n")},box2d.b2Joint.prototype.IsActive=function(){return this.m_bodyA.IsActive()&&this.m_bodyB.IsActive()},box2d.b2Joint.prototype.ShiftOrigin=function(){},goog.provide("box2d.b2RevoluteJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2RevoluteJointDef=function(){goog.base(this,box2d.b2JointType.e_revoluteJoint),this.localAnchorA=new box2d.b2Vec2(0,0),this.localAnchorB=new box2d.b2Vec2(0,0)},goog.inherits(box2d.b2RevoluteJointDef,box2d.b2JointDef),box2d.b2RevoluteJointDef.prototype.localAnchorA=null,box2d.b2RevoluteJointDef.prototype.localAnchorB=null,box2d.b2RevoluteJointDef.prototype.referenceAngle=0,box2d.b2RevoluteJointDef.prototype.enableLimit=!1,box2d.b2RevoluteJointDef.prototype.lowerAngle=0,box2d.b2RevoluteJointDef.prototype.upperAngle=0,box2d.b2RevoluteJointDef.prototype.enableMotor=!1,box2d.b2RevoluteJointDef.prototype.motorSpeed=0,box2d.b2RevoluteJointDef.prototype.maxMotorTorque=0,box2d.b2RevoluteJointDef.prototype.Initialize=function(a,b,c){this.bodyA=a,this.bodyB=b,this.bodyA.GetLocalPoint(c,this.localAnchorA),this.bodyB.GetLocalPoint(c,this.localAnchorB),this.referenceAngle=this.bodyB.GetAngleRadians()-this.bodyA.GetAngleRadians()},box2d.b2RevoluteJoint=function(a){goog.base(this,a),this.m_localAnchorA=new box2d.b2Vec2,this.m_localAnchorB=new box2d.b2Vec2,this.m_impulse=new box2d.b2Vec3,this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_mass=new box2d.b2Mat33,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_K=new box2d.b2Mat22,this.m_localAnchorA.Copy(a.localAnchorA),this.m_localAnchorB.Copy(a.localAnchorB),this.m_referenceAngle=a.referenceAngle,this.m_impulse.SetZero(),this.m_motorImpulse=0,this.m_lowerAngle=a.lowerAngle,this.m_upperAngle=a.upperAngle,this.m_maxMotorTorque=a.maxMotorTorque,this.m_motorSpeed=a.motorSpeed,this.m_enableLimit=a.enableLimit,this.m_enableMotor=a.enableMotor,this.m_limitState=box2d.b2LimitState.e_inactiveLimit},goog.inherits(box2d.b2RevoluteJoint,box2d.b2Joint),box2d.b2RevoluteJoint.prototype.m_localAnchorA=null,box2d.b2RevoluteJoint.prototype.m_localAnchorB=null,box2d.b2RevoluteJoint.prototype.m_impulse=null,box2d.b2RevoluteJoint.prototype.m_motorImpulse=0,box2d.b2RevoluteJoint.prototype.m_enableMotor=!1,box2d.b2RevoluteJoint.prototype.m_maxMotorTorque=0,box2d.b2RevoluteJoint.prototype.m_motorSpeed=0,box2d.b2RevoluteJoint.prototype.m_enableLimit=!1,box2d.b2RevoluteJoint.prototype.m_referenceAngle=0,box2d.b2RevoluteJoint.prototype.m_lowerAngle=0,box2d.b2RevoluteJoint.prototype.m_upperAngle=0,box2d.b2RevoluteJoint.prototype.m_indexA=0,box2d.b2RevoluteJoint.prototype.m_indexB=0,box2d.b2RevoluteJoint.prototype.m_rA=null,box2d.b2RevoluteJoint.prototype.m_rB=null,box2d.b2RevoluteJoint.prototype.m_localCenterA=null,box2d.b2RevoluteJoint.prototype.m_localCenterB=null,box2d.b2RevoluteJoint.prototype.m_invMassA=0,box2d.b2RevoluteJoint.prototype.m_invMassB=0,box2d.b2RevoluteJoint.prototype.m_invIA=0,box2d.b2RevoluteJoint.prototype.m_invIB=0,box2d.b2RevoluteJoint.prototype.m_mass=null,box2d.b2RevoluteJoint.prototype.m_motorMass=0,box2d.b2RevoluteJoint.prototype.m_limitState=box2d.b2LimitState.e_inactiveLimit,box2d.b2RevoluteJoint.prototype.m_qA=null,box2d.b2RevoluteJoint.prototype.m_qB=null,box2d.b2RevoluteJoint.prototype.m_lalcA=null,box2d.b2RevoluteJoint.prototype.m_lalcB=null,box2d.b2RevoluteJoint.prototype.m_K=null,box2d.b2RevoluteJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].a,c=a.velocities[this.m_indexA].v,d=a.velocities[this.m_indexA].w,e=a.positions[this.m_indexB].a,f=a.velocities[this.m_indexB].v,g=a.velocities[this.m_indexB].w,h=this.m_qA.SetAngleRadians(b),i=this.m_qB.SetAngleRadians(e);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA),box2d.b2MulRV(h,this.m_lalcA,this.m_rA),box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(i,this.m_lalcB,this.m_rB);var j=this.m_invMassA,k=this.m_invMassB,l=this.m_invIA,m=this.m_invIB,n=l+m===0;if(this.m_mass.ex.x=j+k+this.m_rA.y*this.m_rA.y*l+this.m_rB.y*this.m_rB.y*m,this.m_mass.ey.x=-this.m_rA.y*this.m_rA.x*l-this.m_rB.y*this.m_rB.x*m,this.m_mass.ez.x=-this.m_rA.y*l-this.m_rB.y*m,this.m_mass.ex.y=this.m_mass.ey.x,this.m_mass.ey.y=j+k+this.m_rA.x*this.m_rA.x*l+this.m_rB.x*this.m_rB.x*m,this.m_mass.ez.y=this.m_rA.x*l+this.m_rB.x*m,this.m_mass.ex.z=this.m_mass.ez.x,this.m_mass.ey.z=this.m_mass.ez.y,this.m_mass.ez.z=l+m,this.m_motorMass=l+m,this.m_motorMass>0&&(this.m_motorMass=1/this.m_motorMass),(this.m_enableMotor===!1||n)&&(this.m_motorImpulse=0),this.m_enableLimit&&n===!1){var o=e-b-this.m_referenceAngle;box2d.b2Abs(this.m_upperAngle-this.m_lowerAngle)<2*box2d.b2_angularSlop?this.m_limitState=box2d.b2LimitState.e_equalLimits:o<=this.m_lowerAngle?(this.m_limitState!==box2d.b2LimitState.e_atLowerLimit&&(this.m_impulse.z=0),this.m_limitState=box2d.b2LimitState.e_atLowerLimit):o>=this.m_upperAngle?(this.m_limitState!==box2d.b2LimitState.e_atUpperLimit&&(this.m_impulse.z=0),this.m_limitState=box2d.b2LimitState.e_atUpperLimit):(this.m_limitState=box2d.b2LimitState.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=box2d.b2LimitState.e_inactiveLimit;if(a.step.warmStarting){this.m_impulse.SelfMul(a.step.dtRatio),this.m_motorImpulse*=a.step.dtRatio;var p=box2d.b2RevoluteJoint.prototype.InitVelocityConstraints.s_P.SetXY(this.m_impulse.x,this.m_impulse.y);c.SelfMulSub(j,p),d-=l*(box2d.b2CrossVV(this.m_rA,p)+this.m_motorImpulse+this.m_impulse.z),f.SelfMulAdd(k,p),g+=m*(box2d.b2CrossVV(this.m_rB,p)+this.m_motorImpulse+this.m_impulse.z)}else this.m_impulse.SetZero(),this.m_motorImpulse=0;a.velocities[this.m_indexA].w=d,a.velocities[this.m_indexB].w=g},box2d.b2RevoluteJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_invMassA,g=this.m_invMassB,h=this.m_invIA,i=this.m_invIB,j=h+i===0;if(this.m_enableMotor&&this.m_limitState!==box2d.b2LimitState.e_equalLimits&&j===!1){var k=e-c-this.m_motorSpeed,l=-this.m_motorMass*k,m=this.m_motorImpulse,n=a.step.dt*this.m_maxMotorTorque;this.m_motorImpulse=box2d.b2Clamp(this.m_motorImpulse+l,-n,n),l=this.m_motorImpulse-m,c-=h*l,e+=i*l}if(this.m_enableLimit&&this.m_limitState!==box2d.b2LimitState.e_inactiveLimit&&j===!1){var o=box2d.b2SubVV(box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2Vec2.s_t1),box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_Cdot1),p=e-c,l=this.m_mass.Solve33(o.x,o.y,p,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_impulse3).SelfNeg();if(this.m_limitState===box2d.b2LimitState.e_equalLimits)this.m_impulse.SelfAdd(l);else if(this.m_limitState===box2d.b2LimitState.e_atLowerLimit){var q=this.m_impulse.z+l.z;if(0>q){var r=-o.x+this.m_impulse.z*this.m_mass.ez.x,s=-o.y+this.m_impulse.z*this.m_mass.ez.y,t=this.m_mass.Solve22(r,s,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_reduced);l.x=t.x,l.y=t.y,l.z=-this.m_impulse.z,this.m_impulse.x+=t.x,this.m_impulse.y+=t.y,this.m_impulse.z=0}else this.m_impulse.SelfAdd(l)}else if(this.m_limitState===box2d.b2LimitState.e_atUpperLimit){var q=this.m_impulse.z+l.z;if(q>0){var r=-o.x+this.m_impulse.z*this.m_mass.ez.x,s=-o.y+this.m_impulse.z*this.m_mass.ez.y,t=this.m_mass.Solve22(r,s,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_reduced);l.x=t.x,l.y=t.y,l.z=-this.m_impulse.z,this.m_impulse.x+=t.x,this.m_impulse.y+=t.y,this.m_impulse.z=0}else this.m_impulse.SelfAdd(l)}var u=box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_P.SetXY(l.x,l.y);b.SelfMulSub(f,u),c-=h*(box2d.b2CrossVV(this.m_rA,u)+l.z),d.SelfMulAdd(g,u),e+=i*(box2d.b2CrossVV(this.m_rB,u)+l.z)}else{var k=box2d.b2SubVV(box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2Vec2.s_t1),box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_Cdot),l=this.m_mass.Solve22(-k.x,-k.y,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_impulse2);this.m_impulse.x+=l.x,this.m_impulse.y+=l.y,b.SelfMulSub(f,l),c-=h*box2d.b2CrossVV(this.m_rA,l),d.SelfMulAdd(g,l),e+=i*box2d.b2CrossVV(this.m_rB,l)}a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_Cdot=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_Cdot1=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_impulse3=new box2d.b2Vec3,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_reduced=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolveVelocityConstraints.s_impulse2=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e),h=0,i=0,j=this.m_invIA+this.m_invIB===0;if(this.m_enableLimit&&this.m_limitState!==box2d.b2LimitState.e_inactiveLimit&&j===!1){var k=e-c-this.m_referenceAngle,l=0;if(this.m_limitState===box2d.b2LimitState.e_equalLimits){var m=box2d.b2Clamp(k-this.m_lowerAngle,-box2d.b2_maxAngularCorrection,box2d.b2_maxAngularCorrection);l=-this.m_motorMass*m,h=box2d.b2Abs(m)}else if(this.m_limitState===box2d.b2LimitState.e_atLowerLimit){var m=k-this.m_lowerAngle;h=-m,m=box2d.b2Clamp(m+box2d.b2_angularSlop,-box2d.b2_maxAngularCorrection,0),l=-this.m_motorMass*m}else if(this.m_limitState===box2d.b2LimitState.e_atUpperLimit){var m=k-this.m_upperAngle;h=m,m=box2d.b2Clamp(m-box2d.b2_angularSlop,0,box2d.b2_maxAngularCorrection),l=-this.m_motorMass*m}c-=this.m_invIA*l,e+=this.m_invIB*l}f.SetAngleRadians(c),g.SetAngleRadians(e),box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var n=box2d.b2MulRV(f,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var o=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),m=box2d.b2SubVV(box2d.b2AddVV(d,o,box2d.b2Vec2.s_t0),box2d.b2AddVV(b,n,box2d.b2Vec2.s_t1),box2d.b2RevoluteJoint.prototype.SolvePositionConstraints.s_C);i=m.GetLength();var p=this.m_invMassA,q=this.m_invMassB,r=this.m_invIA,s=this.m_invIB,t=this.m_K;t.ex.x=p+q+r*n.y*n.y+s*o.y*o.y,t.ex.y=-r*n.x*n.y-s*o.x*o.y,t.ey.x=t.ex.y,t.ey.y=p+q+r*n.x*n.x+s*o.x*o.x;var u=t.Solve(m.x,m.y,box2d.b2RevoluteJoint.prototype.SolvePositionConstraints.s_impulse).SelfNeg();return b.SelfMulSub(p,u),c-=r*box2d.b2CrossVV(n,u),d.SelfMulAdd(q,u),e+=s*box2d.b2CrossVV(o,u),a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,i<=box2d.b2_linearSlop&&h<=box2d.b2_angularSlop},box2d.b2RevoluteJoint.prototype.SolvePositionConstraints.s_C=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.SolvePositionConstraints.s_impulse=new box2d.b2Vec2,box2d.b2RevoluteJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2RevoluteJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2RevoluteJoint.prototype.GetReactionForce=function(a,b){return b.SetXY(a*this.m_impulse.x,a*this.m_impulse.y)},box2d.b2RevoluteJoint.prototype.GetReactionTorque=function(a){return a*this.m_impulse.z},box2d.b2RevoluteJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2RevoluteJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2RevoluteJoint.prototype.GetReferenceAngle=function(){return this.m_referenceAngle},box2d.b2RevoluteJoint.prototype.GetJointAngleRadians=function(){return this.m_bodyB.m_sweep.a-this.m_bodyA.m_sweep.a-this.m_referenceAngle},box2d.b2RevoluteJoint.prototype.GetJointSpeed=function(){return this.m_bodyB.m_angularVelocity-this.m_bodyA.m_angularVelocity},box2d.b2RevoluteJoint.prototype.IsMotorEnabled=function(){return this.m_enableMotor},box2d.b2RevoluteJoint.prototype.EnableMotor=function(a){this.m_enableMotor!==a&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=a)},box2d.b2RevoluteJoint.prototype.GetMotorTorque=function(a){return a*this.m_motorImpulse},box2d.b2RevoluteJoint.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},box2d.b2RevoluteJoint.prototype.SetMaxMotorTorque=function(a){this.m_maxMotorTorque=a},box2d.b2RevoluteJoint.prototype.GetMaxMotorTorque=function(){return this.m_maxMotorTorque},box2d.b2RevoluteJoint.prototype.IsLimitEnabled=function(){return this.m_enableLimit},box2d.b2RevoluteJoint.prototype.EnableLimit=function(a){a!==this.m_enableLimit&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableLimit=a,this.m_impulse.z=0)},box2d.b2RevoluteJoint.prototype.GetLowerLimit=function(){return this.m_lowerAngle},box2d.b2RevoluteJoint.prototype.GetUpperLimit=function(){return this.m_upperAngle},box2d.b2RevoluteJoint.prototype.SetLimits=function(a,b){(a!==this.m_lowerAngle||b!==this.m_upperAngle)&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_impulse.z=0,this.m_lowerAngle=a,this.m_upperAngle=b)},box2d.b2RevoluteJoint.prototype.SetMotorSpeed=function(a){this.m_motorSpeed!==a&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=a)},box2d.b2RevoluteJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2RevoluteJointDef*/ var jd = new box2d.b2RevoluteJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.referenceAngle = %.15f;\n",this.m_referenceAngle),box2d.b2Log(" jd.enableLimit = %s;\n",this.m_enableLimit?"true":"false"),box2d.b2Log(" jd.lowerAngle = %.15f;\n",this.m_lowerAngle),box2d.b2Log(" jd.upperAngle = %.15f;\n",this.m_upperAngle),box2d.b2Log(" jd.enableMotor = %s;\n",this.m_enableMotor?"true":"false"),box2d.b2Log(" jd.motorSpeed = %.15f;\n",this.m_motorSpeed),box2d.b2Log(" jd.maxMotorTorque = %.15f;\n",this.m_maxMotorTorque),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d.b2PrismaticJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2PrismaticJointDef=function(){goog.base(this,box2d.b2JointType.e_prismaticJoint),this.localAnchorA=new box2d.b2Vec2,this.localAnchorB=new box2d.b2Vec2,this.localAxisA=new box2d.b2Vec2(1,0)},goog.inherits(box2d.b2PrismaticJointDef,box2d.b2JointDef),box2d.b2PrismaticJointDef.prototype.localAnchorA=null,box2d.b2PrismaticJointDef.prototype.localAnchorB=null,box2d.b2PrismaticJointDef.prototype.localAxisA=null,box2d.b2PrismaticJointDef.prototype.referenceAngle=0,box2d.b2PrismaticJointDef.prototype.enableLimit=!1,box2d.b2PrismaticJointDef.prototype.lowerTranslation=0,box2d.b2PrismaticJointDef.prototype.upperTranslation=0,box2d.b2PrismaticJointDef.prototype.enableMotor=!1,box2d.b2PrismaticJointDef.prototype.maxMotorForce=0,box2d.b2PrismaticJointDef.prototype.motorSpeed=0,box2d.b2PrismaticJointDef.prototype.Initialize=function(a,b,c,d){this.bodyA=a,this.bodyB=b,this.bodyA.GetLocalPoint(c,this.localAnchorA),this.bodyB.GetLocalPoint(c,this.localAnchorB),this.bodyA.GetLocalVector(d,this.localAxisA),this.referenceAngle=this.bodyB.GetAngleRadians()-this.bodyA.GetAngleRadians()},box2d.b2PrismaticJoint=function(a){goog.base(this,a),this.m_localAnchorA=a.localAnchorA.Clone(),this.m_localAnchorB=a.localAnchorB.Clone(),this.m_localXAxisA=a.localAxisA.Clone().SelfNormalize(),this.m_localYAxisA=box2d.b2CrossOneV(this.m_localXAxisA,new box2d.b2Vec2),this.m_referenceAngle=a.referenceAngle,this.m_impulse=new box2d.b2Vec3(0,0,0),this.m_lowerTranslation=a.lowerTranslation,this.m_upperTranslation=a.upperTranslation,this.m_maxMotorForce=a.maxMotorForce,this.m_motorSpeed=a.motorSpeed,this.m_enableLimit=a.enableLimit,this.m_enableMotor=a.enableMotor,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_axis=new box2d.b2Vec2(0,0),this.m_perp=new box2d.b2Vec2(0,0),this.m_K=new box2d.b2Mat33,this.m_K3=new box2d.b2Mat33,this.m_K2=new box2d.b2Mat22,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2},goog.inherits(box2d.b2PrismaticJoint,box2d.b2Joint),box2d.b2PrismaticJoint.prototype.m_localAnchorA=null,box2d.b2PrismaticJoint.prototype.m_localAnchorB=null,box2d.b2PrismaticJoint.prototype.m_localXAxisA=null,box2d.b2PrismaticJoint.prototype.m_localYAxisA=null,box2d.b2PrismaticJoint.prototype.m_referenceAngle=0,box2d.b2PrismaticJoint.prototype.m_impulse=null,box2d.b2PrismaticJoint.prototype.m_motorImpulse=0,box2d.b2PrismaticJoint.prototype.m_lowerTranslation=0,box2d.b2PrismaticJoint.prototype.m_upperTranslation=0,box2d.b2PrismaticJoint.prototype.m_maxMotorForce=0,box2d.b2PrismaticJoint.prototype.m_motorSpeed=0,box2d.b2PrismaticJoint.prototype.m_enableLimit=!1,box2d.b2PrismaticJoint.prototype.m_enableMotor=!1,box2d.b2PrismaticJoint.prototype.m_limitState=box2d.b2LimitState.e_inactiveLimit,box2d.b2PrismaticJoint.prototype.m_indexA=0,box2d.b2PrismaticJoint.prototype.m_indexB=0,box2d.b2PrismaticJoint.prototype.m_localCenterA=null,box2d.b2PrismaticJoint.prototype.m_localCenterB=null,box2d.b2PrismaticJoint.prototype.m_invMassA=0,box2d.b2PrismaticJoint.prototype.m_invMassB=0,box2d.b2PrismaticJoint.prototype.m_invIA=0,box2d.b2PrismaticJoint.prototype.m_invIB=0,box2d.b2PrismaticJoint.prototype.m_axis=null,box2d.b2PrismaticJoint.prototype.m_perp=null,box2d.b2PrismaticJoint.prototype.m_s1=0,box2d.b2PrismaticJoint.prototype.m_s2=0,box2d.b2PrismaticJoint.prototype.m_a1=0,box2d.b2PrismaticJoint.prototype.m_a2=0,box2d.b2PrismaticJoint.prototype.m_K=null,box2d.b2PrismaticJoint.prototype.m_K3=null,box2d.b2PrismaticJoint.prototype.m_K2=null,box2d.b2PrismaticJoint.prototype.m_motorMass=0,box2d.b2PrismaticJoint.prototype.m_qA=null,box2d.b2PrismaticJoint.prototype.m_qB=null,box2d.b2PrismaticJoint.prototype.m_lalcA=null,box2d.b2PrismaticJoint.prototype.m_lalcB=null,box2d.b2PrismaticJoint.prototype.m_rA=null,box2d.b2PrismaticJoint.prototype.m_rB=null,box2d.b2PrismaticJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.velocities[this.m_indexA].v,e=a.velocities[this.m_indexA].w,f=a.positions[this.m_indexB].c,g=a.positions[this.m_indexB].a,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=this.m_qA.SetAngleRadians(c),k=this.m_qB.SetAngleRadians(g);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var l=box2d.b2MulRV(j,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var m=box2d.b2MulRV(k,this.m_lalcB,this.m_rB),n=box2d.b2AddVV(box2d.b2SubVV(f,b,box2d.b2Vec2.s_t0),box2d.b2SubVV(m,l,box2d.b2Vec2.s_t1),box2d.b2PrismaticJoint.prototype.InitVelocityConstraints.s_d),o=this.m_invMassA,p=this.m_invMassB,q=this.m_invIA,r=this.m_invIB;if(box2d.b2MulRV(j,this.m_localXAxisA,this.m_axis),this.m_a1=box2d.b2CrossVV(box2d.b2AddVV(n,l,box2d.b2Vec2.s_t0),this.m_axis),this.m_a2=box2d.b2CrossVV(m,this.m_axis),this.m_motorMass=o+p+q*this.m_a1*this.m_a1+r*this.m_a2*this.m_a2,this.m_motorMass>0&&(this.m_motorMass=1/this.m_motorMass),box2d.b2MulRV(j,this.m_localYAxisA,this.m_perp),this.m_s1=box2d.b2CrossVV(box2d.b2AddVV(n,l,box2d.b2Vec2.s_t0),this.m_perp),this.m_s2=box2d.b2CrossVV(m,this.m_perp),this.m_K.ex.x=o+p+q*this.m_s1*this.m_s1+r*this.m_s2*this.m_s2,this.m_K.ex.y=q*this.m_s1+r*this.m_s2,this.m_K.ex.z=q*this.m_s1*this.m_a1+r*this.m_s2*this.m_a2,this.m_K.ey.x=this.m_K.ex.y,this.m_K.ey.y=q+r,0===this.m_K.ey.y&&(this.m_K.ey.y=1),this.m_K.ey.z=q*this.m_a1+r*this.m_a2,this.m_K.ez.x=this.m_K.ex.z,this.m_K.ez.y=this.m_K.ey.z,this.m_K.ez.z=o+p+q*this.m_a1*this.m_a1+r*this.m_a2*this.m_a2,this.m_enableLimit){var s=box2d.b2DotVV(this.m_axis,n);box2d.b2Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*box2d.b2_linearSlop?this.m_limitState=box2d.b2LimitState.e_equalLimits:s<=this.m_lowerTranslation?this.m_limitState!==box2d.b2LimitState.e_atLowerLimit&&(this.m_limitState=box2d.b2LimitState.e_atLowerLimit,this.m_impulse.z=0):s>=this.m_upperTranslation?this.m_limitState!==box2d.b2LimitState.e_atUpperLimit&&(this.m_limitState=box2d.b2LimitState.e_atUpperLimit,this.m_impulse.z=0):(this.m_limitState=box2d.b2LimitState.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=box2d.b2LimitState.e_inactiveLimit,this.m_impulse.z=0;if(this.m_enableMotor===!1&&(this.m_motorImpulse=0),a.step.warmStarting){this.m_impulse.SelfMul(a.step.dtRatio),this.m_motorImpulse*=a.step.dtRatio;var t=box2d.b2AddVV(box2d.b2MulSV(this.m_impulse.x,this.m_perp,box2d.b2Vec2.s_t0),box2d.b2MulSV(this.m_motorImpulse+this.m_impulse.z,this.m_axis,box2d.b2Vec2.s_t1),box2d.b2PrismaticJoint.prototype.InitVelocityConstraints.s_P),u=this.m_impulse.x*this.m_s1+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a1,v=this.m_impulse.x*this.m_s2+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a2;d.SelfMulSub(o,t),e-=q*u,h.SelfMulAdd(p,t),i+=r*v}else this.m_impulse.SetZero(),this.m_motorImpulse=0;a.velocities[this.m_indexA].w=e,a.velocities[this.m_indexB].w=i},box2d.b2PrismaticJoint.prototype.InitVelocityConstraints.s_d=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_invMassA,g=this.m_invMassB,h=this.m_invIA,i=this.m_invIB;if(this.m_enableMotor&&this.m_limitState!==box2d.b2LimitState.e_equalLimits){var j=box2d.b2DotVV(this.m_axis,box2d.b2SubVV(d,b,box2d.b2Vec2.s_t0))+this.m_a2*e-this.m_a1*c,k=this.m_motorMass*(this.m_motorSpeed-j),l=this.m_motorImpulse,m=a.step.dt*this.m_maxMotorForce;this.m_motorImpulse=box2d.b2Clamp(this.m_motorImpulse+k,-m,m),k=this.m_motorImpulse-l;var n=box2d.b2MulSV(k,this.m_axis,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_P),o=k*this.m_a1,p=k*this.m_a2;b.SelfMulSub(f,n),c-=h*o,d.SelfMulAdd(g,n),e+=i*p}var q=box2d.b2DotVV(this.m_perp,box2d.b2SubVV(d,b,box2d.b2Vec2.s_t0))+this.m_s2*e-this.m_s1*c,r=e-c;if(this.m_enableLimit&&this.m_limitState!==box2d.b2LimitState.e_inactiveLimit){var s=box2d.b2DotVV(this.m_axis,box2d.b2SubVV(d,b,box2d.b2Vec2.s_t0))+this.m_a2*e-this.m_a1*c,t=box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_f1.Copy(this.m_impulse),u=this.m_K.Solve33(-q,-r,-s,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_df3);this.m_impulse.SelfAdd(u),this.m_limitState===box2d.b2LimitState.e_atLowerLimit?this.m_impulse.z=box2d.b2Max(this.m_impulse.z,0):this.m_limitState===box2d.b2LimitState.e_atUpperLimit&&(this.m_impulse.z=box2d.b2Min(this.m_impulse.z,0));var v=-q-(this.m_impulse.z-t.z)*this.m_K.ez.x,w=-r-(this.m_impulse.z-t.z)*this.m_K.ez.y,x=this.m_K.Solve22(v,w,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_f2r);x.x+=t.x,x.y+=t.y,this.m_impulse.x=x.x,this.m_impulse.y=x.y,u.x=this.m_impulse.x-t.x,u.y=this.m_impulse.y-t.y,u.z=this.m_impulse.z-t.z;var n=box2d.b2AddVV(box2d.b2MulSV(u.x,this.m_perp,box2d.b2Vec2.s_t0),box2d.b2MulSV(u.z,this.m_axis,box2d.b2Vec2.s_t1),box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_P),o=u.x*this.m_s1+u.y+u.z*this.m_a1,p=u.x*this.m_s2+u.y+u.z*this.m_a2;b.SelfMulSub(f,n),c-=h*o,d.SelfMulAdd(g,n),e+=i*p}else{var u=this.m_K.Solve22(-q,-r,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_df2);this.m_impulse.x+=u.x,this.m_impulse.y+=u.y;var n=box2d.b2MulSV(u.x,this.m_perp,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_P),o=u.x*this.m_s1+u.y,p=u.x*this.m_s2+u.y;b.SelfMulSub(f,n),c-=h*o,d.SelfMulAdd(g,n),e+=i*p}a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_f2r=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_f1=new box2d.b2Vec3,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_df3=new box2d.b2Vec3,box2d.b2PrismaticJoint.prototype.SolveVelocityConstraints.s_df2=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e),h=this.m_invMassA,i=this.m_invMassB,j=this.m_invIA,k=this.m_invIB,l=box2d.b2MulRV(f,this.m_lalcA,this.m_rA),m=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),n=box2d.b2SubVV(box2d.b2AddVV(d,m,box2d.b2Vec2.s_t0),box2d.b2AddVV(b,l,box2d.b2Vec2.s_t1),box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_d),o=box2d.b2MulRV(f,this.m_localXAxisA,this.m_axis),p=box2d.b2CrossVV(box2d.b2AddVV(n,l,box2d.b2Vec2.s_t0),o),q=box2d.b2CrossVV(m,o),r=box2d.b2MulRV(f,this.m_localYAxisA,this.m_perp),s=box2d.b2CrossVV(box2d.b2AddVV(n,l,box2d.b2Vec2.s_t0),r),t=box2d.b2CrossVV(m,r),u=box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_impulse,v=box2d.b2DotVV(r,n),w=e-c-this.m_referenceAngle,x=box2d.b2Abs(v),y=box2d.b2Abs(w),z=!1,A=0; +if(this.m_enableLimit){var B=box2d.b2DotVV(o,n);box2d.b2Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*box2d.b2_linearSlop?(A=box2d.b2Clamp(B,-box2d.b2_maxLinearCorrection,box2d.b2_maxLinearCorrection),x=box2d.b2Max(x,box2d.b2Abs(B)),z=!0):B<=this.m_lowerTranslation?(A=box2d.b2Clamp(B-this.m_lowerTranslation+box2d.b2_linearSlop,-box2d.b2_maxLinearCorrection,0),x=box2d.b2Max(x,this.m_lowerTranslation-B),z=!0):B>=this.m_upperTranslation&&(A=box2d.b2Clamp(B-this.m_upperTranslation-box2d.b2_linearSlop,0,box2d.b2_maxLinearCorrection),x=box2d.b2Max(x,B-this.m_upperTranslation),z=!0)}if(z){var C=h+i+j*s*s+k*t*t,D=j*s+k*t,E=j*s*p+k*t*q,F=j+k;0===F&&(F=1);var G=j*p+k*q,H=h+i+j*p*p+k*q*q,I=this.m_K3;I.ex.SetXYZ(C,D,E),I.ey.SetXYZ(D,F,G),I.ez.SetXYZ(E,G,H),u=I.Solve33(-v,-w,-A,u)}else{var C=h+i+j*s*s+k*t*t,D=j*s+k*t,F=j+k;0===F&&(F=1);var J=this.m_K2;J.ex.SetXY(C,D),J.ey.SetXY(D,F);var K=J.Solve(-v,-w,box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_impulse1);u.x=K.x,u.y=K.y,u.z=0}var L=box2d.b2AddVV(box2d.b2MulSV(u.x,r,box2d.b2Vec2.s_t0),box2d.b2MulSV(u.z,o,box2d.b2Vec2.s_t1),box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_P),M=u.x*s+u.y+u.z*p,N=u.x*t+u.y+u.z*q;return b.SelfMulSub(h,L),c-=j*M,d.SelfMulAdd(i,L),e+=k*N,a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,x<=box2d.b2_linearSlop&&y<=box2d.b2_angularSlop},box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_d=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_impulse=new box2d.b2Vec3,box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_impulse1=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.SolvePositionConstraints.s_P=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2PrismaticJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2PrismaticJoint.prototype.GetReactionForce=function(a,b){return b.SetXY(a*(this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.x),a*(this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.y))},box2d.b2PrismaticJoint.prototype.GetReactionTorque=function(a){return a*this.m_impulse.y},box2d.b2PrismaticJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2PrismaticJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2PrismaticJoint.prototype.GetLocalAxisA=function(a){return a.Copy(this.m_localXAxisA)},box2d.b2PrismaticJoint.prototype.GetReferenceAngle=function(){return this.m_referenceAngle},box2d.b2PrismaticJoint.prototype.GetJointTranslation=function(){var a=this.m_bodyA.GetWorldPoint(this.m_localAnchorA,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_pA),b=this.m_bodyB.GetWorldPoint(this.m_localAnchorB,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_pB),c=box2d.b2SubVV(b,a,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_d),d=this.m_bodyA.GetWorldVector(this.m_localXAxisA,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_axis),e=box2d.b2DotVV(c,d);return e},box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_pA=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_pB=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_d=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.GetJointTranslation.s_axis=new box2d.b2Vec2,box2d.b2PrismaticJoint.prototype.GetJointSpeed=function(){var a=this.m_bodyA,b=this.m_bodyB;box2d.b2SubVV(this.m_localAnchorA,a.m_sweep.localCenter,this.m_lalcA);var c=box2d.b2MulRV(a.m_xf.q,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,b.m_sweep.localCenter,this.m_lalcB);var d=box2d.b2MulRV(b.m_xf.q,this.m_lalcB,this.m_rB),e=box2d.b2AddVV(a.m_sweep.c,c,box2d.b2Vec2.s_t0),f=box2d.b2AddVV(b.m_sweep.c,d,box2d.b2Vec2.s_t1),g=box2d.b2SubVV(f,e,box2d.b2Vec2.s_t2),h=a.GetWorldVector(this.m_localXAxisA,this.m_axis),i=a.m_linearVelocity,j=b.m_linearVelocity,k=a.m_angularVelocity,l=b.m_angularVelocity,m=box2d.b2DotVV(g,box2d.b2CrossSV(k,h,box2d.b2Vec2.s_t0))+box2d.b2DotVV(h,box2d.b2SubVV(box2d.b2AddVCrossSV(j,l,d,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(i,k,c,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t0));return m},box2d.b2PrismaticJoint.prototype.IsLimitEnabled=function(){return this.m_enableLimit},box2d.b2PrismaticJoint.prototype.EnableLimit=function(a){a!==this.m_enableLimit&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableLimit=a,this.m_impulse.z=0)},box2d.b2PrismaticJoint.prototype.GetLowerLimit=function(){return this.m_lowerTranslation},box2d.b2PrismaticJoint.prototype.GetUpperLimit=function(){return this.m_upperTranslation},box2d.b2PrismaticJoint.prototype.SetLimits=function(a,b){(a!==this.m_lowerTranslation||b!==this.m_upperTranslation)&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_lowerTranslation=a,this.m_upperTranslation=b,this.m_impulse.z=0)},box2d.b2PrismaticJoint.prototype.IsMotorEnabled=function(){return this.m_enableMotor},box2d.b2PrismaticJoint.prototype.EnableMotor=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=a},box2d.b2PrismaticJoint.prototype.SetMotorSpeed=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=a},box2d.b2PrismaticJoint.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},box2d.b2PrismaticJoint.prototype.SetMaxMotorForce=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_maxMotorForce=a},box2d.b2PrismaticJoint.prototype.GetMaxMotorForce=function(){return this.m_maxMotorForce},box2d.b2PrismaticJoint.prototype.GetMotorForce=function(a){return a*this.m_motorImpulse},box2d.b2PrismaticJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2PrismaticJointDef*/ var jd = new box2d.b2PrismaticJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.localAxisA.SetXY(%.15f, %.15f);\n",this.m_localXAxisA.x,this.m_localXAxisA.y),box2d.b2Log(" jd.referenceAngle = %.15f;\n",this.m_referenceAngle),box2d.b2Log(" jd.enableLimit = %s;\n",this.m_enableLimit?"true":"false"),box2d.b2Log(" jd.lowerTranslation = %.15f;\n",this.m_lowerTranslation),box2d.b2Log(" jd.upperTranslation = %.15f;\n",this.m_upperTranslation),box2d.b2Log(" jd.enableMotor = %s;\n",this.m_enableMotor?"true":"false"),box2d.b2Log(" jd.motorSpeed = %.15f;\n",this.m_motorSpeed),box2d.b2Log(" jd.maxMotorForce = %.15f;\n",this.m_maxMotorForce),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d.b2GearJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),goog.require("box2d.b2RevoluteJoint"),goog.require("box2d.b2PrismaticJoint"),box2d.b2GearJointDef=function(){goog.base(this,box2d.b2JointType.e_gearJoint)},goog.inherits(box2d.b2GearJointDef,box2d.b2JointDef),box2d.b2GearJointDef.prototype.joint1=null,box2d.b2GearJointDef.prototype.joint2=null,box2d.b2GearJointDef.prototype.ratio=1,box2d.b2GearJoint=function(a){goog.base(this,a),this.m_joint1=a.joint1,this.m_joint2=a.joint2,this.m_localAnchorA=new box2d.b2Vec2,this.m_localAnchorB=new box2d.b2Vec2,this.m_localAnchorC=new box2d.b2Vec2,this.m_localAnchorD=new box2d.b2Vec2,this.m_localAxisC=new box2d.b2Vec2,this.m_localAxisD=new box2d.b2Vec2,this.m_lcA=new box2d.b2Vec2,this.m_lcB=new box2d.b2Vec2,this.m_lcC=new box2d.b2Vec2,this.m_lcD=new box2d.b2Vec2,this.m_JvAC=new box2d.b2Vec2,this.m_JvBD=new box2d.b2Vec2,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_qC=new box2d.b2Rot,this.m_qD=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_lalcC=new box2d.b2Vec2,this.m_lalcD=new box2d.b2Vec2,this.m_typeA=this.m_joint1.GetType(),this.m_typeB=this.m_joint2.GetType(),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_typeA===box2d.b2JointType.e_revoluteJoint||this.m_typeA===box2d.b2JointType.e_prismaticJoint),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_typeB===box2d.b2JointType.e_revoluteJoint||this.m_typeB===box2d.b2JointType.e_prismaticJoint);var b,c;this.m_bodyC=this.m_joint1.GetBodyA(),this.m_bodyA=this.m_joint1.GetBodyB();var d=this.m_bodyA.m_xf,e=this.m_bodyA.m_sweep.a,f=this.m_bodyC.m_xf,g=this.m_bodyC.m_sweep.a;if(this.m_typeA===box2d.b2JointType.e_revoluteJoint){var h=a.joint1;this.m_localAnchorC.Copy(h.m_localAnchorA),this.m_localAnchorA.Copy(h.m_localAnchorB),this.m_referenceAngleA=h.m_referenceAngle,this.m_localAxisC.SetZero(),b=e-g-this.m_referenceAngleA}else{var i=a.joint1;this.m_localAnchorC.Copy(i.m_localAnchorA),this.m_localAnchorA.Copy(i.m_localAnchorB),this.m_referenceAngleA=i.m_referenceAngle,this.m_localAxisC.Copy(i.m_localXAxisA);var j=this.m_localAnchorC,k=box2d.b2MulTRV(f.q,box2d.b2AddVV(box2d.b2MulRV(d.q,this.m_localAnchorA,box2d.b2Vec2.s_t0),box2d.b2SubVV(d.p,f.p,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0);b=box2d.b2DotVV(box2d.b2SubVV(k,j,box2d.b2Vec2.s_t0),this.m_localAxisC)}this.m_bodyD=this.m_joint2.GetBodyA(),this.m_bodyB=this.m_joint2.GetBodyB();var l=this.m_bodyB.m_xf,m=this.m_bodyB.m_sweep.a,n=this.m_bodyD.m_xf,o=this.m_bodyD.m_sweep.a;if(this.m_typeB===box2d.b2JointType.e_revoluteJoint){var h=a.joint2;this.m_localAnchorD.Copy(h.m_localAnchorA),this.m_localAnchorB.Copy(h.m_localAnchorB),this.m_referenceAngleB=h.m_referenceAngle,this.m_localAxisD.SetZero(),c=m-o-this.m_referenceAngleB}else{var i=a.joint2;this.m_localAnchorD.Copy(i.m_localAnchorA),this.m_localAnchorB.Copy(i.m_localAnchorB),this.m_referenceAngleB=i.m_referenceAngle,this.m_localAxisD.Copy(i.m_localXAxisA);var p=this.m_localAnchorD,q=box2d.b2MulTRV(n.q,box2d.b2AddVV(box2d.b2MulRV(l.q,this.m_localAnchorB,box2d.b2Vec2.s_t0),box2d.b2SubVV(l.p,n.p,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0);c=box2d.b2DotVV(box2d.b2SubVV(q,p,box2d.b2Vec2.s_t0),this.m_localAxisD)}this.m_ratio=a.ratio,this.m_constant=b+this.m_ratio*c,this.m_impulse=0},goog.inherits(box2d.b2GearJoint,box2d.b2Joint),box2d.b2GearJoint.prototype.m_joint1=null,box2d.b2GearJoint.prototype.m_joint2=null,box2d.b2GearJoint.prototype.m_typeA=box2d.b2JointType.e_unknownJoint,box2d.b2GearJoint.prototype.m_typeB=box2d.b2JointType.e_unknownJoint,box2d.b2GearJoint.prototype.m_bodyC=null,box2d.b2GearJoint.prototype.m_bodyD=null,box2d.b2GearJoint.prototype.m_localAnchorA=null,box2d.b2GearJoint.prototype.m_localAnchorB=null,box2d.b2GearJoint.prototype.m_localAnchorC=null,box2d.b2GearJoint.prototype.m_localAnchorD=null,box2d.b2GearJoint.prototype.m_localAxisC=null,box2d.b2GearJoint.prototype.m_localAxisD=null,box2d.b2GearJoint.prototype.m_referenceAngleA=0,box2d.b2GearJoint.prototype.m_referenceAngleB=0,box2d.b2GearJoint.prototype.m_constant=0,box2d.b2GearJoint.prototype.m_ratio=0,box2d.b2GearJoint.prototype.m_impulse=0,box2d.b2GearJoint.prototype.m_indexA=0,box2d.b2GearJoint.prototype.m_indexB=0,box2d.b2GearJoint.prototype.m_indexC=0,box2d.b2GearJoint.prototype.m_indexD=0,box2d.b2GearJoint.prototype.m_lcA=null,box2d.b2GearJoint.prototype.m_lcB=null,box2d.b2GearJoint.prototype.m_lcC=null,box2d.b2GearJoint.prototype.m_lcD=null,box2d.b2GearJoint.prototype.m_mA=0,box2d.b2GearJoint.prototype.m_mB=0,box2d.b2GearJoint.prototype.m_mC=0,box2d.b2GearJoint.prototype.m_mD=0,box2d.b2GearJoint.prototype.m_iA=0,box2d.b2GearJoint.prototype.m_iB=0,box2d.b2GearJoint.prototype.m_iC=0,box2d.b2GearJoint.prototype.m_iD=0,box2d.b2GearJoint.prototype.m_JvAC=null,box2d.b2GearJoint.prototype.m_JvBD=null,box2d.b2GearJoint.prototype.m_JwA=0,box2d.b2GearJoint.prototype.m_JwB=0,box2d.b2GearJoint.prototype.m_JwC=0,box2d.b2GearJoint.prototype.m_JwD=0,box2d.b2GearJoint.prototype.m_mass=0,box2d.b2GearJoint.prototype.m_qA=null,box2d.b2GearJoint.prototype.m_qB=null,box2d.b2GearJoint.prototype.m_qC=null,box2d.b2GearJoint.prototype.m_qD=null,box2d.b2GearJoint.prototype.m_lalcA=null,box2d.b2GearJoint.prototype.m_lalcB=null,box2d.b2GearJoint.prototype.m_lalcC=null,box2d.b2GearJoint.prototype.m_lalcD=null,box2d.b2GearJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_indexC=this.m_bodyC.m_islandIndex,this.m_indexD=this.m_bodyD.m_islandIndex,this.m_lcA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_lcB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_lcC.Copy(this.m_bodyC.m_sweep.localCenter),this.m_lcD.Copy(this.m_bodyD.m_sweep.localCenter),this.m_mA=this.m_bodyA.m_invMass,this.m_mB=this.m_bodyB.m_invMass,this.m_mC=this.m_bodyC.m_invMass,this.m_mD=this.m_bodyD.m_invMass,this.m_iA=this.m_bodyA.m_invI,this.m_iB=this.m_bodyB.m_invI,this.m_iC=this.m_bodyC.m_invI,this.m_iD=this.m_bodyD.m_invI;var b=a.positions[this.m_indexA].a,c=a.velocities[this.m_indexA].v,d=a.velocities[this.m_indexA].w,e=a.positions[this.m_indexB].a,f=a.velocities[this.m_indexB].v,g=a.velocities[this.m_indexB].w,h=a.positions[this.m_indexC].a,i=a.velocities[this.m_indexC].v,j=a.velocities[this.m_indexC].w,k=a.positions[this.m_indexD].a,l=a.velocities[this.m_indexD].v,m=a.velocities[this.m_indexD].w,n=this.m_qA.SetAngleRadians(b),o=this.m_qB.SetAngleRadians(e),p=this.m_qC.SetAngleRadians(h),q=this.m_qD.SetAngleRadians(k);if(this.m_mass=0,this.m_typeA===box2d.b2JointType.e_revoluteJoint)this.m_JvAC.SetZero(),this.m_JwA=1,this.m_JwC=1,this.m_mass+=this.m_iA+this.m_iC;else{var r=box2d.b2MulRV(p,this.m_localAxisC,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_u);box2d.b2SubVV(this.m_localAnchorC,this.m_lcC,this.m_lalcC);var s=box2d.b2MulRV(p,this.m_lalcC,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rC);box2d.b2SubVV(this.m_localAnchorA,this.m_lcA,this.m_lalcA);var t=box2d.b2MulRV(n,this.m_lalcA,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rA);this.m_JvAC.Copy(r),this.m_JwC=box2d.b2CrossVV(s,r),this.m_JwA=box2d.b2CrossVV(t,r),this.m_mass+=this.m_mC+this.m_mA+this.m_iC*this.m_JwC*this.m_JwC+this.m_iA*this.m_JwA*this.m_JwA}if(this.m_typeB===box2d.b2JointType.e_revoluteJoint)this.m_JvBD.SetZero(),this.m_JwB=this.m_ratio,this.m_JwD=this.m_ratio,this.m_mass+=this.m_ratio*this.m_ratio*(this.m_iB+this.m_iD);else{var r=box2d.b2MulRV(q,this.m_localAxisD,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_u);box2d.b2SubVV(this.m_localAnchorD,this.m_lcD,this.m_lalcD);var u=box2d.b2MulRV(q,this.m_lalcD,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rD);box2d.b2SubVV(this.m_localAnchorB,this.m_lcB,this.m_lalcB);var v=box2d.b2MulRV(o,this.m_lalcB,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rB);box2d.b2MulSV(this.m_ratio,r,this.m_JvBD),this.m_JwD=this.m_ratio*box2d.b2CrossVV(u,r),this.m_JwB=this.m_ratio*box2d.b2CrossVV(v,r),this.m_mass+=this.m_ratio*this.m_ratio*(this.m_mD+this.m_mB)+this.m_iD*this.m_JwD*this.m_JwD+this.m_iB*this.m_JwB*this.m_JwB}this.m_mass=this.m_mass>0?1/this.m_mass:0,a.step.warmStarting?(c.SelfMulAdd(this.m_mA*this.m_impulse,this.m_JvAC),d+=this.m_iA*this.m_impulse*this.m_JwA,f.SelfMulAdd(this.m_mB*this.m_impulse,this.m_JvBD),g+=this.m_iB*this.m_impulse*this.m_JwB,i.SelfMulSub(this.m_mC*this.m_impulse,this.m_JvAC),j-=this.m_iC*this.m_impulse*this.m_JwC,l.SelfMulSub(this.m_mD*this.m_impulse,this.m_JvBD),m-=this.m_iD*this.m_impulse*this.m_JwD):this.m_impulse=0,a.velocities[this.m_indexA].w=d,a.velocities[this.m_indexB].w=g,a.velocities[this.m_indexC].w=j,a.velocities[this.m_indexD].w=m},box2d.b2GearJoint.prototype.InitVelocityConstraints.s_u=new box2d.b2Vec2,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rA=new box2d.b2Vec2,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rB=new box2d.b2Vec2,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rC=new box2d.b2Vec2,box2d.b2GearJoint.prototype.InitVelocityConstraints.s_rD=new box2d.b2Vec2,box2d.b2GearJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=a.velocities[this.m_indexC].v,g=a.velocities[this.m_indexC].w,h=a.velocities[this.m_indexD].v,i=a.velocities[this.m_indexD].w,j=box2d.b2DotVV(this.m_JvAC,box2d.b2SubVV(b,f,box2d.b2Vec2.s_t0))+box2d.b2DotVV(this.m_JvBD,box2d.b2SubVV(d,h,box2d.b2Vec2.s_t0));j+=this.m_JwA*c-this.m_JwC*g+(this.m_JwB*e-this.m_JwD*i);var k=-this.m_mass*j;this.m_impulse+=k,b.SelfMulAdd(this.m_mA*k,this.m_JvAC),c+=this.m_iA*k*this.m_JwA,d.SelfMulAdd(this.m_mB*k,this.m_JvBD),e+=this.m_iB*k*this.m_JwB,f.SelfMulSub(this.m_mC*k,this.m_JvAC),g-=this.m_iC*k*this.m_JwC,h.SelfMulSub(this.m_mD*k,this.m_JvBD),i-=this.m_iD*k*this.m_JwD,a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e,a.velocities[this.m_indexC].w=g,a.velocities[this.m_indexD].w=i},box2d.b2GearJoint.prototype.SolvePositionConstraints=function(a){var b,c,d,e,f,g,h=a.positions[this.m_indexA].c,i=a.positions[this.m_indexA].a,j=a.positions[this.m_indexB].c,k=a.positions[this.m_indexB].a,l=a.positions[this.m_indexC].c,m=a.positions[this.m_indexC].a,n=a.positions[this.m_indexD].c,o=a.positions[this.m_indexD].a,p=this.m_qA.SetAngleRadians(i),q=this.m_qB.SetAngleRadians(k),r=this.m_qC.SetAngleRadians(m),s=this.m_qD.SetAngleRadians(o),t=0,u=this.m_JvAC,v=this.m_JvBD,w=0;if(this.m_typeA===box2d.b2JointType.e_revoluteJoint)u.SetZero(),d=1,f=1,w+=this.m_iA+this.m_iC,b=i-m-this.m_referenceAngleA;else{var x=box2d.b2MulRV(r,this.m_localAxisC,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_u),y=box2d.b2MulRV(r,this.m_lalcC,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_rC),z=box2d.b2MulRV(p,this.m_lalcA,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_rA);u.Copy(x),f=box2d.b2CrossVV(y,x),d=box2d.b2CrossVV(z,x),w+=this.m_mC+this.m_mA+this.m_iC*f*f+this.m_iA*d*d;var A=this.m_lalcC,B=box2d.b2MulTRV(r,box2d.b2AddVV(z,box2d.b2SubVV(h,l,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0);b=box2d.b2DotVV(box2d.b2SubVV(B,A,box2d.b2Vec2.s_t0),this.m_localAxisC)}if(this.m_typeB===box2d.b2JointType.e_revoluteJoint)v.SetZero(),e=this.m_ratio,g=this.m_ratio,w+=this.m_ratio*this.m_ratio*(this.m_iB+this.m_iD),c=k-o-this.m_referenceAngleB;else{var x=box2d.b2MulRV(s,this.m_localAxisD,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_u),C=box2d.b2MulRV(s,this.m_lalcD,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_rD),D=box2d.b2MulRV(q,this.m_lalcB,box2d.b2GearJoint.prototype.SolvePositionConstraints.s_rB);box2d.b2MulSV(this.m_ratio,x,v),g=this.m_ratio*box2d.b2CrossVV(C,x),e=this.m_ratio*box2d.b2CrossVV(D,x),w+=this.m_ratio*this.m_ratio*(this.m_mD+this.m_mB)+this.m_iD*g*g+this.m_iB*e*e;var E=this.m_lalcD,F=box2d.b2MulTRV(s,box2d.b2AddVV(D,box2d.b2SubVV(j,n,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0);c=box2d.b2DotVV(box2d.b2SubVV(F,E,box2d.b2Vec2.s_t0),this.m_localAxisD)}var G=b+this.m_ratio*c-this.m_constant,H=0;return w>0&&(H=-G/w),h.SelfMulAdd(this.m_mA*H,u),i+=this.m_iA*H*d,j.SelfMulAdd(this.m_mB*H,v),k+=this.m_iB*H*e,l.SelfMulSub(this.m_mC*H,u),m-=this.m_iC*H*f,n.SelfMulSub(this.m_mD*H,v),o-=this.m_iD*H*g,a.positions[this.m_indexA].a=i,a.positions[this.m_indexB].a=k,a.positions[this.m_indexC].a=m,a.positions[this.m_indexD].a=o,tc&&(b=d,c=e)}return b},box2d.b2DistanceProxy.prototype.GetSupportVertex=function(a,b){for(var c=0,d=box2d.b2DotVV(this.m_vertices[0],a),e=1;ed&&(c=e,d=f)}return b.Copy(this.m_vertices[c])},box2d.b2DistanceProxy.prototype.GetVertexCount=function(){return this.m_count},box2d.b2DistanceProxy.prototype.GetVertex=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(a>=0&&a1){var k=a.metric,l=this.GetMetric();(.5*k>l||l>2*k||l0?box2d.b2CrossOneV(b,a):box2d.b2CrossVOne(b,a);default:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),a.SetZero()}},box2d.b2Simplex.prototype.GetClosestPoint=function(a){switch(this.m_count){case 0:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),a.SetZero();case 1:return a.Copy(this.m_v1.w);case 2:return a.SetXY(this.m_v1.a*this.m_v1.w.x+this.m_v2.a*this.m_v2.w.x,this.m_v1.a*this.m_v1.w.y+this.m_v2.a*this.m_v2.w.y);case 3:return a.SetZero();default:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),a.SetZero()}},box2d.b2Simplex.prototype.GetWitnessPoints=function(a,b){switch(this.m_count){case 0:box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1);break;case 1:a.Copy(this.m_v1.wA),b.Copy(this.m_v1.wB);break;case 2:a.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x,a.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y,b.x=this.m_v1.a*this.m_v1.wB.x+this.m_v2.a*this.m_v2.wB.x,b.y=this.m_v1.a*this.m_v1.wB.y+this.m_v2.a*this.m_v2.wB.y;break;case 3:b.x=a.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x+this.m_v3.a*this.m_v3.wA.x,b.y=a.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y+this.m_v3.a*this.m_v3.wA.y;break;default:box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1)}},box2d.b2Simplex.prototype.GetMetric=function(){switch(this.m_count){case 0:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),0;case 1:return 0;case 2:return box2d.b2DistanceVV(this.m_v1.w,this.m_v2.w);case 3:return box2d.b2CrossVV(box2d.b2SubVV(this.m_v2.w,this.m_v1.w,box2d.b2Vec2.s_t0),box2d.b2SubVV(this.m_v3.w,this.m_v1.w,box2d.b2Vec2.s_t1));default:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),0}},box2d.b2Simplex.prototype.Solve2=function(){var a=this.m_v1.w,b=this.m_v2.w,c=box2d.b2SubVV(b,a,box2d.b2Simplex.s_e12),d=-box2d.b2DotVV(a,c);if(0>=d)return this.m_v1.a=1,void(this.m_count=1);var e=box2d.b2DotVV(b,c);if(0>=e)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Copy(this.m_v2);var f=1/(e+d);this.m_v1.a=e*f,this.m_v2.a=d*f,this.m_count=2},box2d.b2Simplex.prototype.Solve3=function(){var a=this.m_v1.w,b=this.m_v2.w,c=this.m_v3.w,d=box2d.b2SubVV(b,a,box2d.b2Simplex.s_e12),e=box2d.b2DotVV(a,d),f=box2d.b2DotVV(b,d),g=f,h=-e,i=box2d.b2SubVV(c,a,box2d.b2Simplex.s_e13),j=box2d.b2DotVV(a,i),k=box2d.b2DotVV(c,i),l=k,m=-j,n=box2d.b2SubVV(c,b,box2d.b2Simplex.s_e23),o=box2d.b2DotVV(b,n),p=box2d.b2DotVV(c,n),q=p,r=-o,s=box2d.b2CrossVV(d,i),t=s*box2d.b2CrossVV(b,c),u=s*box2d.b2CrossVV(c,a),v=s*box2d.b2CrossVV(a,b);if(0>=h&&0>=m)return this.m_v1.a=1,void(this.m_count=1);if(g>0&&h>0&&0>=v){var w=1/(g+h);return this.m_v1.a=g*w,this.m_v2.a=h*w,void(this.m_count=2)}if(l>0&&m>0&&0>=u){var x=1/(l+m);return this.m_v1.a=l*x,this.m_v3.a=m*x,this.m_count=2,void this.m_v2.Copy(this.m_v3)}if(0>=g&&0>=r)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Copy(this.m_v2);if(0>=l&&0>=q)return this.m_v3.a=1,this.m_count=1,void this.m_v1.Copy(this.m_v3);if(q>0&&r>0&&0>=t){var y=1/(q+r);return this.m_v2.a=q*y,this.m_v3.a=r*y,this.m_count=2,void this.m_v1.Copy(this.m_v3)}var z=1/(t+u+v);this.m_v1.a=t*z,this.m_v2.a=u*z,this.m_v3.a=v*z,this.m_count=3},box2d.b2Simplex.s_e12=new box2d.b2Vec2,box2d.b2Simplex.s_e13=new box2d.b2Vec2,box2d.b2Simplex.s_e23=new box2d.b2Vec2,box2d.b2Distance=function(a,b,c){++box2d.b2_gjkCalls;var d=c.proxyA,e=c.proxyB,f=c.transformA,g=c.transformB,h=box2d.b2Distance.s_simplex;h.ReadCache(b,d,f,e,g);for(var i=h.m_vertices,j=20,k=box2d.b2Distance.s_saveA,l=box2d.b2Distance.s_saveB,m=0,n=box2d.b2_maxFloat,o=n,p=0;j>p;){m=h.m_count;for(var q=0;m>q;++q)k[q]=i[q].indexA,l[q]=i[q].indexB;switch(h.m_count){case 1:break;case 2:h.Solve2();break;case 3:h.Solve3();break;default:box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1)}if(3===h.m_count)break;var r=h.GetClosestPoint(box2d.b2Distance.s_p);o=r.GetLengthSquared(),n=o;var s=h.GetSearchDirection(box2d.b2Distance.s_d);if(s.GetLengthSquared()q;++q)if(t.indexA===k[q]&&t.indexB===l[q]){u=!0;break}if(u)break;++h.m_count}if(box2d.b2_gjkMaxIters=box2d.b2Max(box2d.b2_gjkMaxIters,p),h.GetWitnessPoints(a.pointA,a.pointB),a.distance=box2d.b2DistanceVV(a.pointA,a.pointB),a.iterations=p,h.WriteCache(b),c.useRadii){var v=d.m_radius,w=e.m_radius;if(a.distance>v+w&&a.distance>box2d.b2_epsilon){a.distance-=v+w;var x=box2d.b2SubVV(a.pointB,a.pointA,box2d.b2Distance.s_normal);x.Normalize(),a.pointA.SelfMulAdd(v,x),a.pointB.SelfMulSub(w,x)}else{var r=box2d.b2MidVV(a.pointA,a.pointB,box2d.b2Distance.s_p);a.pointA.Copy(r),a.pointB.Copy(r),a.distance=0}}},box2d.b2Distance.s_simplex=new box2d.b2Simplex,box2d.b2Distance.s_saveA=box2d.b2MakeNumberArray(3),box2d.b2Distance.s_saveB=box2d.b2MakeNumberArray(3),box2d.b2Distance.s_p=new box2d.b2Vec2,box2d.b2Distance.s_d=new box2d.b2Vec2,box2d.b2Distance.s_normal=new box2d.b2Vec2,box2d.b2Distance.s_supportA=new box2d.b2Vec2,box2d.b2Distance.s_supportB=new box2d.b2Vec2,goog.provide("box2d.b2WeldJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2WeldJointDef=function(){goog.base(this,box2d.b2JointType.e_weldJoint),this.localAnchorA=new box2d.b2Vec2,this.localAnchorB=new box2d.b2Vec2},goog.inherits(box2d.b2WeldJointDef,box2d.b2JointDef),box2d.b2WeldJointDef.prototype.localAnchorA=null,box2d.b2WeldJointDef.prototype.localAnchorB=null,box2d.b2WeldJointDef.prototype.referenceAngle=0,box2d.b2WeldJointDef.prototype.frequencyHz=0,box2d.b2WeldJointDef.prototype.dampingRatio=0,box2d.b2WeldJointDef.prototype.Initialize=function(a,b,c){this.bodyA=a,this.bodyB=b,this.bodyA.GetLocalPoint(c,this.localAnchorA),this.bodyB.GetLocalPoint(c,this.localAnchorB),this.referenceAngle=this.bodyB.GetAngleRadians()-this.bodyA.GetAngleRadians()},box2d.b2WeldJoint=function(a){goog.base(this,a),this.m_frequencyHz=a.frequencyHz,this.m_dampingRatio=a.dampingRatio,this.m_localAnchorA=a.localAnchorA.Clone(),this.m_localAnchorB=a.localAnchorB.Clone(),this.m_referenceAngle=a.referenceAngle,this.m_impulse=new box2d.b2Vec3(0,0,0),this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_mass=new box2d.b2Mat33,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_K=new box2d.b2Mat33 +},goog.inherits(box2d.b2WeldJoint,box2d.b2Joint),box2d.b2WeldJoint.prototype.m_frequencyHz=0,box2d.b2WeldJoint.prototype.m_dampingRatio=0,box2d.b2WeldJoint.prototype.m_bias=0,box2d.b2WeldJoint.prototype.m_localAnchorA=null,box2d.b2WeldJoint.prototype.m_localAnchorB=null,box2d.b2WeldJoint.prototype.m_referenceAngle=0,box2d.b2WeldJoint.prototype.m_gamma=0,box2d.b2WeldJoint.prototype.m_impulse=null,box2d.b2WeldJoint.prototype.m_indexA=0,box2d.b2WeldJoint.prototype.m_indexB=0,box2d.b2WeldJoint.prototype.m_rA=null,box2d.b2WeldJoint.prototype.m_rB=null,box2d.b2WeldJoint.prototype.m_localCenterA=null,box2d.b2WeldJoint.prototype.m_localCenterB=null,box2d.b2WeldJoint.prototype.m_invMassA=0,box2d.b2WeldJoint.prototype.m_invMassB=0,box2d.b2WeldJoint.prototype.m_invIA=0,box2d.b2WeldJoint.prototype.m_invIB=0,box2d.b2WeldJoint.prototype.m_mass=null,box2d.b2WeldJoint.prototype.m_qA=null,box2d.b2WeldJoint.prototype.m_qB=null,box2d.b2WeldJoint.prototype.m_lalcA=null,box2d.b2WeldJoint.prototype.m_lalcB=null,box2d.b2WeldJoint.prototype.m_K=null,box2d.b2WeldJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].a,c=a.velocities[this.m_indexA].v,d=a.velocities[this.m_indexA].w,e=a.positions[this.m_indexB].a,f=a.velocities[this.m_indexB].v,g=a.velocities[this.m_indexB].w,h=this.m_qA.SetAngleRadians(b),i=this.m_qB.SetAngleRadians(e);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA),box2d.b2MulRV(h,this.m_lalcA,this.m_rA),box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(i,this.m_lalcB,this.m_rB);var j=this.m_invMassA,k=this.m_invMassB,l=this.m_invIA,m=this.m_invIB,n=this.m_K;if(n.ex.x=j+k+this.m_rA.y*this.m_rA.y*l+this.m_rB.y*this.m_rB.y*m,n.ey.x=-this.m_rA.y*this.m_rA.x*l-this.m_rB.y*this.m_rB.x*m,n.ez.x=-this.m_rA.y*l-this.m_rB.y*m,n.ex.y=n.ey.x,n.ey.y=j+k+this.m_rA.x*this.m_rA.x*l+this.m_rB.x*this.m_rB.x*m,n.ez.y=this.m_rA.x*l+this.m_rB.x*m,n.ex.z=n.ez.x,n.ey.z=n.ez.y,n.ez.z=l+m,this.m_frequencyHz>0){n.GetInverse22(this.m_mass);var o=l+m,p=o>0?1/o:0,q=e-b-this.m_referenceAngle,r=2*box2d.b2_pi*this.m_frequencyHz,s=2*p*this.m_dampingRatio*r,t=p*r*r,u=a.step.dt;this.m_gamma=u*(s+u*t),this.m_gamma=0!==this.m_gamma?1/this.m_gamma:0,this.m_bias=q*u*t*this.m_gamma,o+=this.m_gamma,this.m_mass.ez.z=0!==o?1/o:0}else n.GetSymInverse33(this.m_mass),this.m_gamma=0,this.m_bias=0;if(a.step.warmStarting){this.m_impulse.SelfMul(a.step.dtRatio);var v=box2d.b2WeldJoint.prototype.InitVelocityConstraints.s_P.SetXY(this.m_impulse.x,this.m_impulse.y);c.SelfMulSub(j,v),d-=l*(box2d.b2CrossVV(this.m_rA,v)+this.m_impulse.z),f.SelfMulAdd(k,v),g+=m*(box2d.b2CrossVV(this.m_rB,v)+this.m_impulse.z)}else this.m_impulse.SetZero();a.velocities[this.m_indexA].w=d,a.velocities[this.m_indexB].w=g},box2d.b2WeldJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_invMassA,g=this.m_invMassB,h=this.m_invIA,i=this.m_invIB;if(this.m_frequencyHz>0){var j=e-c,k=-this.m_mass.ez.z*(j+this.m_bias+this.m_gamma*this.m_impulse.z);this.m_impulse.z+=k,c-=h*k,e+=i*k;var l=box2d.b2SubVV(box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2Vec2.s_t1),box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_Cdot1),m=box2d.b2MulM33XY(this.m_mass,l.x,l.y,box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_impulse1).SelfNeg();this.m_impulse.x+=m.x,this.m_impulse.y+=m.y;var n=m;b.SelfMulSub(f,n),c-=h*box2d.b2CrossVV(this.m_rA,n),d.SelfMulAdd(g,n),e+=i*box2d.b2CrossVV(this.m_rB,n)}else{var l=box2d.b2SubVV(box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2Vec2.s_t1),box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_Cdot1),j=e-c,o=box2d.b2MulM33XYZ(this.m_mass,l.x,l.y,j,box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_impulse).SelfNeg();this.m_impulse.SelfAdd(o);var n=box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_P.SetXY(o.x,o.y);b.SelfMulSub(f,n),c-=h*(box2d.b2CrossVV(this.m_rA,n)+o.z),d.SelfMulAdd(g,n),e+=i*(box2d.b2CrossVV(this.m_rB,n)+o.z)}a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_Cdot1=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_impulse1=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_impulse=new box2d.b2Vec3,box2d.b2WeldJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e),h=this.m_invMassA,i=this.m_invMassB,j=this.m_invIA,k=this.m_invIB;box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var l=box2d.b2MulRV(f,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var m,n,o=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),p=this.m_K;if(p.ex.x=h+i+l.y*l.y*j+o.y*o.y*k,p.ey.x=-l.y*l.x*j-o.y*o.x*k,p.ez.x=-l.y*j-o.y*k,p.ex.y=p.ey.x,p.ey.y=h+i+l.x*l.x*j+o.x*o.x*k,p.ez.y=l.x*j+o.x*k,p.ex.z=p.ez.x,p.ey.z=p.ez.y,p.ez.z=j+k,this.m_frequencyHz>0){var q=box2d.b2SubVV(box2d.b2AddVV(d,o,box2d.b2Vec2.s_t0),box2d.b2AddVV(b,l,box2d.b2Vec2.s_t1),box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_C1);m=q.GetLength(),n=0;var r=p.Solve22(q.x,q.y,box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_P).SelfNeg();b.SelfMulSub(h,r),c-=j*box2d.b2CrossVV(l,r),d.SelfMulAdd(i,r),e+=k*box2d.b2CrossVV(o,r)}else{var q=box2d.b2SubVV(box2d.b2AddVV(d,o,box2d.b2Vec2.s_t0),box2d.b2AddVV(b,l,box2d.b2Vec2.s_t1),box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_C1),s=e-c-this.m_referenceAngle;m=q.GetLength(),n=box2d.b2Abs(s);var t=p.Solve33(q.x,q.y,s,box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_impulse).SelfNeg(),r=box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_P.SetXY(t.x,t.y);b.SelfMulSub(h,r),c-=j*(box2d.b2CrossVV(this.m_rA,r)+t.z),d.SelfMulAdd(i,r),e+=k*(box2d.b2CrossVV(this.m_rB,r)+t.z)}return a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,m<=box2d.b2_linearSlop&&n<=box2d.b2_angularSlop},box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_C1=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_P=new box2d.b2Vec2,box2d.b2WeldJoint.prototype.SolvePositionConstraints.s_impulse=new box2d.b2Vec3,box2d.b2WeldJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2WeldJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2WeldJoint.prototype.GetReactionForce=function(a,b){return b.SetXY(a*this.m_impulse.x,a*this.m_impulse.y)},box2d.b2WeldJoint.prototype.GetReactionTorque=function(a){return a*this.m_impulse.z},box2d.b2WeldJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2WeldJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2WeldJoint.prototype.GetReferenceAngle=function(){return this.m_referenceAngle},box2d.b2WeldJoint.prototype.SetFrequency=function(a){this.m_frequencyHz=a},box2d.b2WeldJoint.prototype.GetFrequency=function(){return this.m_frequencyHz},box2d.b2WeldJoint.prototype.SetDampingRatio=function(a){this.m_dampingRatio=a},box2d.b2WeldJoint.prototype.GetDampingRatio=function(){return this.m_dampingRatio},box2d.b2WeldJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2WeldJointDef*/ var jd = new box2d.b2WeldJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.referenceAngle = %.15f;\n",this.m_referenceAngle),box2d.b2Log(" jd.frequencyHz = %.15f;\n",this.m_frequencyHz),box2d.b2Log(" jd.dampingRatio = %.15f;\n",this.m_dampingRatio),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d.b2RopeJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2RopeJointDef=function(){goog.base(this,box2d.b2JointType.e_ropeJoint),this.localAnchorA=new box2d.b2Vec2(-1,0),this.localAnchorB=new box2d.b2Vec2(1,0)},goog.inherits(box2d.b2RopeJointDef,box2d.b2JointDef),box2d.b2RopeJointDef.prototype.localAnchorA=null,box2d.b2RopeJointDef.prototype.localAnchorB=null,box2d.b2RopeJointDef.prototype.maxLength=0,box2d.b2RopeJoint=function(a){goog.base(this,a),this.m_localAnchorA=a.localAnchorA.Clone(),this.m_localAnchorB=a.localAnchorB.Clone(),this.m_maxLength=a.maxLength,this.m_u=new box2d.b2Vec2,this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2},goog.inherits(box2d.b2RopeJoint,box2d.b2Joint),box2d.b2RopeJoint.prototype.m_localAnchorA=null,box2d.b2RopeJoint.prototype.m_localAnchorB=null,box2d.b2RopeJoint.prototype.m_maxLength=0,box2d.b2RopeJoint.prototype.m_length=0,box2d.b2RopeJoint.prototype.m_impulse=0,box2d.b2RopeJoint.prototype.m_indexA=0,box2d.b2RopeJoint.prototype.m_indexB=0,box2d.b2RopeJoint.prototype.m_u=null,box2d.b2RopeJoint.prototype.m_rA=null,box2d.b2RopeJoint.prototype.m_rB=null,box2d.b2RopeJoint.prototype.m_localCenterA=null,box2d.b2RopeJoint.prototype.m_localCenterB=null,box2d.b2RopeJoint.prototype.m_invMassA=0,box2d.b2RopeJoint.prototype.m_invMassB=0,box2d.b2RopeJoint.prototype.m_invIA=0,box2d.b2RopeJoint.prototype.m_invIB=0,box2d.b2RopeJoint.prototype.m_mass=0,box2d.b2RopeJoint.prototype.m_state=box2d.b2LimitState.e_inactiveLimit,box2d.b2RopeJoint.prototype.m_qA=null,box2d.b2RopeJoint.prototype.m_qB=null,box2d.b2RopeJoint.prototype.m_lalcA=null,box2d.b2RopeJoint.prototype.m_lalcB=null,box2d.b2RopeJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.velocities[this.m_indexA].v,e=a.velocities[this.m_indexA].w,f=a.positions[this.m_indexB].c,g=a.positions[this.m_indexB].a,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=this.m_qA.SetAngleRadians(c),k=this.m_qB.SetAngleRadians(g);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA),box2d.b2MulRV(j,this.m_lalcA,this.m_rA),box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(k,this.m_lalcB,this.m_rB),this.m_u.Copy(f).SelfAdd(this.m_rB).SelfSub(b).SelfSub(this.m_rA),this.m_length=this.m_u.GetLength();var l=this.m_length-this.m_maxLength;if(this.m_state=l>0?box2d.b2LimitState.e_atUpperLimit:box2d.b2LimitState.e_inactiveLimit,!(this.m_length>box2d.b2_linearSlop))return this.m_u.SetZero(),this.m_mass=0,void(this.m_impulse=0);this.m_u.SelfMul(1/this.m_length);var m=box2d.b2CrossVV(this.m_rA,this.m_u),n=box2d.b2CrossVV(this.m_rB,this.m_u),o=this.m_invMassA+this.m_invIA*m*m+this.m_invMassB+this.m_invIB*n*n;if(this.m_mass=0!==o?1/o:0,a.step.warmStarting){this.m_impulse*=a.step.dtRatio;var p=box2d.b2MulSV(this.m_impulse,this.m_u,box2d.b2RopeJoint.prototype.InitVelocityConstraints.s_P);d.SelfMulSub(this.m_invMassA,p),e-=this.m_invIA*box2d.b2CrossVV(this.m_rA,p),h.SelfMulAdd(this.m_invMassB,p),i+=this.m_invIB*box2d.b2CrossVV(this.m_rB,p)}else this.m_impulse=0;a.velocities[this.m_indexA].w=e,a.velocities[this.m_indexB].w=i},box2d.b2RopeJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2RopeJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_vpA),g=box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_vpB),h=this.m_length-this.m_maxLength,i=box2d.b2DotVV(this.m_u,box2d.b2SubVV(g,f,box2d.b2Vec2.s_t0));0>h&&(i+=a.step.inv_dt*h);var j=-this.m_mass*i,k=this.m_impulse;this.m_impulse=box2d.b2Min(0,this.m_impulse+j),j=this.m_impulse-k;var l=box2d.b2MulSV(j,this.m_u,box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_P);b.SelfMulSub(this.m_invMassA,l),c-=this.m_invIA*box2d.b2CrossVV(this.m_rA,l),d.SelfMulAdd(this.m_invMassB,l),e+=this.m_invIB*box2d.b2CrossVV(this.m_rB,l),a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_vpA=new box2d.b2Vec2,box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_vpB=new box2d.b2Vec2,box2d.b2RopeJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2RopeJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var h=box2d.b2MulRV(f,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var i=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),j=this.m_u.Copy(d).SelfAdd(i).SelfSub(b).SelfSub(h),k=j.Normalize(),l=k-this.m_maxLength;l=box2d.b2Clamp(l,0,box2d.b2_maxLinearCorrection);var m=-this.m_mass*l,n=box2d.b2MulSV(m,j,box2d.b2RopeJoint.prototype.SolvePositionConstraints.s_P);return b.SelfMulSub(this.m_invMassA,n),c-=this.m_invIA*box2d.b2CrossVV(h,n),d.SelfMulAdd(this.m_invMassB,n),e+=this.m_invIB*box2d.b2CrossVV(i,n),a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,k-this.m_maxLength>8&255,this.cf._typeA=this._key>>16&255,this.cf._typeB=this._key>>24&255}}),box2d.b2ManifoldPoint=function(){this.localPoint=new box2d.b2Vec2,this.id=new box2d.b2ContactID},box2d.b2ManifoldPoint.prototype.localPoint=null,box2d.b2ManifoldPoint.prototype.normalImpulse=0,box2d.b2ManifoldPoint.prototype.tangentImpulse=0,box2d.b2ManifoldPoint.prototype.id=null,box2d.b2ManifoldPoint.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2ManifoldPoint})},box2d.b2ManifoldPoint.prototype.Reset=function(){this.localPoint.SetZero(),this.normalImpulse=0,this.tangentImpulse=0,this.id.key=0},box2d.b2ManifoldPoint.prototype.Copy=function(a){return this.localPoint.Copy(a.localPoint),this.normalImpulse=a.normalImpulse,this.tangentImpulse=a.tangentImpulse,this.id.Copy(a.id),this},box2d.b2ManifoldType={e_unknown:-1,e_circles:0,e_faceA:1,e_faceB:2},goog.exportProperty(box2d.b2ManifoldType,"e_unknown",box2d.b2ManifoldType.e_unknown),goog.exportProperty(box2d.b2ManifoldType,"e_circles",box2d.b2ManifoldType.e_circles),goog.exportProperty(box2d.b2ManifoldType,"e_faceA",box2d.b2ManifoldType.e_faceA),goog.exportProperty(box2d.b2ManifoldType,"e_faceB",box2d.b2ManifoldType.e_faceB),box2d.b2Manifold=function(){this.points=box2d.b2ManifoldPoint.MakeArray(box2d.b2_maxManifoldPoints),this.localNormal=new box2d.b2Vec2,this.localPoint=new box2d.b2Vec2,this.type=box2d.b2ManifoldType.e_unknown,this.pointCount=0},box2d.b2Manifold.prototype.points=null,box2d.b2Manifold.prototype.localNormal=null,box2d.b2Manifold.prototype.localPoint=null,box2d.b2Manifold.prototype.type=box2d.b2ManifoldType.e_unknown,box2d.b2Manifold.prototype.pointCount=0,box2d.b2Manifold.prototype.Reset=function(){for(var a=0,b=box2d.b2_maxManifoldPoints;b>a;++a)this.points[a].Reset();this.localNormal.SetZero(),this.localPoint.SetZero(),this.type=box2d.b2ManifoldType.e_unknown,this.pointCount=0},box2d.b2Manifold.prototype.Copy=function(a){this.pointCount=a.pointCount;for(var b=0,c=box2d.b2_maxManifoldPoints;c>b;++b)this.points[b].Copy(a.points[b]);return this.localNormal.Copy(a.localNormal),this.localPoint.Copy(a.localPoint),this.type=a.type,this},box2d.b2Manifold.prototype.Clone=function(){return(new box2d.b2Manifold).Copy(this)},box2d.b2WorldManifold=function(){this.normal=new box2d.b2Vec2,this.points=box2d.b2Vec2.MakeArray(box2d.b2_maxManifoldPoints),this.separations=box2d.b2MakeNumberArray(box2d.b2_maxManifoldPoints)},box2d.b2WorldManifold.prototype.normal=null,box2d.b2WorldManifold.prototype.points=null,box2d.b2WorldManifold.prototype.separations=null,box2d.b2WorldManifold.prototype.Initialize=function(a,b,c,d,e){if(0!==a.pointCount)switch(a.type){case box2d.b2ManifoldType.e_circles:this.normal.SetXY(1,0);var f=box2d.b2MulXV(b,a.localPoint,box2d.b2WorldManifold.prototype.Initialize.s_pointA),g=box2d.b2MulXV(d,a.points[0].localPoint,box2d.b2WorldManifold.prototype.Initialize.s_pointB);box2d.b2DistanceSquaredVV(f,g)>box2d.b2_epsilon_sq&&box2d.b2SubVV(g,f,this.normal).SelfNormalize();var h=box2d.b2AddVMulSV(f,c,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cA),i=box2d.b2SubVMulSV(g,e,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cB);box2d.b2MidVV(h,i,this.points[0]),this.separations[0]=box2d.b2DotVV(box2d.b2SubVV(i,h,box2d.b2Vec2.s_t0),this.normal);break;case box2d.b2ManifoldType.e_faceA:box2d.b2MulRV(b.q,a.localNormal,this.normal);for(var j=box2d.b2MulXV(b,a.localPoint,box2d.b2WorldManifold.prototype.Initialize.s_planePoint),k=0,l=a.pointCount;l>k;++k){var m=box2d.b2MulXV(d,a.points[k].localPoint,box2d.b2WorldManifold.prototype.Initialize.s_clipPoint),n=c-box2d.b2DotVV(box2d.b2SubVV(m,j,box2d.b2Vec2.s_t0),this.normal),h=box2d.b2AddVMulSV(m,n,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cA),i=box2d.b2SubVMulSV(m,e,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cB);box2d.b2MidVV(h,i,this.points[k]),this.separations[k]=box2d.b2DotVV(box2d.b2SubVV(i,h,box2d.b2Vec2.s_t0),this.normal)}break;case box2d.b2ManifoldType.e_faceB:box2d.b2MulRV(d.q,a.localNormal,this.normal);for(var j=box2d.b2MulXV(d,a.localPoint,box2d.b2WorldManifold.prototype.Initialize.s_planePoint),k=0,l=a.pointCount;l>k;++k){var m=box2d.b2MulXV(b,a.points[k].localPoint,box2d.b2WorldManifold.prototype.Initialize.s_clipPoint),n=e-box2d.b2DotVV(box2d.b2SubVV(m,j,box2d.b2Vec2.s_t0),this.normal),i=box2d.b2AddVMulSV(m,n,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cB),h=box2d.b2SubVMulSV(m,c,this.normal,box2d.b2WorldManifold.prototype.Initialize.s_cA);box2d.b2MidVV(h,i,this.points[k]),this.separations[k]=box2d.b2DotVV(box2d.b2SubVV(h,i,box2d.b2Vec2.s_t0),this.normal)}this.normal.SelfNeg()}},box2d.b2WorldManifold.prototype.Initialize.s_pointA=new box2d.b2Vec2,box2d.b2WorldManifold.prototype.Initialize.s_pointB=new box2d.b2Vec2,box2d.b2WorldManifold.prototype.Initialize.s_cA=new box2d.b2Vec2,box2d.b2WorldManifold.prototype.Initialize.s_cB=new box2d.b2Vec2,box2d.b2WorldManifold.prototype.Initialize.s_planePoint=new box2d.b2Vec2,box2d.b2WorldManifold.prototype.Initialize.s_clipPoint=new box2d.b2Vec2,box2d.b2PointState={b2_nullState:0,b2_addState:1,b2_persistState:2,b2_removeState:3},goog.exportProperty(box2d.b2PointState,"b2_nullState ",box2d.b2PointState.b2_nullState),goog.exportProperty(box2d.b2PointState,"b2_addState ",box2d.b2PointState.b2_addState),goog.exportProperty(box2d.b2PointState,"b2_persistState",box2d.b2PointState.b2_persistState),goog.exportProperty(box2d.b2PointState,"b2_removeState ",box2d.b2PointState.b2_removeState),box2d.b2GetPointStates=function(a,b,c,d){for(var e=0,f=c.pointCount;f>e;++e){var g=c.points[e].id,h=g.key;a[e]=box2d.b2PointState.b2_removeState;for(var i=0,j=d.pointCount;j>i;++i)if(d.points[i].id.key===h){a[e]=box2d.b2PointState.b2_persistState;break}}for(var f=box2d.b2_maxManifoldPoints;f>e;++e)a[e]=box2d.b2PointState.b2_nullState;for(var e=0,f=d.pointCount;f>e;++e){var g=d.points[e].id,h=g.key;b[e]=box2d.b2PointState.b2_addState;for(var i=0,j=c.pointCount;j>i;++i)if(c.points[i].id.key===h){b[e]=box2d.b2PointState.b2_persistState;break}}for(var f=box2d.b2_maxManifoldPoints;f>e;++e)b[e]=box2d.b2PointState.b2_nullState},box2d.b2ClipVertex=function(){this.v=new box2d.b2Vec2,this.id=new box2d.b2ContactID},box2d.b2ClipVertex.prototype.v=null,box2d.b2ClipVertex.prototype.id=null,box2d.b2ClipVertex.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2ClipVertex})},box2d.b2ClipVertex.prototype.Copy=function(a){return this.v.Copy(a.v),this.id.Copy(a.id),this},box2d.b2RayCastInput=function(){this.p1=new box2d.b2Vec2,this.p2=new box2d.b2Vec2,this.maxFraction=1},box2d.b2RayCastInput.prototype.p1=null,box2d.b2RayCastInput.prototype.p2=null,box2d.b2RayCastInput.prototype.maxFraction=1,box2d.b2RayCastInput.prototype.Copy=function(a){return this.p1.Copy(a.p1),this.p2.Copy(a.p2),this.maxFraction=a.maxFraction,this},box2d.b2RayCastOutput=function(){this.normal=new box2d.b2Vec2,this.fraction=0},box2d.b2RayCastOutput.prototype.normal=null,box2d.b2RayCastOutput.prototype.fraction=0,box2d.b2RayCastOutput.prototype.Copy=function(a){return this.normal.Copy(a.normal),this.fraction=a.fraction,this},box2d.b2AABB=function(){this.lowerBound=new box2d.b2Vec2,this.upperBound=new box2d.b2Vec2,this.m_out_center=new box2d.b2Vec2,this.m_out_extent=new box2d.b2Vec2},box2d.b2AABB.prototype.lowerBound=null,box2d.b2AABB.prototype.upperBound=null,box2d.b2AABB.prototype.m_out_center=null,box2d.b2AABB.prototype.m_out_extent=null,box2d.b2AABB.prototype.Copy=function(a){return this.lowerBound.Copy(a.lowerBound),this.upperBound.Copy(a.upperBound),this},box2d.b2AABB.prototype.IsValid=function(){var a=this.upperBound.x-this.lowerBound.x,b=this.upperBound.y-this.lowerBound.y,c=a>=0&&b>=0;return c=c&&this.lowerBound.IsValid()&&this.upperBound.IsValid()},box2d.b2AABB.prototype.GetCenter=function(){return box2d.b2MidVV(this.lowerBound,this.upperBound,this.m_out_center)},box2d.b2AABB.prototype.GetExtents=function(){return box2d.b2ExtVV(this.lowerBound,this.upperBound,this.m_out_extent)},box2d.b2AABB.prototype.GetPerimeter=function(){var a=this.upperBound.x-this.lowerBound.x,b=this.upperBound.y-this.lowerBound.y;return 2*(a+b)},box2d.b2AABB.prototype.Combine1=function(a){return this.lowerBound.x=box2d.b2Min(this.lowerBound.x,a.lowerBound.x),this.lowerBound.y=box2d.b2Min(this.lowerBound.y,a.lowerBound.y),this.upperBound.x=box2d.b2Max(this.upperBound.x,a.upperBound.x),this.upperBound.y=box2d.b2Max(this.upperBound.y,a.upperBound.y),this},box2d.b2AABB.prototype.Combine2=function(a,b){return this.lowerBound.x=box2d.b2Min(a.lowerBound.x,b.lowerBound.x),this.lowerBound.y=box2d.b2Min(a.lowerBound.y,b.lowerBound.y),this.upperBound.x=box2d.b2Max(a.upperBound.x,b.upperBound.x),this.upperBound.y=box2d.b2Max(a.upperBound.y,b.upperBound.y),this},box2d.b2AABB.Combine=function(a,b,c){return c.Combine2(a,b),c},box2d.b2AABB.prototype.Contains=function(a){var b=!0;return b=b&&this.lowerBound.x<=a.lowerBound.x,b=b&&this.lowerBound.y<=a.lowerBound.y,b=b&&a.upperBound.x<=this.upperBound.x,b=b&&a.upperBound.y<=this.upperBound.y},box2d.b2AABB.prototype.RayCast=function(a,b){var c=-box2d.b2_maxFloat,d=box2d.b2_maxFloat,e=b.p1.x,f=b.p1.y,g=b.p2.x-b.p1.x,h=b.p2.y-b.p1.y,i=box2d.b2Abs(g),j=box2d.b2Abs(h),k=a.normal;if(in){var p=m;m=n,n=p,o=1}if(m>c&&(k.x=o,k.y=0,c=m),d=box2d.b2Min(d,n),c>d)return!1}if(jn){var p=m;m=n,n=p,o=1}if(m>c&&(k.x=0,k.y=o,c=m),d=box2d.b2Min(d,n),c>d)return!1}return 0>c||b.maxFraction0||c>0?!1:d>0||e>0?!1:!0},box2d.b2TestOverlapAABB=function(a,b){var c=b.lowerBound.x-a.upperBound.x,d=b.lowerBound.y-a.upperBound.y,e=a.lowerBound.x-b.upperBound.x,f=a.lowerBound.y-b.upperBound.y;return c>0||d>0?!1:e>0||f>0?!1:!0},box2d.b2ClipSegmentToLine=function(a,b,c,d,e){var f=0,g=b[0],h=b[1],i=box2d.b2DotVV(c,g.v)-d,j=box2d.b2DotVV(c,h.v)-d;if(0>=i&&a[f++].Copy(g),0>=j&&a[f++].Copy(h),0>i*j){var k=i/(i-j),l=a[f].v;l.x=g.v.x+k*(h.v.x-g.v.x),l.y=g.v.y+k*(h.v.y-g.v.y);var m=a[f].id;m.cf.indexA=e,m.cf.indexB=g.id.cf.indexB,m.cf.typeA=box2d.b2ContactFeatureType.e_vertex,m.cf.typeB=box2d.b2ContactFeatureType.e_face,++f}return f},box2d.b2TestOverlapShape=function(a,b,c,d,e,f){var g=box2d.b2TestOverlapShape.s_input.Reset(); +g.proxyA.SetShape(a,b),g.proxyB.SetShape(c,d),g.transformA.Copy(e),g.transformB.Copy(f),g.useRadii=!0;var h=box2d.b2TestOverlapShape.s_simplexCache.Reset();h.count=0;var i=box2d.b2TestOverlapShape.s_output.Reset();return box2d.b2Distance(i,h,g),i.distance<10*box2d.b2_epsilon},box2d.b2TestOverlapShape.s_input=new box2d.b2DistanceInput,box2d.b2TestOverlapShape.s_simplexCache=new box2d.b2SimplexCache,box2d.b2TestOverlapShape.s_output=new box2d.b2DistanceOutput,goog.provide("box2d.b2Timer"),goog.require("box2d.b2Settings"),box2d.b2Timer=function(){this.m_start=(new Date).getTime()},box2d.b2Timer.prototype.m_start=0,box2d.b2Timer.prototype.Reset=function(){return this.m_start=(new Date).getTime(),this},box2d.b2Timer.prototype.GetMilliseconds=function(){return(new Date).getTime()-this.m_start},box2d.b2Counter=function(){},box2d.b2Counter.prototype.m_count=0,box2d.b2Counter.prototype.m_min_count=0,box2d.b2Counter.prototype.m_max_count=0,box2d.b2Counter.prototype.GetCount=function(){return this.m_count},box2d.b2Counter.prototype.GetMinCount=function(){return this.m_min_count},box2d.b2Counter.prototype.GetMaxCount=function(){return this.m_max_count},box2d.b2Counter.prototype.ResetCount=function(){var a=this.m_count;return this.m_count=0,a},box2d.b2Counter.prototype.ResetMinCount=function(){this.m_min_count=0},box2d.b2Counter.prototype.ResetMaxCount=function(){this.m_max_count=0},box2d.b2Counter.prototype.Increment=function(){this.m_count++,this.m_max_countthis.m_count&&(this.m_min_count=this.m_count)},goog.provide("box2d.b2TimeOfImpact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Distance"),goog.require("box2d.b2Math"),goog.require("box2d.b2Timer"),box2d.b2_toiTime=0,box2d.b2_toiMaxTime=0,box2d.b2_toiCalls=0,box2d.b2_toiIters=0,box2d.b2_toiMaxIters=0,box2d.b2_toiRootIters=0,box2d.b2_toiMaxRootIters=0,box2d.b2TOIInput=function(){this.proxyA=new box2d.b2DistanceProxy,this.proxyB=new box2d.b2DistanceProxy,this.sweepA=new box2d.b2Sweep,this.sweepB=new box2d.b2Sweep},box2d.b2TOIInput.prototype.proxyA=null,box2d.b2TOIInput.prototype.proxyB=null,box2d.b2TOIInput.prototype.sweepA=null,box2d.b2TOIInput.prototype.sweepB=null,box2d.b2TOIInput.prototype.tMax=0,box2d.b2TOIOutputState={e_unknown:0,e_failed:1,e_overlapped:2,e_touching:3,e_separated:4},goog.exportProperty(box2d.b2TOIOutputState,"e_unknown",box2d.b2TOIOutputState.e_unknown),goog.exportProperty(box2d.b2TOIOutputState,"e_failed",box2d.b2TOIOutputState.e_failed),goog.exportProperty(box2d.b2TOIOutputState,"e_overlapped",box2d.b2TOIOutputState.e_overlapped),goog.exportProperty(box2d.b2TOIOutputState,"e_touching",box2d.b2TOIOutputState.e_touching),goog.exportProperty(box2d.b2TOIOutputState,"e_separated",box2d.b2TOIOutputState.e_separated),box2d.b2TOIOutput=function(){},box2d.b2TOIOutput.prototype.state=box2d.b2TOIOutputState.e_unknown,box2d.b2TOIOutput.prototype.t=0,box2d.b2SeparationFunctionType={e_unknown:-1,e_points:0,e_faceA:1,e_faceB:2},goog.exportProperty(box2d.b2SeparationFunctionType,"e_unknown",box2d.b2SeparationFunctionType.e_unknown),goog.exportProperty(box2d.b2SeparationFunctionType,"e_points",box2d.b2SeparationFunctionType.e_points),goog.exportProperty(box2d.b2SeparationFunctionType,"e_faceA",box2d.b2SeparationFunctionType.e_faceA),goog.exportProperty(box2d.b2SeparationFunctionType,"e_faceB",box2d.b2SeparationFunctionType.e_faceB),box2d.b2SeparationFunction=function(){this.m_sweepA=new box2d.b2Sweep,this.m_sweepB=new box2d.b2Sweep,this.m_localPoint=new box2d.b2Vec2,this.m_axis=new box2d.b2Vec2},box2d.b2SeparationFunction.prototype.m_proxyA=null,box2d.b2SeparationFunction.prototype.m_proxyB=null,box2d.b2SeparationFunction.prototype.m_sweepA=null,box2d.b2SeparationFunction.prototype.m_sweepB=null,box2d.b2SeparationFunction.prototype.m_type=box2d.b2SeparationFunctionType.e_unknown,box2d.b2SeparationFunction.prototype.m_localPoint=null,box2d.b2SeparationFunction.prototype.m_axis=null,box2d.b2SeparationFunction.prototype.Initialize=function(a,b,c,d,e,f){this.m_proxyA=b,this.m_proxyB=d;var g=a.count;box2d.ENABLE_ASSERTS&&box2d.b2Assert(g>0&&3>g),this.m_sweepA.Copy(c),this.m_sweepB.Copy(e);var h=box2d.b2TimeOfImpact.s_xfA,i=box2d.b2TimeOfImpact.s_xfB;if(this.m_sweepA.GetTransform(h,f),this.m_sweepB.GetTransform(i,f),1===g){this.m_type=box2d.b2SeparationFunctionType.e_points;var j=this.m_proxyA.GetVertex(a.indexA[0]),k=this.m_proxyB.GetVertex(a.indexB[0]),l=box2d.b2MulXV(h,j,box2d.b2TimeOfImpact.s_pointA),m=box2d.b2MulXV(i,k,box2d.b2TimeOfImpact.s_pointB);box2d.b2SubVV(m,l,this.m_axis);var n=this.m_axis.Normalize();return n}if(a.indexA[0]===a.indexA[1]){this.m_type=box2d.b2SeparationFunctionType.e_faceB;var o=this.m_proxyB.GetVertex(a.indexB[0]),p=this.m_proxyB.GetVertex(a.indexB[1]);box2d.b2CrossVOne(box2d.b2SubVV(p,o,box2d.b2Vec2.s_t0),this.m_axis).SelfNormalize();var q=box2d.b2MulRV(i.q,this.m_axis,box2d.b2TimeOfImpact.s_normal);box2d.b2MidVV(o,p,this.m_localPoint);var m=box2d.b2MulXV(i,this.m_localPoint,box2d.b2TimeOfImpact.s_pointB),j=this.m_proxyA.GetVertex(a.indexA[0]),l=box2d.b2MulXV(h,j,box2d.b2TimeOfImpact.s_pointA),n=box2d.b2DotVV(box2d.b2SubVV(l,m,box2d.b2Vec2.s_t0),q);return 0>n&&(this.m_axis.SelfNeg(),n=-n),n}this.m_type=box2d.b2SeparationFunctionType.e_faceA;var r=this.m_proxyA.GetVertex(a.indexA[0]),s=this.m_proxyA.GetVertex(a.indexA[1]);box2d.b2CrossVOne(box2d.b2SubVV(s,r,box2d.b2Vec2.s_t0),this.m_axis).SelfNormalize();var q=box2d.b2MulRV(h.q,this.m_axis,box2d.b2TimeOfImpact.s_normal);box2d.b2MidVV(r,s,this.m_localPoint);var l=box2d.b2MulXV(h,this.m_localPoint,box2d.b2TimeOfImpact.s_pointA),k=this.m_proxyB.GetVertex(a.indexB[0]),m=box2d.b2MulXV(i,k,box2d.b2TimeOfImpact.s_pointB),n=box2d.b2DotVV(box2d.b2SubVV(m,l,box2d.b2Vec2.s_t0),q);return 0>n&&(this.m_axis.SelfNeg(),n=-n),n},box2d.b2SeparationFunction.prototype.FindMinSeparation=function(a,b,c){var d=box2d.b2TimeOfImpact.s_xfA,e=box2d.b2TimeOfImpact.s_xfB;switch(this.m_sweepA.GetTransform(d,c),this.m_sweepB.GetTransform(e,c),this.m_type){case box2d.b2SeparationFunctionType.e_points:var f=box2d.b2MulTRV(d.q,this.m_axis,box2d.b2TimeOfImpact.s_axisA),g=box2d.b2MulTRV(e.q,box2d.b2NegV(this.m_axis,box2d.b2Vec2.s_t0),box2d.b2TimeOfImpact.s_axisB);a[0]=this.m_proxyA.GetSupport(f),b[0]=this.m_proxyB.GetSupport(g);var h=this.m_proxyA.GetVertex(a[0]),i=this.m_proxyB.GetVertex(b[0]),j=box2d.b2MulXV(d,h,box2d.b2TimeOfImpact.s_pointA),k=box2d.b2MulXV(e,i,box2d.b2TimeOfImpact.s_pointB),l=box2d.b2DotVV(box2d.b2SubVV(k,j,box2d.b2Vec2.s_t0),this.m_axis);return l;case box2d.b2SeparationFunctionType.e_faceA:var m=box2d.b2MulRV(d.q,this.m_axis,box2d.b2TimeOfImpact.s_normal),j=box2d.b2MulXV(d,this.m_localPoint,box2d.b2TimeOfImpact.s_pointA),g=box2d.b2MulTRV(e.q,box2d.b2NegV(m,box2d.b2Vec2.s_t0),box2d.b2TimeOfImpact.s_axisB);a[0]=-1,b[0]=this.m_proxyB.GetSupport(g);var i=this.m_proxyB.GetVertex(b[0]),k=box2d.b2MulXV(e,i,box2d.b2TimeOfImpact.s_pointB),l=box2d.b2DotVV(box2d.b2SubVV(k,j,box2d.b2Vec2.s_t0),m);return l;case box2d.b2SeparationFunctionType.e_faceB:var m=box2d.b2MulRV(e.q,this.m_axis,box2d.b2TimeOfImpact.s_normal),k=box2d.b2MulXV(e,this.m_localPoint,box2d.b2TimeOfImpact.s_pointB),f=box2d.b2MulTRV(d.q,box2d.b2NegV(m,box2d.b2Vec2.s_t0),box2d.b2TimeOfImpact.s_axisA);b[0]=-1,a[0]=this.m_proxyA.GetSupport(f);var h=this.m_proxyA.GetVertex(a[0]),j=box2d.b2MulXV(d,h,box2d.b2TimeOfImpact.s_pointA),l=box2d.b2DotVV(box2d.b2SubVV(j,k,box2d.b2Vec2.s_t0),m);return l;default:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),a[0]=-1,b[0]=-1,0}},box2d.b2SeparationFunction.prototype.Evaluate=function(a,b,c){var d=box2d.b2TimeOfImpact.s_xfA,e=box2d.b2TimeOfImpact.s_xfB;switch(this.m_sweepA.GetTransform(d,c),this.m_sweepB.GetTransform(e,c),this.m_type){case box2d.b2SeparationFunctionType.e_points:var f=this.m_proxyA.GetVertex(a),g=this.m_proxyB.GetVertex(b),h=box2d.b2MulXV(d,f,box2d.b2TimeOfImpact.s_pointA),i=box2d.b2MulXV(e,g,box2d.b2TimeOfImpact.s_pointB),j=box2d.b2DotVV(box2d.b2SubVV(i,h,box2d.b2Vec2.s_t0),this.m_axis);return j;case box2d.b2SeparationFunctionType.e_faceA:var k=box2d.b2MulRV(d.q,this.m_axis,box2d.b2TimeOfImpact.s_normal),h=box2d.b2MulXV(d,this.m_localPoint,box2d.b2TimeOfImpact.s_pointA),g=this.m_proxyB.GetVertex(b),i=box2d.b2MulXV(e,g,box2d.b2TimeOfImpact.s_pointB),j=box2d.b2DotVV(box2d.b2SubVV(i,h,box2d.b2Vec2.s_t0),k);return j;case box2d.b2SeparationFunctionType.e_faceB:var k=box2d.b2MulRV(e.q,this.m_axis,box2d.b2TimeOfImpact.s_normal),i=box2d.b2MulXV(e,this.m_localPoint,box2d.b2TimeOfImpact.s_pointB),f=this.m_proxyA.GetVertex(a),h=box2d.b2MulXV(d,f,box2d.b2TimeOfImpact.s_pointA),j=box2d.b2DotVV(box2d.b2SubVV(h,i,box2d.b2Vec2.s_t0),k);return j;default:return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),0}},box2d.b2TimeOfImpact=function(a,b){var c=box2d.b2TimeOfImpact.s_timer.Reset();++box2d.b2_toiCalls,a.state=box2d.b2TOIOutputState.e_unknown,a.t=b.tMax;var d=b.proxyA,e=b.proxyB,f=box2d.b2TimeOfImpact.s_sweepA.Copy(b.sweepA),g=box2d.b2TimeOfImpact.s_sweepB.Copy(b.sweepB);f.Normalize(),g.Normalize();var h=b.tMax,i=d.m_radius+e.m_radius,j=box2d.b2Max(box2d.b2_linearSlop,i-3*box2d.b2_linearSlop),k=.25*box2d.b2_linearSlop;box2d.ENABLE_ASSERTS&&box2d.b2Assert(j>k);var l=0,m=20,n=0,o=box2d.b2TimeOfImpact.s_cache;o.count=0;var p=box2d.b2TimeOfImpact.s_distanceInput;for(p.proxyA=b.proxyA,p.proxyB=b.proxyB,p.useRadii=!1;;){var q=box2d.b2TimeOfImpact.s_xfA,r=box2d.b2TimeOfImpact.s_xfB;f.GetTransform(q,l),g.GetTransform(r,l),p.transformA.Copy(q),p.transformB.Copy(r);var s=box2d.b2TimeOfImpact.s_distanceOutput;if(box2d.b2Distance(s,o,p),s.distance<=0){a.state=box2d.b2TOIOutputState.e_overlapped,a.t=0;break}if(s.distancej+k){a.state=box2d.b2TOIOutputState.e_separated,a.t=h,u=!0;break}if(z>j-k){l=v;break}var A=t.Evaluate(x[0],y[0],l);if(j-k>A){a.state=box2d.b2TOIOutputState.e_failed,a.t=l,u=!0;break}if(j+k>=A){a.state=box2d.b2TOIOutputState.e_touching,a.t=l,u=!0;break}for(var B=0,C=l,D=v;;){var E=0;E=1&B?C+(j-A)*(D-C)/(z-A):.5*(C+D),++B,++box2d.b2_toiRootIters;var F=t.Evaluate(x[0],y[0],E);if(box2d.b2Abs(F-j)j?(C=E,A=F):(D=E,z=F),50===B)break}if(box2d.b2_toiMaxRootIters=box2d.b2Max(box2d.b2_toiMaxRootIters,B),++w,w===box2d.b2_maxPolygonVertices)break}if(++n,++box2d.b2_toiIters,u)break;if(n===m){a.state=box2d.b2TOIOutputState.e_failed,a.t=l;break}}box2d.b2_toiMaxIters=box2d.b2Max(box2d.b2_toiMaxIters,n);var G=c.GetMilliseconds();box2d.b2_toiMaxTime=box2d.b2Max(box2d.b2_toiMaxTime,G),box2d.b2_toiTime+=G},box2d.b2TimeOfImpact.s_timer=new box2d.b2Timer,box2d.b2TimeOfImpact.s_cache=new box2d.b2SimplexCache,box2d.b2TimeOfImpact.s_distanceInput=new box2d.b2DistanceInput,box2d.b2TimeOfImpact.s_distanceOutput=new box2d.b2DistanceOutput,box2d.b2TimeOfImpact.s_xfA=new box2d.b2Transform,box2d.b2TimeOfImpact.s_xfB=new box2d.b2Transform,box2d.b2TimeOfImpact.s_indexA=box2d.b2MakeNumberArray(1),box2d.b2TimeOfImpact.s_indexB=box2d.b2MakeNumberArray(1),box2d.b2TimeOfImpact.s_fcn=new box2d.b2SeparationFunction,box2d.b2TimeOfImpact.s_sweepA=new box2d.b2Sweep,box2d.b2TimeOfImpact.s_sweepB=new box2d.b2Sweep,box2d.b2TimeOfImpact.s_pointA=new box2d.b2Vec2,box2d.b2TimeOfImpact.s_pointB=new box2d.b2Vec2,box2d.b2TimeOfImpact.s_normal=new box2d.b2Vec2,box2d.b2TimeOfImpact.s_axisA=new box2d.b2Vec2,box2d.b2TimeOfImpact.s_axisB=new box2d.b2Vec2,goog.provide("box2d.b2Contact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Collision"),goog.require("box2d.b2TimeOfImpact"),box2d.b2MixFriction=function(a,b){return box2d.b2Sqrt(a*b)},box2d.b2MixRestitution=function(a,b){return a>b?a:b},box2d.b2ContactEdge=function(){},box2d.b2ContactEdge.prototype.other=null,box2d.b2ContactEdge.prototype.contact=null,box2d.b2ContactEdge.prototype.prev=null,box2d.b2ContactEdge.prototype.next=null,box2d.b2ContactFlag={e_none:0,e_islandFlag:1,e_touchingFlag:2,e_enabledFlag:4,e_filterFlag:8,e_bulletHitFlag:16,e_toiFlag:32},goog.exportProperty(box2d.b2ContactFlag,"e_none",box2d.b2ContactFlag.e_none),goog.exportProperty(box2d.b2ContactFlag,"e_islandFlag",box2d.b2ContactFlag.e_islandFlag),goog.exportProperty(box2d.b2ContactFlag,"e_touchingFlag",box2d.b2ContactFlag.e_touchingFlag),goog.exportProperty(box2d.b2ContactFlag,"e_enabledFlag",box2d.b2ContactFlag.e_enabledFlag),goog.exportProperty(box2d.b2ContactFlag,"e_filterFlag",box2d.b2ContactFlag.e_filterFlag),goog.exportProperty(box2d.b2ContactFlag,"e_bulletHitFlag",box2d.b2ContactFlag.e_bulletHitFlag),goog.exportProperty(box2d.b2ContactFlag,"e_toiFlag",box2d.b2ContactFlag.e_toiFlag),box2d.b2Contact=function(){this.m_nodeA=new box2d.b2ContactEdge,this.m_nodeB=new box2d.b2ContactEdge,this.m_manifold=new box2d.b2Manifold,this.m_oldManifold=new box2d.b2Manifold},box2d.b2Contact.prototype.m_flags=box2d.b2ContactFlag.e_none,box2d.b2Contact.prototype.m_prev=null,box2d.b2Contact.prototype.m_next=null,box2d.b2Contact.prototype.m_nodeA=null,box2d.b2Contact.prototype.m_nodeB=null,box2d.b2Contact.prototype.m_fixtureA=null,box2d.b2Contact.prototype.m_fixtureB=null,box2d.b2Contact.prototype.m_indexA=0,box2d.b2Contact.prototype.m_indexB=0,box2d.b2Contact.prototype.m_manifold=null,box2d.b2Contact.prototype.m_toiCount=0,box2d.b2Contact.prototype.m_toi=0,box2d.b2Contact.prototype.m_friction=0,box2d.b2Contact.prototype.m_restitution=0,box2d.b2Contact.prototype.m_tangentSpeed=0,box2d.b2Contact.prototype.m_oldManifold=null,box2d.b2Contact.prototype.GetManifold=function(){return this.m_manifold},box2d.b2Contact.prototype.GetWorldManifold=function(a){var b=this.m_fixtureA.GetBody(),c=this.m_fixtureB.GetBody(),d=this.m_fixtureA.GetShape(),e=this.m_fixtureB.GetShape();a.Initialize(this.m_manifold,b.GetTransform(),d.m_radius,c.GetTransform(),e.m_radius)},box2d.b2Contact.prototype.IsTouching=function(){return(this.m_flags&box2d.b2ContactFlag.e_touchingFlag)===box2d.b2ContactFlag.e_touchingFlag},box2d.b2Contact.prototype.SetEnabled=function(a){a?this.m_flags|=box2d.b2ContactFlag.e_enabledFlag:this.m_flags&=~box2d.b2ContactFlag.e_enabledFlag},box2d.b2Contact.prototype.IsEnabled=function(){return(this.m_flags&box2d.b2ContactFlag.e_enabledFlag)===box2d.b2ContactFlag.e_enabledFlag},box2d.b2Contact.prototype.GetNext=function(){return this.m_next},box2d.b2Contact.prototype.GetFixtureA=function(){return this.m_fixtureA},box2d.b2Contact.prototype.GetChildIndexA=function(){return this.m_indexA},box2d.b2Contact.prototype.GetFixtureB=function(){return this.m_fixtureB},box2d.b2Contact.prototype.GetChildIndexB=function(){return this.m_indexB},box2d.b2Contact.prototype.Evaluate=function(){},box2d.b2Contact.prototype.FlagForFiltering=function(){this.m_flags|=box2d.b2ContactFlag.e_filterFlag},box2d.b2Contact.prototype.SetFriction=function(a){this.m_friction=a},box2d.b2Contact.prototype.GetFriction=function(){return this.m_friction},box2d.b2Contact.prototype.ResetFriction=function(){this.m_friction=box2d.b2MixFriction(this.m_fixtureA.m_friction,this.m_fixtureB.m_friction)},box2d.b2Contact.prototype.SetRestitution=function(a){this.m_restitution=a},box2d.b2Contact.prototype.GetRestitution=function(){return this.m_restitution},box2d.b2Contact.prototype.ResetRestitution=function(){this.m_restitution=box2d.b2MixRestitution(this.m_fixtureA.m_restitution,this.m_fixtureB.m_restitution)},box2d.b2Contact.prototype.SetTangentSpeed=function(a){this.m_tangentSpeed=a},box2d.b2Contact.prototype.GetTangentSpeed=function(){return this.m_tangentSpeed},box2d.b2Contact.prototype.Reset=function(a,b,c,d){this.m_flags=box2d.b2ContactFlag.e_enabledFlag,this.m_fixtureA=a,this.m_fixtureB=c,this.m_indexA=b,this.m_indexB=d,this.m_manifold.pointCount=0,this.m_prev=null,this.m_next=null,this.m_nodeA.contact=null,this.m_nodeA.prev=null,this.m_nodeA.next=null,this.m_nodeA.other=null,this.m_nodeB.contact=null,this.m_nodeB.prev=null,this.m_nodeB.next=null,this.m_nodeB.other=null,this.m_toiCount=0,this.m_friction=box2d.b2MixFriction(this.m_fixtureA.m_friction,this.m_fixtureB.m_friction),this.m_restitution=box2d.b2MixRestitution(this.m_fixtureA.m_restitution,this.m_fixtureB.m_restitution)},box2d.b2Contact.prototype.Update=function(a){var b=this.m_oldManifold;this.m_oldManifold=this.m_manifold,this.m_manifold=b,this.m_flags|=box2d.b2ContactFlag.e_enabledFlag;var c=!1,d=(this.m_flags&box2d.b2ContactFlag.e_touchingFlag)===box2d.b2ContactFlag.e_touchingFlag,e=this.m_fixtureA.IsSensor(),f=this.m_fixtureB.IsSensor(),g=e||f,h=this.m_fixtureA.GetBody(),i=this.m_fixtureB.GetBody(),j=h.GetTransform(),k=i.GetTransform();if(g){var l=this.m_fixtureA.GetShape(),m=this.m_fixtureB.GetShape();c=box2d.b2TestOverlapShape(l,this.m_indexA,m,this.m_indexB,j,k),this.m_manifold.pointCount=0}else{this.Evaluate(this.m_manifold,j,k),c=this.m_manifold.pointCount>0;for(var n=0;nb;++b)this.m_vertices[b].Copy(a.m_vertices[b]),this.m_normals[b].Copy(a.m_normals[b]);return this},box2d.b2PolygonShape.prototype.SetAsBox=function(a,b){return this.m_count=4,this.m_vertices[0].SetXY(-a,-b),this.m_vertices[1].SetXY(a,-b),this.m_vertices[2].SetXY(a,b),this.m_vertices[3].SetXY(-a,b),this.m_normals[0].SetXY(0,-1),this.m_normals[1].SetXY(1,0),this.m_normals[2].SetXY(0,1),this.m_normals[3].SetXY(-1,0),this.m_centroid.SetZero(),this},box2d.b2PolygonShape.prototype.SetAsOrientedBox=function(a,b,c,d){this.m_count=4,this.m_vertices[0].SetXY(-a,-b),this.m_vertices[1].SetXY(a,-b),this.m_vertices[2].SetXY(a,b),this.m_vertices[3].SetXY(-a,b),this.m_normals[0].SetXY(0,-1),this.m_normals[1].SetXY(1,0),this.m_normals[2].SetXY(0,1),this.m_normals[3].SetXY(-1,0),this.m_centroid.Copy(c);var e=new box2d.b2Transform;e.SetPosition(c),e.SetRotationAngleRadians(d);for(var f=0,g=this.m_count;g>f;++f)box2d.b2MulXV(e,this.m_vertices[f],this.m_vertices[f]),box2d.b2MulRV(e.q,this.m_normals[f],this.m_normals[f]);return this},box2d.b2PolygonShape.prototype.Set=function(a,b){if(void 0===b&&(b=a.length),box2d.ENABLE_ASSERTS&&box2d.b2Assert(b>=3&&b<=box2d.b2_maxPolygonVertices),3>b)return this.SetAsBox(1,1);for(var c=box2d.b2Min(b,box2d.b2_maxPolygonVertices),d=box2d.b2PolygonShape.prototype.Set.s_ps,e=0,f=0;c>f;++f){for(var g=a[f],h=!0,i=0;e>i;++i)if(box2d.b2DistanceSquaredVV(g,d[i])<.5*box2d.b2_linearSlop){h=!1;break}h&&d[e++].Copy(g)}if(c=e,3>c)return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),this.SetAsBox(1,1);for(var j=0,k=d[0].x,f=1;c>f;++f){var l=d[f].x;(l>k||l===k&&d[f].yi;++i)if(p!==o){var q=box2d.b2SubVV(d[p],d[m[n]],box2d.b2PolygonShape.prototype.Set.s_r),g=box2d.b2SubVV(d[i],d[m[n]],box2d.b2PolygonShape.prototype.Set.s_v),r=box2d.b2CrossVV(q,g);0>r&&(p=i),0===r&&g.GetLengthSquared()>q.GetLengthSquared()&&(p=i)}else p=i;if(++n,o=p,p===j)break}this.m_count=n;for(var f=0;n>f;++f)this.m_vertices[f].Copy(d[m[f]]);for(var f=0,s=n;s>f;++f){var t=this.m_vertices[f],u=this.m_vertices[(f+1)%s],v=box2d.b2SubVV(u,t,box2d.b2Vec2.s_t0);box2d.ENABLE_ASSERTS&&box2d.b2Assert(v.GetLengthSquared()>box2d.b2_epsilon_sq),box2d.b2CrossVOne(v,this.m_normals[f]).SelfNormalize()}return box2d.b2PolygonShape.ComputeCentroid(this.m_vertices,n,this.m_centroid),this},box2d.b2PolygonShape.prototype.Set.s_ps=box2d.b2Vec2.MakeArray(box2d.b2_maxPolygonVertices),box2d.b2PolygonShape.prototype.Set.s_hull=box2d.b2MakeNumberArray(box2d.b2_maxPolygonVertices),box2d.b2PolygonShape.prototype.Set.s_r=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.Set.s_v=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.SetAsVector=function(a,b){return this.Set(a,b),this},box2d.b2PolygonShape.prototype.SetAsArray=function(a,b){return this.Set(a,b),this},box2d.b2PolygonShape.prototype.GetChildCount=function(){return 1},box2d.b2PolygonShape.prototype.TestPoint=function(a,b){for(var c=box2d.b2MulTXV(a,b,box2d.b2PolygonShape.prototype.TestPoint.s_pLocal),d=0,e=this.m_count;e>d;++d){var f=box2d.b2DotVV(this.m_normals[d],box2d.b2SubVV(c,this.m_vertices[d],box2d.b2Vec2.s_t0));if(f>0)return!1}return!0},box2d.b2PolygonShape.prototype.TestPoint.s_pLocal=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.RayCast=function(a,b,c){for(var d=box2d.b2MulTXV(c,b.p1,box2d.b2PolygonShape.prototype.RayCast.s_p1),e=box2d.b2MulTXV(c,b.p2,box2d.b2PolygonShape.prototype.RayCast.s_p2),f=box2d.b2SubVV(e,d,box2d.b2PolygonShape.prototype.RayCast.s_d),g=0,h=b.maxFraction,i=-1,j=0,k=this.m_count;k>j;++j){var l=box2d.b2DotVV(this.m_normals[j],box2d.b2SubVV(this.m_vertices[j],d,box2d.b2Vec2.s_t0)),m=box2d.b2DotVV(this.m_normals[j],f);if(0===m){if(0>l)return!1}else 0>m&&g*m>l?(g=l/m,i=j):m>0&&h*m>l&&(h=l/m);if(g>h)return!1}return box2d.ENABLE_ASSERTS&&box2d.b2Assert(g>=0&&g<=b.maxFraction),i>=0?(a.fraction=g,box2d.b2MulRV(c.q,this.m_normals[i],a.normal),!0):!1},box2d.b2PolygonShape.prototype.RayCast.s_p1=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.RayCast.s_p2=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.RayCast.s_d=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeAABB=function(a,b){for(var c=box2d.b2MulXV(b,this.m_vertices[0],a.lowerBound),d=a.upperBound.Copy(c),e=0,f=this.m_count;f>e;++e){var g=box2d.b2MulXV(b,this.m_vertices[e],box2d.b2PolygonShape.prototype.ComputeAABB.s_v);box2d.b2MinV(g,c,c),box2d.b2MaxV(g,d,d)}var h=this.m_radius;c.SelfSubXY(h,h),d.SelfAddXY(h,h)},box2d.b2PolygonShape.prototype.ComputeAABB.s_v=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeMass=function(a,b){box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_count>=3);for(var c=box2d.b2PolygonShape.prototype.ComputeMass.s_center.SetZero(),d=0,e=0,f=box2d.b2PolygonShape.prototype.ComputeMass.s_s.SetZero(),g=0,h=this.m_count;h>g;++g)f.SelfAdd(this.m_vertices[g]);f.SelfMul(1/this.m_count);for(var i=1/3,g=0,h=this.m_count;h>g;++g){var j=box2d.b2SubVV(this.m_vertices[g],f,box2d.b2PolygonShape.prototype.ComputeMass.s_e1),k=box2d.b2SubVV(this.m_vertices[(g+1)%h],f,box2d.b2PolygonShape.prototype.ComputeMass.s_e2),l=box2d.b2CrossVV(j,k),m=.5*l;d+=m,c.SelfAdd(box2d.b2MulSV(m*i,box2d.b2AddVV(j,k,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t1));var n=j.x,o=j.y,p=k.x,q=k.y,r=n*n+p*n+p*p,s=o*o+q*o+q*q;e+=.25*i*l*(r+s)}a.mass=b*d,box2d.ENABLE_ASSERTS&&box2d.b2Assert(d>box2d.b2_epsilon),c.SelfMul(1/d),box2d.b2AddVV(c,f,a.center),a.I=b*e,a.I+=a.mass*(box2d.b2DotVV(a.center,a.center)-box2d.b2DotVV(c,c))},box2d.b2PolygonShape.prototype.ComputeMass.s_center=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeMass.s_s=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeMass.s_e1=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeMass.s_e2=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.Validate=function(){for(var a=0;ah)return!1}return!0},box2d.b2PolygonShape.prototype.Validate.s_e=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.Validate.s_v=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.SetupDistanceProxy=function(a){a.m_vertices=this.m_vertices,a.m_count=this.m_count,a.m_radius=this.m_radius},box2d.b2PolygonShape.prototype.ComputeSubmergedArea=function(a,b,c,d){for(var e=box2d.b2MulTRV(c.q,a,box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_normalL),f=b-box2d.b2DotVV(a,c.p),g=box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_depths,h=0,i=-1,j=-1,k=!1,l=0,m=this.m_count;m>l;++l){g[l]=box2d.b2DotVV(e,this.m_vertices[l])-f;var n=g[l]<-box2d.b2_epsilon;l>0&&(n?k||(i=l-1,h++):k&&(j=l-1,h++)),k=n}switch(h){case 0:if(k){var o=box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_md;return this.ComputeMass(o,1),box2d.b2MulXV(c,o.center,d),o.mass}return 0;case 1:-1===i?i=this.m_count-1:j=this.m_count-1}for(var p=(i+1)%this.m_count,q=(j+1)%this.m_count,r=(0-g[i])/(g[p]-g[i]),s=(0-g[j])/(g[q]-g[j]),t=box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_intoVec.SetXY(this.m_vertices[i].x*(1-r)+this.m_vertices[p].x*r,this.m_vertices[i].y*(1-r)+this.m_vertices[p].y*r),u=box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_outoVec.SetXY(this.m_vertices[j].x*(1-s)+this.m_vertices[q].x*s,this.m_vertices[j].y*(1-s)+this.m_vertices[q].y*s),v=0,w=box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_center.SetZero(),x=this.m_vertices[p],y=null,l=p;l!==q;){l=(l+1)%this.m_count,y=l===q?u:this.m_vertices[l];var z=.5*((x.x-t.x)*(y.y-t.y)-(x.y-t.y)*(y.x-t.x));v+=z,w.x+=z*(t.x+x.x+y.x)/3,w.y+=z*(t.y+x.y+y.y)/3,x=y}return w.SelfMul(1/v),box2d.b2MulXV(c,w,d),v},box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_normalL=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_depths=box2d.b2MakeNumberArray(box2d.b2_maxPolygonVertices),box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_md=new box2d.b2MassData,box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_intoVec=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_outoVec=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.ComputeSubmergedArea.s_center=new box2d.b2Vec2,box2d.b2PolygonShape.prototype.Dump=function(){box2d.b2Log(" /*box2d.b2PolygonShape*/ var shape = new box2d.b2PolygonShape();\n"),box2d.b2Log(" /*box2d.b2Vec2[]*/ var vs = box2d.b2Vec2.MakeArray(%d);\n",box2d.b2_maxPolygonVertices);for(var a=0;a=3); +var d=c;d.SetZero();for(var e=0,f=box2d.b2PolygonShape.ComputeCentroid.s_pRef.SetZero(),g=1/3,h=0;b>h;++h){var i=f,j=a[h],k=a[(h+1)%b],l=box2d.b2SubVV(j,i,box2d.b2PolygonShape.ComputeCentroid.s_e1),m=box2d.b2SubVV(k,i,box2d.b2PolygonShape.ComputeCentroid.s_e2),n=box2d.b2CrossVV(l,m),o=.5*n;e+=o,d.x+=o*g*(i.x+j.x+k.x),d.y+=o*g*(i.y+j.y+k.y)}return box2d.ENABLE_ASSERTS&&box2d.b2Assert(e>box2d.b2_epsilon),d.SelfMul(1/e),d},box2d.b2PolygonShape.ComputeCentroid.s_pRef=new box2d.b2Vec2,box2d.b2PolygonShape.ComputeCentroid.s_e1=new box2d.b2Vec2,box2d.b2PolygonShape.ComputeCentroid.s_e2=new box2d.b2Vec2,goog.provide("box2d.b2CollideEdge"),goog.require("box2d.b2Collision"),box2d.b2CollideEdgeAndCircle=function(a,b,c,d,e){a.pointCount=0;var f=box2d.b2MulTXV(c,box2d.b2MulXV(e,d.m_p,box2d.b2Vec2.s_t0),box2d.b2CollideEdgeAndCircle.s_Q),g=b.m_vertex1,h=b.m_vertex2,i=box2d.b2SubVV(h,g,box2d.b2CollideEdgeAndCircle.s_e),j=box2d.b2DotVV(i,box2d.b2SubVV(h,f,box2d.b2Vec2.s_t0)),k=box2d.b2DotVV(i,box2d.b2SubVV(f,g,box2d.b2Vec2.s_t0)),l=b.m_radius+d.m_radius,m=box2d.b2CollideEdgeAndCircle.s_id;if(m.cf.indexB=0,m.cf.typeB=box2d.b2ContactFeatureType.e_vertex,0>=k){var n=g,o=box2d.b2SubVV(f,n,box2d.b2CollideEdgeAndCircle.s_d),p=box2d.b2DotVV(o,o);if(p>l*l)return;if(b.m_hasVertex0){var q=b.m_vertex0,r=g,s=box2d.b2SubVV(r,q,box2d.b2CollideEdgeAndCircle.s_e1),t=box2d.b2DotVV(s,box2d.b2SubVV(r,f,box2d.b2Vec2.s_t0));if(t>0)return}return m.cf.indexA=0,m.cf.typeA=box2d.b2ContactFeatureType.e_vertex,a.pointCount=1,a.type=box2d.b2ManifoldType.e_circles,a.localNormal.SetZero(),a.localPoint.Copy(n),a.points[0].id.Copy(m),void a.points[0].localPoint.Copy(d.m_p)}if(0>=j){var n=h,o=box2d.b2SubVV(f,n,box2d.b2CollideEdgeAndCircle.s_d),p=box2d.b2DotVV(o,o);if(p>l*l)return;if(b.m_hasVertex3){var u=b.m_vertex3,v=h,w=box2d.b2SubVV(u,v,box2d.b2CollideEdgeAndCircle.s_e2),x=box2d.b2DotVV(w,box2d.b2SubVV(f,v,box2d.b2Vec2.s_t0));if(x>0)return}return m.cf.indexA=1,m.cf.typeA=box2d.b2ContactFeatureType.e_vertex,a.pointCount=1,a.type=box2d.b2ManifoldType.e_circles,a.localNormal.SetZero(),a.localPoint.Copy(n),a.points[0].id.Copy(m),void a.points[0].localPoint.Copy(d.m_p)}var y=box2d.b2DotVV(i,i);box2d.ENABLE_ASSERTS&&box2d.b2Assert(y>0);var n=box2d.b2CollideEdgeAndCircle.s_P;n.x=1/y*(j*g.x+k*h.x),n.y=1/y*(j*g.y+k*h.y);var o=box2d.b2SubVV(f,n,box2d.b2CollideEdgeAndCircle.s_d),p=box2d.b2DotVV(o,o);if(!(p>l*l)){var z=box2d.b2CollideEdgeAndCircle.s_n.SetXY(-i.y,i.x);box2d.b2DotVV(z,box2d.b2SubVV(f,g,box2d.b2Vec2.s_t0))<0&&z.SetXY(-z.x,-z.y),z.Normalize(),m.cf.indexA=0,m.cf.typeA=box2d.b2ContactFeatureType.e_face,a.pointCount=1,a.type=box2d.b2ManifoldType.e_faceA,a.localNormal.Copy(z),a.localPoint.Copy(g),a.points[0].id.Copy(m),a.points[0].localPoint.Copy(d.m_p)}},box2d.b2CollideEdgeAndCircle.s_Q=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_e=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_d=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_e1=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_e2=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_P=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_n=new box2d.b2Vec2,box2d.b2CollideEdgeAndCircle.s_id=new box2d.b2ContactID,box2d.b2EPAxisType={e_unknown:0,e_edgeA:1,e_edgeB:2},goog.exportProperty(box2d.b2EPAxisType,"e_unknown",box2d.b2EPAxisType.e_unknown),goog.exportProperty(box2d.b2EPAxisType,"e_edgeA",box2d.b2EPAxisType.e_edgeA),goog.exportProperty(box2d.b2EPAxisType,"e_edgeB",box2d.b2EPAxisType.e_edgeB),box2d.b2EPAxis=function(){},box2d.b2EPAxis.prototype.type=box2d.b2EPAxisType.e_unknown,box2d.b2EPAxis.prototype.index=0,box2d.b2EPAxis.prototype.separation=0,box2d.b2TempPolygon=function(){this.vertices=box2d.b2Vec2.MakeArray(box2d.b2_maxPolygonVertices),this.normals=box2d.b2Vec2.MakeArray(box2d.b2_maxPolygonVertices),this.count=0},box2d.b2TempPolygon.prototype.vertices=null,box2d.b2TempPolygon.prototype.normals=null,box2d.b2TempPolygon.prototype.count=0,box2d.b2ReferenceFace=function(){this.i1=0,this.i2=0,this.v1=new box2d.b2Vec2,this.v2=new box2d.b2Vec2,this.normal=new box2d.b2Vec2,this.sideNormal1=new box2d.b2Vec2,this.sideOffset1=0,this.sideNormal2=new box2d.b2Vec2,this.sideOffset2=0},box2d.b2ReferenceFace.prototype.i1=0,box2d.b2ReferenceFace.prototype.i2=0,box2d.b2ReferenceFace.prototype.v1=null,box2d.b2ReferenceFace.prototype.v2=null,box2d.b2ReferenceFace.prototype.normal=null,box2d.b2ReferenceFace.prototype.sideNormal1=null,box2d.b2ReferenceFace.prototype.sideOffset1=0,box2d.b2ReferenceFace.prototype.sideNormal2=null,box2d.b2ReferenceFace.prototype.sideOffset2=0,box2d.b2EPColliderVertexType={e_isolated:0,e_concave:1,e_convex:2},goog.exportProperty(box2d.b2EPColliderVertexType,"e_isolated",box2d.b2EPColliderVertexType.e_isolated),goog.exportProperty(box2d.b2EPColliderVertexType,"e_concave",box2d.b2EPColliderVertexType.e_concave),goog.exportProperty(box2d.b2EPColliderVertexType,"e_convex",box2d.b2EPColliderVertexType.e_convex),box2d.b2EPCollider=function(){this.m_polygonB=new box2d.b2TempPolygon,this.m_xf=new box2d.b2Transform,this.m_centroidB=new box2d.b2Vec2,this.m_v0=new box2d.b2Vec2,this.m_v1=new box2d.b2Vec2,this.m_v2=new box2d.b2Vec2,this.m_v3=new box2d.b2Vec2,this.m_normal0=new box2d.b2Vec2,this.m_normal1=new box2d.b2Vec2,this.m_normal2=new box2d.b2Vec2,this.m_normal=new box2d.b2Vec2,this.m_type1=box2d.b2EPColliderVertexType.e_isolated,this.m_type2=box2d.b2EPColliderVertexType.e_isolated,this.m_lowerLimit=new box2d.b2Vec2,this.m_upperLimit=new box2d.b2Vec2,this.m_radius=0,this.m_front=!1},box2d.b2EPCollider.prototype.m_polygonB=null,box2d.b2EPCollider.prototype.m_xf=null,box2d.b2EPCollider.prototype.m_centroidB=null,box2d.b2EPCollider.prototype.m_v0=null,box2d.b2EPCollider.prototype.m_v1=null,box2d.b2EPCollider.prototype.m_v2=null,box2d.b2EPCollider.prototype.m_v3=null,box2d.b2EPCollider.prototype.m_normal0=null,box2d.b2EPCollider.prototype.m_normal1=null,box2d.b2EPCollider.prototype.m_normal2=null,box2d.b2EPCollider.prototype.m_normal=null,box2d.b2EPCollider.prototype.m_type1=box2d.b2EPColliderVertexType.e_isolated,box2d.b2EPCollider.prototype.m_type2=box2d.b2EPColliderVertexType.e_isolated,box2d.b2EPCollider.prototype.m_lowerLimit=null,box2d.b2EPCollider.prototype.m_upperLimit=null,box2d.b2EPCollider.prototype.m_radius=0,box2d.b2EPCollider.prototype.m_front=!1,box2d.b2EPCollider.prototype.Collide=function(a,b,c,d,e){box2d.b2MulTXX(c,e,this.m_xf),box2d.b2MulXV(this.m_xf,d.m_centroid,this.m_centroidB),this.m_v0.Copy(b.m_vertex0),this.m_v1.Copy(b.m_vertex1),this.m_v2.Copy(b.m_vertex2),this.m_v3.Copy(b.m_vertex3);var f=b.m_hasVertex0,g=b.m_hasVertex3,h=box2d.b2SubVV(this.m_v2,this.m_v1,box2d.b2EPCollider.s_edge1);h.Normalize(),this.m_normal1.SetXY(h.y,-h.x);var i=box2d.b2DotVV(this.m_normal1,box2d.b2SubVV(this.m_centroidB,this.m_v1,box2d.b2Vec2.s_t0)),j=0,k=0,l=!1,m=!1;if(f){var n=box2d.b2SubVV(this.m_v1,this.m_v0,box2d.b2EPCollider.s_edge0);n.Normalize(),this.m_normal0.SetXY(n.y,-n.x),l=box2d.b2CrossVV(n,h)>=0,j=box2d.b2DotVV(this.m_normal0,box2d.b2SubVV(this.m_centroidB,this.m_v0,box2d.b2Vec2.s_t0))}if(g){var o=box2d.b2SubVV(this.m_v3,this.m_v2,box2d.b2EPCollider.s_edge2);o.Normalize(),this.m_normal2.SetXY(o.y,-o.x),m=box2d.b2CrossVV(h,o)>0,k=box2d.b2DotVV(this.m_normal2,box2d.b2SubVV(this.m_centroidB,this.m_v2,box2d.b2Vec2.s_t0))}f&&g?l&&m?(this.m_front=j>=0||i>=0||k>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal0),this.m_upperLimit.Copy(this.m_normal2)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1).SelfNeg())):l?(this.m_front=j>=0||i>=0&&k>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal0),this.m_upperLimit.Copy(this.m_normal1)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal2).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1).SelfNeg())):m?(this.m_front=k>=0||j>=0&&i>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal2)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal0).SelfNeg())):(this.m_front=j>=0&&i>=0&&k>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal1)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal2).SelfNeg(),this.m_upperLimit.Copy(this.m_normal0).SelfNeg())):f?l?(this.m_front=j>=0||i>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal0),this.m_upperLimit.Copy(this.m_normal1).SelfNeg()):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal1).SelfNeg())):(this.m_front=j>=0&&i>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal1).SelfNeg()):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal0).SelfNeg())):g?m?(this.m_front=i>=0||k>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal2)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1))):(this.m_front=i>=0&&k>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1)):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal2).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1))):(this.m_front=i>=0,this.m_front?(this.m_normal.Copy(this.m_normal1),this.m_lowerLimit.Copy(this.m_normal1).SelfNeg(),this.m_upperLimit.Copy(this.m_normal1).SelfNeg()):(this.m_normal.Copy(this.m_normal1).SelfNeg(),this.m_lowerLimit.Copy(this.m_normal1),this.m_upperLimit.Copy(this.m_normal1))),this.m_polygonB.count=d.m_count;for(var p=0,q=d.m_count;q>p;++p)box2d.b2MulXV(this.m_xf,d.m_vertices[p],this.m_polygonB.vertices[p]),box2d.b2MulRV(this.m_xf.q,d.m_normals[p],this.m_polygonB.normals[p]);this.m_radius=2*box2d.b2_polygonRadius,a.pointCount=0;var r=this.ComputeEdgeSeparation(box2d.b2EPCollider.s_edgeAxis);if(r.type!==box2d.b2EPAxisType.e_unknown&&!(r.separation>this.m_radius)){var s=this.ComputePolygonSeparation(box2d.b2EPCollider.s_polygonAxis);if(!(s.type!==box2d.b2EPAxisType.e_unknown&&s.separation>this.m_radius)){var t,u=.98,v=.001;t=s.type===box2d.b2EPAxisType.e_unknown?r:s.separation>u*r.separation+v?s:r;var w=box2d.b2EPCollider.s_ie,x=box2d.b2EPCollider.s_rf;if(t.type===box2d.b2EPAxisType.e_edgeA){a.type=box2d.b2ManifoldType.e_faceA;for(var y=0,z=box2d.b2DotVV(this.m_normal,this.m_polygonB.normals[0]),p=1,q=this.m_polygonB.count;q>p;++p){var A=box2d.b2DotVV(this.m_normal,this.m_polygonB.normals[p]);z>A&&(z=A,y=p)}var B=y,C=(B+1)%this.m_polygonB.count,D=w[0];D.v.Copy(this.m_polygonB.vertices[B]),D.id.cf.indexA=0,D.id.cf.indexB=B,D.id.cf.typeA=box2d.b2ContactFeatureType.e_face,D.id.cf.typeB=box2d.b2ContactFeatureType.e_vertex;var E=w[1];E.v.Copy(this.m_polygonB.vertices[C]),E.id.cf.indexA=0,E.id.cf.indexB=C,E.id.cf.typeA=box2d.b2ContactFeatureType.e_face,E.id.cf.typeB=box2d.b2ContactFeatureType.e_vertex,this.m_front?(x.i1=0,x.i2=1,x.v1.Copy(this.m_v1),x.v2.Copy(this.m_v2),x.normal.Copy(this.m_normal1)):(x.i1=1,x.i2=0,x.v1.Copy(this.m_v2),x.v2.Copy(this.m_v1),x.normal.Copy(this.m_normal1).SelfNeg())}else{a.type=box2d.b2ManifoldType.e_faceB;var D=w[0];D.v.Copy(this.m_v1),D.id.cf.indexA=0,D.id.cf.indexB=t.index,D.id.cf.typeA=box2d.b2ContactFeatureType.e_vertex,D.id.cf.typeB=box2d.b2ContactFeatureType.e_face;var E=w[1];E.v.Copy(this.m_v2),E.id.cf.indexA=0,E.id.cf.indexB=t.index,E.id.cf.typeA=box2d.b2ContactFeatureType.e_vertex,E.id.cf.typeB=box2d.b2ContactFeatureType.e_face,x.i1=t.index,x.i2=(x.i1+1)%this.m_polygonB.count,x.v1.Copy(this.m_polygonB.vertices[x.i1]),x.v2.Copy(this.m_polygonB.vertices[x.i2]),x.normal.Copy(this.m_polygonB.normals[x.i1])}x.sideNormal1.SetXY(x.normal.y,-x.normal.x),x.sideNormal2.Copy(x.sideNormal1).SelfNeg(),x.sideOffset1=box2d.b2DotVV(x.sideNormal1,x.v1),x.sideOffset2=box2d.b2DotVV(x.sideNormal2,x.v2);var F=box2d.b2EPCollider.s_clipPoints1,G=box2d.b2EPCollider.s_clipPoints2,H=0;if(H=box2d.b2ClipSegmentToLine(F,w,x.sideNormal1,x.sideOffset1,x.i1),!(Hp;++p){var J;if(J=box2d.b2DotVV(x.normal,box2d.b2SubVV(G[p].v,x.v1,box2d.b2Vec2.s_t0)),J<=this.m_radius){var K=a.points[I];t.type===box2d.b2EPAxisType.e_edgeA?(box2d.b2MulTXV(this.m_xf,G[p].v,K.localPoint),K.id=G[p].id):(K.localPoint.Copy(G[p].v),K.id.cf.typeA=G[p].id.cf.typeB,K.id.cf.typeB=G[p].id.cf.typeA,K.id.cf.indexA=G[p].id.cf.indexB,K.id.cf.indexB=G[p].id.cf.indexA),++I}}a.pointCount=I}}}},box2d.b2EPCollider.s_edge1=new box2d.b2Vec2,box2d.b2EPCollider.s_edge0=new box2d.b2Vec2,box2d.b2EPCollider.s_edge2=new box2d.b2Vec2,box2d.b2EPCollider.s_ie=box2d.b2ClipVertex.MakeArray(2),box2d.b2EPCollider.s_rf=new box2d.b2ReferenceFace,box2d.b2EPCollider.s_clipPoints1=box2d.b2ClipVertex.MakeArray(2),box2d.b2EPCollider.s_clipPoints2=box2d.b2ClipVertex.MakeArray(2),box2d.b2EPCollider.s_edgeAxis=new box2d.b2EPAxis,box2d.b2EPCollider.s_polygonAxis=new box2d.b2EPAxis,box2d.b2EPCollider.prototype.ComputeEdgeSeparation=function(a){var b=a;b.type=box2d.b2EPAxisType.e_edgeA,b.index=this.m_front?0:1,b.separation=box2d.b2_maxFloat;for(var c=0,d=this.m_polygonB.count;d>c;++c){var e=box2d.b2DotVV(this.m_normal,box2d.b2SubVV(this.m_polygonB.vertices[c],this.m_v1,box2d.b2Vec2.s_t0));ed;++d){var f=box2d.b2NegV(this.m_polygonB.normals[d],box2d.b2EPCollider.s_n),g=box2d.b2DotVV(f,box2d.b2SubVV(this.m_polygonB.vertices[d],this.m_v1,box2d.b2Vec2.s_t0)),h=box2d.b2DotVV(f,box2d.b2SubVV(this.m_polygonB.vertices[d],this.m_v2,box2d.b2Vec2.s_t0)),i=box2d.b2Min(g,h);if(i>this.m_radius)return b.type=box2d.b2EPAxisType.e_edgeB,b.index=d,b.separation=i,b;if(box2d.b2DotVV(f,c)>=0){if(box2d.b2DotVV(box2d.b2SubVV(f,this.m_upperLimit,box2d.b2Vec2.s_t0),this.m_normal)<-box2d.b2_angularSlop)continue}else if(box2d.b2DotVV(box2d.b2SubVV(f,this.m_lowerLimit,box2d.b2Vec2.s_t0),this.m_normal)<-box2d.b2_angularSlop)continue;i>b.separation&&(b.type=box2d.b2EPAxisType.e_edgeB,b.index=d,b.separation=i)}return b},box2d.b2EPCollider.s_n=new box2d.b2Vec2,box2d.b2EPCollider.s_perp=new box2d.b2Vec2,box2d.b2CollideEdgeAndPolygon=function(a,b,c,d,e){var f=box2d.b2CollideEdgeAndPolygon.s_collider;f.Collide(a,b,c,d,e)},box2d.b2CollideEdgeAndPolygon.s_collider=new box2d.b2EPCollider,goog.provide("box2d.b2EdgeShape"),goog.require("box2d.b2Shape"),box2d.b2EdgeShape=function(){goog.base(this,box2d.b2ShapeType.e_edgeShape,box2d.b2_polygonRadius),this.m_vertex1=new box2d.b2Vec2,this.m_vertex2=new box2d.b2Vec2,this.m_vertex0=new box2d.b2Vec2,this.m_vertex3=new box2d.b2Vec2},goog.inherits(box2d.b2EdgeShape,box2d.b2Shape),box2d.b2EdgeShape.prototype.m_vertex1=null,box2d.b2EdgeShape.prototype.m_vertex2=null,box2d.b2EdgeShape.prototype.m_vertex0=null,box2d.b2EdgeShape.prototype.m_vertex3=null,box2d.b2EdgeShape.prototype.m_hasVertex0=!1,box2d.b2EdgeShape.prototype.m_hasVertex3=!1,box2d.b2EdgeShape.prototype.Set=function(a,b){return this.m_vertex1.Copy(a),this.m_vertex2.Copy(b),this.m_hasVertex0=!1,this.m_hasVertex3=!1,this},box2d.b2EdgeShape.prototype.SetAsEdge=box2d.b2EdgeShape.prototype.Set,box2d.b2EdgeShape.prototype.Clone=function(){return(new box2d.b2EdgeShape).Copy(this)},box2d.b2EdgeShape.prototype.Copy=function(a){return goog.base(this,"Copy",a),box2d.ENABLE_ASSERTS&&box2d.b2Assert(a instanceof box2d.b2EdgeShape),this.m_vertex1.Copy(a.m_vertex1),this.m_vertex2.Copy(a.m_vertex2),this.m_vertex0.Copy(a.m_vertex0),this.m_vertex3.Copy(a.m_vertex3),this.m_hasVertex0=a.m_hasVertex0,this.m_hasVertex3=a.m_hasVertex3,this},box2d.b2EdgeShape.prototype.GetChildCount=function(){return 1},box2d.b2EdgeShape.prototype.TestPoint=function(){return!1},box2d.b2EdgeShape.prototype.RayCast=function(a,b,c){var d=box2d.b2MulTXV(c,b.p1,box2d.b2EdgeShape.prototype.RayCast.s_p1),e=box2d.b2MulTXV(c,b.p2,box2d.b2EdgeShape.prototype.RayCast.s_p2),f=box2d.b2SubVV(e,d,box2d.b2EdgeShape.prototype.RayCast.s_d),g=this.m_vertex1,h=this.m_vertex2,i=box2d.b2SubVV(h,g,box2d.b2EdgeShape.prototype.RayCast.s_e),j=a.normal.SetXY(i.y,-i.x).SelfNormalize(),k=box2d.b2DotVV(j,box2d.b2SubVV(g,d,box2d.b2Vec2.s_t0)),l=box2d.b2DotVV(j,f);if(0===l)return!1;var m=k/l;if(0>m||b.maxFractionq||q>1?!1:(a.fraction=m,box2d.b2MulRV(c.q,a.normal,a.normal),k>0&&a.normal.SelfNeg(),!0)},box2d.b2EdgeShape.prototype.RayCast.s_p1=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.RayCast.s_p2=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.RayCast.s_d=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.RayCast.s_e=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.RayCast.s_q=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.RayCast.s_r=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.ComputeAABB=function(a,b){var c=box2d.b2MulXV(b,this.m_vertex1,box2d.b2EdgeShape.prototype.ComputeAABB.s_v1),d=box2d.b2MulXV(b,this.m_vertex2,box2d.b2EdgeShape.prototype.ComputeAABB.s_v2);box2d.b2MinV(c,d,a.lowerBound),box2d.b2MaxV(c,d,a.upperBound);var e=this.m_radius;a.lowerBound.SelfSubXY(e,e),a.upperBound.SelfAddXY(e,e)},box2d.b2EdgeShape.prototype.ComputeAABB.s_v1=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.ComputeAABB.s_v2=new box2d.b2Vec2,box2d.b2EdgeShape.prototype.ComputeMass=function(a){a.mass=0,box2d.b2MidVV(this.m_vertex1,this.m_vertex2,a.center),a.I=0},box2d.b2EdgeShape.prototype.SetupDistanceProxy=function(a){a.m_vertices=new Array(2),a.m_vertices[0]=this.m_vertex1,a.m_vertices[1]=this.m_vertex2,a.m_count=2,a.m_radius=this.m_radius},box2d.b2EdgeShape.prototype.ComputeSubmergedArea=function(a,b,c,d){return d.SetZero(),0},box2d.b2EdgeShape.prototype.Dump=function(){box2d.b2Log(" /*box2d.b2EdgeShape*/ var shape = new box2d.b2EdgeShape();\n"),box2d.b2Log(" shape.m_radius = %.15f;\n",this.m_radius),box2d.b2Log(" shape.m_vertex0.SetXY(%.15f, %.15f);\n",this.m_vertex0.x,this.m_vertex0.y),box2d.b2Log(" shape.m_vertex1.SetXY(%.15f, %.15f);\n",this.m_vertex1.x,this.m_vertex1.y),box2d.b2Log(" shape.m_vertex2.SetXY(%.15f, %.15f);\n",this.m_vertex2.x,this.m_vertex2.y),box2d.b2Log(" shape.m_vertex3.SetXY(%.15f, %.15f);\n",this.m_vertex3.x,this.m_vertex3.y),box2d.b2Log(" shape.m_hasVertex0 = %s;\n",this.m_hasVertex0),box2d.b2Log(" shape.m_hasVertex3 = %s;\n",this.m_hasVertex3)},goog.provide("box2d.b2ChainShape"),goog.require("box2d.b2Shape"),goog.require("box2d.b2EdgeShape"),box2d.b2ChainShape=function(){goog.base(this,box2d.b2ShapeType.e_chainShape,box2d.b2_polygonRadius),this.m_prevVertex=new box2d.b2Vec2,this.m_nextVertex=new box2d.b2Vec2},goog.inherits(box2d.b2ChainShape,box2d.b2Shape),box2d.b2ChainShape.prototype.m_vertices=null,box2d.b2ChainShape.prototype.m_count=0,box2d.b2ChainShape.prototype.m_prevVertex=null,box2d.b2ChainShape.prototype.m_nextVertex=null,box2d.b2ChainShape.prototype.m_hasPrevVertex=!1,box2d.b2ChainShape.prototype.m_hasNextVertex=!1,box2d.b2ChainShape.prototype.CreateLoop=function(a,b){if(b=b||a.length,box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===this.m_vertices&&0===this.m_count),box2d.ENABLE_ASSERTS&&box2d.b2Assert(b>=3),box2d.ENABLE_ASSERTS)for(var c=1;b>c;++c){var d=a[c-1],e=a[c];box2d.b2Assert(box2d.b2DistanceSquaredVV(d,e)>box2d.b2_linearSlop*box2d.b2_linearSlop)}this.m_count=b+1,this.m_vertices=box2d.b2Vec2.MakeArray(this.m_count);for(var c=0;b>c;++c)this.m_vertices[c].Copy(a[c]);return this.m_vertices[b].Copy(this.m_vertices[0]),this.m_prevVertex.Copy(this.m_vertices[this.m_count-2]),this.m_nextVertex.Copy(this.m_vertices[1]),this.m_hasPrevVertex=!0,this.m_hasNextVertex=!0,this},box2d.b2ChainShape.prototype.CreateChain=function(a,b){if(b=b||a.length,box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===this.m_vertices&&0===this.m_count),box2d.ENABLE_ASSERTS&&box2d.b2Assert(b>=2),box2d.ENABLE_ASSERTS)for(var c=1;b>c;++c){var d=a[c-1],e=a[c];box2d.b2Assert(box2d.b2DistanceSquaredVV(d,e)>box2d.b2_linearSlop*box2d.b2_linearSlop)}this.m_count=b,this.m_vertices=box2d.b2Vec2.MakeArray(b);for(var c=0;b>c;++c)this.m_vertices[c].Copy(a[c]);return this.m_hasPrevVertex=!1,this.m_hasNextVertex=!1,this.m_prevVertex.SetZero(),this.m_nextVertex.SetZero(),this},box2d.b2ChainShape.prototype.SetPrevVertex=function(a){return this.m_prevVertex.Copy(a),this.m_hasPrevVertex=!0,this},box2d.b2ChainShape.prototype.SetNextVertex=function(a){return this.m_nextVertex.Copy(a),this.m_hasNextVertex=!0,this},box2d.b2ChainShape.prototype.Clone=function(){return(new box2d.b2ChainShape).Copy(this)},box2d.b2ChainShape.prototype.Copy=function(a){return goog.base(this,"Copy",a),box2d.ENABLE_ASSERTS&&box2d.b2Assert(a instanceof box2d.b2ChainShape),this.CreateChain(a.m_vertices,a.m_count),this.m_prevVertex.Copy(a.m_prevVertex),this.m_nextVertex.Copy(a.m_nextVertex),this.m_hasPrevVertex=a.m_hasPrevVertex,this.m_hasNextVertex=a.m_hasNextVertex,this},box2d.b2ChainShape.prototype.GetChildCount=function(){return this.m_count-1},box2d.b2ChainShape.prototype.GetChildEdge=function(a,b){box2d.ENABLE_ASSERTS&&box2d.b2Assert(b>=0&&b0?(a.m_vertex0.Copy(this.m_vertices[b-1]),a.m_hasVertex0=!0):(a.m_vertex0.Copy(this.m_prevVertex),a.m_hasVertex0=this.m_hasPrevVertex),b=0&&bn;++n){for(var o=box2d.b2MulRV(k.q,h[n],box2d.b2FindMaxSeparation.s_n),p=box2d.b2MulXV(k,i[n],box2d.b2FindMaxSeparation.s_v1),q=box2d.b2_maxFloat,r=0;g>r;++r){var s=box2d.b2DotVV(o,box2d.b2SubVV(j[r],p,box2d.b2Vec2.s_t0));q>s&&(q=s)}q>m&&(m=q,l=n)}return a[0]=l,m},box2d.b2FindMaxSeparation.s_xf=new box2d.b2Transform,box2d.b2FindMaxSeparation.s_n=new box2d.b2Vec2,box2d.b2FindMaxSeparation.s_v1=new box2d.b2Vec2,box2d.b2FindIncidentEdge=function(a,b,c,d,e,f){var g=b.m_count,h=b.m_normals,i=e.m_count,j=e.m_vertices,k=e.m_normals;box2d.ENABLE_ASSERTS&&box2d.b2Assert(d>=0&&g>d);for(var l=box2d.b2MulTRV(f.q,box2d.b2MulRV(c.q,h[d],box2d.b2Vec2.s_t0),box2d.b2FindIncidentEdge.s_normal1),m=0,n=box2d.b2_maxFloat,o=0;i>o;++o){var p=box2d.b2DotVV(l,k[o]);n>p&&(n=p,m=o)}var q=m,r=(q+1)%i,s=a[0];box2d.b2MulXV(f,j[q],s.v);var t=s.id.cf;t.indexA=d,t.indexB=q,t.typeA=box2d.b2ContactFeatureType.e_face,t.typeB=box2d.b2ContactFeatureType.e_vertex;var u=a[1];box2d.b2MulXV(f,j[r],u.v);var v=u.id.cf;v.indexA=d,v.indexB=r,v.typeA=box2d.b2ContactFeatureType.e_face,v.typeB=box2d.b2ContactFeatureType.e_vertex},box2d.b2FindIncidentEdge.s_normal1=new box2d.b2Vec2,box2d.b2CollidePolygons=function(a,b,c,d,e){a.pointCount=0;var f=b.m_radius+d.m_radius,g=box2d.b2CollidePolygons.s_edgeA;g[0]=0;var h=box2d.b2FindMaxSeparation(g,b,c,d,e);if(!(h>f)){var i=box2d.b2CollidePolygons.s_edgeB;i[0]=0;var j=box2d.b2FindMaxSeparation(i,d,e,b,c);if(!(j>f)){var k,l,m,n,o=0,p=0,q=.98,r=.001;j>q*h+r?(k=d,l=b,m=e,n=c,o=i[0],a.type=box2d.b2ManifoldType.e_faceB,p=1):(k=b,l=d,m=c,n=e,o=g[0],a.type=box2d.b2ManifoldType.e_faceA,p=0);var s=box2d.b2CollidePolygons.s_incidentEdge;box2d.b2FindIncidentEdge(s,k,m,o,l,n);var t=k.m_count,u=k.m_vertices,v=o,w=(o+1)%t,x=u[v],y=u[w],z=box2d.b2SubVV(y,x,box2d.b2CollidePolygons.s_localTangent);z.Normalize();var A,B=box2d.b2CrossVOne(z,box2d.b2CollidePolygons.s_localNormal),C=box2d.b2MidVV(x,y,box2d.b2CollidePolygons.s_planePoint),D=box2d.b2MulRV(m.q,z,box2d.b2CollidePolygons.s_tangent),E=box2d.b2CrossVOne(D,box2d.b2CollidePolygons.s_normal),F=box2d.b2MulXV(m,x,box2d.b2CollidePolygons.s_v11),G=box2d.b2MulXV(m,y,box2d.b2CollidePolygons.s_v12),H=box2d.b2DotVV(E,F),I=-box2d.b2DotVV(D,F)+f,J=box2d.b2DotVV(D,G)+f,K=box2d.b2CollidePolygons.s_clipPoints1,L=box2d.b2CollidePolygons.s_clipPoints2,M=box2d.b2NegV(D,box2d.b2CollidePolygons.s_ntangent);if(A=box2d.b2ClipSegmentToLine(K,s,M,I,v),!(2>A||(A=box2d.b2ClipSegmentToLine(L,K,D,J,w),2>A))){a.localNormal.Copy(B),a.localPoint.Copy(C);for(var N=0,O=0;O=Q){var R=a.points[N];if(box2d.b2MulTXV(n,P.v,R.localPoint),R.id.Copy(P.id),p){var S=R.id.cf;R.id.cf.indexA=S.indexB,R.id.cf.indexB=S.indexA,R.id.cf.typeA=S.typeB,R.id.cf.typeB=S.typeA}++N}}a.pointCount=N}}}},box2d.b2CollidePolygons.s_incidentEdge=box2d.b2ClipVertex.MakeArray(2),box2d.b2CollidePolygons.s_clipPoints1=box2d.b2ClipVertex.MakeArray(2),box2d.b2CollidePolygons.s_clipPoints2=box2d.b2ClipVertex.MakeArray(2),box2d.b2CollidePolygons.s_edgeA=box2d.b2MakeNumberArray(1),box2d.b2CollidePolygons.s_edgeB=box2d.b2MakeNumberArray(1),box2d.b2CollidePolygons.s_localTangent=new box2d.b2Vec2,box2d.b2CollidePolygons.s_localNormal=new box2d.b2Vec2,box2d.b2CollidePolygons.s_planePoint=new box2d.b2Vec2,box2d.b2CollidePolygons.s_normal=new box2d.b2Vec2,box2d.b2CollidePolygons.s_tangent=new box2d.b2Vec2,box2d.b2CollidePolygons.s_ntangent=new box2d.b2Vec2,box2d.b2CollidePolygons.s_v11=new box2d.b2Vec2,box2d.b2CollidePolygons.s_v12=new box2d.b2Vec2,goog.provide("box2d.b2PolygonContact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Contact"),goog.require("box2d.b2CollidePolygon"),box2d.b2PolygonContact=function(){goog.base(this)},goog.inherits(box2d.b2PolygonContact,box2d.b2Contact),box2d.b2PolygonContact.Create=function(){return new box2d.b2PolygonContact},box2d.b2PolygonContact.Destroy=function(){},box2d.b2PolygonContact.prototype.Reset=function(a,b,c,d){goog.base(this,"Reset",a,b,c,d)},box2d.b2PolygonContact.prototype.Evaluate=function(a,b,c){var d=this.m_fixtureA.GetShape(),e=this.m_fixtureB.GetShape();box2d.ENABLE_ASSERTS&&box2d.b2Assert(d instanceof box2d.b2PolygonShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(e instanceof box2d.b2PolygonShape),box2d.b2CollidePolygons(a,d instanceof box2d.b2PolygonShape?d:null,b,e instanceof box2d.b2PolygonShape?e:null,c)},goog.provide("box2d.b2CollideCircle"),goog.require("box2d.b2Collision"),box2d.b2CollideCircles=function(a,b,c,d,e){a.pointCount=0;var f=box2d.b2MulXV(c,b.m_p,box2d.b2CollideCircles.s_pA),g=box2d.b2MulXV(e,d.m_p,box2d.b2CollideCircles.s_pB),h=box2d.b2DistanceSquaredVV(f,g),i=b.m_radius+d.m_radius;h>i*i||(a.type=box2d.b2ManifoldType.e_circles,a.localPoint.Copy(b.m_p),a.localNormal.SetZero(),a.pointCount=1,a.points[0].localPoint.Copy(d.m_p),a.points[0].id.key=0)},box2d.b2CollideCircles.s_pA=new box2d.b2Vec2,box2d.b2CollideCircles.s_pB=new box2d.b2Vec2,box2d.b2CollidePolygonAndCircle=function(a,b,c,d,e){a.pointCount=0;for(var f=box2d.b2MulXV(e,d.m_p,box2d.b2CollidePolygonAndCircle.s_c),g=box2d.b2MulTXV(c,f,box2d.b2CollidePolygonAndCircle.s_cLocal),h=0,i=-box2d.b2_maxFloat,j=b.m_radius+d.m_radius,k=b.m_count,l=b.m_vertices,m=b.m_normals,n=0;k>n;++n){var o=box2d.b2DotVV(m[n],box2d.b2SubVV(g,l[n],box2d.b2Vec2.s_t0));if(o>j)return;o>i&&(i=o,h=n)}var p=h,q=(p+1)%k,r=l[p],s=l[q];if(i=t){if(box2d.b2DistanceSquaredVV(g,r)>j*j)return; +a.pointCount=1,a.type=box2d.b2ManifoldType.e_faceA,box2d.b2SubVV(g,r,a.localNormal).SelfNormalize(),a.localPoint.Copy(r),a.points[0].localPoint.Copy(d.m_p),a.points[0].id.key=0}else if(0>=u){if(box2d.b2DistanceSquaredVV(g,s)>j*j)return;a.pointCount=1,a.type=box2d.b2ManifoldType.e_faceA,box2d.b2SubVV(g,s,a.localNormal).SelfNormalize(),a.localPoint.Copy(s),a.points[0].localPoint.Copy(d.m_p),a.points[0].id.key=0}else{var v=box2d.b2MidVV(r,s,box2d.b2CollidePolygonAndCircle.s_faceCenter);if(i=box2d.b2DotVV(box2d.b2SubVV(g,v,box2d.b2Vec2.s_t1),m[p]),i>j)return;a.pointCount=1,a.type=box2d.b2ManifoldType.e_faceA,a.localNormal.Copy(m[p]).SelfNormalize(),a.localPoint.Copy(v),a.points[0].localPoint.Copy(d.m_p),a.points[0].id.key=0}},box2d.b2CollidePolygonAndCircle.s_c=new box2d.b2Vec2,box2d.b2CollidePolygonAndCircle.s_cLocal=new box2d.b2Vec2,box2d.b2CollidePolygonAndCircle.s_faceCenter=new box2d.b2Vec2,goog.provide("box2d.b2CircleContact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Contact"),goog.require("box2d.b2CollideCircle"),box2d.b2CircleContact=function(){goog.base(this)},goog.inherits(box2d.b2CircleContact,box2d.b2Contact),box2d.b2CircleContact.Create=function(){return new box2d.b2CircleContact},box2d.b2CircleContact.Destroy=function(){},box2d.b2CircleContact.prototype.Reset=function(a,b,c,d){goog.base(this,"Reset",a,b,c,d)},box2d.b2CircleContact.prototype.Evaluate=function(a,b,c){var d=this.m_fixtureA.GetShape(),e=this.m_fixtureB.GetShape();box2d.ENABLE_ASSERTS&&box2d.b2Assert(d instanceof box2d.b2CircleShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(e instanceof box2d.b2CircleShape),box2d.b2CollideCircles(a,d instanceof box2d.b2CircleShape?d:null,b,e instanceof box2d.b2CircleShape?e:null,c)},goog.provide("box2d.b2ChainAndCircleContact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Contact"),goog.require("box2d.b2CollideEdge"),box2d.b2ChainAndCircleContact=function(){goog.base(this)},goog.inherits(box2d.b2ChainAndCircleContact,box2d.b2Contact),box2d.b2ChainAndCircleContact.Create=function(){return new box2d.b2ChainAndCircleContact},box2d.b2ChainAndCircleContact.Destroy=function(){},box2d.b2ChainAndCircleContact.prototype.Reset=function(a,b,c,d){goog.base(this,"Reset",a,b,c,d),box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.GetType()===box2d.b2ShapeType.e_chainShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(c.GetType()===box2d.b2ShapeType.e_circleShape)},box2d.b2ChainAndCircleContact.prototype.Evaluate=function(a,b,c){var d=this.m_fixtureA.GetShape(),e=this.m_fixtureB.GetShape();box2d.ENABLE_ASSERTS&&box2d.b2Assert(d instanceof box2d.b2ChainShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(e instanceof box2d.b2CircleShape);var f=d instanceof box2d.b2ChainShape?d:null,g=box2d.b2ChainAndCircleContact.prototype.Evaluate.s_edge;f.GetChildEdge(g,this.m_indexA),box2d.b2CollideEdgeAndCircle(a,g,b,e instanceof box2d.b2CircleShape?e:null,c)},box2d.b2ChainAndCircleContact.prototype.Evaluate.s_edge=new box2d.b2EdgeShape,goog.provide("box2d.b2EdgeAndCircleContact"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Contact"),goog.require("box2d.b2CollideEdge"),box2d.b2EdgeAndCircleContact=function(){goog.base(this)},goog.inherits(box2d.b2EdgeAndCircleContact,box2d.b2Contact),box2d.b2EdgeAndCircleContact.Create=function(){return new box2d.b2EdgeAndCircleContact},box2d.b2EdgeAndCircleContact.Destroy=function(){},box2d.b2EdgeAndCircleContact.prototype.Reset=function(a,b,c,d){goog.base(this,"Reset",a,b,c,d),box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.GetType()===box2d.b2ShapeType.e_edgeShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(c.GetType()===box2d.b2ShapeType.e_circleShape)},box2d.b2EdgeAndCircleContact.prototype.Evaluate=function(a,b,c){var d=this.m_fixtureA.GetShape(),e=this.m_fixtureB.GetShape();box2d.ENABLE_ASSERTS&&box2d.b2Assert(d instanceof box2d.b2EdgeShape),box2d.ENABLE_ASSERTS&&box2d.b2Assert(e instanceof box2d.b2CircleShape),box2d.b2CollideEdgeAndCircle(a,d instanceof box2d.b2EdgeShape?d:null,b,e instanceof box2d.b2CircleShape?e:null,c)},goog.provide("box2d.b2ContactSolver"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Math"),goog.require("box2d.b2Collision"),goog.require("box2d.b2CircleContact"),goog.require("box2d.b2PolygonAndCircleContact"),goog.require("box2d.b2PolygonContact"),goog.require("box2d.b2EdgeAndCircleContact"),goog.require("box2d.b2EdgeAndPolygonContact"),goog.require("box2d.b2ChainAndCircleContact"),goog.require("box2d.b2ChainAndPolygonContact"),box2d.b2VelocityConstraintPoint=function(){this.rA=new box2d.b2Vec2,this.rB=new box2d.b2Vec2},box2d.b2VelocityConstraintPoint.prototype.rA=null,box2d.b2VelocityConstraintPoint.prototype.rB=null,box2d.b2VelocityConstraintPoint.prototype.normalImpulse=0,box2d.b2VelocityConstraintPoint.prototype.tangentImpulse=0,box2d.b2VelocityConstraintPoint.prototype.normalMass=0,box2d.b2VelocityConstraintPoint.prototype.tangentMass=0,box2d.b2VelocityConstraintPoint.prototype.velocityBias=0,box2d.b2VelocityConstraintPoint.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2VelocityConstraintPoint})},box2d.b2ContactVelocityConstraint=function(){this.points=box2d.b2VelocityConstraintPoint.MakeArray(box2d.b2_maxManifoldPoints),this.normal=new box2d.b2Vec2,this.tangent=new box2d.b2Vec2,this.normalMass=new box2d.b2Mat22,this.K=new box2d.b2Mat22},box2d.b2ContactVelocityConstraint.prototype.points=null,box2d.b2ContactVelocityConstraint.prototype.normal=null,box2d.b2ContactVelocityConstraint.prototype.tangent=null,box2d.b2ContactVelocityConstraint.prototype.normalMass=null,box2d.b2ContactVelocityConstraint.prototype.K=null,box2d.b2ContactVelocityConstraint.prototype.indexA=0,box2d.b2ContactVelocityConstraint.prototype.indexB=0,box2d.b2ContactVelocityConstraint.prototype.invMassA=0,box2d.b2ContactVelocityConstraint.prototype.invMassB=0,box2d.b2ContactVelocityConstraint.prototype.invIA=0,box2d.b2ContactVelocityConstraint.prototype.invIB=0,box2d.b2ContactVelocityConstraint.prototype.friction=0,box2d.b2ContactVelocityConstraint.prototype.restitution=0,box2d.b2ContactVelocityConstraint.prototype.tangentSpeed=0,box2d.b2ContactVelocityConstraint.prototype.pointCount=0,box2d.b2ContactVelocityConstraint.prototype.contactIndex=0,box2d.b2ContactVelocityConstraint.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2ContactVelocityConstraint})},box2d.b2ContactPositionConstraint=function(){this.localPoints=box2d.b2Vec2.MakeArray(box2d.b2_maxManifoldPoints),this.localNormal=new box2d.b2Vec2,this.localPoint=new box2d.b2Vec2,this.localCenterA=new box2d.b2Vec2,this.localCenterB=new box2d.b2Vec2},box2d.b2ContactPositionConstraint.prototype.localPoints=null,box2d.b2ContactPositionConstraint.prototype.localNormal=null,box2d.b2ContactPositionConstraint.prototype.localPoint=null,box2d.b2ContactPositionConstraint.prototype.indexA=0,box2d.b2ContactPositionConstraint.prototype.indexB=0,box2d.b2ContactPositionConstraint.prototype.invMassA=0,box2d.b2ContactPositionConstraint.prototype.invMassB=0,box2d.b2ContactPositionConstraint.prototype.localCenterA=null,box2d.b2ContactPositionConstraint.prototype.localCenterB=null,box2d.b2ContactPositionConstraint.prototype.invIA=0,box2d.b2ContactPositionConstraint.prototype.invIB=0,box2d.b2ContactPositionConstraint.prototype.type=box2d.b2ManifoldType.e_unknown,box2d.b2ContactPositionConstraint.prototype.radiusA=0,box2d.b2ContactPositionConstraint.prototype.radiusB=0,box2d.b2ContactPositionConstraint.prototype.pointCount=0,box2d.b2ContactPositionConstraint.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2ContactPositionConstraint})},box2d.b2ContactSolverDef=function(){this.step=new box2d.b2TimeStep},box2d.b2ContactSolverDef.prototype.step=null,box2d.b2ContactSolverDef.prototype.contacts=null,box2d.b2ContactSolverDef.prototype.count=0,box2d.b2ContactSolverDef.prototype.positions=null,box2d.b2ContactSolverDef.prototype.velocities=null,box2d.b2ContactSolverDef.prototype.allocator=null,box2d.b2ContactSolver=function(){this.m_step=new box2d.b2TimeStep,this.m_positionConstraints=box2d.b2ContactPositionConstraint.MakeArray(1024),this.m_velocityConstraints=box2d.b2ContactVelocityConstraint.MakeArray(1024)},box2d.b2ContactSolver.prototype.m_step=null,box2d.b2ContactSolver.prototype.m_positions=null,box2d.b2ContactSolver.prototype.m_velocities=null,box2d.b2ContactSolver.prototype.m_allocator=null,box2d.b2ContactSolver.prototype.m_positionConstraints=null,box2d.b2ContactSolver.prototype.m_velocityConstraints=null,box2d.b2ContactSolver.prototype.m_contacts=null,box2d.b2ContactSolver.prototype.m_count=0,box2d.b2ContactSolver.prototype.Initialize=function(a){if(this.m_step.Copy(a.step),this.m_allocator=a.allocator,this.m_count=a.count,this.m_positionConstraints.lengthc;++c)for(g=this.m_contacts[c],h=g.m_fixtureA,i=g.m_fixtureB,j=h.GetShape(),k=i.GetShape(),l=j.m_radius,m=k.m_radius,n=h.GetBody(),o=i.GetBody(),p=g.GetManifold(),q=p.pointCount,box2d.ENABLE_ASSERTS&&box2d.b2Assert(q>0),r=this.m_velocityConstraints[c],r.friction=g.m_friction,r.restitution=g.m_restitution,r.tangentSpeed=g.m_tangentSpeed,r.indexA=n.m_islandIndex,r.indexB=o.m_islandIndex,r.invMassA=n.m_invMass,r.invMassB=o.m_invMass,r.invIA=n.m_invI,r.invIB=o.m_invI,r.contactIndex=c,r.pointCount=q,r.K.SetZero(),r.normalMass.SetZero(),s=this.m_positionConstraints[c],s.indexA=n.m_islandIndex,s.indexB=o.m_islandIndex,s.invMassA=n.m_invMass,s.invMassB=o.m_invMass,s.localCenterA.Copy(n.m_sweep.localCenter),s.localCenterB.Copy(o.m_sweep.localCenter),s.invIA=n.m_invI,s.invIB=o.m_invI,s.localNormal.Copy(p.localNormal),s.localPoint.Copy(p.localPoint),s.pointCount=q,s.radiusA=l,s.radiusB=m,s.type=p.type,e=0,f=q;f>e;++e)t=p.points[e],u=r.points[e],this.m_step.warmStarting?(u.normalImpulse=this.m_step.dtRatio*t.normalImpulse,u.tangentImpulse=this.m_step.dtRatio*t.tangentImpulse):(u.normalImpulse=0,u.tangentImpulse=0),u.rA.SetZero(),u.rB.SetZero(),u.normalMass=0,u.tangentMass=0,u.velocityBias=0,s.localPoints[e].Copy(t.localPoint);return this},box2d.b2ContactSolver.prototype.InitializeVelocityConstraints=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S=box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_xfA,T=box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_xfB,U=box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_worldManifold,V=1e3;for(a=0,b=this.m_count;b>a;++a){for(e=this.m_velocityConstraints[a],f=this.m_positionConstraints[a],g=f.radiusA,h=f.radiusB,i=this.m_contacts[e.contactIndex].GetManifold(),j=e.indexA,k=e.indexB,l=e.invMassA,m=e.invMassB,n=e.invIA,o=e.invIB,p=f.localCenterA,q=f.localCenterB,r=this.m_positions[j].c,s=this.m_positions[j].a,t=this.m_velocities[j].v,u=this.m_velocities[j].w,v=this.m_positions[k].c,w=this.m_positions[k].a,x=this.m_velocities[k].v,y=this.m_velocities[k].w,box2d.ENABLE_ASSERTS&&box2d.b2Assert(i.pointCount>0),S.q.SetAngleRadians(s),T.q.SetAngleRadians(w),box2d.b2SubVV(r,box2d.b2MulRV(S.q,p,box2d.b2Vec2.s_t0),S.p),box2d.b2SubVV(v,box2d.b2MulRV(T.q,q,box2d.b2Vec2.s_t0),T.p),U.Initialize(i,S,g,T,h),e.normal.Copy(U.normal),box2d.b2CrossVOne(e.normal,e.tangent),z=e.pointCount,c=0,d=z;d>c;++c)A=e.points[c],box2d.b2SubVV(U.points[c],r,A.rA),box2d.b2SubVV(U.points[c],v,A.rB),B=box2d.b2CrossVV(A.rA,e.normal),C=box2d.b2CrossVV(A.rB,e.normal),D=l+m+n*B*B+o*C*C,A.normalMass=D>0?1/D:0,E=e.tangent,F=box2d.b2CrossVV(A.rA,E),G=box2d.b2CrossVV(A.rB,E),H=l+m+n*F*F+o*G*G,A.tangentMass=H>0?1/H:0,A.velocityBias=0,I=box2d.b2DotVV(e.normal,box2d.b2SubVV(box2d.b2AddVCrossSV(x,y,A.rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(t,u,A.rA,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t0)),I<-box2d.b2_velocityThreshold&&(A.velocityBias+=-e.restitution*I);2===e.pointCount&&(J=e.points[0],K=e.points[1],L=box2d.b2CrossVV(J.rA,e.normal),M=box2d.b2CrossVV(J.rB,e.normal),N=box2d.b2CrossVV(K.rA,e.normal),O=box2d.b2CrossVV(K.rB,e.normal),P=l+m+n*L*L+o*M*M,Q=l+m+n*N*N+o*O*O,R=l+m+n*L*N+o*M*O,V*(P*Q-R*R)>P*P?(e.K.ex.SetXY(P,R),e.K.ey.SetXY(R,Q),e.K.GetInverse(e.normalMass)):e.pointCount=1)}},box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_xfA=new box2d.b2Transform,box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_xfB=new box2d.b2Transform,box2d.b2ContactSolver.prototype.InitializeVelocityConstraints.s_worldManifold=new box2d.b2WorldManifold,box2d.b2ContactSolver.prototype.WarmStart=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=box2d.b2ContactSolver.prototype.WarmStart.s_P;for(a=0,b=this.m_count;b>a;++a){for(e=this.m_velocityConstraints[a],f=e.indexA,g=e.indexB,h=e.invMassA,i=e.invIA,j=e.invMassB,k=e.invIB,l=e.pointCount,m=this.m_velocities[f].v,n=this.m_velocities[f].w,o=this.m_velocities[g].v,p=this.m_velocities[g].w,q=e.normal,r=e.tangent,c=0,d=l;d>c;++c)s=e.points[c],box2d.b2AddVV(box2d.b2MulSV(s.normalImpulse,q,box2d.b2Vec2.s_t0),box2d.b2MulSV(s.tangentImpulse,r,box2d.b2Vec2.s_t1),t),n-=i*box2d.b2CrossVV(s.rA,t),m.SelfMulSub(h,t),p+=k*box2d.b2CrossVV(s.rB,t),o.SelfMulAdd(j,t);this.m_velocities[f].w=n,this.m_velocities[g].w=p}},box2d.b2ContactSolver.prototype.WarmStart.s_P=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv,E=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv1,F=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv2,G=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P,H=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_a,I=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_b,J=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_x,K=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_d,L=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P1,M=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P2,N=box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P1P2;for(a=0,b=this.m_count;b>a;++a){for(e=this.m_velocityConstraints[a],f=e.indexA,g=e.indexB,h=e.invMassA,i=e.invIA,j=e.invMassB,k=e.invIB,l=e.pointCount,m=this.m_velocities[f].v,n=this.m_velocities[f].w,o=this.m_velocities[g].v,p=this.m_velocities[g].w,q=e.normal,r=e.tangent,s=e.friction,box2d.ENABLE_ASSERTS&&box2d.b2Assert(1===l||2===l),c=0,d=l;d>c;++c)t=e.points[c],box2d.b2SubVV(box2d.b2AddVCrossSV(o,p,t.rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(m,n,t.rA,box2d.b2Vec2.s_t1),D),u=box2d.b2DotVV(D,r)-e.tangentSpeed,w=t.tangentMass*-u,x=s*t.normalImpulse,y=box2d.b2Clamp(t.tangentImpulse+w,-x,x),w=y-t.tangentImpulse,t.tangentImpulse=y,box2d.b2MulSV(w,r,G),m.SelfMulSub(h,G),n-=i*box2d.b2CrossVV(t.rA,G),o.SelfMulAdd(j,G),p+=k*box2d.b2CrossVV(t.rB,G);if(1===e.pointCount)t=e.points[0],box2d.b2SubVV(box2d.b2AddVCrossSV(o,p,t.rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(m,n,t.rA,box2d.b2Vec2.s_t1),D),v=box2d.b2DotVV(D,q),w=-t.normalMass*(v-t.velocityBias),y=box2d.b2Max(t.normalImpulse+w,0),w=y-t.normalImpulse,t.normalImpulse=y,box2d.b2MulSV(w,q,G),m.SelfMulSub(h,G),n-=i*box2d.b2CrossVV(t.rA,G),o.SelfMulAdd(j,G),p+=k*box2d.b2CrossVV(t.rB,G);else for(z=e.points[0],A=e.points[1],H.SetXY(z.normalImpulse,A.normalImpulse),box2d.ENABLE_ASSERTS&&box2d.b2Assert(H.x>=0&&H.y>=0),box2d.b2SubVV(box2d.b2AddVCrossSV(o,p,z.rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(m,n,z.rA,box2d.b2Vec2.s_t1),E),box2d.b2SubVV(box2d.b2AddVCrossSV(o,p,A.rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(m,n,A.rA,box2d.b2Vec2.s_t1),F),B=box2d.b2DotVV(E,q),C=box2d.b2DotVV(F,q),I.x=B-z.velocityBias,I.y=C-A.velocityBias,I.SelfSub(box2d.b2MulMV(e.K,H,box2d.b2Vec2.s_t0));;){if(box2d.b2MulMV(e.normalMass,I,J).SelfNeg(),J.x>=0&&J.y>=0){box2d.b2SubVV(J,H,K),box2d.b2MulSV(K.x,q,L),box2d.b2MulSV(K.y,q,M),box2d.b2AddVV(L,M,N),m.SelfMulSub(h,N),n-=i*(box2d.b2CrossVV(z.rA,L)+box2d.b2CrossVV(A.rA,M)),o.SelfMulAdd(j,N),p+=k*(box2d.b2CrossVV(z.rB,L)+box2d.b2CrossVV(A.rB,M)),z.normalImpulse=J.x,A.normalImpulse=J.y;break}if(J.x=-z.normalMass*I.x,J.y=0,B=0,C=e.K.ex.y*J.x+I.y,J.x>=0&&C>=0){box2d.b2SubVV(J,H,K),box2d.b2MulSV(K.x,q,L),box2d.b2MulSV(K.y,q,M),box2d.b2AddVV(L,M,N),m.SelfMulSub(h,N),n-=i*(box2d.b2CrossVV(z.rA,L)+box2d.b2CrossVV(A.rA,M)),o.SelfMulAdd(j,N),p+=k*(box2d.b2CrossVV(z.rB,L)+box2d.b2CrossVV(A.rB,M)),z.normalImpulse=J.x,A.normalImpulse=J.y;break}if(J.x=0,J.y=-A.normalMass*I.y,B=e.K.ey.x*J.y+I.x,C=0,J.y>=0&&B>=0){box2d.b2SubVV(J,H,K),box2d.b2MulSV(K.x,q,L),box2d.b2MulSV(K.y,q,M),box2d.b2AddVV(L,M,N),m.SelfMulSub(h,N),n-=i*(box2d.b2CrossVV(z.rA,L)+box2d.b2CrossVV(A.rA,M)),o.SelfMulAdd(j,N),p+=k*(box2d.b2CrossVV(z.rB,L)+box2d.b2CrossVV(A.rB,M)),z.normalImpulse=J.x,A.normalImpulse=J.y;break}if(J.x=0,J.y=0,B=I.x,C=I.y,B>=0&&C>=0){box2d.b2SubVV(J,H,K),box2d.b2MulSV(K.x,q,L),box2d.b2MulSV(K.y,q,M),box2d.b2AddVV(L,M,N),m.SelfMulSub(h,N),n-=i*(box2d.b2CrossVV(z.rA,L)+box2d.b2CrossVV(A.rA,M)),o.SelfMulAdd(j,N),p+=k*(box2d.b2CrossVV(z.rB,L)+box2d.b2CrossVV(A.rB,M)),z.normalImpulse=J.x,A.normalImpulse=J.y;break}break}this.m_velocities[f].w=n,this.m_velocities[g].w=p}},box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv1=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_dv2=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_a=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_b=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_x=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_d=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P1=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P2=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveVelocityConstraints.s_P1P2=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.StoreImpulses=function(){var a,b,c,d,e,f;for(a=0,b=this.m_count;b>a;++a)for(e=this.m_velocityConstraints[a],f=this.m_contacts[e.contactIndex].GetManifold(),c=0,d=e.pointCount;d>c;++c)f.points[c].normalImpulse=e.points[c].normalImpulse,f.points[c].tangentImpulse=e.points[c].tangentImpulse},box2d.b2PositionSolverManifold=function(){this.normal=new box2d.b2Vec2,this.point=new box2d.b2Vec2},box2d.b2PositionSolverManifold.prototype.normal=null,box2d.b2PositionSolverManifold.prototype.point=null,box2d.b2PositionSolverManifold.prototype.separation=0,box2d.b2PositionSolverManifold.prototype.Initialize=function(a,b,c,d){var e=box2d.b2PositionSolverManifold.prototype.Initialize.s_pointA,f=box2d.b2PositionSolverManifold.prototype.Initialize.s_pointB,g=box2d.b2PositionSolverManifold.prototype.Initialize.s_planePoint,h=box2d.b2PositionSolverManifold.prototype.Initialize.s_clipPoint;switch(box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.pointCount>0),a.type){case box2d.b2ManifoldType.e_circles:box2d.b2MulXV(b,a.localPoint,e),box2d.b2MulXV(c,a.localPoints[0],f),box2d.b2SubVV(f,e,this.normal).SelfNormalize(),box2d.b2MidVV(e,f,this.point),this.separation=box2d.b2DotVV(box2d.b2SubVV(f,e,box2d.b2Vec2.s_t0),this.normal)-a.radiusA-a.radiusB;break;case box2d.b2ManifoldType.e_faceA:box2d.b2MulRV(b.q,a.localNormal,this.normal),box2d.b2MulXV(b,a.localPoint,g),box2d.b2MulXV(c,a.localPoints[d],h),this.separation=box2d.b2DotVV(box2d.b2SubVV(h,g,box2d.b2Vec2.s_t0),this.normal)-a.radiusA-a.radiusB,this.point.Copy(h);break;case box2d.b2ManifoldType.e_faceB:box2d.b2MulRV(c.q,a.localNormal,this.normal),box2d.b2MulXV(c,a.localPoint,g),box2d.b2MulXV(b,a.localPoints[d],h),this.separation=box2d.b2DotVV(box2d.b2SubVV(h,g,box2d.b2Vec2.s_t0),this.normal)-a.radiusA-a.radiusB,this.point.Copy(h),this.normal.SelfNeg()}},box2d.b2PositionSolverManifold.prototype.Initialize.s_pointA=new box2d.b2Vec2,box2d.b2PositionSolverManifold.prototype.Initialize.s_pointB=new box2d.b2Vec2,box2d.b2PositionSolverManifold.prototype.Initialize.s_planePoint=new box2d.b2Vec2,box2d.b2PositionSolverManifold.prototype.Initialize.s_clipPoint=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolvePositionConstraints=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_xfA,B=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_xfB,C=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_psm,D=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_rA,E=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_rB,F=box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_P,G=0;for(a=0,b=this.m_count;b>a;++a){for(e=this.m_positionConstraints[a],f=e.indexA,g=e.indexB,h=e.localCenterA,i=e.invMassA,j=e.invIA,k=e.localCenterB,l=e.invMassB,m=e.invIB,n=e.pointCount,o=this.m_positions[f].c,p=this.m_positions[f].a,q=this.m_positions[g].c,r=this.m_positions[g].a,c=0,d=n;d>c;++c)A.q.SetAngleRadians(p),B.q.SetAngleRadians(r),box2d.b2SubVV(o,box2d.b2MulRV(A.q,h,box2d.b2Vec2.s_t0),A.p),box2d.b2SubVV(q,box2d.b2MulRV(B.q,k,box2d.b2Vec2.s_t0),B.p),C.Initialize(e,A,B,c),s=C.normal,t=C.point,u=C.separation,box2d.b2SubVV(t,o,D),box2d.b2SubVV(t,q,E),G=box2d.b2Min(G,u),v=box2d.b2Clamp(box2d.b2_baumgarte*(u+box2d.b2_linearSlop),-box2d.b2_maxLinearCorrection,0),w=box2d.b2CrossVV(D,s),x=box2d.b2CrossVV(E,s),y=i+l+j*w*w+m*x*x,z=y>0?-v/y:0,box2d.b2MulSV(z,s,F),o.SelfMulSub(i,F),p-=j*box2d.b2CrossVV(D,F),q.SelfMulAdd(l,F),r+=m*box2d.b2CrossVV(E,F);this.m_positions[f].a=p,this.m_positions[g].a=r}return G>-3*box2d.b2_linearSlop},box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_xfA=new box2d.b2Transform,box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_xfB=new box2d.b2Transform,box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_psm=new box2d.b2PositionSolverManifold,box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_rA=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_rB=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolvePositionConstraints.s_P=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_xfA,D=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_xfB,E=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_psm,F=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_rA,G=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_rB,H=box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_P,I=0;for(c=0,d=this.m_count;d>c;++c){for(g=this.m_positionConstraints[c],h=g.indexA,i=g.indexB,j=g.localCenterA,k=g.localCenterB,l=g.pointCount,m=0,n=0,(h===a||h===b)&&(m=g.invMassA,n=g.invIA),o=0,p=0,(i===a||i===b)&&(o=g.invMassB,p=g.invIB),q=this.m_positions[h].c,r=this.m_positions[h].a,s=this.m_positions[i].c,t=this.m_positions[i].a,e=0,f=l;f>e;++e)C.q.SetAngleRadians(r),D.q.SetAngleRadians(t),box2d.b2SubVV(q,box2d.b2MulRV(C.q,j,box2d.b2Vec2.s_t0),C.p),box2d.b2SubVV(s,box2d.b2MulRV(D.q,k,box2d.b2Vec2.s_t0),D.p),E.Initialize(g,C,D,e),u=E.normal,v=E.point,w=E.separation,box2d.b2SubVV(v,q,F),box2d.b2SubVV(v,s,G),I=box2d.b2Min(I,w),x=box2d.b2Clamp(box2d.b2_toiBaumgarte*(w+box2d.b2_linearSlop),-box2d.b2_maxLinearCorrection,0),y=box2d.b2CrossVV(F,u),z=box2d.b2CrossVV(G,u),A=m+o+n*y*y+p*z*z,B=A>0?-x/A:0,box2d.b2MulSV(B,u,H),q.SelfMulSub(m,H),r-=n*box2d.b2CrossVV(F,H),s.SelfMulAdd(o,H),t+=p*box2d.b2CrossVV(G,H);this.m_positions[h].a=r,this.m_positions[i].a=t}return I>=-1.5*box2d.b2_linearSlop},box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_xfA=new box2d.b2Transform,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_xfB=new box2d.b2Transform,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_psm=new box2d.b2PositionSolverManifold,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_rA=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_rB=new box2d.b2Vec2,box2d.b2ContactSolver.prototype.SolveTOIPositionConstraints.s_P=new box2d.b2Vec2,goog.provide("box2d.b2WorldCallbacks"),goog.require("box2d.b2Settings"),box2d.b2DestructionListener=function(){},box2d.b2DestructionListener.prototype.SayGoodbyeJoint=function(){},box2d.b2DestructionListener.prototype.SayGoodbyeFixture=function(){},box2d.b2ContactFilter=function(){},box2d.b2ContactFilter.prototype.ShouldCollide=function(a,b){var c=a.GetFilterData(),d=b.GetFilterData();if(c.groupIndex===d.groupIndex&&0!==c.groupIndex)return c.groupIndex>0;var e=0!==(c.maskBits&d.categoryBits)&&0!==(c.categoryBits&d.maskBits);return e},box2d.b2ContactFilter.b2_defaultFilter=new box2d.b2ContactFilter,box2d.b2ContactImpulse=function(){this.normalImpulses=box2d.b2MakeNumberArray(box2d.b2_maxManifoldPoints),this.tangentImpulses=box2d.b2MakeNumberArray(box2d.b2_maxManifoldPoints)},box2d.b2ContactImpulse.prototype.normalImpulses=null,box2d.b2ContactImpulse.prototype.tangentImpulses=null,box2d.b2ContactImpulse.prototype.count=0,box2d.b2ContactListener=function(){},box2d.b2ContactListener.prototype.BeginContact=function(){},box2d.b2ContactListener.prototype.EndContact=function(){},box2d.b2ContactListener.prototype.PreSolve=function(){},box2d.b2ContactListener.prototype.PostSolve=function(){},box2d.b2ContactListener.b2_defaultListener=new box2d.b2ContactListener,box2d.b2QueryCallback=function(){},box2d.b2QueryCallback.prototype.ReportFixture=function(){return!0},box2d.b2RayCastCallback=function(){},box2d.b2RayCastCallback.prototype.ReportFixture=function(a,b,c,d){return d},goog.provide("box2d.b2Island"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Timer"),goog.require("box2d.b2TimeStep"),goog.require("box2d.b2WorldCallbacks"),goog.require("box2d.b2ContactSolver"),box2d.b2Island=function(){this.m_bodies=new Array(1024),this.m_contacts=new Array(1024),this.m_joints=new Array(1024),this.m_positions=box2d.b2Position.MakeArray(1024),this.m_velocities=box2d.b2Velocity.MakeArray(1024)},box2d.b2Island.prototype.m_allocator=null,box2d.b2Island.prototype.m_listener=null,box2d.b2Island.prototype.m_bodies=null,box2d.b2Island.prototype.m_contacts=null,box2d.b2Island.prototype.m_joints=null,box2d.b2Island.prototype.m_positions=null,box2d.b2Island.prototype.m_velocities=null,box2d.b2Island.prototype.m_bodyCount=0,box2d.b2Island.prototype.m_jointCount=0,box2d.b2Island.prototype.m_contactCount=0,box2d.b2Island.prototype.m_bodyCapacity=0,box2d.b2Island.prototype.m_contactCapacity=0,box2d.b2Island.prototype.m_jointCapacity=0,box2d.b2Island.prototype.Initialize=function(a,b,c,d,e){for(this.m_bodyCapacity=a,this.m_contactCapacity=b,this.m_jointCapacity=c,this.m_bodyCount=0,this.m_contactCount=0,this.m_jointCount=0,this.m_allocator=d,this.m_listener=e;this.m_bodies.lengthbox2d.b2_maxTranslationSquared){var r=box2d.b2_maxTranslation/q.GetLength();k.SelfMul(r)}var s=f*l;if(s*s>box2d.b2_maxRotationSquared){var r=box2d.b2_maxRotation/box2d.b2Abs(s);l*=r}i.x+=f*k.x,i.y+=f*k.y,j+=f*l,this.m_positions[g].a=j,this.m_velocities[g].w=l}e.Reset();for(var t=!1,g=0;gA||box2d.b2DotVV(h.m_linearVelocity,h.m_linearVelocity)>z?(h.m_sleepTime=0,y=0):(h.m_sleepTime+=f,y=box2d.b2Min(y,h.m_sleepTime)))}if(y>=box2d.b2_timeToSleep&&t)for(var g=0;gbox2d.b2_maxTranslationSquared){var o=box2d.b2_maxTranslation/n.GetLength();l.SelfMul(o)}var p=i*m;if(p*p>box2d.b2_maxRotationSquared){var o=box2d.b2_maxRotation/box2d.b2Abs(p);m*=o}j.SelfMulAdd(i,l),k+=i*m,this.m_positions[d].a=k,this.m_velocities[d].w=m;var q=this.m_bodies[d];q.m_sweep.c.Copy(j),q.m_sweep.a=k,q.m_linearVelocity.Copy(l),q.m_angularVelocity=m,q.SynchronizeTransform()}this.Report(g.m_velocityConstraints)},box2d.b2Island.prototype.Report=function(a){if(null!==this.m_listener)for(var b=0;b0?e.pop():a(b)},g=function(a){e.push(a)};this.m_registers[c][d].pool=e,this.m_registers[c][d].createFcn=f,this.m_registers[c][d].destroyFcn=g,this.m_registers[c][d].primary=!0,c!==d&&(this.m_registers[d][c].pool=e,this.m_registers[d][c].createFcn=f,this.m_registers[d][c].destroyFcn=g,this.m_registers[d][c].primary=!1)},box2d.b2ContactFactory.prototype.InitializeRegisters=function(){this.m_registers=new Array(box2d.b2ShapeType.e_shapeTypeCount);for(var a=0;a=0&&e=0&&f0&&b.IsSensor()===!1&&c.IsSensor()===!1&&(b.GetBody().SetAwake(!0),c.GetBody().SetAwake(!0));var d=b.GetType(),e=c.GetType();box2d.ENABLE_ASSERTS&&box2d.b2Assert(d>=0&&e=0&&e0),--this.m_count;var a=this.m_stack[this.m_count];return this.m_stack[this.m_count]=null,a},box2d.b2GrowableStack.prototype.GetCount=function(){return this.m_count},goog.provide("box2d.b2DynamicTree"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Collision"),goog.require("box2d.b2GrowableStack"),box2d.b2TreeNode=function(a){this.m_id=a||0,this.aabb=new box2d.b2AABB},box2d.b2TreeNode.prototype.m_id=0,box2d.b2TreeNode.prototype.aabb=null,box2d.b2TreeNode.prototype.userData=null,box2d.b2TreeNode.prototype.parent=null,box2d.b2TreeNode.prototype.child1=null,box2d.b2TreeNode.prototype.child2=null,box2d.b2TreeNode.prototype.height=0,box2d.b2TreeNode.prototype.IsLeaf=function(){return null===this.child1},box2d.b2DynamicTree=function(){},box2d.b2DynamicTree.prototype.m_root=null,box2d.b2DynamicTree.prototype.m_freeList=null,box2d.b2DynamicTree.prototype.m_path=0,box2d.b2DynamicTree.prototype.m_insertionCount=0,box2d.b2DynamicTree.s_stack=new box2d.b2GrowableStack(256),box2d.b2DynamicTree.s_r=new box2d.b2Vec2,box2d.b2DynamicTree.s_v=new box2d.b2Vec2,box2d.b2DynamicTree.s_abs_v=new box2d.b2Vec2,box2d.b2DynamicTree.s_segmentAABB=new box2d.b2AABB,box2d.b2DynamicTree.s_subInput=new box2d.b2RayCastInput,box2d.b2DynamicTree.s_combinedAABB=new box2d.b2AABB,box2d.b2DynamicTree.s_aabb=new box2d.b2AABB,box2d.b2DynamicTree.prototype.GetUserData=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==a),a.userData},box2d.b2DynamicTree.prototype.GetFatAABB=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==a),a.aabb},box2d.b2DynamicTree.prototype.Query=function(a,b){if(null!==this.m_root){var c=box2d.b2DynamicTree.s_stack.Reset();for(c.Push(this.m_root);c.GetCount()>0;){var d=c.Pop();if(null!==d&&d.aabb.TestOverlap(b))if(d.IsLeaf()){var e=a(d);if(e===!1)return}else c.Push(d.child1),c.Push(d.child2)}}},box2d.b2DynamicTree.prototype.RayCast=function(a,b){if(null!==this.m_root){var c=b.p1,d=b.p2,e=box2d.b2SubVV(d,c,box2d.b2DynamicTree.s_r);box2d.ENABLE_ASSERTS&&box2d.b2Assert(e.GetLengthSquared()>0),e.Normalize();var f=box2d.b2CrossOneV(e,box2d.b2DynamicTree.s_v),g=box2d.b2AbsV(f,box2d.b2DynamicTree.s_abs_v),h=b.maxFraction,i=box2d.b2DynamicTree.s_segmentAABB,j=c.x+h*(d.x-c.x),k=c.y+h*(d.y-c.y);i.lowerBound.x=box2d.b2Min(c.x,j),i.lowerBound.y=box2d.b2Min(c.y,k),i.upperBound.x=box2d.b2Max(c.x,j),i.upperBound.y=box2d.b2Max(c.y,k);var l=box2d.b2DynamicTree.s_stack.Reset();for(l.Push(this.m_root);l.GetCount()>0;){var m=l.Pop();if(null!==m&&box2d.b2TestOverlapAABB(m.aabb,i)!==!1){var n=m.aabb.GetCenter(),o=m.aabb.GetExtents(),p=box2d.b2Abs(box2d.b2DotVV(f,box2d.b2SubVV(c,n,box2d.b2Vec2.s_t0)))-box2d.b2DotVV(g,o);if(!(p>0))if(m.IsLeaf()){var q=box2d.b2DynamicTree.s_subInput;q.p1.Copy(b.p1),q.p2.Copy(b.p2),q.maxFraction=h;var r=a(q,m);if(0===r)return;r>0&&(h=r,j=c.x+h*(d.x-c.x),k=c.y+h*(d.y-c.y),i.lowerBound.x=box2d.b2Min(c.x,j),i.lowerBound.y=box2d.b2Min(c.y,k),i.upperBound.x=box2d.b2Max(c.x,j),i.upperBound.y=box2d.b2Max(c.y,k))}else l.Push(m.child1),l.Push(m.child2)}}}},box2d.b2DynamicTree.prototype.AllocateNode=function(){if(this.m_freeList){var a=this.m_freeList;return this.m_freeList=a.parent,a.parent=null,a.child1=null,a.child2=null,a.height=0,a.userData=null,a}return new box2d.b2TreeNode(box2d.b2DynamicTree.prototype.s_node_id++)},box2d.b2DynamicTree.prototype.s_node_id=0,box2d.b2DynamicTree.prototype.FreeNode=function(a){a.parent=this.m_freeList,a.height=-1,this.m_freeList=a},box2d.b2DynamicTree.prototype.CreateProxy=function(a,b){var c=this.AllocateNode(),d=box2d.b2_aabbExtension,e=box2d.b2_aabbExtension;return c.aabb.lowerBound.x=a.lowerBound.x-d,c.aabb.lowerBound.y=a.lowerBound.y-e,c.aabb.upperBound.x=a.upperBound.x+d,c.aabb.upperBound.y=a.upperBound.y+e,c.userData=b,c.height=0,this.InsertLeaf(c),c},box2d.b2DynamicTree.prototype.DestroyProxy=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.IsLeaf()),this.RemoveLeaf(a),this.FreeNode(a)},box2d.b2DynamicTree.prototype.MoveProxy=function(a,b,c){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.IsLeaf()),a.aabb.Contains(b))return!1;this.RemoveLeaf(a);var d=box2d.b2_aabbExtension+box2d.b2_aabbMultiplier*(c.x>0?c.x:-c.x),e=box2d.b2_aabbExtension+box2d.b2_aabbMultiplier*(c.y>0?c.y:-c.y);return a.aabb.lowerBound.x=b.lowerBound.x-d,a.aabb.lowerBound.y=b.lowerBound.y-e,a.aabb.upperBound.x=b.upperBound.x+d,a.aabb.upperBound.y=b.upperBound.y+e,this.InsertLeaf(a),!0},box2d.b2DynamicTree.prototype.InsertLeaf=function(a){if(++this.m_insertionCount,null===this.m_root)return this.m_root=a,void(this.m_root.parent=null);for(var b,c,d=a.aabb,e=(d.GetCenter(),this.m_root);e.IsLeaf()===!1;){b=e.child1,c=e.child2;var f=e.aabb.GetPerimeter(),g=box2d.b2DynamicTree.s_combinedAABB;g.Combine2(e.aabb,d);var h,i,j,k=g.GetPerimeter(),l=2*k,m=2*(k-f),n=box2d.b2DynamicTree.s_aabb;b.IsLeaf()?(n.Combine2(d,b.aabb),h=n.GetPerimeter()+m):(n.Combine2(d,b.aabb),i=b.aabb.GetPerimeter(),j=n.GetPerimeter(),h=j-i+m);var o;if(c.IsLeaf()?(n.Combine2(d,c.aabb),o=n.GetPerimeter()+m):(n.Combine2(d,c.aabb),i=c.aabb.GetPerimeter(),j=n.GetPerimeter(),o=j-i+m),h>l&&o>l)break;e=o>h?b:c}var p=e,q=p.parent,r=this.AllocateNode();for(r.parent=q,r.userData=null,r.aabb.Combine2(d,p.aabb),r.height=p.height+1,q?(q.child1===p?q.child1=r:q.child2=r,r.child1=p,r.child2=a,p.parent=r,a.parent=r):(r.child1=p,r.child2=a,p.parent=r,a.parent=r,this.m_root=r),e=a.parent;null!==e;)e=this.Balance(e),b=e.child1,c=e.child2,box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==b),box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==c),e.height=1+box2d.b2Max(b.height,c.height),e.aabb.Combine2(b.aabb,c.aabb),e=e.parent},box2d.b2DynamicTree.prototype.RemoveLeaf=function(a){if(a===this.m_root)return void(this.m_root=null);var b,c=a.parent,d=c.parent;if(b=c.child1===a?c.child2:c.child1,d){d.child1===c?d.child1=b:d.child2=b,b.parent=d,this.FreeNode(c);for(var e=d;e;){e=this.Balance(e);var f=e.child1,g=e.child2;e.aabb.Combine2(f.aabb,g.aabb),e.height=1+box2d.b2Max(f.height,g.height),e=e.parent}}else this.m_root=b,b.parent=null,this.FreeNode(c)},box2d.b2DynamicTree.prototype.Balance=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(null!==a),a.IsLeaf()||a.height<2)return a;var b=a.child1,c=a.child2,d=c.height-b.height;if(d>1){var e=c.child1,f=c.child2;return c.child1=a,c.parent=a.parent,a.parent=c,null!==c.parent?c.parent.child1===a?c.parent.child1=c:(box2d.ENABLE_ASSERTS&&box2d.b2Assert(c.parent.child2===a),c.parent.child2=c):this.m_root=c,e.height>f.height?(c.child2=e,a.child2=f,f.parent=a,a.aabb.Combine2(b.aabb,f.aabb),c.aabb.Combine2(a.aabb,e.aabb),a.height=1+box2d.b2Max(b.height,f.height),c.height=1+box2d.b2Max(a.height,e.height)):(c.child2=f,a.child2=e,e.parent=a,a.aabb.Combine2(b.aabb,e.aabb),c.aabb.Combine2(a.aabb,f.aabb),a.height=1+box2d.b2Max(b.height,e.height),c.height=1+box2d.b2Max(a.height,f.height)),c}if(-1>d){var g=b.child1,h=b.child2;return b.child1=a,b.parent=a.parent,a.parent=b,null!==b.parent?b.parent.child1===a?b.parent.child1=b:(box2d.ENABLE_ASSERTS&&box2d.b2Assert(b.parent.child2===a),b.parent.child2=b):this.m_root=b,g.height>h.height?(b.child2=g,a.child1=h,h.parent=a,a.aabb.Combine2(c.aabb,h.aabb),b.aabb.Combine2(a.aabb,g.aabb),a.height=1+box2d.b2Max(c.height,h.height),b.height=1+box2d.b2Max(a.height,g.height)):(b.child2=h,a.child1=g,g.parent=a,a.aabb.Combine2(c.aabb,g.aabb),b.aabb.Combine2(a.aabb,h.aabb),a.height=1+box2d.b2Max(c.height,g.height),b.height=1+box2d.b2Max(a.height,h.height)),b}return a},box2d.b2DynamicTree.prototype.GetHeight=function(){return null===this.m_root?0:this.m_root.height},box2d.b2DynamicTree.prototype.GetAreaRatio=function(){if(null===this.m_root)return 0;var a=this.m_root,b=a.aabb.GetPerimeter(),c=function(a){if(null===a)return 0;if(a.IsLeaf())return 0;var b=a.aabb.GetPerimeter();return b+=c(a.child1),b+=c(a.child2)},d=c(this.m_root);return d/b},box2d.b2DynamicTree.prototype.ComputeHeightNode=function(a){if(a.IsLeaf())return 0;var b=this.ComputeHeightNode(a.child1),c=this.ComputeHeightNode(a.child2);return 1+box2d.b2Max(b,c)},box2d.b2DynamicTree.prototype.ComputeHeight=function(){var a=this.ComputeHeightNode(this.m_root);return a},box2d.b2DynamicTree.prototype.ValidateStructure=function(a){if(null!==a){a===this.m_root&&box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===a.parent);var b=a,c=b.child1,d=b.child2;if(b.IsLeaf())return box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===c),box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===d),void(box2d.ENABLE_ASSERTS&&box2d.b2Assert(0===b.height));box2d.ENABLE_ASSERTS&&box2d.b2Assert(c.parent===a),box2d.ENABLE_ASSERTS&&box2d.b2Assert(d.parent===a),this.ValidateStructure(c),this.ValidateStructure(d)}},box2d.b2DynamicTree.prototype.ValidateMetrics=function(a){if(null!==a){var b=a,c=b.child1,d=b.child2;if(b.IsLeaf())return box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===c),box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===d),void(box2d.ENABLE_ASSERTS&&box2d.b2Assert(0===b.height));var e,f=c.height,g=d.height;e=1+box2d.b2Max(f,g),box2d.ENABLE_ASSERTS&&box2d.b2Assert(b.height===e);var h=box2d.b2DynamicTree.s_aabb;h.Combine2(c.aabb,d.aabb),box2d.ENABLE_ASSERTS&&box2d.b2Assert(h.lowerBound===b.aabb.lowerBound),box2d.ENABLE_ASSERTS&&box2d.b2Assert(h.upperBound===b.aabb.upperBound),this.ValidateMetrics(c),this.ValidateMetrics(d)}},box2d.b2DynamicTree.prototype.Validate=function(){this.ValidateStructure(this.m_root),this.ValidateMetrics(this.m_root);for(var a=0,b=this.m_freeList;null!==b;)b=b.parent,++a;box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.GetHeight()===this.ComputeHeight())},box2d.b2DynamicTree.prototype.GetMaxBalance=function(){var a=function(a,b){if(null===a)return b;if(a.height<=1)return b;box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.IsLeaf()===!1);var c=a.child1,d=a.child2,e=box2d.b2Abs(d.height-c.height);return box2d.b2Max(b,e)},b=a(this.m_root,0);return b},box2d.b2DynamicTree.prototype.RebuildBottomUp=function(){this.Validate()},box2d.b2DynamicTree.prototype.ShiftOrigin=function(a){var b=function(a,c){if(null!==a&&!(a.height<=1)){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.IsLeaf()===!1);var d=a.child1,e=a.child2;b(d,c),b(e,c),a.aabb.lowerBound.SelfSub(c),a.aabb.upperBound.SelfSub(c)}};b(this.m_root,a)},goog.provide("box2d.b2BroadPhase"),goog.require("box2d.b2Settings"),goog.require("box2d.b2DynamicTree"),box2d.b2Pair=function(){},box2d.b2Pair.prototype.proxyA=null,box2d.b2Pair.prototype.proxyB=null,box2d.b2BroadPhase=function(){this.m_tree=new box2d.b2DynamicTree,this.m_moveBuffer=new Array,this.m_pairBuffer=new Array},box2d.b2BroadPhase.prototype.m_tree=null,box2d.b2BroadPhase.prototype.m_proxyCount=0,box2d.b2BroadPhase.prototype.m_moveCount=0,box2d.b2BroadPhase.prototype.m_moveBuffer=null,box2d.b2BroadPhase.prototype.m_pairCount=0,box2d.b2BroadPhase.prototype.m_pairBuffer=null,box2d.b2BroadPhase.prototype.CreateProxy=function(a,b){var c=this.m_tree.CreateProxy(a,b);return++this.m_proxyCount,this.BufferMove(c),c},box2d.b2BroadPhase.prototype.DestroyProxy=function(a){this.UnBufferMove(a),--this.m_proxyCount,this.m_tree.DestroyProxy(a)},box2d.b2BroadPhase.prototype.MoveProxy=function(a,b,c){var d=this.m_tree.MoveProxy(a,b,c);d&&this.BufferMove(a)},box2d.b2BroadPhase.prototype.TouchProxy=function(a){this.BufferMove(a)},box2d.b2BroadPhase.prototype.GetFatAABB=function(a){return this.m_tree.GetFatAABB(a)},box2d.b2BroadPhase.prototype.GetUserData=function(a){return this.m_tree.GetUserData(a)},box2d.b2BroadPhase.prototype.TestOverlap=function(a,b){var c=this.m_tree.GetFatAABB(a),d=this.m_tree.GetFatAABB(b);return box2d.b2TestOverlapAABB(c,d)},box2d.b2BroadPhase.prototype.GetProxyCount=function(){return this.m_proxyCount},box2d.b2BroadPhase.prototype.GetTreeHeight=function(){return this.m_tree.GetHeight()},box2d.b2BroadPhase.prototype.GetTreeBalance=function(){return this.m_tree.GetMaxBalance()},box2d.b2BroadPhase.prototype.GetTreeQuality=function(){return this.m_tree.GetAreaRatio()},box2d.b2BroadPhase.prototype.ShiftOrigin=function(a){this.m_tree.ShiftOrigin(a)},box2d.b2BroadPhase.prototype.UpdatePairs=function(a){this.m_pairCount=0;for(var b=0;bd?"rgba("+a+","+b+","+c+","+d+")":"rgb("+a+","+b+","+c+")"},box2d.b2Color.RED=new box2d.b2Color(1,0,0),box2d.b2Color.GREEN=new box2d.b2Color(0,1,0),box2d.b2Color.BLUE=new box2d.b2Color(0,0,1),box2d.b2DrawFlags={e_none:0,e_shapeBit:1,e_jointBit:2,e_aabbBit:4,e_pairBit:8,e_centerOfMassBit:16,e_controllerBit:32,e_all:63},goog.exportProperty(box2d.b2DrawFlags,"e_none",box2d.b2DrawFlags.e_none),goog.exportProperty(box2d.b2DrawFlags,"e_shapeBit",box2d.b2DrawFlags.e_shapeBit),goog.exportProperty(box2d.b2DrawFlags,"e_jointBit",box2d.b2DrawFlags.e_jointBit),goog.exportProperty(box2d.b2DrawFlags,"e_aabbBit",box2d.b2DrawFlags.e_aabbBit),goog.exportProperty(box2d.b2DrawFlags,"e_pairBit",box2d.b2DrawFlags.e_pairBit),goog.exportProperty(box2d.b2DrawFlags,"e_centerOfMassBit",box2d.b2DrawFlags.e_centerOfMassBit),goog.exportProperty(box2d.b2DrawFlags,"e_controllerBit",box2d.b2DrawFlags.e_controllerBit),goog.exportProperty(box2d.b2DrawFlags,"e_all",box2d.b2DrawFlags.e_all),box2d.b2Draw=function(){},box2d.b2Draw.prototype.m_drawFlags=box2d.b2DrawFlags.e_none,box2d.b2Draw.prototype.SetFlags=function(a){this.m_drawFlags=a},box2d.b2Draw.prototype.GetFlags=function(){return this.m_drawFlags},box2d.b2Draw.prototype.AppendFlags=function(a){this.m_drawFlags|=a},box2d.b2Draw.prototype.ClearFlags=function(a){this.m_drawFlags&=~a},box2d.b2Draw.prototype.PushTransform=function(){},box2d.b2Draw.prototype.PopTransform=function(){},box2d.b2Draw.prototype.DrawPolygon=function(){},box2d.b2Draw.prototype.DrawSolidPolygon=function(){},box2d.b2Draw.prototype.DrawCircle=function(){},box2d.b2Draw.prototype.DrawSolidCircle=function(){},box2d.b2Draw.prototype.DrawSegment=function(){},box2d.b2Draw.prototype.DrawTransform=function(){},goog.provide("box2d.b2Fixture"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Collision"),goog.require("box2d.b2Shape"),box2d.b2Filter=function(){},box2d.b2Filter.prototype.categoryBits=1,box2d.b2Filter.prototype.maskBits=65535,box2d.b2Filter.prototype.groupIndex=0,box2d.b2Filter.prototype.Clone=function(){return(new box2d.b2Filter).Copy(this)},box2d.b2Filter.prototype.Copy=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(this!==a),this.categoryBits=a.categoryBits,this.maskBits=a.maskBits,this.groupIndex=a.groupIndex,this},box2d.b2FixtureDef=function(){this.filter=new box2d.b2Filter},box2d.b2FixtureDef.prototype.shape=null,box2d.b2FixtureDef.prototype.userData=null,box2d.b2FixtureDef.prototype.friction=.2,box2d.b2FixtureDef.prototype.restitution=0,box2d.b2FixtureDef.prototype.density=0,box2d.b2FixtureDef.prototype.isSensor=!1,box2d.b2FixtureDef.prototype.filter=null,box2d.b2FixtureProxy=function(){this.aabb=new box2d.b2AABB},box2d.b2FixtureProxy.prototype.aabb=null,box2d.b2FixtureProxy.prototype.fixture=null,box2d.b2FixtureProxy.prototype.childIndex=0,box2d.b2FixtureProxy.prototype.proxy=null,box2d.b2FixtureProxy.MakeArray=function(a){return box2d.b2MakeArray(a,function(){return new box2d.b2FixtureProxy})},box2d.b2Fixture=function(){this.m_proxyCount=0,this.m_filter=new box2d.b2Filter},box2d.b2Fixture.prototype.m_density=0,box2d.b2Fixture.prototype.m_next=null,box2d.b2Fixture.prototype.m_body=null,box2d.b2Fixture.prototype.m_shape=null,box2d.b2Fixture.prototype.m_friction=0,box2d.b2Fixture.prototype.m_restitution=0,box2d.b2Fixture.prototype.m_proxies=null,box2d.b2Fixture.prototype.m_proxyCount=0,box2d.b2Fixture.prototype.m_filter=null,box2d.b2Fixture.prototype.m_isSensor=!1,box2d.b2Fixture.prototype.m_userData=null,box2d.b2Fixture.prototype.GetType=function(){return this.m_shape.GetType()},box2d.b2Fixture.prototype.GetShape=function(){return this.m_shape},box2d.b2Fixture.prototype.IsSensor=function(){return this.m_isSensor},box2d.b2Fixture.prototype.GetFilterData=function(){return this.m_filter},box2d.b2Fixture.prototype.GetUserData=function(){return this.m_userData},box2d.b2Fixture.prototype.SetUserData=function(a){this.m_userData=a},box2d.b2Fixture.prototype.GetBody=function(){return this.m_body},box2d.b2Fixture.prototype.GetNext=function(){return this.m_next},box2d.b2Fixture.prototype.SetDensity=function(a){this.m_density=a},box2d.b2Fixture.prototype.GetDensity=function(){return this.m_density},box2d.b2Fixture.prototype.GetFriction=function(){return this.m_friction},box2d.b2Fixture.prototype.SetFriction=function(a){this.m_friction=a},box2d.b2Fixture.prototype.GetRestitution=function(){return this.m_restitution},box2d.b2Fixture.prototype.SetRestitution=function(a){this.m_restitution=a},box2d.b2Fixture.prototype.TestPoint=function(a){return this.m_shape.TestPoint(this.m_body.GetTransform(),a)},box2d.b2Fixture.prototype.RayCast=function(a,b,c){return this.m_shape.RayCast(a,b,this.m_body.GetTransform(),c)},box2d.b2Fixture.prototype.GetMassData=function(a){return a=a||new box2d.b2MassData,this.m_shape.ComputeMass(a,this.m_density),a},box2d.b2Fixture.prototype.GetAABB=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(a>=0&&a=0),box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a.angularDamping)&&a.angularDamping>=0),box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a.linearDamping)&&a.linearDamping>=0),this.m_flags=box2d.b2BodyFlag.e_none,a.bullet&&(this.m_flags|=box2d.b2BodyFlag.e_bulletFlag),a.fixedRotation&&(this.m_flags|=box2d.b2BodyFlag.e_fixedRotationFlag),a.allowSleep&&(this.m_flags|=box2d.b2BodyFlag.e_autoSleepFlag),a.awake&&(this.m_flags|=box2d.b2BodyFlag.e_awakeFlag),a.active&&(this.m_flags|=box2d.b2BodyFlag.e_activeFlag),this.m_world=b,this.m_xf.p.Copy(a.position),this.m_xf.q.SetAngleRadians(a.angle),this.m_sweep.localCenter.SetZero(),this.m_sweep.c0.Copy(this.m_xf.p),this.m_sweep.c.Copy(this.m_xf.p),this.m_sweep.a0=a.angle,this.m_sweep.a=a.angle,this.m_sweep.alpha0=0,this.m_linearVelocity.Copy(a.linearVelocity),this.m_angularVelocity=a.angularVelocity,this.m_linearDamping=a.linearDamping,this.m_angularDamping=a.angularDamping,this.m_gravityScale=a.gravityScale,this.m_force.SetZero(),this.m_torque=0,this.m_sleepTime=0,this.m_type=a.type,a.type===box2d.b2BodyType.b2_dynamicBody?(this.m_mass=1,this.m_invMass=1):(this.m_mass=0,this.m_invMass=0),this.m_I=0,this.m_invI=0,this.m_userData=a.userData,this.m_fixtureList=null,this.m_fixtureCount=0,this.m_controllerList=null,this.m_controllerCount=0},box2d.b2Body.prototype.m_flags=box2d.b2BodyFlag.e_none,box2d.b2Body.prototype.m_islandIndex=0,box2d.b2Body.prototype.m_world=null,box2d.b2Body.prototype.m_xf=null,box2d.b2Body.prototype.m_out_xf=null,box2d.b2Body.prototype.m_sweep=null,box2d.b2Body.prototype.m_out_sweep=null,box2d.b2Body.prototype.m_jointList=null,box2d.b2Body.prototype.m_contactList=null,box2d.b2Body.prototype.m_prev=null,box2d.b2Body.prototype.m_next=null,box2d.b2Body.prototype.m_linearVelocity=null,box2d.b2Body.prototype.m_out_linearVelocity=null,box2d.b2Body.prototype.m_angularVelocity=0,box2d.b2Body.prototype.m_linearDamping=0,box2d.b2Body.prototype.m_angularDamping=0,box2d.b2Body.prototype.m_gravityScale=1,box2d.b2Body.prototype.m_force=null,box2d.b2Body.prototype.m_torque=0,box2d.b2Body.prototype.m_sleepTime=0,box2d.b2Body.prototype.m_type=box2d.b2BodyType.b2_staticBody,box2d.b2Body.prototype.m_mass=1,box2d.b2Body.prototype.m_invMass=1,box2d.b2Body.prototype.m_I=0,box2d.b2Body.prototype.m_invI=0,box2d.b2Body.prototype.m_userData=null,box2d.b2Body.prototype.m_fixtureList=null,box2d.b2Body.prototype.m_fixtureCount=0,box2d.b2Body.prototype.m_controllerList=null,box2d.b2Body.prototype.m_controllerCount=0,box2d.b2Body.prototype.CreateFixture=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),this.m_world.IsLocked()===!0)return null;var b=new box2d.b2Fixture;if(b.Create(this,a),this.m_flags&box2d.b2BodyFlag.e_activeFlag){var c=this.m_world.m_contactManager.m_broadPhase;b.CreateProxies(c,this.m_xf)}return b.m_next=this.m_fixtureList,this.m_fixtureList=b,++this.m_fixtureCount,b.m_body=this,b.m_density>0&&this.ResetMassData(),this.m_world.m_flags|=box2d.b2WorldFlag.e_newFixture,b},box2d.b2Body.prototype.CreateFixture2=function(a,b){void 0===b&&(b=0);var c=box2d.b2Body.prototype.CreateFixture2.s_def;return c.shape=a,c.density=b,this.CreateFixture(c)},box2d.b2Body.prototype.CreateFixture2.s_def=new box2d.b2FixtureDef,box2d.b2Body.prototype.DestroyFixture=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),this.m_world.IsLocked()!==!0){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.m_body===this),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_fixtureCount>0);for(var b=this.m_fixtureList,c=null,d=!1;null!==b;){if(b===a){c?c.m_next=a.m_next:this.m_fixtureList=a.m_next,d=!0;break}c=b,b=b.m_next}box2d.ENABLE_ASSERTS&&box2d.b2Assert(d);for(var e=this.m_contactList;e;){var f=e.contact;e=e.next;var g=f.GetFixtureA(),h=f.GetFixtureB();(a===g||a===h)&&this.m_world.m_contactManager.Destroy(f)}if(this.m_flags&box2d.b2BodyFlag.e_activeFlag){var i=this.m_world.m_contactManager.m_broadPhase;a.DestroyProxies(i)}a.Destroy(),a.m_body=null,a.m_next=null,--this.m_fixtureCount,this.ResetMassData()}},box2d.b2Body.prototype.SetTransformVecRadians=function(a,b){this.SetTransformXYRadians(a.x,a.y,b)},box2d.b2Body.prototype.SetTransformXYRadians=function(a,b,c){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),this.m_world.IsLocked()!==!0&&(this.m_xf.p.x!==a||this.m_xf.p.y!==b||this.m_xf.q.GetAngleRadians()!==c)){this.m_xf.q.SetAngleRadians(c),this.m_xf.p.SetXY(a,b),box2d.b2MulXV(this.m_xf,this.m_sweep.localCenter,this.m_sweep.c),this.m_sweep.a=c,this.m_sweep.c0.Copy(this.m_sweep.c),this.m_sweep.a0=c;for(var d=this.m_world.m_contactManager.m_broadPhase,e=this.m_fixtureList;e;e=e.m_next)e.Synchronize(d,this.m_xf,this.m_xf)}},box2d.b2Body.prototype.SetTransform=function(a){this.SetTransformVecRadians(a.p,a.GetAngleRadians())},box2d.b2Body.prototype.GetTransform=function(a){return a=a||this.m_out_xf,a.Copy(this.m_xf)},box2d.b2Body.prototype.GetPosition=function(a){return a=a||this.m_out_xf.p,a.Copy(this.m_xf.p)},box2d.b2Body.prototype.SetPosition=function(a){this.SetTransformVecRadians(a,this.GetAngleRadians())},box2d.b2Body.prototype.SetPositionXY=function(a,b){this.SetTransformXYRadians(a,b,this.GetAngleRadians())},box2d.b2Body.prototype.GetAngle=function(){return this.m_sweep.a},box2d.b2Body.prototype.GetAngleRadians=box2d.b2Body.prototype.GetAngle,box2d.b2Body.prototype.GetAngleDegrees=function(){return box2d.b2RadToDeg(this.GetAngle())},box2d.b2Body.prototype.SetAngle=function(a){this.SetTransformVecRadians(this.GetPosition(),a)},box2d.b2Body.prototype.SetAngleRadians=box2d.b2Body.prototype.SetAngle,box2d.b2Body.prototype.SetAngleDegrees=function(a){this.SetAngle(box2d.b2DegToRad(a))},box2d.b2Body.prototype.GetWorldCenter=function(a){return a=a||this.m_out_sweep.c,a.Copy(this.m_sweep.c)},box2d.b2Body.prototype.GetLocalCenter=function(a){return a=a||this.m_out_sweep.localCenter,a.Copy(this.m_sweep.localCenter)},box2d.b2Body.prototype.SetLinearVelocity=function(a){this.m_type!==box2d.b2BodyType.b2_staticBody&&(box2d.b2DotVV(a,a)>0&&this.SetAwake(!0),this.m_linearVelocity.Copy(a))},box2d.b2Body.prototype.GetLinearVelocity=function(a){return a=a||this.m_out_linearVelocity,a.Copy(this.m_linearVelocity)},box2d.b2Body.prototype.SetAngularVelocity=function(a){this.m_type!==box2d.b2BodyType.b2_staticBody&&(a*a>0&&this.SetAwake(!0),this.m_angularVelocity=a)},box2d.b2Body.prototype.GetAngularVelocity=function(){return this.m_angularVelocity},box2d.b2Body.prototype.GetDefinition=function(a){return a.type=this.GetType(),a.allowSleep=(this.m_flags&box2d.b2BodyFlag.e_autoSleepFlag)===box2d.b2BodyFlag.e_autoSleepFlag,a.angle=this.GetAngleRadians(),a.angularDamping=this.m_angularDamping,a.gravityScale=this.m_gravityScale,a.angularVelocity=this.m_angularVelocity,a.fixedRotation=(this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag)===box2d.b2BodyFlag.e_fixedRotationFlag,a.bullet=(this.m_flags&box2d.b2BodyFlag.e_bulletFlag)===box2d.b2BodyFlag.e_bulletFlag,a.awake=(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)===box2d.b2BodyFlag.e_awakeFlag,a.linearDamping=this.m_linearDamping,a.linearVelocity.Copy(this.GetLinearVelocity()),a.position.Copy(this.GetPosition()),a.userData=this.GetUserData(),a},box2d.b2Body.prototype.ApplyForce=function(a,b,c){c=c||!0,this.m_type===box2d.b2BodyType.b2_dynamicBody&&(c&&0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&this.SetAwake(!0),this.m_flags&box2d.b2BodyFlag.e_awakeFlag&&(this.m_force.x+=a.x,this.m_force.y+=a.y,this.m_torque+=(b.x-this.m_sweep.c.x)*a.y-(b.y-this.m_sweep.c.y)*a.x))},box2d.b2Body.prototype.ApplyForceToCenter=function(a,b){b=b||!0,this.m_type===box2d.b2BodyType.b2_dynamicBody&&(b&&0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&this.SetAwake(!0),this.m_flags&box2d.b2BodyFlag.e_awakeFlag&&(this.m_force.x+=a.x,this.m_force.y+=a.y))},box2d.b2Body.prototype.ApplyTorque=function(a,b){b=b||!0,this.m_type===box2d.b2BodyType.b2_dynamicBody&&(b&&0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&this.SetAwake(!0),this.m_flags&box2d.b2BodyFlag.e_awakeFlag&&(this.m_torque+=a))},box2d.b2Body.prototype.ApplyLinearImpulse=function(a,b,c){c=c||!0,this.m_type===box2d.b2BodyType.b2_dynamicBody&&(c&&0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&this.SetAwake(!0),this.m_flags&box2d.b2BodyFlag.e_awakeFlag&&(this.m_linearVelocity.x+=this.m_invMass*a.x,this.m_linearVelocity.y+=this.m_invMass*a.y,this.m_angularVelocity+=this.m_invI*((b.x-this.m_sweep.c.x)*a.y-(b.y-this.m_sweep.c.y)*a.x)))},box2d.b2Body.prototype.ApplyAngularImpulse=function(a,b){b=b||!0,this.m_type===box2d.b2BodyType.b2_dynamicBody&&(b&&0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&this.SetAwake(!0),this.m_flags&box2d.b2BodyFlag.e_awakeFlag&&(this.m_angularVelocity+=this.m_invI*a))},box2d.b2Body.prototype.GetMass=function(){return this.m_mass},box2d.b2Body.prototype.GetInertia=function(){return this.m_I+this.m_mass*box2d.b2DotVV(this.m_sweep.localCenter,this.m_sweep.localCenter)},box2d.b2Body.prototype.GetMassData=function(a){return a.mass=this.m_mass,a.I=this.m_I+this.m_mass*box2d.b2DotVV(this.m_sweep.localCenter,this.m_sweep.localCenter),a.center.Copy(this.m_sweep.localCenter),a},box2d.b2Body.prototype.SetMassData=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),this.m_world.IsLocked()!==!0&&this.m_type===box2d.b2BodyType.b2_dynamicBody){this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_mass=a.mass,this.m_mass<=0&&(this.m_mass=1),this.m_invMass=1/this.m_mass,a.I>0&&0===(this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag)&&(this.m_I=a.I-this.m_mass*box2d.b2DotVV(a.center,a.center),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_I>0),this.m_invI=1/this.m_I);var b=box2d.b2Body.prototype.SetMassData.s_oldCenter.Copy(this.m_sweep.c);this.m_sweep.localCenter.Copy(a.center),box2d.b2MulXV(this.m_xf,this.m_sweep.localCenter,this.m_sweep.c),this.m_sweep.c0.Copy(this.m_sweep.c),box2d.b2AddVCrossSV(this.m_linearVelocity,this.m_angularVelocity,box2d.b2SubVV(this.m_sweep.c,b,box2d.b2Vec2.s_t0),this.m_linearVelocity)}},box2d.b2Body.prototype.SetMassData.s_oldCenter=new box2d.b2Vec2,box2d.b2Body.prototype.ResetMassData=function(){if(this.m_mass=0,this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_sweep.localCenter.SetZero(),this.m_type===box2d.b2BodyType.b2_staticBody||this.m_type===box2d.b2BodyType.b2_kinematicBody)return this.m_sweep.c0.Copy(this.m_xf.p),this.m_sweep.c.Copy(this.m_xf.p),void(this.m_sweep.a0=this.m_sweep.a);box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_type===box2d.b2BodyType.b2_dynamicBody);for(var a=box2d.b2Body.prototype.ResetMassData.s_localCenter.SetZero(),b=this.m_fixtureList;b;b=b.m_next)if(0!==b.m_density){var c=b.GetMassData(box2d.b2Body.prototype.ResetMassData.s_massData);this.m_mass+=c.mass,a.x+=c.center.x*c.mass,a.y+=c.center.y*c.mass,this.m_I+=c.I}this.m_mass>0?(this.m_invMass=1/this.m_mass,a.x*=this.m_invMass,a.y*=this.m_invMass):(this.m_mass=1,this.m_invMass=1),this.m_I>0&&0===(this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag)?(this.m_I-=this.m_mass*box2d.b2DotVV(a,a),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_I>0),this.m_invI=1/this.m_I):(this.m_I=0,this.m_invI=0);var d=box2d.b2Body.prototype.ResetMassData.s_oldCenter.Copy(this.m_sweep.c);this.m_sweep.localCenter.Copy(a),box2d.b2MulXV(this.m_xf,this.m_sweep.localCenter,this.m_sweep.c),this.m_sweep.c0.Copy(this.m_sweep.c),box2d.b2AddVCrossSV(this.m_linearVelocity,this.m_angularVelocity,box2d.b2SubVV(this.m_sweep.c,d,box2d.b2Vec2.s_t0),this.m_linearVelocity)},box2d.b2Body.prototype.ResetMassData.s_localCenter=new box2d.b2Vec2,box2d.b2Body.prototype.ResetMassData.s_oldCenter=new box2d.b2Vec2,box2d.b2Body.prototype.ResetMassData.s_massData=new box2d.b2MassData,box2d.b2Body.prototype.GetWorldPoint=function(a,b){return box2d.b2MulXV(this.m_xf,a,b)},box2d.b2Body.prototype.GetWorldVector=function(a,b){return box2d.b2MulRV(this.m_xf.q,a,b)},box2d.b2Body.prototype.GetLocalPoint=function(a,b){return box2d.b2MulTXV(this.m_xf,a,b)},box2d.b2Body.prototype.GetLocalVector=function(a,b){return box2d.b2MulTRV(this.m_xf.q,a,b)},box2d.b2Body.prototype.GetLinearVelocityFromWorldPoint=function(a,b){return box2d.b2AddVCrossSV(this.m_linearVelocity,this.m_angularVelocity,box2d.b2SubVV(a,this.m_sweep.c,box2d.b2Vec2.s_t0),b)},box2d.b2Body.prototype.GetLinearVelocityFromLocalPoint=function(a,b){return this.GetLinearVelocityFromWorldPoint(this.GetWorldPoint(a,b),b)},box2d.b2Body.prototype.GetLinearDamping=function(){return this.m_linearDamping},box2d.b2Body.prototype.SetLinearDamping=function(a){this.m_linearDamping=a},box2d.b2Body.prototype.GetAngularDamping=function(){return this.m_angularDamping},box2d.b2Body.prototype.SetAngularDamping=function(a){this.m_angularDamping=a},box2d.b2Body.prototype.GetGravityScale=function(){return this.m_gravityScale},box2d.b2Body.prototype.SetGravityScale=function(a){this.m_gravityScale=a},box2d.b2Body.prototype.SetType=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),this.m_world.IsLocked()!==!0&&this.m_type!==a){this.m_type=a,this.ResetMassData(),this.m_type===box2d.b2BodyType.b2_staticBody&&(this.m_linearVelocity.SetZero(),this.m_angularVelocity=0,this.m_sweep.a0=this.m_sweep.a,this.m_sweep.c0.Copy(this.m_sweep.c),this.SynchronizeFixtures()),this.SetAwake(!0),this.m_force.SetZero(),this.m_torque=0;for(var b=this.m_contactList;b;){var c=b;b=b.next,this.m_world.m_contactManager.Destroy(c.contact)}this.m_contactList=null;for(var d=this.m_world.m_contactManager.m_broadPhase,e=this.m_fixtureList;e;e=e.m_next)for(var f=e.m_proxyCount,g=0;f>g;++g)d.TouchProxy(e.m_proxies[g].proxy)}},box2d.b2Body.prototype.GetType=function(){return this.m_type},box2d.b2Body.prototype.SetBullet=function(a){a?this.m_flags|=box2d.b2BodyFlag.e_bulletFlag:this.m_flags&=~box2d.b2BodyFlag.e_bulletFlag},box2d.b2Body.prototype.IsBullet=function(){return(this.m_flags&box2d.b2BodyFlag.e_bulletFlag)===box2d.b2BodyFlag.e_bulletFlag},box2d.b2Body.prototype.SetSleepingAllowed=function(a){a?this.m_flags|=box2d.b2BodyFlag.e_autoSleepFlag:(this.m_flags&=~box2d.b2BodyFlag.e_autoSleepFlag,this.SetAwake(!0))},box2d.b2Body.prototype.IsSleepingAllowed=function(){return(this.m_flags&box2d.b2BodyFlag.e_autoSleepFlag)===box2d.b2BodyFlag.e_autoSleepFlag},box2d.b2Body.prototype.SetAwake=function(a){a?0===(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)&&(this.m_flags|=box2d.b2BodyFlag.e_awakeFlag,this.m_sleepTime=0):(this.m_flags&=~box2d.b2BodyFlag.e_awakeFlag,this.m_sleepTime=0,this.m_linearVelocity.SetZero(),this.m_angularVelocity=0,this.m_force.SetZero(),this.m_torque=0)},box2d.b2Body.prototype.IsAwake=function(){return(this.m_flags&box2d.b2BodyFlag.e_awakeFlag)===box2d.b2BodyFlag.e_awakeFlag},box2d.b2Body.prototype.SetActive=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_world.IsLocked()===!1),a!==this.IsActive())if(a){this.m_flags|=box2d.b2BodyFlag.e_activeFlag;for(var b=this.m_world.m_contactManager.m_broadPhase,c=this.m_fixtureList;c;c=c.m_next)c.CreateProxies(b,this.m_xf)}else{this.m_flags&=~box2d.b2BodyFlag.e_activeFlag;for(var b=this.m_world.m_contactManager.m_broadPhase,c=this.m_fixtureList;c;c=c.m_next)c.DestroyProxies(b);for(var d=this.m_contactList;d;){var e=d;d=d.next,this.m_world.m_contactManager.Destroy(e.contact)}this.m_contactList=null}},box2d.b2Body.prototype.IsActive=function(){return(this.m_flags&box2d.b2BodyFlag.e_activeFlag)===box2d.b2BodyFlag.e_activeFlag},box2d.b2Body.prototype.SetFixedRotation=function(a){var b=(this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag)===box2d.b2BodyFlag.e_fixedRotationFlag;b!==a&&(a?this.m_flags|=box2d.b2BodyFlag.e_fixedRotationFlag:this.m_flags&=~box2d.b2BodyFlag.e_fixedRotationFlag,this.m_angularVelocity=0,this.ResetMassData())},box2d.b2Body.prototype.IsFixedRotation=function(){return(this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag)===box2d.b2BodyFlag.e_fixedRotationFlag},box2d.b2Body.prototype.GetFixtureList=function(){return this.m_fixtureList},box2d.b2Body.prototype.GetJointList=function(){return this.m_jointList},box2d.b2Body.prototype.GetContactList=function(){return this.m_contactList},box2d.b2Body.prototype.GetNext=function(){return this.m_next},box2d.b2Body.prototype.GetUserData=function(){return this.m_userData},box2d.b2Body.prototype.SetUserData=function(a){this.m_userData=a},box2d.b2Body.prototype.GetWorld=function(){return this.m_world},box2d.b2Body.prototype.SynchronizeFixtures=function(){var a=box2d.b2Body.prototype.SynchronizeFixtures.s_xf1;a.q.SetAngleRadians(this.m_sweep.a0),box2d.b2MulRV(a.q,this.m_sweep.localCenter,a.p),box2d.b2SubVV(this.m_sweep.c0,a.p,a.p);for(var b=this.m_world.m_contactManager.m_broadPhase,c=this.m_fixtureList;c;c=c.m_next)c.Synchronize(b,a,this.m_xf)},box2d.b2Body.prototype.SynchronizeFixtures.s_xf1=new box2d.b2Transform,box2d.b2Body.prototype.SynchronizeTransform=function(){this.m_xf.q.SetAngleRadians(this.m_sweep.a),box2d.b2MulRV(this.m_xf.q,this.m_sweep.localCenter,this.m_xf.p),box2d.b2SubVV(this.m_sweep.c,this.m_xf.p,this.m_xf.p)},box2d.b2Body.prototype.ShouldCollide=function(a){if(this.m_type!==box2d.b2BodyType.b2_dynamicBody&&a.m_type!==box2d.b2BodyType.b2_dynamicBody)return!1;for(var b=this.m_jointList;b;b=b.next)if(b.other===a&&b.joint.m_collideConnected===!1)return!1;return!0},box2d.b2Body.prototype.Advance=function(a){this.m_sweep.Advance(a),this.m_sweep.c.Copy(this.m_sweep.c0),this.m_sweep.a=this.m_sweep.a0,this.m_xf.q.SetAngleRadians(this.m_sweep.a),box2d.b2MulRV(this.m_xf.q,this.m_sweep.localCenter,this.m_xf.p),box2d.b2SubVV(this.m_sweep.c,this.m_xf.p,this.m_xf.p)},box2d.b2Body.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_islandIndex;box2d.b2Log("if (true)\n"),box2d.b2Log("{\n"),box2d.b2Log(" /*box2d.b2BodyDef*/ var bd = new box2d.b2BodyDef();\n");var b="";switch(this.m_type){case box2d.b2BodyType.b2_staticBody:b="box2d.b2BodyType.b2_staticBody";break;case box2d.b2BodyType.b2_kinematicBody:b="box2d.b2BodyType.b2_kinematicBody";break;case box2d.b2BodyType.b2_dynamicBody:b="box2d.b2BodyType.b2_dynamicBody";break;default:box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1)}box2d.b2Log(" bd.type = %s;\n",b),box2d.b2Log(" bd.position.SetXY(%.15f, %.15f);\n",this.m_xf.p.x,this.m_xf.p.y),box2d.b2Log(" bd.angle = %.15f;\n",this.m_sweep.a),box2d.b2Log(" bd.linearVelocity.SetXY(%.15f, %.15f);\n",this.m_linearVelocity.x,this.m_linearVelocity.y),box2d.b2Log(" bd.angularVelocity = %.15f;\n",this.m_angularVelocity),box2d.b2Log(" bd.linearDamping = %.15f;\n",this.m_linearDamping),box2d.b2Log(" bd.angularDamping = %.15f;\n",this.m_angularDamping),box2d.b2Log(" bd.allowSleep = %s;\n",this.m_flags&box2d.b2BodyFlag.e_autoSleepFlag?"true":"false"),box2d.b2Log(" bd.awake = %s;\n",this.m_flags&box2d.b2BodyFlag.e_awakeFlag?"true":"false"),box2d.b2Log(" bd.fixedRotation = %s;\n",this.m_flags&box2d.b2BodyFlag.e_fixedRotationFlag?"true":"false"),box2d.b2Log(" bd.bullet = %s;\n",this.m_flags&box2d.b2BodyFlag.e_bulletFlag?"true":"false"),box2d.b2Log(" bd.active = %s;\n",this.m_flags&box2d.b2BodyFlag.e_activeFlag?"true":"false"),box2d.b2Log(" bd.gravityScale = %.15f;\n",this.m_gravityScale),box2d.b2Log("\n"),box2d.b2Log(" bodies[%d] = this.m_world.CreateBody(bd);\n",this.m_islandIndex),box2d.b2Log("\n");for(var c=this.m_fixtureList;c;c=c.m_next)box2d.b2Log(" if (true)\n"),box2d.b2Log(" {\n"),c.Dump(a),box2d.b2Log(" }\n");box2d.b2Log("}\n")}},box2d.b2Body.prototype.GetControllerList=function(){return this.m_controllerList},box2d.b2Body.prototype.GetControllerCount=function(){return this.m_controllerCount},goog.provide("box2d.b2World"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Draw"),goog.require("box2d.b2ContactManager"),goog.require("box2d.b2ContactSolver"),goog.require("box2d.b2Island"),goog.require("box2d.b2Body"),goog.require("box2d.b2Math"),goog.require("box2d.b2Collision"),goog.require("box2d.b2TimeStep"),goog.require("box2d.b2WorldCallbacks"),goog.require("box2d.b2JointFactory"),box2d.b2WorldFlag={e_none:0,e_newFixture:1,e_locked:2,e_clearForces:4},goog.exportProperty(box2d.b2WorldFlag,"e_none",box2d.b2WorldFlag.e_none),goog.exportProperty(box2d.b2WorldFlag,"e_newFixture",box2d.b2WorldFlag.e_newFixture),goog.exportProperty(box2d.b2WorldFlag,"e_locked",box2d.b2WorldFlag.e_locked),goog.exportProperty(box2d.b2WorldFlag,"e_clearForces",box2d.b2WorldFlag.e_clearForces),box2d.b2World=function(a){this.m_flags=box2d.b2WorldFlag.e_clearForces,this.m_contactManager=new box2d.b2ContactManager,this.m_gravity=a.Clone(),this.m_out_gravity=new box2d.b2Vec2,this.m_allowSleep=!0,this.m_destructionListener=null,this.m_debugDraw=null,this.m_warmStarting=!0,this.m_continuousPhysics=!0,this.m_subStepping=!1,this.m_stepComplete=!0,this.m_profile=new box2d.b2Profile,this.m_island=new box2d.b2Island,this.s_stack=new Array},box2d.b2World.prototype.m_flags=box2d.b2WorldFlag.e_none,box2d.b2World.prototype.m_contactManager=null,box2d.b2World.prototype.m_bodyList=null,box2d.b2World.prototype.m_jointList=null,box2d.b2World.prototype.m_bodyCount=0,box2d.b2World.prototype.m_jointCount=0,box2d.b2World.prototype.m_gravity=null,box2d.b2World.prototype.m_out_gravity=null,box2d.b2World.prototype.m_allowSleep=!0,box2d.b2World.prototype.m_destructionListener=null,box2d.b2World.prototype.m_debugDraw=null,box2d.b2World.prototype.m_inv_dt0=0,box2d.b2World.prototype.m_warmStarting=!0,box2d.b2World.prototype.m_continuousPhysics=!0,box2d.b2World.prototype.m_subStepping=!1,box2d.b2World.prototype.m_stepComplete=!0,box2d.b2World.prototype.m_profile=null,box2d.b2World.prototype.m_island=null,box2d.b2World.prototype.s_stack=null,box2d.b2World.prototype.m_controllerList=null,box2d.b2World.prototype.m_controllerCount=0,box2d.b2World.prototype.SetAllowSleeping=function(a){if(a!==this.m_allowSleep&&(this.m_allowSleep=a,this.m_allowSleep===!1))for(var b=this.m_bodyList;b;b=b.m_next)b.SetAwake(!0)},box2d.b2World.prototype.GetAllowSleeping=function(){return this.m_allowSleep},box2d.b2World.prototype.SetWarmStarting=function(a){this.m_warmStarting=a},box2d.b2World.prototype.GetWarmStarting=function(){return this.m_warmStarting},box2d.b2World.prototype.SetContinuousPhysics=function(a){this.m_continuousPhysics=a},box2d.b2World.prototype.GetContinuousPhysics=function(){return this.m_continuousPhysics},box2d.b2World.prototype.SetSubStepping=function(a){this.m_subStepping=a},box2d.b2World.prototype.GetSubStepping=function(){return this.m_subStepping},box2d.b2World.prototype.GetBodyList=function(){return this.m_bodyList},box2d.b2World.prototype.GetJointList=function(){return this.m_jointList},box2d.b2World.prototype.GetContactList=function(){return this.m_contactManager.m_contactList},box2d.b2World.prototype.GetBodyCount=function(){return this.m_bodyCount},box2d.b2World.prototype.GetJointCount=function(){return this.m_jointCount},box2d.b2World.prototype.GetContactCount=function(){return this.m_contactManager.m_contactCount},box2d.b2World.prototype.SetGravity=function(a,b){if(b=b||!0,(this.m_gravity.x!==a.x||this.m_gravity.y!==a.y)&&(this.m_gravity.Copy(a),b))for(var c=this.m_bodyList;c;c=c.m_next)c.SetAwake(!0)},box2d.b2World.prototype.GetGravity=function(a){return a=a||this.m_out_gravity,a.Copy(this.m_gravity)},box2d.b2World.prototype.IsLocked=function(){return(this.m_flags&box2d.b2WorldFlag.e_locked)>0},box2d.b2World.prototype.SetAutoClearForces=function(a){a?this.m_flags|=box2d.b2WorldFlag.e_clearForces:this.m_flags&=~box2d.b2WorldFlag.e_clearForces},box2d.b2World.prototype.GetAutoClearForces=function(){return(this.m_flags&box2d.b2WorldFlag.e_clearForces)===box2d.b2WorldFlag.e_clearForces},box2d.b2World.prototype.GetContactManager=function(){return this.m_contactManager},box2d.b2World.prototype.GetProfile=function(){return this.m_profile},box2d.b2World.prototype.SetDestructionListener=function(a){this.m_destructionListener=a},box2d.b2World.prototype.SetContactFilter=function(a){this.m_contactManager.m_contactFilter=a},box2d.b2World.prototype.SetContactListener=function(a){this.m_contactManager.m_contactListener=a},box2d.b2World.prototype.SetDebugDraw=function(a){this.m_debugDraw=a},box2d.b2World.prototype.CreateBody=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.IsLocked()===!1),this.IsLocked())return null;var b=new box2d.b2Body(a,this);return b.m_prev=null,b.m_next=this.m_bodyList,this.m_bodyList&&(this.m_bodyList.m_prev=b),this.m_bodyList=b,++this.m_bodyCount,b},box2d.b2World.prototype.DestroyBody=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_bodyCount>0),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.IsLocked()===!1),!this.IsLocked()){for(var b=a.m_jointList;b;){var c=b;b=b.next,this.m_destructionListener&&this.m_destructionListener.SayGoodbyeJoint(c.joint),this.DestroyJoint(c.joint),a.m_jointList=b}a.m_jointList=null;for(var d=a.m_controllerList;d;){var e=d;d=d.nextController,e.controller.RemoveBody(a)}for(var f=a.m_contactList;f;){var g=f;f=f.next,this.m_contactManager.Destroy(g.contact)}a.m_contactList=null;for(var h=a.m_fixtureList;h;){var i=h;h=h.m_next,this.m_destructionListener&&this.m_destructionListener.SayGoodbyeFixture(i),i.DestroyProxies(this.m_contactManager.m_broadPhase),i.Destroy(),a.m_fixtureList=h,a.m_fixtureCount-=1}a.m_fixtureList=null,a.m_fixtureCount=0,a.m_prev&&(a.m_prev.m_next=a.m_next),a.m_next&&(a.m_next.m_prev=a.m_prev),a===this.m_bodyList&&(this.m_bodyList=a.m_next),--this.m_bodyCount}},box2d.b2World.prototype.CreateJoint=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.IsLocked()===!1),this.IsLocked())return null;var b=box2d.b2JointFactory.Create(a,null);b.m_prev=null,b.m_next=this.m_jointList,this.m_jointList&&(this.m_jointList.m_prev=b),this.m_jointList=b,++this.m_jointCount,b.m_edgeA.joint=b,b.m_edgeA.other=b.m_bodyB,b.m_edgeA.prev=null,b.m_edgeA.next=b.m_bodyA.m_jointList,b.m_bodyA.m_jointList&&(b.m_bodyA.m_jointList.prev=b.m_edgeA),b.m_bodyA.m_jointList=b.m_edgeA,b.m_edgeB.joint=b,b.m_edgeB.other=b.m_bodyA,b.m_edgeB.prev=null,b.m_edgeB.next=b.m_bodyB.m_jointList,b.m_bodyB.m_jointList&&(b.m_bodyB.m_jointList.prev=b.m_edgeB),b.m_bodyB.m_jointList=b.m_edgeB;var c=a.bodyA,d=a.bodyB;if(a.collideConnected===!1)for(var e=d.GetContactList();e;)e.other===c&&e.contact.FlagForFiltering(),e=e.next;return b},box2d.b2World.prototype.DestroyJoint=function(a){if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.IsLocked()===!1),!this.IsLocked()){var b=a.m_collideConnected;a.m_prev&&(a.m_prev.m_next=a.m_next),a.m_next&&(a.m_next.m_prev=a.m_prev),a===this.m_jointList&&(this.m_jointList=a.m_next);var c=a.m_bodyA,d=a.m_bodyB;if(c.SetAwake(!0),d.SetAwake(!0),a.m_edgeA.prev&&(a.m_edgeA.prev.next=a.m_edgeA.next),a.m_edgeA.next&&(a.m_edgeA.next.prev=a.m_edgeA.prev),a.m_edgeA===c.m_jointList&&(c.m_jointList=a.m_edgeA.next),a.m_edgeA.prev=null,a.m_edgeA.next=null,a.m_edgeB.prev&&(a.m_edgeB.prev.next=a.m_edgeB.next),a.m_edgeB.next&&(a.m_edgeB.next.prev=a.m_edgeB.prev),a.m_edgeB===d.m_jointList&&(d.m_jointList=a.m_edgeB.next),a.m_edgeB.prev=null,a.m_edgeB.next=null,box2d.b2JointFactory.Destroy(a,null),box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.m_jointCount>0),--this.m_jointCount,b===!1)for(var e=d.GetContactList();e;)e.other===c&&e.contact.FlagForFiltering(),e=e.next}},box2d.b2World.prototype.Solve=function(a){for(var b=this.m_controllerList;b;b=b.m_next)b.Step(a);this.m_profile.solveInit=0,this.m_profile.solveVelocity=0,this.m_profile.solvePosition=0;var c=this.m_island;c.Initialize(this.m_bodyCount,this.m_contactManager.m_contactCount,this.m_jointCount,null,this.m_contactManager.m_contactListener);for(var d=this.m_bodyList;d;d=d.m_next)d.m_flags&=~box2d.b2BodyFlag.e_islandFlag;for(var e=this.m_contactManager.m_contactList;e;e=e.m_next)e.m_flags&=~box2d.b2ContactFlag.e_islandFlag;for(var f=this.m_jointList;f;f=f.m_next)f.m_islandFlag=!1;for(var g=this.m_bodyCount,h=this.s_stack,i=this.m_bodyList;i;i=i.m_next)if(!(i.m_flags&box2d.b2BodyFlag.e_islandFlag)&&i.IsAwake()!==!1&&i.IsActive()!==!1&&i.GetType()!==box2d.b2BodyType.b2_staticBody){c.Clear();var j=0;for(h[j++]=i,i.m_flags|=box2d.b2BodyFlag.e_islandFlag;j>0;){var d=h[--j];if(box2d.ENABLE_ASSERTS&&box2d.b2Assert(d.IsActive()===!0),c.AddBody(d),d.SetAwake(!0),d.GetType()!==box2d.b2BodyType.b2_staticBody){for(var k=d.m_contactList;k;k=k.next){var l=k.contact;if(!(l.m_flags&box2d.b2ContactFlag.e_islandFlag)&&l.IsEnabled()!==!1&&l.IsTouching()!==!1){var m=l.m_fixtureA.m_isSensor,n=l.m_fixtureB.m_isSensor; +if(!m&&!n){c.AddContact(l),l.m_flags|=box2d.b2ContactFlag.e_islandFlag;var o=k.other;o.m_flags&box2d.b2BodyFlag.e_islandFlag||(box2d.ENABLE_ASSERTS&&box2d.b2Assert(g>j),h[j++]=o,o.m_flags|=box2d.b2BodyFlag.e_islandFlag)}}}for(var p=d.m_jointList;p;p=p.next)if(p.joint.m_islandFlag!==!0){var o=p.other;o.IsActive()!==!1&&(c.AddJoint(p.joint),p.joint.m_islandFlag=!0,o.m_flags&box2d.b2BodyFlag.e_islandFlag||(box2d.ENABLE_ASSERTS&&box2d.b2Assert(g>j),h[j++]=o,o.m_flags|=box2d.b2BodyFlag.e_islandFlag))}}}var q=new box2d.b2Profile;c.Solve(q,a,this.m_gravity,this.m_allowSleep),this.m_profile.solveInit+=q.solveInit,this.m_profile.solveVelocity+=q.solveVelocity,this.m_profile.solvePosition+=q.solvePosition;for(var r=0;rbox2d.b2_maxSubSteps)){var g=1;if(d.m_flags&box2d.b2ContactFlag.e_toiFlag)g=d.m_toi;else{var h=d.GetFixtureA(),i=d.GetFixtureB();if(h.IsSensor()||i.IsSensor())continue;var j=h.GetBody(),k=i.GetBody(),l=j.m_type,m=k.m_type;box2d.ENABLE_ASSERTS&&box2d.b2Assert(l===box2d.b2BodyType.b2_dynamicBody||m===box2d.b2BodyType.b2_dynamicBody);var n=j.IsAwake()&&l!==box2d.b2BodyType.b2_staticBody,o=k.IsAwake()&&m!==box2d.b2BodyType.b2_staticBody;if(n===!1&&o===!1)continue;var p=j.IsBullet()||l!==box2d.b2BodyType.b2_dynamicBody,q=k.IsBullet()||m!==box2d.b2BodyType.b2_dynamicBody;if(p===!1&&q===!1)continue;var r=j.m_sweep.alpha0;j.m_sweep.alpha0r);var s=d.GetChildIndexA(),t=d.GetChildIndexB(),u=box2d.b2World.prototype.SolveTOI.s_toi_input;u.proxyA.SetShape(h.GetShape(),s),u.proxyB.SetShape(i.GetShape(),t),u.sweepA.Copy(j.m_sweep),u.sweepB.Copy(k.m_sweep),u.tMax=1;var v=box2d.b2World.prototype.SolveTOI.s_toi_output;box2d.b2TimeOfImpact(v,u);var w=v.t;g=v.state===box2d.b2TOIOutputState.e_touching?box2d.b2Min(r+(1-r)*w,1):1,d.m_toi=g,d.m_flags|=box2d.b2ContactFlag.e_toiFlag}f>g&&(e=d,f=g)}if(null===e||1-10*box2d.b2_epsilonz;++z){var A=0===z?j:k;if(A.m_type===box2d.b2BodyType.b2_dynamicBody)for(var B=A.m_contactList;B&&b.m_bodyCount!==b.m_bodyCapacity&&b.m_contactCount!==b.m_contactCapacity;B=B.next){var C=B.contact;if(!(C.m_flags&box2d.b2ContactFlag.e_islandFlag)){var D=B.other;if(D.m_type!==box2d.b2BodyType.b2_dynamicBody||A.IsBullet()!==!1||D.IsBullet()!==!1){var E=C.m_fixtureA.m_isSensor,F=C.m_fixtureB.m_isSensor;if(!E&&!F){var G=box2d.b2World.prototype.SolveTOI.s_backup.Copy(D.m_sweep);0===(D.m_flags&box2d.b2BodyFlag.e_islandFlag)&&D.Advance(f),C.Update(this.m_contactManager.m_contactListener),C.IsEnabled()!==!1&&C.IsTouching()!==!1?(C.m_flags|=box2d.b2ContactFlag.e_islandFlag,b.AddContact(C),D.m_flags&box2d.b2BodyFlag.e_islandFlag||(D.m_flags|=box2d.b2BodyFlag.e_islandFlag,D.m_type!==box2d.b2BodyType.b2_staticBody&&D.SetAwake(!0),b.AddBody(D))):(D.m_sweep.Copy(G),D.SynchronizeTransform())}}}}}var H=box2d.b2World.prototype.SolveTOI.s_subStep;H.dt=(1-f)*a.dt,H.inv_dt=1/H.dt,H.dtRatio=1,H.positionIterations=20,H.velocityIterations=a.velocityIterations,H.warmStarting=!1,b.SolveTOI(H,j.m_islandIndex,k.m_islandIndex);for(var z=0;z0?1/a:0,e.dtRatio=this.m_inv_dt0*a,e.warmStarting=this.m_warmStarting;var f=new box2d.b2Timer;if(this.m_contactManager.Collide(),this.m_profile.collide=f.GetMilliseconds(),this.m_stepComplete&&e.dt>0){var f=new box2d.b2Timer;this.Solve(e),this.m_profile.solve=f.GetMilliseconds()}if(this.m_continuousPhysics&&e.dt>0){var f=new box2d.b2Timer;this.SolveTOI(e),this.m_profile.solveTOI=f.GetMilliseconds()}e.dt>0&&(this.m_inv_dt0=e.inv_dt),this.m_flags&box2d.b2WorldFlag.e_clearForces&&this.ClearForces(),this.m_flags&=~box2d.b2WorldFlag.e_locked,this.m_profile.step=d.GetMilliseconds()},box2d.b2World.prototype.Step.s_step=new box2d.b2TimeStep,box2d.b2World.prototype.ClearForces=function(){for(var a=this.m_bodyList;a;a=a.m_next)a.m_force.SetZero(),a.m_torque=0},box2d.b2World.prototype.QueryAABB=function(a,b){var c=this.m_contactManager.m_broadPhase,d=function(b){var d=c.GetUserData(b);box2d.ENABLE_ASSERTS&&box2d.b2Assert(d instanceof box2d.b2FixtureProxy);{var e=d.fixture;d.childIndex}return a instanceof box2d.b2QueryCallback?a.ReportFixture(e):a(e)};c.Query(d,b)},box2d.b2World.prototype.QueryShape=function(a,b,c){var d=this.m_contactManager.m_broadPhase,e=function(e){var f=d.GetUserData(e);box2d.ENABLE_ASSERTS&&box2d.b2Assert(f instanceof box2d.b2FixtureProxy);{var g=f.fixture;f.childIndex}return box2d.b2TestOverlapShape(b,0,g.GetShape(),0,c,g.GetBody().GetTransform())?a instanceof box2d.b2QueryCallback?a.ReportFixture(g):a(g):!0},f=box2d.b2World.prototype.QueryShape.s_aabb;b.ComputeAABB(f,c,0),d.Query(e,f)},box2d.b2World.prototype.QueryShape.s_aabb=new box2d.b2AABB,box2d.b2World.prototype.QueryPoint=function(a,b){var c=this.m_contactManager.m_broadPhase,d=function(d){var e=c.GetUserData(d);box2d.ENABLE_ASSERTS&&box2d.b2Assert(e instanceof box2d.b2FixtureProxy);{var f=e.fixture;e.childIndex}return f.TestPoint(b)?a instanceof box2d.b2QueryCallback?a.ReportFixture(f):a(f):!0},e=box2d.b2World.prototype.QueryPoint.s_aabb;e.lowerBound.SetXY(b.x-box2d.b2_linearSlop,b.y-box2d.b2_linearSlop),e.upperBound.SetXY(b.x+box2d.b2_linearSlop,b.y+box2d.b2_linearSlop),c.Query(d,e)},box2d.b2World.prototype.QueryPoint.s_aabb=new box2d.b2AABB,box2d.b2World.prototype.RayCast=function(a,b,c){var d=this.m_contactManager.m_broadPhase,e=function(e,f){var g=d.GetUserData(f);box2d.ENABLE_ASSERTS&&box2d.b2Assert(g instanceof box2d.b2FixtureProxy);var h=g.fixture,i=g.childIndex,j=box2d.b2World.prototype.RayCast.s_output,k=h.RayCast(j,e,i);if(k){var l=j.fraction,m=box2d.b2World.prototype.RayCast.s_point;return m.SetXY((1-l)*b.x+l*c.x,(1-l)*b.y+l*c.y),a instanceof box2d.b2RayCastCallback?a.ReportFixture(h,m,j.normal,l):a(h,m,j.normal,l)}return e.maxFraction},f=box2d.b2World.prototype.RayCast.s_input;f.maxFraction=1,f.p1.Copy(b),f.p2.Copy(c),d.RayCast(e,f)},box2d.b2World.prototype.RayCast.s_input=new box2d.b2RayCastInput,box2d.b2World.prototype.RayCast.s_output=new box2d.b2RayCastOutput,box2d.b2World.prototype.RayCast.s_point=new box2d.b2Vec2,box2d.b2World.prototype.RayCastOne=function(a,b){function c(a,b,c,f){return e>f&&(e=f,d=a),e}var d=null,e=1;return this.RayCast(c,a,b),d},box2d.b2World.prototype.RayCastAll=function(a,b,c){function d(a){return c.push(a),1}return c.length=0,this.RayCast(d,a,b),c},box2d.b2World.prototype.DrawShape=function(a,b){var c=a.GetShape();switch(c.m_type){case box2d.b2ShapeType.e_circleShape:var d=c instanceof box2d.b2CircleShape?c:null,e=d.m_p,f=d.m_radius,g=box2d.b2Vec2.UNITX;this.m_debugDraw.DrawSolidCircle(e,f,g,b);break;case box2d.b2ShapeType.e_edgeShape:var h=c instanceof box2d.b2EdgeShape?c:null,i=h.m_vertex1,j=h.m_vertex2;this.m_debugDraw.DrawSegment(i,j,b);break;case box2d.b2ShapeType.e_chainShape:for(var k=c instanceof box2d.b2ChainShape?c:null,l=k.m_count,m=k.m_vertices,i=m[0],n=0;l>n;++n){var j=m[n];this.m_debugDraw.DrawSegment(i,j,b),this.m_debugDraw.DrawCircle(j,.05,b),i=j}break;case box2d.b2ShapeType.e_polygonShape:var o=c instanceof box2d.b2PolygonShape?c:null,p=o.m_count,m=o.m_vertices;this.m_debugDraw.DrawSolidPolygon(m,p,b)}},box2d.b2World.prototype.DrawJoint=function(a){var b=a.GetBodyA(),c=a.GetBodyB(),d=b.m_xf,e=c.m_xf,f=d.p,g=e.p,h=a.GetAnchorA(box2d.b2World.prototype.DrawJoint.s_p1),i=a.GetAnchorB(box2d.b2World.prototype.DrawJoint.s_p2),j=box2d.b2World.prototype.DrawJoint.s_color.SetRGB(.5,.8,.8);switch(a.m_type){case box2d.b2JointType.e_distanceJoint:this.m_debugDraw.DrawSegment(h,i,j);break;case box2d.b2JointType.e_pulleyJoint:var k=a instanceof box2d.b2PulleyJoint?a:null,l=k.GetGroundAnchorA(box2d.b2World.prototype.DrawJoint.s_s1),m=k.GetGroundAnchorB(box2d.b2World.prototype.DrawJoint.s_s2);this.m_debugDraw.DrawSegment(l,h,j),this.m_debugDraw.DrawSegment(m,i,j),this.m_debugDraw.DrawSegment(l,m,j);break;case box2d.b2JointType.e_mouseJoint:this.m_debugDraw.DrawSegment(h,i,j);break;default:this.m_debugDraw.DrawSegment(f,h,j),this.m_debugDraw.DrawSegment(h,i,j),this.m_debugDraw.DrawSegment(g,i,j)}},box2d.b2World.prototype.DrawJoint.s_p1=new box2d.b2Vec2,box2d.b2World.prototype.DrawJoint.s_p2=new box2d.b2Vec2,box2d.b2World.prototype.DrawJoint.s_color=new box2d.b2Color(.5,.8,.8),box2d.b2World.prototype.DrawJoint.s_s1=new box2d.b2Vec2,box2d.b2World.prototype.DrawJoint.s_s2=new box2d.b2Vec2,box2d.b2World.prototype.DrawDebugData=function(){if(null!==this.m_debugDraw){var a=this.m_debugDraw.GetFlags(),b=box2d.b2World.prototype.DrawDebugData.s_color.SetRGB(0,0,0);if(a&box2d.b2DrawFlags.e_shapeBit)for(var c=this.m_bodyList;c;c=c.m_next){var d=c.m_xf;this.m_debugDraw.PushTransform(d);for(var e=c.GetFixtureList();e;e=e.m_next)c.IsActive()===!1?(b.SetRGB(.5,.5,.3),this.DrawShape(e,b)):c.GetType()===box2d.b2BodyType.b2_staticBody?(b.SetRGB(.5,.9,.5),this.DrawShape(e,b)):c.GetType()===box2d.b2BodyType.b2_kinematicBody?(b.SetRGB(.5,.5,.9),this.DrawShape(e,b)):c.IsAwake()===!1?(b.SetRGB(.6,.6,.6),this.DrawShape(e,b)):(b.SetRGB(.9,.7,.7),this.DrawShape(e,b));this.m_debugDraw.PopTransform(d)}if(a&box2d.b2DrawFlags.e_jointBit)for(var f=this.m_jointList;f;f=f.m_next)this.DrawJoint(f);if(a&box2d.b2DrawFlags.e_aabbBit){b.SetRGB(.9,.3,.9);for(var g=this.m_contactManager.m_broadPhase,h=box2d.b2World.prototype.DrawDebugData.s_vs,c=this.m_bodyList;c;c=c.m_next)if(c.IsActive()!==!1)for(var e=c.GetFixtureList();e;e=e.m_next)for(var i=0;i} */ var bodies = new Array(%d);\n",this.m_bodyCount),box2d.b2Log("/** @type {Array.} */ var joints = new Array(%d);\n",this.m_jointCount);for(var a=0,b=this.m_bodyList;b;b=b.m_next)b.m_islandIndex=a,b.Dump(),++a;a=0;for(var c=this.m_jointList;c;c=c.m_next)c.m_index=a,++a;for(var c=this.m_jointList;c;c=c.m_next)c.m_type!==box2d.b2JointType.e_gearJoint&&(box2d.b2Log("if (true)\n"),box2d.b2Log("{\n"),c.Dump(),box2d.b2Log("}\n"));for(var c=this.m_jointList;c;c=c.m_next)c.m_type===box2d.b2JointType.e_gearJoint&&(box2d.b2Log("if (true)\n"),box2d.b2Log("{\n"),c.Dump(),box2d.b2Log("}\n"))}},box2d.b2World.prototype.AddController=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(null===a.m_world,"Controller can only be a member of one world"),a.m_world=this,a.m_next=this.m_controllerList,a.m_prev=null,this.m_controllerList&&(this.m_controllerList.m_prev=a),this.m_controllerList=a,++this.m_controllerCount,a},box2d.b2World.prototype.RemoveController=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.m_world===this,"Controller is not a member of this world"),a.m_prev&&(a.m_prev.m_next=a.m_next),a.m_next&&(a.m_next.m_prev=a.m_prev),this.m_controllerList===a&&(this.m_controllerList=a.m_next),--this.m_controllerCount,a.m_prev=null,a.m_next=null,a.m_world=null},goog.provide("box2d.b2AreaJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2AreaJointDef=function(){goog.base(this,box2d.b2JointType.e_areaJoint),this.bodies=new Array},goog.inherits(box2d.b2AreaJointDef,box2d.b2JointDef),box2d.b2AreaJointDef.prototype.world=null,box2d.b2AreaJointDef.prototype.bodies=null,box2d.b2AreaJointDef.prototype.frequencyHz=0,box2d.b2AreaJointDef.prototype.dampingRatio=0,box2d.b2AreaJointDef.prototype.AddBody=function(a){this.bodies.push(a),1===this.bodies.length?this.bodyA=a:2===this.bodies.length&&(this.bodyB=a)},box2d.b2AreaJoint=function(a){goog.base(this,a),box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.bodies.length>=3,"You cannot create an area joint with less than three bodies."),this.m_bodies=a.bodies,this.m_frequencyHz=a.frequencyHz,this.m_dampingRatio=a.dampingRatio,this.m_targetLengths=box2d.b2MakeNumberArray(a.bodies.length),this.m_normals=box2d.b2Vec2.MakeArray(a.bodies.length),this.m_joints=new Array(a.bodies.length),this.m_deltas=box2d.b2Vec2.MakeArray(a.bodies.length),this.m_delta=new box2d.b2Vec2;var b=new box2d.b2DistanceJointDef;b.frequencyHz=a.frequencyHz,b.dampingRatio=a.dampingRatio,this.m_targetArea=0;for(var c=0,d=this.m_bodies.length;d>c;++c){var e=this.m_bodies[c],f=this.m_bodies[(c+1)%d],g=e.GetWorldCenter(),h=f.GetWorldCenter();this.m_targetLengths[c]=box2d.b2DistanceVV(g,h),this.m_targetArea+=box2d.b2CrossVV(g,h),b.Initialize(e,f,g,h),this.m_joints[c]=a.world.CreateJoint(b)}this.m_targetArea*=.5},goog.inherits(box2d.b2AreaJoint,box2d.b2Joint),box2d.b2AreaJoint.prototype.m_bodies=null,box2d.b2AreaJoint.prototype.m_frequencyHz=0,box2d.b2AreaJoint.prototype.m_dampingRatio=0,box2d.b2AreaJoint.prototype.m_impulse=0,box2d.b2AreaJoint.prototype.m_targetLengths=null,box2d.b2AreaJoint.prototype.m_targetArea=0,box2d.b2AreaJoint.prototype.m_normals=null,box2d.b2AreaJoint.prototype.m_joints=null,box2d.b2AreaJoint.prototype.m_deltas=null,box2d.b2AreaJoint.prototype.m_delta=null,box2d.b2AreaJoint.prototype.GetAnchorA=function(a){return a.SetZero()},box2d.b2AreaJoint.prototype.GetAnchorB=function(a){return a.SetZero()},box2d.b2AreaJoint.prototype.GetReactionForce=function(a,b){return b.SetZero()},box2d.b2AreaJoint.prototype.GetReactionTorque=function(){return 0},box2d.b2AreaJoint.prototype.SetFrequency=function(a){this.m_frequencyHz=a;for(var b=0,c=this.m_joints.length;c>b;++b)this.m_joints[b].SetFrequency(a)},box2d.b2AreaJoint.prototype.GetFrequency=function(){return this.m_frequencyHz},box2d.b2AreaJoint.prototype.SetDampingRatio=function(a){this.m_dampingRatio=a;for(var b=0,c=this.m_joints.length;c>b;++b)this.m_joints[b].SetDampingRatio(a)},box2d.b2AreaJoint.prototype.GetDampingRatio=function(){return this.m_dampingRatio},box2d.b2AreaJoint.prototype.Dump=function(){box2d.DEBUG&&box2d.b2Log("Area joint dumping is not supported.\n")},box2d.b2AreaJoint.prototype.InitVelocityConstraints=function(a){for(var b=0,c=this.m_bodies.length;c>b;++b){var d=this.m_bodies[(b+c-1)%c],e=this.m_bodies[(b+1)%c],f=a.positions[d.m_islandIndex].c,g=a.positions[e.m_islandIndex].c,h=this.m_deltas[b];box2d.b2SubVV(g,f,h)}if(a.step.warmStarting){this.m_impulse*=a.step.dtRatio;for(var b=0,c=this.m_bodies.length;c>b;++b){var i=this.m_bodies[b],j=a.velocities[i.m_islandIndex].v,h=this.m_deltas[b];j.x+=i.m_invMass*h.y*.5*this.m_impulse,j.y+=i.m_invMass*-h.x*.5*this.m_impulse}}else this.m_impulse=0},box2d.b2AreaJoint.prototype.SolveVelocityConstraints=function(a){for(var b=0,c=0,d=0,e=this.m_bodies.length;e>d;++d){var f=this.m_bodies[d],g=a.velocities[f.m_islandIndex].v,h=this.m_deltas[d];b+=h.GetLengthSquared()/f.GetMass(),c+=box2d.b2CrossVV(g,h)}var i=-2*c/b;this.m_impulse+=i;for(var d=0,e=this.m_bodies.length;e>d;++d){var f=this.m_bodies[d],g=a.velocities[f.m_islandIndex].v,h=this.m_deltas[d];g.x+=f.m_invMass*h.y*.5*i,g.y+=f.m_invMass*-h.x*.5*i}},box2d.b2AreaJoint.prototype.SolvePositionConstraints=function(a){for(var b=0,c=0,d=0,e=this.m_bodies.length;e>d;++d){var f=this.m_bodies[d],g=this.m_bodies[(d+1)%e],h=a.positions[f.m_islandIndex].c,i=a.positions[g.m_islandIndex].c,j=box2d.b2SubVV(i,h,this.m_delta),k=j.GetLength();kd;++d){var f=this.m_bodies[d],h=a.positions[f.m_islandIndex].c,o=(d+1)%e,j=box2d.b2AddVV(this.m_normals[d],this.m_normals[o],this.m_delta);j.SelfMul(m);var p=j.GetLengthSquared();p>box2d.b2Sq(box2d.b2_maxLinearCorrection)&&j.SelfMul(box2d.b2_maxLinearCorrection/box2d.b2Sqrt(p)),p>box2d.b2Sq(box2d.b2_linearSlop)&&(n=!1),h.x+=j.x,h.y+=j.y}return n},goog.provide("box2d.b2BuoyancyController"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Controller"),goog.require("box2d.b2Math"),goog.require("box2d.b2WorldCallbacks"),box2d.b2BuoyancyController=function(){goog.base(this),this.normal=new box2d.b2Vec2(0,1),this.velocity=new box2d.b2Vec2(0,0),this.gravity=new box2d.b2Vec2(0,0)},goog.inherits(box2d.b2BuoyancyController,box2d.b2Controller),box2d.b2BuoyancyController.prototype.normal=null,box2d.b2BuoyancyController.prototype.offset=0,box2d.b2BuoyancyController.prototype.density=0,box2d.b2BuoyancyController.prototype.velocity=null,box2d.b2BuoyancyController.prototype.linearDrag=0,box2d.b2BuoyancyController.prototype.angularDrag=0,box2d.b2BuoyancyController.prototype.useDensity=!1,box2d.b2BuoyancyController.prototype.useWorldGravity=!0,box2d.b2BuoyancyController.prototype.gravity=null,box2d.b2BuoyancyController.prototype.Step=function(){if(this.m_bodyList){this.useWorldGravity&&this.gravity.Copy(this.GetWorld().GetGravity());for(var a=this.m_bodyList;a;a=a.nextBody){var b=a.body;if(b.IsAwake()!==!1){for(var c=new box2d.b2Vec2,d=new box2d.b2Vec2,e=0,f=0,g=b.GetFixtureList();g;g=g.m_next){var h=new box2d.b2Vec2,i=g.GetShape().ComputeSubmergedArea(this.normal,this.offset,b.GetTransform(),h);e+=i,c.x+=i*h.x,c.y+=i*h.y;var j=0;j=this.useDensity?g.GetDensity():1,f+=i*j,d.x+=i*h.x*j,d.y+=i*h.y*j}if(c.x/=e,c.y/=e,d.x/=f,d.y/=f,!(ethis.maxTimestep&&this.maxTimestep>0&&(b=this.maxTimestep);for(var c=this.m_bodyList;c;c=c.nextBody){var d=c.body;if(d.IsAwake()){var e=d.GetWorldVector(box2d.b2MulMV(this.T,d.GetLocalVector(d.GetLinearVelocity(),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t1),box2d.b2TensorDampingController.prototype.Step.s_damping);d.SetLinearVelocity(box2d.b2AddVV(d.GetLinearVelocity(),box2d.b2MulSV(b,e,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t1))}}}},box2d.b2TensorDampingController.prototype.Step.s_damping=new box2d.b2Vec2,box2d.b2TensorDampingController.prototype.SetAxisAligned=function(a,b){this.T.ex.x=-a,this.T.ex.y=0,this.T.ey.x=0,this.T.ey.y=-b,this.maxTimestep=a>0||b>0?1/box2d.b2Max(a,b):0},goog.provide("box2d.b2DistanceJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2DistanceJointDef=function(){goog.base(this,box2d.b2JointType.e_distanceJoint),this.localAnchorA=new box2d.b2Vec2,this.localAnchorB=new box2d.b2Vec2},goog.inherits(box2d.b2DistanceJointDef,box2d.b2JointDef),box2d.b2DistanceJointDef.prototype.localAnchorA=null,box2d.b2DistanceJointDef.prototype.localAnchorB=null,box2d.b2DistanceJointDef.prototype.length=1,box2d.b2DistanceJointDef.prototype.frequencyHz=0,box2d.b2DistanceJointDef.prototype.dampingRatio=0,box2d.b2DistanceJointDef.prototype.Initialize=function(a,b,c,d){this.bodyA=a,this.bodyB=b,this.bodyA.GetLocalPoint(c,this.localAnchorA),this.bodyB.GetLocalPoint(d,this.localAnchorB),this.length=box2d.b2DistanceVV(c,d),this.frequencyHz=0,this.dampingRatio=0},box2d.b2DistanceJoint=function(a){goog.base(this,a),this.m_u=new box2d.b2Vec2,this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_frequencyHz=a.frequencyHz,this.m_dampingRatio=a.dampingRatio,this.m_localAnchorA=a.localAnchorA.Clone(),this.m_localAnchorB=a.localAnchorB.Clone(),this.m_length=a.length},goog.inherits(box2d.b2DistanceJoint,box2d.b2Joint),box2d.b2DistanceJoint.prototype.m_frequencyHz=0,box2d.b2DistanceJoint.prototype.m_dampingRatio=0,box2d.b2DistanceJoint.prototype.m_bias=0,box2d.b2DistanceJoint.prototype.m_localAnchorA=null,box2d.b2DistanceJoint.prototype.m_localAnchorB=null,box2d.b2DistanceJoint.prototype.m_gamma=0,box2d.b2DistanceJoint.prototype.m_impulse=0,box2d.b2DistanceJoint.prototype.m_length=0,box2d.b2DistanceJoint.prototype.m_indexA=0,box2d.b2DistanceJoint.prototype.m_indexB=0,box2d.b2DistanceJoint.prototype.m_u=null,box2d.b2DistanceJoint.prototype.m_rA=null,box2d.b2DistanceJoint.prototype.m_rB=null,box2d.b2DistanceJoint.prototype.m_localCenterA=null,box2d.b2DistanceJoint.prototype.m_localCenterB=null,box2d.b2DistanceJoint.prototype.m_invMassA=0,box2d.b2DistanceJoint.prototype.m_invMassB=0,box2d.b2DistanceJoint.prototype.m_invIA=0,box2d.b2DistanceJoint.prototype.m_invIB=0,box2d.b2DistanceJoint.prototype.m_mass=0,box2d.b2DistanceJoint.prototype.m_qA=null,box2d.b2DistanceJoint.prototype.m_qB=null,box2d.b2DistanceJoint.prototype.m_lalcA=null,box2d.b2DistanceJoint.prototype.m_lalcB=null,box2d.b2DistanceJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2DistanceJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2DistanceJoint.prototype.GetReactionForce=function(a,b){return b.SetXY(a*this.m_impulse*this.m_u.x,a*this.m_impulse*this.m_u.y)},box2d.b2DistanceJoint.prototype.GetReactionTorque=function(){return 0},box2d.b2DistanceJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2DistanceJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2DistanceJoint.prototype.SetLength=function(a){this.m_length=a},box2d.b2DistanceJoint.prototype.GetLength=function(){return this.m_length},box2d.b2DistanceJoint.prototype.SetFrequency=function(a){this.m_frequencyHz=a},box2d.b2DistanceJoint.prototype.GetFrequency=function(){return this.m_frequencyHz},box2d.b2DistanceJoint.prototype.SetDampingRatio=function(a){this.m_dampingRatio=a},box2d.b2DistanceJoint.prototype.GetDampingRatio=function(){return this.m_dampingRatio},box2d.b2DistanceJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2DistanceJointDef*/ var jd = new box2d.b2DistanceJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.length = %.15f;\n",this.m_length),box2d.b2Log(" jd.frequencyHz = %.15f;\n",this.m_frequencyHz),box2d.b2Log(" jd.dampingRatio = %.15f;\n",this.m_dampingRatio),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},box2d.b2DistanceJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.velocities[this.m_indexA].v,e=a.velocities[this.m_indexA].w,f=a.positions[this.m_indexB].c,g=a.positions[this.m_indexB].a,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=this.m_qA.SetAngleRadians(c),k=this.m_qB.SetAngleRadians(g);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA),box2d.b2MulRV(j,this.m_lalcA,this.m_rA),box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(k,this.m_lalcB,this.m_rB),this.m_u.x=f.x+this.m_rB.x-b.x-this.m_rA.x,this.m_u.y=f.y+this.m_rB.y-b.y-this.m_rA.y;var l=this.m_u.GetLength();l>box2d.b2_linearSlop?this.m_u.SelfMul(1/l):this.m_u.SetZero();var m=box2d.b2CrossVV(this.m_rA,this.m_u),n=box2d.b2CrossVV(this.m_rB,this.m_u),o=this.m_invMassA+this.m_invIA*m*m+this.m_invMassB+this.m_invIB*n*n;if(this.m_mass=0!==o?1/o:0,this.m_frequencyHz>0){var p=l-this.m_length,q=2*box2d.b2_pi*this.m_frequencyHz,r=2*this.m_mass*this.m_dampingRatio*q,s=this.m_mass*q*q,t=a.step.dt;this.m_gamma=t*(r+t*s),this.m_gamma=0!==this.m_gamma?1/this.m_gamma:0,this.m_bias=p*t*s*this.m_gamma,o+=this.m_gamma,this.m_mass=0!==o?1/o:0}else this.m_gamma=0,this.m_bias=0;if(a.step.warmStarting){this.m_impulse*=a.step.dtRatio;var u=box2d.b2MulSV(this.m_impulse,this.m_u,box2d.b2DistanceJoint.prototype.InitVelocityConstraints.s_P);d.SelfMulSub(this.m_invMassA,u),e-=this.m_invIA*box2d.b2CrossVV(this.m_rA,u),h.SelfMulAdd(this.m_invMassB,u),i+=this.m_invIB*box2d.b2CrossVV(this.m_rB,u)}else this.m_impulse=0;a.velocities[this.m_indexA].w=e,a.velocities[this.m_indexB].w=i},box2d.b2DistanceJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_vpA),g=box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_vpB),h=box2d.b2DotVV(this.m_u,box2d.b2SubVV(g,f,box2d.b2Vec2.s_t0)),i=-this.m_mass*(h+this.m_bias+this.m_gamma*this.m_impulse);this.m_impulse+=i;var j=box2d.b2MulSV(i,this.m_u,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_P);b.SelfMulSub(this.m_invMassA,j),c-=this.m_invIA*box2d.b2CrossVV(this.m_rA,j),d.SelfMulAdd(this.m_invMassB,j),e+=this.m_invIB*box2d.b2CrossVV(this.m_rB,j),a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_vpA=new box2d.b2Vec2,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_vpB=new box2d.b2Vec2,box2d.b2DistanceJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2DistanceJoint.prototype.SolvePositionConstraints=function(a){if(this.m_frequencyHz>0)return!0;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=(this.m_qA.SetAngleRadians(c),this.m_qB.SetAngleRadians(e),box2d.b2MulRV(this.m_qA,this.m_lalcA,this.m_rA)),g=box2d.b2MulRV(this.m_qB,this.m_lalcB,this.m_rB),h=this.m_u;h.x=d.x+g.x-b.x-f.x,h.y=d.y+g.y-b.y-f.y;var i=this.m_u.Normalize(),j=i-this.m_length;j=box2d.b2Clamp(j,-box2d.b2_maxLinearCorrection,box2d.b2_maxLinearCorrection);var k=-this.m_mass*j,l=box2d.b2MulSV(k,h,box2d.b2DistanceJoint.prototype.SolvePositionConstraints.s_P);return b.SelfMulSub(this.m_invMassA,l),c-=this.m_invIA*box2d.b2CrossVV(f,l),d.SelfMulAdd(this.m_invMassB,l),e+=this.m_invIB*box2d.b2CrossVV(g,l),a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,box2d.b2Abs(j)0&&(this.m_angularMass=1/this.m_angularMass),a.step.warmStarting){this.m_linearImpulse.SelfMul(a.step.dtRatio),this.m_angularImpulse*=a.step.dtRatio;var q=this.m_linearImpulse;c.SelfMulSub(l,q),d-=n*(box2d.b2CrossVV(this.m_rA,q)+this.m_angularImpulse),f.SelfMulAdd(m,q),g+=o*(box2d.b2CrossVV(this.m_rB,q)+this.m_angularImpulse)}else this.m_linearImpulse.SetZero(),this.m_angularImpulse=0;a.velocities[this.m_indexA].w=d,a.velocities[this.m_indexB].w=g},box2d.b2FrictionJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_invMassA,g=this.m_invMassB,h=this.m_invIA,i=this.m_invIB,j=a.step.dt,k=e-c,l=-this.m_angularMass*k,m=this.m_angularImpulse,n=j*this.m_maxTorque;this.m_angularImpulse=box2d.b2Clamp(this.m_angularImpulse+l,-n,n),l=this.m_angularImpulse-m,c-=h*l,e+=i*l;var k=box2d.b2SubVV(box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2Vec2.s_t0),box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2Vec2.s_t1),box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_Cdot),o=box2d.b2MulMV(this.m_linearMass,k,box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_impulseV).SelfNeg(),p=box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_oldImpulseV.Copy(this.m_linearImpulse);this.m_linearImpulse.SelfAdd(o);var n=j*this.m_maxForce;this.m_linearImpulse.GetLengthSquared()>n*n&&(this.m_linearImpulse.Normalize(),this.m_linearImpulse.SelfMul(n)),box2d.b2SubVV(this.m_linearImpulse,p,o),b.SelfMulSub(f,o),c-=h*box2d.b2CrossVV(this.m_rA,o),d.SelfMulAdd(g,o),e+=i*box2d.b2CrossVV(this.m_rB,o),a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_Cdot=new box2d.b2Vec2,box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_impulseV=new box2d.b2Vec2,box2d.b2FrictionJoint.prototype.SolveVelocityConstraints.s_oldImpulseV=new box2d.b2Vec2,box2d.b2FrictionJoint.prototype.SolvePositionConstraints=function(){return!0},box2d.b2FrictionJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2FrictionJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2FrictionJoint.prototype.GetReactionForce=function(a,b){return b.SetXY(a*this.m_linearImpulse.x,a*this.m_linearImpulse.y)},box2d.b2FrictionJoint.prototype.GetReactionTorque=function(a){return a*this.m_angularImpulse},box2d.b2FrictionJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2FrictionJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2FrictionJoint.prototype.SetMaxForce=function(a){this.m_maxForce=a},box2d.b2FrictionJoint.prototype.GetMaxForce=function(){return this.m_maxForce},box2d.b2FrictionJoint.prototype.SetMaxTorque=function(a){this.m_maxTorque=a},box2d.b2FrictionJoint.prototype.GetMaxTorque=function(){return this.m_maxTorque},box2d.b2FrictionJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2FrictionJointDef*/ var jd = new box2d.b2FrictionJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.maxForce = %.15f;\n",this.m_maxForce),box2d.b2Log(" jd.maxTorque = %.15f;\n",this.m_maxTorque),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d.b2MouseJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2MouseJointDef=function(){goog.base(this,box2d.b2JointType.e_mouseJoint),this.target=new box2d.b2Vec2},goog.inherits(box2d.b2MouseJointDef,box2d.b2JointDef),box2d.b2MouseJointDef.prototype.target=null,box2d.b2MouseJointDef.prototype.maxForce=0,box2d.b2MouseJointDef.prototype.frequencyHz=5,box2d.b2MouseJointDef.prototype.dampingRatio=.7,box2d.b2MouseJoint=function(a){goog.base(this,a),this.m_localAnchorB=new box2d.b2Vec2,this.m_targetA=new box2d.b2Vec2,this.m_impulse=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_mass=new box2d.b2Mat22,this.m_C=new box2d.b2Vec2,this.m_qB=new box2d.b2Rot,this.m_lalcB=new box2d.b2Vec2,this.m_K=new box2d.b2Mat22,box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.target.IsValid()),box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a.maxForce)&&a.maxForce>=0),box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a.frequencyHz)&&a.frequencyHz>=0),box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a.dampingRatio)&&a.dampingRatio>=0),this.m_targetA.Copy(a.target),box2d.b2MulTXV(this.m_bodyB.GetTransform(),this.m_targetA,this.m_localAnchorB),this.m_maxForce=a.maxForce,this.m_impulse.SetZero(),this.m_frequencyHz=a.frequencyHz,this.m_dampingRatio=a.dampingRatio,this.m_beta=0,this.m_gamma=0},goog.inherits(box2d.b2MouseJoint,box2d.b2Joint),box2d.b2MouseJoint.prototype.m_localAnchorB=null,box2d.b2MouseJoint.prototype.m_targetA=null,box2d.b2MouseJoint.prototype.m_frequencyHz=0,box2d.b2MouseJoint.prototype.m_dampingRatio=0,box2d.b2MouseJoint.prototype.m_beta=0,box2d.b2MouseJoint.prototype.m_impulse=null,box2d.b2MouseJoint.prototype.m_maxForce=0,box2d.b2MouseJoint.prototype.m_gamma=0,box2d.b2MouseJoint.prototype.m_indexA=0,box2d.b2MouseJoint.prototype.m_indexB=0,box2d.b2MouseJoint.prototype.m_rB=null,box2d.b2MouseJoint.prototype.m_localCenterB=null,box2d.b2MouseJoint.prototype.m_invMassB=0,box2d.b2MouseJoint.prototype.m_invIB=0,box2d.b2MouseJoint.prototype.m_mass=null,box2d.b2MouseJoint.prototype.m_C=null,box2d.b2MouseJoint.prototype.m_qB=null,box2d.b2MouseJoint.prototype.m_lalcB=null,box2d.b2MouseJoint.prototype.m_K=null,box2d.b2MouseJoint.prototype.SetTarget=function(a){this.m_bodyB.IsAwake()===!1&&this.m_bodyB.SetAwake(!0),this.m_targetA.Copy(a)},box2d.b2MouseJoint.prototype.GetTarget=function(a){return a.Copy(this.m_targetA)},box2d.b2MouseJoint.prototype.SetMaxForce=function(a){this.m_maxForce=a},box2d.b2MouseJoint.prototype.GetMaxForce=function(){return this.m_maxForce},box2d.b2MouseJoint.prototype.SetFrequency=function(a){this.m_frequencyHz=a},box2d.b2MouseJoint.prototype.GetFrequency=function(){return this.m_frequencyHz},box2d.b2MouseJoint.prototype.SetDampingRatio=function(a){this.m_dampingRatio=a},box2d.b2MouseJoint.prototype.GetDampingRatio=function(){return this.m_dampingRatio},box2d.b2MouseJoint.prototype.InitVelocityConstraints=function(a){this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexB].c,c=a.positions[this.m_indexB].a,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_qB.SetAngleRadians(c),g=this.m_bodyB.GetMass(),h=2*box2d.b2_pi*this.m_frequencyHz,i=2*g*this.m_dampingRatio*h,j=g*h*h,k=a.step.dt;box2d.ENABLE_ASSERTS&&box2d.b2Assert(i+k*j>box2d.b2_epsilon),this.m_gamma=k*(i+k*j),0!==this.m_gamma&&(this.m_gamma=1/this.m_gamma),this.m_beta=k*j*this.m_gamma,box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(f,this.m_lalcB,this.m_rB);var l=this.m_K;l.ex.x=this.m_invMassB+this.m_invIB*this.m_rB.y*this.m_rB.y+this.m_gamma,l.ex.y=-this.m_invIB*this.m_rB.x*this.m_rB.y,l.ey.x=l.ex.y,l.ey.y=this.m_invMassB+this.m_invIB*this.m_rB.x*this.m_rB.x+this.m_gamma,l.GetInverse(this.m_mass),this.m_C.x=b.x+this.m_rB.x-this.m_targetA.x,this.m_C.y=b.y+this.m_rB.y-this.m_targetA.y,this.m_C.SelfMul(this.m_beta),e*=.98,a.step.warmStarting?(this.m_impulse.SelfMul(a.step.dtRatio),d.x+=this.m_invMassB*this.m_impulse.x,d.y+=this.m_invMassB*this.m_impulse.y,e+=this.m_invIB*box2d.b2CrossVV(this.m_rB,this.m_impulse)):this.m_impulse.SetZero(),a.velocities[this.m_indexB].w=e},box2d.b2MouseJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexB].v,c=a.velocities[this.m_indexB].w,d=box2d.b2AddVCrossSV(b,c,this.m_rB,box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_Cdot),e=box2d.b2MulMV(this.m_mass,box2d.b2AddVV(d,box2d.b2AddVV(this.m_C,box2d.b2MulSV(this.m_gamma,this.m_impulse,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0).SelfNeg(),box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_impulse),f=box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_oldImpulse.Copy(this.m_impulse);this.m_impulse.SelfAdd(e);var g=a.step.dt*this.m_maxForce;this.m_impulse.GetLengthSquared()>g*g&&this.m_impulse.SelfMul(g/this.m_impulse.GetLength()),box2d.b2SubVV(this.m_impulse,f,e),b.SelfMulAdd(this.m_invMassB,e),c+=this.m_invIB*box2d.b2CrossVV(this.m_rB,e),a.velocities[this.m_indexB].w=c},box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_Cdot=new box2d.b2Vec2,box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_impulse=new box2d.b2Vec2,box2d.b2MouseJoint.prototype.SolveVelocityConstraints.s_oldImpulse=new box2d.b2Vec2,box2d.b2MouseJoint.prototype.SolvePositionConstraints=function(){return!0},box2d.b2MouseJoint.prototype.GetAnchorA=function(a){return a.Copy(this.m_targetA)},box2d.b2MouseJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2MouseJoint.prototype.GetReactionForce=function(a,b){return box2d.b2MulSV(a,this.m_impulse,b)},box2d.b2MouseJoint.prototype.GetReactionTorque=function(){return 0},box2d.b2MouseJoint.prototype.Dump=function(){box2d.DEBUG&&box2d.b2Log("Mouse joint dumping is not supported.\n")},box2d.b2MouseJoint.prototype.ShiftOrigin=function(a){this.m_targetA.SelfSub(a)},goog.provide("box2d.b2ConstantForceController"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Controller"),goog.require("box2d.b2Math"),box2d.b2ConstantForceController=function(){goog.base(this),this.F=new box2d.b2Vec2(0,0)},goog.inherits(box2d.b2ConstantForceController,box2d.b2Controller),box2d.b2ConstantAccelController.prototype.F=null,box2d.b2ConstantForceController.prototype.Step=function(){for(var a=this.m_bodyList;a;a=a.nextBody){var b=a.body;b.IsAwake()&&b.ApplyForce(this.F,b.GetWorldCenter())}},goog.provide("box2d.b2PulleyJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Joint"),goog.require("box2d.b2Math"),box2d.b2_minPulleyLength=2,box2d.b2PulleyJointDef=function(){goog.base(this,box2d.b2JointType.e_pulleyJoint),this.collideConnected=!0,this.groundAnchorA=new box2d.b2Vec2(-1,1),this.groundAnchorB=new box2d.b2Vec2(1,1),this.localAnchorA=new box2d.b2Vec2(-1,0),this.localAnchorB=new box2d.b2Vec2(1,0)},goog.inherits(box2d.b2PulleyJointDef,box2d.b2JointDef),box2d.b2PulleyJointDef.prototype.groundAnchorA=null,box2d.b2PulleyJointDef.prototype.groundAnchorB=null,box2d.b2PulleyJointDef.prototype.localAnchorA=null,box2d.b2PulleyJointDef.prototype.localAnchorB=null,box2d.b2PulleyJointDef.prototype.lengthA=0,box2d.b2PulleyJointDef.prototype.lengthB=0,box2d.b2PulleyJointDef.prototype.ratio=1,box2d.b2PulleyJointDef.prototype.Initialize=function(a,b,c,d,e,f,g){this.bodyA=a,this.bodyB=b,this.groundAnchorA.Copy(c),this.groundAnchorB.Copy(d),this.bodyA.GetLocalPoint(e,this.localAnchorA),this.bodyB.GetLocalPoint(f,this.localAnchorB),this.lengthA=box2d.b2DistanceVV(e,c),this.lengthB=box2d.b2DistanceVV(f,d),this.ratio=g,box2d.ENABLE_ASSERTS&&box2d.b2Assert(this.ratio>box2d.b2_epsilon)},box2d.b2PulleyJoint=function(a){goog.base(this,a),this.m_groundAnchorA=new box2d.b2Vec2,this.m_groundAnchorB=new box2d.b2Vec2,this.m_localAnchorA=new box2d.b2Vec2,this.m_localAnchorB=new box2d.b2Vec2,this.m_uA=new box2d.b2Vec2,this.m_uB=new box2d.b2Vec2,this.m_rA=new box2d.b2Vec2,this.m_rB=new box2d.b2Vec2,this.m_localCenterA=new box2d.b2Vec2,this.m_localCenterB=new box2d.b2Vec2,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_lalcA=new box2d.b2Vec2,this.m_lalcB=new box2d.b2Vec2,this.m_groundAnchorA.Copy(a.groundAnchorA),this.m_groundAnchorB.Copy(a.groundAnchorB),this.m_localAnchorA.Copy(a.localAnchorA),this.m_localAnchorB.Copy(a.localAnchorB),this.m_lengthA=a.lengthA,this.m_lengthB=a.lengthB,box2d.ENABLE_ASSERTS&&box2d.b2Assert(0!==a.ratio),this.m_ratio=a.ratio,this.m_constant=a.lengthA+this.m_ratio*a.lengthB,this.m_impulse=0},goog.inherits(box2d.b2PulleyJoint,box2d.b2Joint),box2d.b2PulleyJoint.prototype.m_groundAnchorA=null,box2d.b2PulleyJoint.prototype.m_groundAnchorB=null,box2d.b2PulleyJoint.prototype.m_lengthA=0,box2d.b2PulleyJoint.prototype.m_lengthB=0,box2d.b2PulleyJoint.prototype.m_localAnchorA=null,box2d.b2PulleyJoint.prototype.m_localAnchorB=null,box2d.b2PulleyJoint.prototype.m_constant=0,box2d.b2PulleyJoint.prototype.m_ratio=0,box2d.b2PulleyJoint.prototype.m_impulse=0,box2d.b2PulleyJoint.prototype.m_indexA=0,box2d.b2PulleyJoint.prototype.m_indexB=0,box2d.b2PulleyJoint.prototype.m_uA=null,box2d.b2PulleyJoint.prototype.m_uB=null,box2d.b2PulleyJoint.prototype.m_rA=null,box2d.b2PulleyJoint.prototype.m_rB=null,box2d.b2PulleyJoint.prototype.m_localCenterA=null,box2d.b2PulleyJoint.prototype.m_localCenterB=null,box2d.b2PulleyJoint.prototype.m_invMassA=0,box2d.b2PulleyJoint.prototype.m_invMassB=0,box2d.b2PulleyJoint.prototype.m_invIA=0,box2d.b2PulleyJoint.prototype.m_invIB=0,box2d.b2PulleyJoint.prototype.m_mass=0,box2d.b2PulleyJoint.prototype.m_qA=null,box2d.b2PulleyJoint.prototype.m_qB=null,box2d.b2PulleyJoint.prototype.m_lalcA=null,box2d.b2PulleyJoint.prototype.m_lalcB=null,box2d.b2PulleyJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.velocities[this.m_indexA].v,e=a.velocities[this.m_indexA].w,f=a.positions[this.m_indexB].c,g=a.positions[this.m_indexB].a,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=this.m_qA.SetAngleRadians(c),k=this.m_qB.SetAngleRadians(g);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA),box2d.b2MulRV(j,this.m_lalcA,this.m_rA),box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB),box2d.b2MulRV(k,this.m_lalcB,this.m_rB),this.m_uA.Copy(b).SelfAdd(this.m_rA).SelfSub(this.m_groundAnchorA),this.m_uB.Copy(f).SelfAdd(this.m_rB).SelfSub(this.m_groundAnchorB);var l=this.m_uA.GetLength(),m=this.m_uB.GetLength();l>10*box2d.b2_linearSlop?this.m_uA.SelfMul(1/l):this.m_uA.SetZero(),m>10*box2d.b2_linearSlop?this.m_uB.SelfMul(1/m):this.m_uB.SetZero();var n=box2d.b2CrossVV(this.m_rA,this.m_uA),o=box2d.b2CrossVV(this.m_rB,this.m_uB),p=this.m_invMassA+this.m_invIA*n*n,q=this.m_invMassB+this.m_invIB*o*o;if(this.m_mass=p+this.m_ratio*this.m_ratio*q,this.m_mass>0&&(this.m_mass=1/this.m_mass),a.step.warmStarting){this.m_impulse*=a.step.dtRatio;var r=box2d.b2MulSV(-this.m_impulse,this.m_uA,box2d.b2PulleyJoint.prototype.InitVelocityConstraints.s_PA),s=box2d.b2MulSV(-this.m_ratio*this.m_impulse,this.m_uB,box2d.b2PulleyJoint.prototype.InitVelocityConstraints.s_PB);d.SelfMulAdd(this.m_invMassA,r),e+=this.m_invIA*box2d.b2CrossVV(this.m_rA,r),h.SelfMulAdd(this.m_invMassB,s),i+=this.m_invIB*box2d.b2CrossVV(this.m_rB,s)}else this.m_impulse=0;a.velocities[this.m_indexA].w=e,a.velocities[this.m_indexB].w=i},box2d.b2PulleyJoint.prototype.InitVelocityConstraints.s_PA=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.InitVelocityConstraints.s_PB=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=box2d.b2AddVCrossSV(b,c,this.m_rA,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_vpA),g=box2d.b2AddVCrossSV(d,e,this.m_rB,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_vpB),h=-box2d.b2DotVV(this.m_uA,f)-this.m_ratio*box2d.b2DotVV(this.m_uB,g),i=-this.m_mass*h;this.m_impulse+=i;var j=box2d.b2MulSV(-i,this.m_uA,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_PA),k=box2d.b2MulSV(-this.m_ratio*i,this.m_uB,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_PB);b.SelfMulAdd(this.m_invMassA,j),c+=this.m_invIA*box2d.b2CrossVV(this.m_rA,j),d.SelfMulAdd(this.m_invMassB,k),e+=this.m_invIB*box2d.b2CrossVV(this.m_rB,k),a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_vpA=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_vpB=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_PA=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.SolveVelocityConstraints.s_PB=new box2d.b2Vec2,box2d.b2PulleyJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var h=box2d.b2MulRV(f,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var i=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),j=this.m_uA.Copy(b).SelfAdd(h).SelfSub(this.m_groundAnchorA),k=this.m_uB.Copy(d).SelfAdd(i).SelfSub(this.m_groundAnchorB),l=j.GetLength(),m=k.GetLength();l>10*box2d.b2_linearSlop?j.SelfMul(1/l):j.SetZero(),m>10*box2d.b2_linearSlop?k.SelfMul(1/m):k.SetZero();var n=box2d.b2CrossVV(h,j),o=box2d.b2CrossVV(i,k),p=this.m_invMassA+this.m_invIA*n*n,q=this.m_invMassB+this.m_invIB*o*o,r=p+this.m_ratio*this.m_ratio*q;r>0&&(r=1/r);var s=this.m_constant-l-this.m_ratio*m,t=box2d.b2Abs(s),u=-r*s,v=box2d.b2MulSV(-u,j,box2d.b2PulleyJoint.prototype.SolvePositionConstraints.s_PA),w=box2d.b2MulSV(-this.m_ratio*u,k,box2d.b2PulleyJoint.prototype.SolvePositionConstraints.s_PB);return b.SelfMulAdd(this.m_invMassA,v),c+=this.m_invIA*box2d.b2CrossVV(h,v),d.SelfMulAdd(this.m_invMassB,w),e+=this.m_invIB*box2d.b2CrossVV(i,w),a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,tj||i=0&&k<=b.maxFraction*i?(k/=i,a.fraction=k,box2d.b2AddVMulSV(e,k,g,a.normal).SelfNormalize(),!0):!1},box2d.b2CircleShape.prototype.RayCast.s_position=new box2d.b2Vec2,box2d.b2CircleShape.prototype.RayCast.s_s=new box2d.b2Vec2,box2d.b2CircleShape.prototype.RayCast.s_r=new box2d.b2Vec2,box2d.b2CircleShape.prototype.ComputeAABB=function(a,b){var c=box2d.b2MulXV(b,this.m_p,box2d.b2CircleShape.prototype.ComputeAABB.s_p);a.lowerBound.SetXY(c.x-this.m_radius,c.y-this.m_radius),a.upperBound.SetXY(c.x+this.m_radius,c.y+this.m_radius)},box2d.b2CircleShape.prototype.ComputeAABB.s_p=new box2d.b2Vec2,box2d.b2CircleShape.prototype.ComputeMass=function(a,b){var c=box2d.b2Sq(this.m_radius);a.mass=b*box2d.b2_pi*c,a.center.Copy(this.m_p),a.I=a.mass*(.5*c+box2d.b2DotVV(this.m_p,this.m_p))},box2d.b2CircleShape.prototype.SetupDistanceProxy=function(a){a.m_vertices=new Array(1,!0),a.m_vertices[0]=this.m_p,a.m_count=1,a.m_radius=this.m_radius},box2d.b2CircleShape.prototype.ComputeSubmergedArea=function(a,b,c,d){var e=box2d.b2MulXV(c,this.m_p,new box2d.b2Vec2),f=-(box2d.b2DotVV(a,e)-b);if(f<-this.m_radius+box2d.b2_epsilon)return 0;if(f>this.m_radius)return d.Copy(e),box2d.b2_pi*this.m_radius*this.m_radius;var g=this.m_radius*this.m_radius,h=f*f,i=g*(box2d.b2Asin(f/this.m_radius)+box2d.b2_pi/2)+f*box2d.b2Sqrt(g-h),j=-2/3*box2d.b2Pow(g-h,1.5)/i;return d.x=e.x+a.x*j,d.y=e.y+a.y*j,i},box2d.b2CircleShape.prototype.Dump=function(){box2d.b2Log(" /*box2d.b2CircleShape*/ var shape = new box2d.b2CircleShape();\n"),box2d.b2Log(" shape.m_radius = %.15f;\n",this.m_radius),box2d.b2Log(" shape.m_p.SetXY(%.15f, %.15f);\n",this.m_p.x,this.m_p.y)},goog.provide("box2d.b2Rope"),goog.require("box2d.b2Math"),goog.require("box2d.b2Draw"),box2d.b2RopeDef=function(){this.vertices=new Array,this.masses=new Array,this.gravity=new box2d.b2Vec2},box2d.b2RopeDef.prototype.vertices=null,box2d.b2RopeDef.prototype.count=0,box2d.b2RopeDef.prototype.masses=null,box2d.b2RopeDef.prototype.gravity=null,box2d.b2RopeDef.prototype.damping=.1,box2d.b2RopeDef.prototype.k2=.9,box2d.b2RopeDef.prototype.k3=.1,box2d.b2Rope=function(){this.m_gravity=new box2d.b2Vec2},box2d.b2Rope.prototype.m_count=0,box2d.b2Rope.prototype.m_ps=null,box2d.b2Rope.prototype.m_p0s=null,box2d.b2Rope.prototype.m_vs=null,box2d.b2Rope.prototype.m_ims=null,box2d.b2Rope.prototype.m_Ls=null,box2d.b2Rope.prototype.m_as=null,box2d.b2Rope.prototype.m_gravity=null,box2d.b2Rope.prototype.m_damping=0,box2d.b2Rope.prototype.m_k2=1,box2d.b2Rope.prototype.m_k3=.1,box2d.b2Rope.prototype.GetVertexCount=function(){return this.m_count},box2d.b2Rope.prototype.GetVertices=function(){return this.m_ps},box2d.b2Rope.prototype.Initialize=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(a.count>=3),this.m_count=a.count,this.m_ps=box2d.b2Vec2.MakeArray(this.m_count),this.m_p0s=box2d.b2Vec2.MakeArray(this.m_count),this.m_vs=box2d.b2Vec2.MakeArray(this.m_count),this.m_ims=box2d.b2MakeNumberArray(this.m_count);for(var b=0;b0?1/c:0}var d=this.m_count-1,e=this.m_count-2;this.m_Ls=box2d.b2MakeNumberArray(d),this.m_as=box2d.b2MakeNumberArray(e);for(var b=0;d>b;++b){var f=this.m_ps[b],g=this.m_ps[b+1];this.m_Ls[b]=box2d.b2DistanceVV(f,g)}for(var b=0;e>b;++b){var f=this.m_ps[b],g=this.m_ps[b+1],h=this.m_ps[b+2],i=box2d.b2SubVV(g,f,box2d.b2Vec2.s_t0),j=box2d.b2SubVV(h,g,box2d.b2Vec2.s_t1),k=box2d.b2CrossVV(i,j),l=box2d.b2DotVV(i,j);this.m_as[b]=box2d.b2Atan2(k,l)}this.m_gravity.Copy(a.gravity),this.m_damping=a.damping,this.m_k2=a.k2,this.m_k3=a.k3},box2d.b2Rope.prototype.Step=function(a,b){if(0!==a){for(var c=Math.exp(-a*this.m_damping),d=0;d0&&this.m_vs[d].SelfMulAdd(a,this.m_gravity),this.m_vs[d].SelfMul(c),this.m_ps[d].SelfMulAdd(a,this.m_vs[d]);for(var d=0;b>d;++d)this.SolveC2(),this.SolveC3(),this.SolveC2();for(var e=1/a,d=0;db;++b){var c=this.m_ps[b],d=this.m_ps[b+1],e=box2d.b2SubVV(d,c,box2d.b2Rope.s_d),f=e.Normalize(),g=this.m_ims[b],h=this.m_ims[b+1];if(g+h!==0){var i=g/(g+h),j=h/(g+h);c.SelfMulSub(this.m_k2*i*(this.m_Ls[b]-f),e),d.SelfMulAdd(this.m_k2*j*(this.m_Ls[b]-f),e)}}},box2d.b2Rope.s_d=new box2d.b2Vec2,box2d.b2Rope.prototype.SetAngleRadians=function(a){for(var b=this.m_count-2,c=0;b>c;++c)this.m_as[c]=a},box2d.b2Rope.prototype.SolveC3=function(){for(var a=this.m_count-2,b=0;a>b;++b){var c=this.m_ps[b],d=this.m_ps[b+1],e=this.m_ps[b+2],f=this.m_ims[b],g=this.m_ims[b+1],h=this.m_ims[b+2],i=box2d.b2SubVV(d,c,box2d.b2Rope.s_d1),j=box2d.b2SubVV(e,d,box2d.b2Rope.s_d2),k=i.GetLengthSquared(),l=j.GetLengthSquared();if(k*l!==0){var m=box2d.b2CrossVV(i,j),n=box2d.b2DotVV(i,j),o=box2d.b2Atan2(m,n),p=box2d.b2MulSV(-1/k,i.SelfSkew(),box2d.b2Rope.s_Jd1),q=box2d.b2MulSV(1/l,j.SelfSkew(),box2d.b2Rope.s_Jd2),r=box2d.b2NegV(p,box2d.b2Rope.s_J1),s=box2d.b2SubVV(p,q,box2d.b2Rope.s_J2),t=q,u=f*box2d.b2DotVV(r,r)+g*box2d.b2DotVV(s,s)+h*box2d.b2DotVV(t,t);if(0!==u){u=1/u;for(var v=o-this.m_as[b];v>box2d.b2_pi;)o-=2*box2d.b2_pi,v=o-this.m_as[b];for(;v<-box2d.b2_pi;)o+=2*box2d.b2_pi,v=o-this.m_as[b];var w=-this.m_k3*u*v;c.SelfMulAdd(f*w,r),d.SelfMulAdd(g*w,s),e.SelfMulAdd(h*w,t)}}}},box2d.b2Rope.s_d1=new box2d.b2Vec2,box2d.b2Rope.s_d2=new box2d.b2Vec2,box2d.b2Rope.s_Jd1=new box2d.b2Vec2,box2d.b2Rope.s_Jd2=new box2d.b2Vec2,box2d.b2Rope.s_J1=new box2d.b2Vec2,box2d.b2Rope.s_J2=new box2d.b2Vec2,box2d.b2Rope.prototype.Draw=function(a){for(var b=new box2d.b2Color(.4,.5,.7),c=0;c0&&(this.m_mass=1/this.m_mass),this.m_springMass=0,this.m_bias=0,this.m_gamma=0,this.m_frequencyHz>0){box2d.b2MulRV(n,this.m_localXAxisA,this.m_ax),this.m_sAx=box2d.b2CrossVV(box2d.b2AddVV(r,p,box2d.b2Vec2.s_t0),this.m_ax),this.m_sBx=box2d.b2CrossVV(q,this.m_ax);var s=b+c+d*this.m_sAx*this.m_sAx+e*this.m_sBx*this.m_sBx;if(s>0){this.m_springMass=1/s;var t=box2d.b2DotVV(r,this.m_ax),u=2*box2d.b2_pi*this.m_frequencyHz,v=2*this.m_springMass*this.m_dampingRatio*u,w=this.m_springMass*u*u,x=a.step.dt;this.m_gamma=x*(v+x*w),this.m_gamma>0&&(this.m_gamma=1/this.m_gamma),this.m_bias=t*x*w*this.m_gamma,this.m_springMass=s+this.m_gamma,this.m_springMass>0&&(this.m_springMass=1/this.m_springMass)}}else this.m_springImpulse=0;if(this.m_enableMotor?(this.m_motorMass=d+e,this.m_motorMass>0&&(this.m_motorMass=1/this.m_motorMass)):(this.m_motorMass=0,this.m_motorImpulse=0),a.step.warmStarting){this.m_impulse*=a.step.dtRatio,this.m_springImpulse*=a.step.dtRatio,this.m_motorImpulse*=a.step.dtRatio;var y=box2d.b2AddVV(box2d.b2MulSV(this.m_impulse,this.m_ay,box2d.b2Vec2.s_t0),box2d.b2MulSV(this.m_springImpulse,this.m_ax,box2d.b2Vec2.s_t1),box2d.b2WheelJoint.prototype.InitVelocityConstraints.s_P),z=this.m_impulse*this.m_sAy+this.m_springImpulse*this.m_sAx+this.m_motorImpulse,A=this.m_impulse*this.m_sBy+this.m_springImpulse*this.m_sBx+this.m_motorImpulse;h.SelfMulSub(this.m_invMassA,y),i-=this.m_invIA*z,l.SelfMulAdd(this.m_invMassB,y),m+=this.m_invIB*A}else this.m_impulse=0,this.m_springImpulse=0,this.m_motorImpulse=0;a.velocities[this.m_indexA].w=i,a.velocities[this.m_indexB].w=m},box2d.b2WheelJoint.prototype.InitVelocityConstraints.s_d=new box2d.b2Vec2,box2d.b2WheelJoint.prototype.InitVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2WheelJoint.prototype.SolveVelocityConstraints=function(a){var b=this.m_invMassA,c=this.m_invMassB,d=this.m_invIA,e=this.m_invIB,f=a.velocities[this.m_indexA].v,g=a.velocities[this.m_indexA].w,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=box2d.b2DotVV(this.m_ax,box2d.b2SubVV(h,f,box2d.b2Vec2.s_t0))+this.m_sBx*i-this.m_sAx*g,k=-this.m_springMass*(j+this.m_bias+this.m_gamma*this.m_springImpulse);this.m_springImpulse+=k;var l=box2d.b2MulSV(k,this.m_ax,box2d.b2WheelJoint.prototype.SolveVelocityConstraints.s_P),m=k*this.m_sAx,n=k*this.m_sBx;f.SelfMulSub(b,l),g-=d*m,h.SelfMulAdd(c,l),i+=e*n;var j=i-g-this.m_motorSpeed,k=-this.m_motorMass*j,o=this.m_motorImpulse,p=a.step.dt*this.m_maxMotorTorque;this.m_motorImpulse=box2d.b2Clamp(this.m_motorImpulse+k,-p,p),k=this.m_motorImpulse-o,g-=d*k,i+=e*k;var j=box2d.b2DotVV(this.m_ay,box2d.b2SubVV(h,f,box2d.b2Vec2.s_t0))+this.m_sBy*i-this.m_sAy*g,k=-this.m_mass*j;this.m_impulse+=k;var l=box2d.b2MulSV(k,this.m_ay,box2d.b2WheelJoint.prototype.SolveVelocityConstraints.s_P),m=k*this.m_sAy,n=k*this.m_sBy;f.SelfMulSub(b,l),g-=d*m,h.SelfMulAdd(c,l),i+=e*n,a.velocities[this.m_indexA].w=g,a.velocities[this.m_indexB].w=i},box2d.b2WheelJoint.prototype.SolveVelocityConstraints.s_P=new box2d.b2Vec2,box2d.b2WheelJoint.prototype.SolvePositionConstraints=function(a){var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.positions[this.m_indexB].c,e=a.positions[this.m_indexB].a,f=this.m_qA.SetAngleRadians(c),g=this.m_qB.SetAngleRadians(e);box2d.b2SubVV(this.m_localAnchorA,this.m_localCenterA,this.m_lalcA);var h=box2d.b2MulRV(f,this.m_lalcA,this.m_rA);box2d.b2SubVV(this.m_localAnchorB,this.m_localCenterB,this.m_lalcB);var i,j=box2d.b2MulRV(g,this.m_lalcB,this.m_rB),k=box2d.b2AddVV(box2d.b2SubVV(d,b,box2d.b2Vec2.s_t0),box2d.b2SubVV(j,h,box2d.b2Vec2.s_t1),box2d.b2WheelJoint.prototype.SolvePositionConstraints.s_d),l=box2d.b2MulRV(f,this.m_localYAxisA,this.m_ay),m=box2d.b2CrossVV(box2d.b2AddVV(k,h,box2d.b2Vec2.s_t0),l),n=box2d.b2CrossVV(j,l),o=box2d.b2DotVV(k,this.m_ay),p=this.m_invMassA+this.m_invMassB+this.m_invIA*this.m_sAy*this.m_sAy+this.m_invIB*this.m_sBy*this.m_sBy;i=0!==p?-o/p:0;var q=box2d.b2MulSV(i,l,box2d.b2WheelJoint.prototype.SolvePositionConstraints.s_P),r=i*m,s=i*n;return b.SelfMulSub(this.m_invMassA,q),c-=this.m_invIA*r,d.SelfMulAdd(this.m_invMassB,q),e+=this.m_invIB*s,a.positions[this.m_indexA].a=c,a.positions[this.m_indexB].a=e,box2d.b2Abs(o)<=box2d.b2_linearSlop},box2d.b2WheelJoint.prototype.SolvePositionConstraints.s_d=new box2d.b2Vec2,box2d.b2WheelJoint.prototype.SolvePositionConstraints.s_P=new box2d.b2Vec2,box2d.b2WheelJoint.prototype.GetDefinition=function(a){return box2d.ENABLE_ASSERTS&&box2d.b2Assert(!1),a},box2d.b2WheelJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA,a)},box2d.b2WheelJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB,a)},box2d.b2WheelJoint.prototype.GetReactionForce=function(a,b){return b.x=a*(this.m_impulse*this.m_ay.x+this.m_springImpulse*this.m_ax.x),b.y=a*(this.m_impulse*this.m_ay.y+this.m_springImpulse*this.m_ax.y),b},box2d.b2WheelJoint.prototype.GetReactionTorque=function(a){return a*this.m_motorImpulse},box2d.b2WheelJoint.prototype.GetLocalAnchorA=function(a){return a.Copy(this.m_localAnchorA)},box2d.b2WheelJoint.prototype.GetLocalAnchorB=function(a){return a.Copy(this.m_localAnchorB)},box2d.b2WheelJoint.prototype.GetLocalAxisA=function(a){return a.Copy(this.m_localXAxisA)},box2d.b2WheelJoint.prototype.GetJointTranslation=function(){var a=this.m_bodyA,b=this.m_bodyB,c=a.GetWorldPoint(this.m_localAnchorA,new box2d.b2Vec2),d=b.GetWorldPoint(this.m_localAnchorB,new box2d.b2Vec2),e=box2d.b2SubVV(d,c,new box2d.b2Vec2),f=a.GetWorldVector(this.m_localXAxisA,new box2d.b2Vec2),g=box2d.b2DotVV(e,f);return g},box2d.b2WheelJoint.prototype.GetJointSpeed=function(){var a=this.m_bodyA.m_angularVelocity,b=this.m_bodyB.m_angularVelocity;return b-a},box2d.b2WheelJoint.prototype.IsMotorEnabled=function(){return this.m_enableMotor},box2d.b2WheelJoint.prototype.EnableMotor=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=a},box2d.b2WheelJoint.prototype.SetMotorSpeed=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=a},box2d.b2WheelJoint.prototype.SetMaxMotorTorque=function(a){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_maxMotorTorque=a},box2d.b2WheelJoint.prototype.GetMotorTorque=function(a){return a*this.m_motorImpulse},box2d.b2WheelJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2WheelJointDef*/ var jd = new box2d.b2WheelJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.localAnchorA.SetXY(%.15f, %.15f);\n",this.m_localAnchorA.x,this.m_localAnchorA.y),box2d.b2Log(" jd.localAnchorB.SetXY(%.15f, %.15f);\n",this.m_localAnchorB.x,this.m_localAnchorB.y),box2d.b2Log(" jd.localAxisA.Set(%.15f, %.15f);\n",this.m_localXAxisA.x,this.m_localXAxisA.y),box2d.b2Log(" jd.enableMotor = %s;\n",this.m_enableMotor?"true":"false"),box2d.b2Log(" jd.motorSpeed = %.15f;\n",this.m_motorSpeed),box2d.b2Log(" jd.maxMotorTorque = %.15f;\n",this.m_maxMotorTorque),box2d.b2Log(" jd.frequencyHz = %.15f;\n",this.m_frequencyHz),box2d.b2Log(" jd.dampingRatio = %.15f;\n",this.m_dampingRatio),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d.b2MotorJoint"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Math"),box2d.b2MotorJointDef=function(){goog.base(this,box2d.b2JointType.e_motorJoint),this.linearOffset=new box2d.b2Vec2(0,0)},goog.inherits(box2d.b2MotorJointDef,box2d.b2JointDef),box2d.b2MotorJointDef.prototype.linearOffset=null,box2d.b2MotorJointDef.prototype.angularOffset=0,box2d.b2MotorJointDef.prototype.maxForce=1,box2d.b2MotorJointDef.prototype.maxTorque=1,box2d.b2MotorJointDef.prototype.correctionFactor=.3,box2d.b2MotorJointDef.prototype.Initialize=function(a,b){this.bodyA=a,this.bodyB=b,this.bodyA.GetLocalPoint(this.bodyB.GetPosition(),this.linearOffset);var c=this.bodyA.GetAngleRadians(),d=this.bodyB.GetAngleRadians();this.angularOffset=d-c},box2d.b2MotorJoint=function(a){goog.base(this,a),this.m_linearOffset=a.linearOffset.Clone(),this.m_linearImpulse=new box2d.b2Vec2(0,0),this.m_maxForce=a.maxForce,this.m_maxTorque=a.maxTorque,this.m_correctionFactor=a.correctionFactor,this.m_rA=new box2d.b2Vec2(0,0),this.m_rB=new box2d.b2Vec2(0,0),this.m_localCenterA=new box2d.b2Vec2(0,0),this.m_localCenterB=new box2d.b2Vec2(0,0),this.m_linearError=new box2d.b2Vec2(0,0),this.m_linearMass=new box2d.b2Mat22,this.m_qA=new box2d.b2Rot,this.m_qB=new box2d.b2Rot,this.m_K=new box2d.b2Mat22},goog.inherits(box2d.b2MotorJoint,box2d.b2Joint),box2d.b2MotorJoint.prototype.m_linearOffset=null,box2d.b2MotorJoint.prototype.m_angularOffset=0,box2d.b2MotorJoint.prototype.m_linearImpulse=null,box2d.b2MotorJoint.prototype.m_angularImpulse=0,box2d.b2MotorJoint.prototype.m_maxForce=0,box2d.b2MotorJoint.prototype.m_maxTorque=0,box2d.b2MotorJoint.prototype.m_correctionFactor=.3,box2d.b2MotorJoint.prototype.m_indexA=0,box2d.b2MotorJoint.prototype.m_indexB=0,box2d.b2MotorJoint.prototype.m_rA=null,box2d.b2MotorJoint.prototype.m_rB=null,box2d.b2MotorJoint.prototype.m_localCenterA=null,box2d.b2MotorJoint.prototype.m_localCenterB=null,box2d.b2MotorJoint.prototype.m_linearError=null,box2d.b2MotorJoint.prototype.m_angularError=0,box2d.b2MotorJoint.prototype.m_invMassA=0,box2d.b2MotorJoint.prototype.m_invMassB=0,box2d.b2MotorJoint.prototype.m_invIA=0,box2d.b2MotorJoint.prototype.m_invIB=0,box2d.b2MotorJoint.prototype.m_linearMass=null,box2d.b2MotorJoint.prototype.m_angularMass=0,box2d.b2MotorJoint.prototype.m_qA=null,box2d.b2MotorJoint.prototype.m_qB=null,box2d.b2MotorJoint.prototype.m_K=null,box2d.b2MotorJoint.prototype.GetAnchorA=function(a){return this.m_bodyA.GetPosition(a)},box2d.b2MotorJoint.prototype.GetAnchorB=function(a){return this.m_bodyB.GetPosition(a)},box2d.b2MotorJoint.prototype.GetReactionForce=function(a,b){return box2d.b2MulSV(a,this.m_linearImpulse,b)},box2d.b2MotorJoint.prototype.GetReactionTorque=function(a){return a*this.m_angularImpulse},box2d.b2MotorJoint.prototype.SetCorrectionFactor=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a)&&a>=0&&1>=a),this._correctionFactor=a},box2d.b2MotorJoint.prototype.GetCorrectionFactor=function(){return this.m_correctionFactor},box2d.b2MotorJoint.prototype.SetLinearOffset=function(a){box2d.b2IsEqualToV(a,this.m_linearOffset)||(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_linearOffset.Copy(a))},box2d.b2MotorJoint.prototype.GetLinearOffset=function(a){return a.Copy(this.m_linearOffset)},box2d.b2MotorJoint.prototype.SetAngularOffset=function(a){a!==this.m_angularOffset&&(this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_angularOffset=a)},box2d.b2MotorJoint.prototype.GetAngularOffset=function(){return this.m_angularOffset},box2d.b2MotorJoint.prototype.SetMaxForce=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a)&&a>=0),this.m_maxForce=a},box2d.b2MotorJoint.prototype.GetMaxForce=function(){return this.m_maxForce},box2d.b2MotorJoint.prototype.SetMaxTorque=function(a){box2d.ENABLE_ASSERTS&&box2d.b2Assert(box2d.b2IsValid(a)&&a>=0),this.m_maxTorque=a},box2d.b2MotorJoint.prototype.GetMaxTorque=function(){return this.m_maxTorque},box2d.b2MotorJoint.prototype.InitVelocityConstraints=function(a){this.m_indexA=this.m_bodyA.m_islandIndex,this.m_indexB=this.m_bodyB.m_islandIndex,this.m_localCenterA.Copy(this.m_bodyA.m_sweep.localCenter),this.m_localCenterB.Copy(this.m_bodyB.m_sweep.localCenter),this.m_invMassA=this.m_bodyA.m_invMass,this.m_invMassB=this.m_bodyB.m_invMass,this.m_invIA=this.m_bodyA.m_invI,this.m_invIB=this.m_bodyB.m_invI;var b=a.positions[this.m_indexA].c,c=a.positions[this.m_indexA].a,d=a.velocities[this.m_indexA].v,e=a.velocities[this.m_indexA].w,f=a.positions[this.m_indexB].c,g=a.positions[this.m_indexB].a,h=a.velocities[this.m_indexB].v,i=a.velocities[this.m_indexB].w,j=this.m_qA.SetAngleRadians(c),k=this.m_qB.SetAngleRadians(g),l=box2d.b2MulRV(j,box2d.b2NegV(this.m_localCenterA,box2d.b2Vec2.s_t0),this.m_rA),m=box2d.b2MulRV(k,box2d.b2NegV(this.m_localCenterB,box2d.b2Vec2.s_t0),this.m_rB),n=this.m_invMassA,o=this.m_invMassB,p=this.m_invIA,q=this.m_invIB,r=this.m_K;if(r.ex.x=n+o+p*l.y*l.y+q*m.y*m.y,r.ex.y=-p*l.x*l.y-q*m.x*m.y,r.ey.x=r.ex.y,r.ey.y=n+o+p*l.x*l.x+q*m.x*m.x,r.GetInverse(this.m_linearMass),this.m_angularMass=p+q,this.m_angularMass>0&&(this.m_angularMass=1/this.m_angularMass),box2d.b2SubVV(box2d.b2SubVV(box2d.b2AddVV(f,m,box2d.b2Vec2.s_t0),box2d.b2AddVV(b,l,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t2),box2d.b2MulRV(j,this.m_linearOffset,box2d.b2Vec2.s_t3),this.m_linearError),this.m_angularError=g-c-this.m_angularOffset,a.step.warmStarting){this.m_linearImpulse.SelfMul(a.step.dtRatio),this.m_angularImpulse*=a.step.dtRatio;var s=this.m_linearImpulse;d.SelfMulSub(n,s),e-=p*(box2d.b2CrossVV(l,s)+this.m_angularImpulse),h.SelfMulAdd(o,s),i+=q*(box2d.b2CrossVV(m,s)+this.m_angularImpulse)}else this.m_linearImpulse.SetZero(),this.m_angularImpulse=0;a.velocities[this.m_indexA].w=e,a.velocities[this.m_indexB].w=i},box2d.b2MotorJoint.prototype.SolveVelocityConstraints=function(a){var b=a.velocities[this.m_indexA].v,c=a.velocities[this.m_indexA].w,d=a.velocities[this.m_indexB].v,e=a.velocities[this.m_indexB].w,f=this.m_invMassA,g=this.m_invMassB,h=this.m_invIA,i=this.m_invIB,j=a.step.dt,k=a.step.inv_dt,l=e-c+k*this.m_correctionFactor*this.m_angularError,m=-this.m_angularMass*l,n=this.m_angularImpulse,o=j*this.m_maxTorque;this.m_angularImpulse=box2d.b2Clamp(this.m_angularImpulse+m,-o,o),m=this.m_angularImpulse-n,c-=h*m,e+=i*m;var p=this.m_rA,q=this.m_rB,l=box2d.b2AddVV(box2d.b2SubVV(box2d.b2AddVV(d,box2d.b2CrossSV(e,q,box2d.b2Vec2.s_t0),box2d.b2Vec2.s_t0),box2d.b2AddVV(b,box2d.b2CrossSV(c,p,box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t1),box2d.b2Vec2.s_t2),box2d.b2MulSV(k*this.m_correctionFactor,this.m_linearError,box2d.b2Vec2.s_t3),box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_Cdot),m=box2d.b2MulMV(this.m_linearMass,l,box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_impulse).SelfNeg(),n=box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_oldImpulse.Copy(this.m_linearImpulse);this.m_linearImpulse.SelfAdd(m);var o=j*this.m_maxForce;this.m_linearImpulse.GetLengthSquared()>o*o&&(this.m_linearImpulse.Normalize(),this.m_linearImpulse.SelfMul(o)),box2d.b2SubVV(this.m_linearImpulse,n,m),b.SelfMulSub(f,m),c-=h*box2d.b2CrossVV(p,m),d.SelfMulAdd(g,m),e+=i*box2d.b2CrossVV(q,m),a.velocities[this.m_indexA].w=c,a.velocities[this.m_indexB].w=e},box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_Cdot=new box2d.b2Vec2,box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_impulse=new box2d.b2Vec2,box2d.b2MotorJoint.prototype.SolveVelocityConstraints.s_oldImpulse=new box2d.b2Vec2,box2d.b2MotorJoint.prototype.SolvePositionConstraints=function(){return!0},box2d.b2MotorJoint.prototype.Dump=function(){if(box2d.DEBUG){var a=this.m_bodyA.m_islandIndex,b=this.m_bodyB.m_islandIndex;box2d.b2Log(" /*box2d.b2MotorJointDef*/ var jd = new box2d.b2MotorJointDef();\n"),box2d.b2Log(" jd.bodyA = bodies[%d];\n",a),box2d.b2Log(" jd.bodyB = bodies[%d];\n",b),box2d.b2Log(" jd.collideConnected = %s;\n",this.m_collideConnected?"true":"false"),box2d.b2Log(" jd.linearOffset.SetXY(%.15f, %.15f);\n",this.m_linearOffset.x,this.m_linearOffset.y),box2d.b2Log(" jd.angularOffset = %.15f;\n",this.m_angularOffset),box2d.b2Log(" jd.maxForce = %.15f;\n",this.m_maxForce),box2d.b2Log(" jd.maxTorque = %.15f;\n",this.m_maxTorque),box2d.b2Log(" jd.correctionFactor = %.15f;\n",this.m_correctionFactor),box2d.b2Log(" joints[%d] = this.m_world.CreateJoint(jd);\n",this.m_index)}},goog.provide("box2d"),goog.require("box2d.b2Settings"),goog.require("box2d.b2Draw"),goog.require("box2d.b2Timer"),goog.require("box2d.b2CircleShape"),goog.require("box2d.b2EdgeShape"),goog.require("box2d.b2ChainShape"),goog.require("box2d.b2PolygonShape"),goog.require("box2d.b2BroadPhase"),goog.require("box2d.b2Distance"),goog.require("box2d.b2DynamicTree"),goog.require("box2d.b2TimeOfImpact"),goog.require("box2d.b2Body"),goog.require("box2d.b2Fixture"),goog.require("box2d.b2WorldCallbacks"),goog.require("box2d.b2TimeStep"),goog.require("box2d.b2World"),goog.require("box2d.b2Contact"),goog.require("box2d.b2AreaJoint"),goog.require("box2d.b2DistanceJoint"),goog.require("box2d.b2FrictionJoint"),goog.require("box2d.b2GearJoint"),goog.require("box2d.b2MotorJoint"),goog.require("box2d.b2MouseJoint"),goog.require("box2d.b2PrismaticJoint"),goog.require("box2d.b2PulleyJoint"),goog.require("box2d.b2RevoluteJoint"),goog.require("box2d.b2RopeJoint"),goog.require("box2d.b2WeldJoint"),goog.require("box2d.b2WheelJoint"),goog.require("box2d.b2Rope"),goog.require("box2d.b2BuoyancyController"),goog.require("box2d.b2ConstantAccelController"),goog.require("box2d.b2ConstantForceController"),goog.require("box2d.b2GravityController"),goog.require("box2d.b2TensorDampingController"),Phaser.Physics.Box2D=function(a,b){this.game=a,this.version="1.0.2",this.ptmRatio=50,this.world=new box2d.b2World(new box2d.b2Vec2(0,0)),this.debugDraw=new Phaser.Physics.Box2D.DefaultDebugDraw(this.mpx(1)),this.world.SetDebugDraw(this.debugDraw),this.contactListener=new Phaser.Physics.Box2D.DefaultContactListener,this.world.SetContactListener(this.contactListener),this.nextBodyId=0,this.nextFixtureId=0,this.gravity=new Phaser.Physics.Box2D.PointProxy(this,this.world,this.world.GetGravity,this.world.SetGravity),this.friction=.2,this.restitution=0,this.density=1,this.frameRate=1/60,this.velocityIterations=8,this.positionIterations=3,this.useElapsedTime=!1,this.paused=!1,this.particleSystem=null;var c=new box2d.b2BodyDef;this.mouseJointBody=this.world.CreateBody(c),this.mouseJoint=null,b.hasOwnProperty("mpx")&&b.hasOwnProperty("pxm")&&(this.mpx=b.mpx,this.pxm=b.pxm),this.walls={left:null,right:null,top:null,bottom:null},this.onBodyAdded=new Phaser.Signal,this.onBodyRemoved=new Phaser.Signal,this._toRemove=[]},Phaser.Physics.Box2D.worldBoundsFilterCategory=32768,Phaser.Physics.Box2D.prototype={getNextBodyId:function(){var a=this.nextBodyId;return this.nextBodyId+=1,a},getNextFixtureId:function(){var a=this.nextFixtureId;return this.nextFixtureId+=1,a},removeBodyNextStep:function(a){this._toRemove.push(a)},preUpdate:function(){for(var a=this._toRemove.length;a--;)this.removeBody(this._toRemove[a]);this._toRemove.length=0},enable:function(a,b){"undefined"==typeof b&&(b=!0);var c=1;if(Array.isArray(a))for(c=a.length;c--;)a[c]instanceof Phaser.Group?this.enable(a[c].children,b):(this.enableBody(a[c]),b&&a[c].hasOwnProperty("children")&&a[c].children.length>0&&this.enable(a[c],!0));else a instanceof Phaser.Group?this.enable(a.children,b):(this.enableBody(a),b&&a.hasOwnProperty("children")&&a.children.length>0&&this.enable(a.children,!0))},enableBody:function(a){a.hasOwnProperty("body")&&null===a.body&&(a.body=new Phaser.Physics.Box2D.Body(this.game,a,a.x,a.y,2),a.anchor.set(.5))},setBoundsToWorld:function(a,b,c,d,e,f){"undefined"==typeof a&&(a=!0),"undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=!0),"undefined"==typeof d&&(d=!0),"undefined"==typeof e&&(e=1),"undefined"==typeof f&&(e=4294967295),this.setBounds(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,a,b,c,d,e,f)},setBounds:function(a,b,c,d,e,f,g,h,i,j){"undefined"==typeof e&&(e=!0),"undefined"==typeof f&&(f=!0),"undefined"==typeof g&&(g=!0),"undefined"==typeof h&&(h=!0),"undefined"==typeof i&&(i=1),"undefined"==typeof j&&(j=4294967295),this.walls.left&&this.removeBody(this.walls.left),this.walls.right&&this.removeBody(this.walls.right),this.walls.top&&this.removeBody(this.walls.top),this.walls.bottom&&this.removeBody(this.walls.bottom);var k=new box2d.b2PolygonShape,l=new box2d.b2FixtureDef;l.shape=k,l.filter.categoryBits=Phaser.Physics.Box2D.worldBoundsFilterCategory,l.filter.maskBits=65535;var m=this.pxm(100),n=this.game.world.bounds;if(e){this.walls.left=this.createBody(0,0,0),k.SetAsOrientedBox(m,this.pxm(n.height)+m,new box2d.b2Vec2(m,0),0);var o=this.walls.left.data.CreateFixture(l);o.id=this.getNextFixtureId()}if(f){this.walls.right=this.createBody(0,0,0),k.SetAsOrientedBox(m,this.pxm(n.height)+m,new box2d.b2Vec2(this.pxm(-n.width)-m,0),0);var o=this.walls.right.data.CreateFixture(l);o.id=this.getNextFixtureId()}if(g){this.walls.top=this.createBody(0,0,0),k.SetAsOrientedBox(this.pxm(n.width)+m,m,new box2d.b2Vec2(0,m),0);var o=this.walls.top.data.CreateFixture(l);o.id=this.getNextFixtureId()}if(h){this.walls.bottom=this.createBody(0,0,0),k.SetAsOrientedBox(this.pxm(n.width)+m,m,new box2d.b2Vec2(0,this.pxm(-n.height)-m),0);var o=this.walls.bottom.data.CreateFixture(l);o.id=this.getNextFixtureId()}},pause:function(){this.paused=!0},resume:function(){this.paused=!1},update:function(){this.paused||(this.useElapsedTime?this.world.Step(this.game.time.physicsElapsed,this.velocityIterations,this.positionIterations):this.world.Step(this.frameRate,this.velocityIterations,this.positionIterations))},reset:function(){this.clear()},clear:function(){var a=this.world.GetGravity().Clone();this.world=new box2d.b2World(a),this.world.SetDebugDraw(this.debugDraw),this.world.SetContactListener(this.contactListener),this._toRemove=[]},destroy:function(){this.clear(),this.gravity=null,this.world=null,this.game=null},createBody:function(a,b,c){var d=new Phaser.Physics.Box2D.Body(this.game,null,a,b,c,this);return d},createCircle:function(a,b,c,d,e){var f=this.createBody(a,b,2);return f.setCircle(c,d,e)},createRectangle:function(a,b,c,d,e,f,g){var h=this.createBody(a,b,2);return h.setRectangle(c,d,e,f,g)},createPolygon:function(a,b,c,d,e){var f=this.createBody(a,b,2);return f.setPolygon(c,d,e)},addBody:function(a){return a.data.world?!1:(a.data=this.world.CreateBody(a.bodyDef),a.data.world=this.world,a.data.parent=a,this.onBodyAdded.dispatch(a),!0)},removeBody:function(a){return a.data.world==this.world&&(this.world.DestroyBody(a.data),this.onBodyRemoved.dispatch(a)),a},getBodies:function(){for(var a=[],b=this.world.GetBodyList();b;b=b.GetNext())a.push(b);return a},getBody:function(a){return a instanceof box2d.b2Body?a:a instanceof Phaser.Physics.Box2D.Body?a.data:a.body&&a.body.type===Phaser.Physics.BOX2D?a.body.data:null},toJSON:function(){return this.world.toJSON()},mpx:function(a){return a*=this.ptmRatio},pxm:function(a){return a/this.ptmRatio},renderDebugDraw:function(a){if(this.game.physics.box2d){var b=this.game.physics.box2d;b.debugDraw.start(a),b.world.DrawDebugData(),b.debugDraw.stop()}},renderBodyInfo:function(a,b){a.line("Position: x: "+b.x.toFixed(3)+" y: "+b.y.toFixed(3)),a.line("Rotation: "+b.rotation.toFixed(3)+" degrees"),a.line("Velocity: x: "+b.velocity.x.toFixed(3)+" y: "+b.velocity.y.toFixed(3)),a.line("Angular velocity: "+b.angularVelocity.toFixed(3)+" degrees/sec")},getFixturesAtPoint:function(a,b,c,d){"undefined"==typeof c&&(c=!1),"undefined"==typeof d&&(d=!1);var e=this.pxm(-a),f=this.pxm(-b),g=new box2d.b2Vec2(e,f),h=new box2d.b2AABB,i=new box2d.b2Vec2;i.SetXY(.001,.001),box2d.b2SubVV(g,i,h.lowerBound),box2d.b2AddVV(g,i,h.upperBound);var j=[],k=function(a){return d&&a.GetBody().GetType()!==box2d.b2BodyType.b2_dynamicBody?!0:a.TestPoint(g)?(j.push(a),!c):!0};return this.world.QueryAABB(k,h),j},getBodiesAtPoint:function(a,b,c,d){"undefined"==typeof c&&(c=!1),"undefined"==typeof d&&(d=!1);var e=this.getFixturesAtPoint(a,b,c,d);if(e.length<1)return e;for(var f=[],g=0;gh;h++){e=0;for(var j=0,k=a.layers[b].width;k>j;j++){var l=a.layers[b].data[h][j];if(l&&l.index>-1&&l.collides)if(d){var m=a.getTileRight(b,j,h);if(0===e&&(f=l.x*l.width,g=l.y*l.height,e=l.width),m&&m.collides)e+=l.width;else{var n=new Phaser.Physics.Box2D.Body(this.game,null,f,g,0);n.addRectangle(e,l.height,e/2,l.height/2,0),c&&this.addBody(n),a.layers[b].bodies.push(n),e=0}}else{var n=this.createBody(l.x*l.width,l.y*l.height,0,!1);n.addRectangle(l.width,l.height,l.width/2,l.height/2,0),c&&this.addBody(n),a.layers[b].bodies.push(n)}}}return a.layers[b].bodies},raycast:function(a,b,c,d,e,f){"undefined"==typeof e&&(e=!0),"undefined"==typeof f&&(f=null),a=this.pxm(-a),b=this.pxm(-b),c=this.pxm(-c),d=this.pxm(-d);var g=new box2d.b2Vec2(a,b),h=new box2d.b2Vec2(c,d),i=[],j=new Phaser.Physics.Box2D.RayCastCallback(this,e,f);this.world.RayCast(j,g,h);for(var k=0;k-1&&(null===b?(delete this._bodyContactCallbacks[d],delete this._bodyContactCallbackContext[d]):(this._bodyContactCallbacks[d]=b,this._bodyContactCallbackContext[d]=c))},setFixtureContactCallback:function(a,b,c){var d=a.id;d>-1&&(null===b?(delete this._fixtureContactCallbacks[d],delete this._fixtureContactCallbackContext[d]):(this._fixtureContactCallbacks[d]=b,this._fixtureContactCallbackContext[d]=c))},setCategoryContactCallback:function(a,b,c){null===b?(delete this._categoryContactCallbacks[a],delete this._categoryContactCallbacksContext[a]):(this._categoryContactCallbacks[a]=b,this._categoryContactCallbackContext[a]=c)},setBodyPresolveCallback:function(a,b,c){var d=-1;a.id?d=a.id:a.body&&(d=a.body.id),d>-1&&(null===b?(delete this._bodyPresolveCallbacks[d],delete this._bodyPresolveCallbackContext[d]):(this._bodyPresolveCallbacks[d]=b,this._bodyPresolveCallbackContext[d]=c))},setFixturePresolveCallback:function(a,b,c){var d=a.id;d>-1&&(null===b?(delete this._fixturePresolveCallbacks[d],delete this._fixturePresolveCallbackContext[d]):(this._fixturePresolveCallbacks[d]=b,this._fixturePresolveCallbackContext[d]=c))},setCategoryPresolveCallback:function(a,b,c){null===b?(delete this._categoryPresolveCallbacks[a],delete this._categoryPresolveCallbacksContext[a]):(this._categoryPresolveCallbacks[a]=b,this._categoryPresolveCallbackContext[a]=c)},setBodyPostsolveCallback:function(a,b,c){var d=-1;a.id?d=a.id:a.body&&(d=a.body.id),d>-1&&(null===b?(delete this._bodyPostsolveCallbacks[d],delete this._bodyPostsolveCallbackContext[d]):(this._bodyPostsolveCallbacks[d]=b,this._bodyPostsolveCallbackContext[d]=c))},setFixturePostsolveCallback:function(a,b,c){var d=a.id;d>-1&&(null===b?(delete this._fixturePostsolveCallbacks[d],delete this._fixturePostsolveCallbackContext[d]):(this._fixturePostsolveCallbacks[d]=b,this._fixturePostsolveCallbackContext[d]=c))},setCategoryPostsolveCallback:function(a,b,c){null===b?(delete this._categoryPostsolveCallbacks[a],delete this._categoryPostsolveCallbacksContext[a]):(this._categoryPostsolveCallbacks[a]=b,this._categoryPostsolveCallbackContext[a]=c)},setCollisionCategory:function(a,b){if("undefined"==typeof b)for(var c=this.data.GetFixtureList();c;c=c.GetNext()){var d=c.GetFilterData();d.categoryBits=a}else{var d=b.GetFilterData();d.categoryBits=a}},setCollisionMask:function(a,b){if("undefined"==typeof b)for(var c=this.data.GetFixtureList();c;c=c.GetNext()){var d=c.GetFilterData();d.maskBits=a}else{var d=b.GetFilterData();d.maskBits=a}},applyForce:function(a,b){this.data.ApplyForce(new box2d.b2Vec2(-a,-b),this.data.GetWorldCenter(),!0)},setZeroRotation:function(){this.data.SetAngularVelocity(0)},setZeroVelocity:function(){this.data.SetLinearVelocity(box2d.b2Vec2.ZERO)},setZeroDamping:function(){this.data.SetLinearDamping(0),this.data.SetAngularDamping(0)},toLocalPoint:function(a,b){return a.x=this.world.pxm(-b.x),a.y=this.world.pxm(-b.y),this.data.GetLocalPoint(a,a),a.x=this.world.mpx(-a.x),a.y=this.world.mpx(-a.y),a},toWorldPoint:function(a,b){return a.x=this.world.pxm(-b.x),a.y=this.world.pxm(-b.y),this.data.GetWorldPoint(a,a),a.x=this.world.mpx(-a.x),a.y=this.world.mpx(-a.y),a},toLocalVector:function(a,b){return a.x=this.world.pxm(-b.x),a.y=this.world.pxm(-b.y),this.data.GetLocalVector(a,a),a.x=this.world.mpx(-a.x),a.y=this.world.mpx(-a.y),a},toWorldVector:function(a,b){a.x=this.world.pxm(-b.x),a.y=this.world.pxm(-b.y),this.data.GetWorldVector(a,a),a.x=this.world.mpx(-a.x),a.y=this.world.mpx(-a.y)},rotateLeft:function(a){this.data.SetAngularVelocity(this.world.pxm(-a))},rotateRight:function(a){this.data.SetAngularVelocity(this.world.pxm(a))},moveForward:function(a){var b=this.world.pxm(a),c=new box2d.b2Vec2;this.toWorldVector(c,{x:0,y:b}),this.data.SetLinearVelocity(c)},moveBackward:function(a){var b=this.world.pxm(-a),c=new box2d.b2Vec2;this.toWorldVector(c,{x:0,y:b}),this.data.SetLinearVelocity(c)},thrust:function(a){var b=this.world.pxm(a)*this.data.GetMass(),c=new box2d.b2Vec2;this.toWorldVector(c,{x:0,y:b}),this.data.ApplyForce(c,this.data.GetWorldCenter(),!0)},reverse:function(a){var b=-this.world.pxm(a)*this.data.GetMass(),c=new box2d.b2Vec2;this.toWorldVector(c,{x:0,y:b}),this.data.ApplyForce(c,this.data.GetWorldCenter(),!0)},moveLeft:function(a){this.velocity.x=-a},moveRight:function(a){this.velocity.x=a},moveUp:function(a){this.velocity.y=-a},moveDown:function(a){this.velocity.y=a},preUpdate:function(){this.removeNextStep&&(this.removeFromWorld(),this.removeNextStep=!1)},postUpdate:function(){this.sprite&&(this.sprite.x=this.world.mpx(-this.data.GetPosition().x),this.sprite.y=this.world.mpx(-this.data.GetPosition().y),this.sprite.rotation=this.data.GetAngle())},kill:function(){this.data.SetActive(!1)},reset:function(a,b){this.data.SetPositionXY(this.world.pxm(-a),this.world.pxm(-b)),this.data.SetActive(!0)},removeFromWorld:function(){this.data.world===this.game.physics.box2d.world&&this.game.physics.box2d.removeBodyNextStep(this)},destroy:function(){this.removeFromWorld(),this._bodyCallbacks={},this._bodyCallbackContext={},this._categoryCallbacks={},this._categoryCallbackContext={},this.sprite=null},clearFixtures:function(){for(var a=[],b=this.data.GetFixtureList();b;b=b.GetNext())a.push(b);for(var c=a.length;c--;)this.data.DestroyFixture(a[c])},addCircle:function(a,b,c){var d=new box2d.b2CircleShape(this.world.pxm(a));d.m_p.SetXY(this.world.pxm(-b),this.world.pxm(-c));var e=new box2d.b2FixtureDef;e.shape=d,e.friction=this.world.friction,e.restitution=this.world.restitution,e.density=this.world.density;var f=this.data.CreateFixture(e);return f.id=this.world.getNextFixtureId(),f},addRectangle:function(a,b,c,d,e){"undefined"==typeof a&&(a=16),"undefined"==typeof b&&(b=16),"undefined"==typeof c&&(c=0),"undefined"==typeof d&&(d=0),"undefined"==typeof e&&(e=0),a=this.world.pxm(a),b=this.world.pxm(b);var f=new box2d.b2PolygonShape;f.SetAsOrientedBox(.5*a,.5*b,new box2d.b2Vec2(this.world.pxm(-c),this.world.pxm(-d)),e);var g=new box2d.b2FixtureDef;g.shape=f,g.friction=this.world.friction,g.restitution=this.world.restitution,g.density=this.world.density;var h=this.data.CreateFixture(g);return h.id=this.world.getNextFixtureId(),h},addEdge:function(a,b,c,d){var e=new box2d.b2EdgeShape;e.Set(new box2d.b2Vec2(this.world.pxm(-a),this.world.pxm(-b)),new box2d.b2Vec2(this.world.pxm(-c),this.world.pxm(-d)));var f=new box2d.b2FixtureDef;f.shape=e,f.friction=this.world.friction,f.restitution=this.world.restitution,f.density=this.world.density;var g=this.data.CreateFixture(f);return g.id=this.world.getNextFixtureId(),g},addChain:function(a,b,c,d){if("undefined"==typeof a)return null;if(a.length<4)return null;"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=(a.length-b)/2);for(var e=[],f=b;b+c>f;f++)e.push(new box2d.b2Vec2(this.world.pxm(-a[2*f]),this.world.pxm(-a[2*f+1])));var g=new box2d.b2ChainShape;d?g.CreateLoop(e,e.length):g.CreateChain(e,e.length);var h=new box2d.b2FixtureDef;h.shape=g,h.friction=this.world.friction,h.restitution=this.world.restitution,h.density=this.world.density;var i=this.data.CreateFixture(h);return i.id=this.world.getNextFixtureId(),i},addLoop:function(a,b,c){return this.addChain(a,b,c,!0)},addPolygon:function(a,b,c){if("undefined"==typeof a)return null;if(a.length<6)return null;"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=(a.length-b)/2);for(var d=[],e=b;b+c>e;e++)d.push({x:this.world.pxm(-a[2*e]),y:this.world.pxm(-a[2*e+1])});var f=new Phaser.Physics.Box2D.Polygon;f.setFromXYObjects(d);for(var g=f.decompose(d),h=null,e=0;ee;e++)d.lineTo(a[e].x,a[e].y);d.closePath(),d.strokeStyle=c.MakeStyleString(1),d.stroke()}},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawSolidPolygon=function(a,b,c){if(b){var d=this.context;d.lineWidth=1/this.pixelsPerMeter,d.beginPath(),d.moveTo(a[0].x,a[0].y);for(var e=1;b>e;e++)d.lineTo(a[e].x,a[e].y);d.closePath(),d.fillStyle=c.MakeStyleString(.5),d.fill(),d.strokeStyle=c.MakeStyleString(1),d.stroke()}},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawCircle=function(a,b,c){if(b){var d=this.context;d.beginPath(),d.arc(a.x,a.y,b,0,2*Math.PI,!0),d.strokeStyle=c.MakeStyleString(1),d.stroke()}},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawSolidCircle=function(a,b,c,d){if(b){var e=this.context;e.lineWidth=1/this.pixelsPerMeter;var f=a.x,g=a.y;e.beginPath(),e.arc(f,g,b,0,2*Math.PI,!0),e.moveTo(f,g),e.lineTo(f+c.x*b,g+c.y*b),e.fillStyle=d.MakeStyleString(.5),e.fill(),e.strokeStyle=d.MakeStyleString(1),e.stroke()}},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawSegment=function(a,b,c){var d=this.context;d.lineWidth=1/this.pixelsPerMeter,d.beginPath(),d.moveTo(a.x,a.y),d.lineTo(b.x,b.y),d.strokeStyle=c.MakeStyleString(1),d.stroke()},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawTransform=function(a){var b=this.context;b.lineWidth=1/this.pixelsPerMeter,this.PushTransform(a),b.beginPath(),b.moveTo(0,0),b.lineTo(1,0),b.strokeStyle=box2d.b2Color.RED.MakeStyleString(1),b.stroke(),b.beginPath(),b.moveTo(0,0),b.lineTo(0,1),b.strokeStyle=box2d.b2Color.GREEN.MakeStyleString(1),b.stroke(),this.PopTransform(a)},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawPoint=function(a,b,c){var d=this.context;d.fillStyle=c.MakeStyleString();var e=b/2;d.fillRect(a.x-e,a.y-e,b,b)},Phaser.Physics.Box2D.DefaultDebugDraw.prototype.DrawAABB=function(a,b){var c=this.context;c.strokeStyle=b.MakeStyleString();var d=a.lowerBound.x,e=a.lowerBound.y,f=a.upperBound.x-a.lowerBound.x,g=a.upperBound.y-a.lowerBound.y;c.strokeRect(d,e,f,g)},Object.defineProperty(Phaser.Physics.Box2D.DefaultDebugDraw.prototype,"shapes",{get:function(){return this.flags&box2d.b2DrawFlags.e_shapeBit},set:function(a){a?this.flags|=box2d.b2DrawFlags.e_shapeBit:this.flags&=~box2d.b2DrawFlags.e_shapeBit}}),Object.defineProperty(Phaser.Physics.Box2D.DefaultDebugDraw.prototype,"joints",{get:function(){return this.flags&box2d.b2DrawFlags.e_jointBit},set:function(a){a?this.flags|=box2d.b2DrawFlags.e_jointBit:this.flags&=~box2d.b2DrawFlags.e_jointBit}}),Object.defineProperty(Phaser.Physics.Box2D.DefaultDebugDraw.prototype,"aabbs",{get:function(){return this.flags&box2d.b2DrawFlags.e_aabbBit},set:function(a){a?this.flags|=box2d.b2DrawFlags.e_aabbBit:this.flags&=~box2d.b2DrawFlags.e_aabbBit}}),Object.defineProperty(Phaser.Physics.Box2D.DefaultDebugDraw.prototype,"pairs",{get:function(){return this.flags&box2d.b2DrawFlags.e_pairBit},set:function(a){a?this.flags|=box2d.b2DrawFlags.e_pairBit:this.flags&=~box2d.b2DrawFlags.e_pairBit}}),Object.defineProperty(Phaser.Physics.Box2D.DefaultDebugDraw.prototype,"centerOfMass",{get:function(){return this.flags&box2d.b2DrawFlags.e_centerOfMassBit},set:function(a){a?this.flags|=box2d.b2DrawFlags.e_centerOfMassBit:this.flags&=~box2d.b2DrawFlags.e_centerOfMassBit}}),Phaser.Physics.Box2D.DefaultContactListener=function(){},Phaser.Physics.Box2D.DefaultContactListener.prototype.BeginContact=function(a){this.handleContactBeginOrEnd(a,!0)},Phaser.Physics.Box2D.DefaultContactListener.prototype.EndContact=function(a){this.handleContactBeginOrEnd(a,!1)},Phaser.Physics.Box2D.DefaultContactListener.prototype.handleContactBeginOrEnd=function(a,b){var c=a.GetFixtureA(),d=a.GetFixtureB(),e=c.GetBody(),f=d.GetBody(),g=c.GetFilterData().categoryBits,h=d.GetFilterData().categoryBits,i=e.parent,j=f.parent;if(void 0!==i&&void 0!==j){var k=i.id,l=j.id;i._bodyContactCallbacks[l]&&i._bodyContactCallbacks[l].call(i._bodyContactCallbackContext[l],i,j,c,d,b,a),j._bodyContactCallbacks[k]&&j._bodyContactCallbacks[k].call(j._bodyContactCallbackContext[k],j,i,d,c,b,a),i._fixtureContactCallbacks[d.id]&&i._fixtureContactCallbacks[d.id].call(i._fixtureContactCallbackContext[d.id],i,j,c,d,b,a),j._fixtureContactCallbacks[c.id]&&j._fixtureContactCallbacks[c.id].call(j._fixtureContactCallbackContext[c.id],j,i,d,c,b,a),i._fixtureContactCallbacks[c.id]&&i._fixtureContactCallbacks[c.id].call(i._fixtureContactCallbackContext[c.id],i,j,c,d,b,a),j._fixtureContactCallbacks[d.id]&&j._fixtureContactCallbacks[d.id].call(j._fixtureContactCallbackContext[d.id],j,i,d,c,b,a),i._categoryContactCallbacks[h]&&i._categoryContactCallbacks[h].call(i._categoryContactCallbackContext[h],i,j,c,d,b,a),j._categoryContactCallbacks[g]&&j._categoryContactCallbacks[g].call(j._categoryContactCallbackContext[g],j,i,d,c,b,a),i._categoryContactCallbacks[g]&&i._categoryContactCallbacks[g].call(i._categoryContactCallbackContext[g],i,j,c,d,b,a),j._categoryContactCallbacks[h]&&j._categoryContactCallbacks[h].call(j._categoryContactCallbackContext[h],j,i,d,c,b,a)}},Phaser.Physics.Box2D.DefaultContactListener.prototype.PreSolve=function(a,b){var c=a.GetFixtureA(),d=a.GetFixtureB(),e=c.GetBody(),f=d.GetBody(),g=c.GetFilterData().categoryBits,h=d.GetFilterData().categoryBits,i=e.parent,j=f.parent;if(void 0!==i&&void 0!==j){var k=i.id,l=j.id;i._bodyPresolveCallbacks[l]&&i._bodyPresolveCallbacks[l].call(i._bodyPresolveCallbackContext[l],i,j,c,d,a,b),j._bodyPresolveCallbacks[k]&&j._bodyPresolveCallbacks[k].call(j._bodyPresolveCallbackContext[k],j,i,d,c,a,b),i._fixturePresolveCallbacks[d.id]&&i._fixturePresolveCallbacks[d.id].call(i._fixturePresolveCallbackContext[d.id],i,j,c,d,a,b),j._fixturePresolveCallbacks[c.id]&&j._fixturePresolveCallbacks[c.id].call(j._fixturePresolveCallbackContext[c.id],j,i,d,c,a,b),i._categoryPresolveCallbacks[h]&&i._categoryPresolveCallbacks[h].call(i._categoryPresolveCallbackContext[h],i,j,c,d,a,b),j._categoryPresolveCallbacks[g]&&j._categoryPresolveCallbacks[g].call(j._categoryPresolveCallbackContext[g],j,i,d,c,a,b)}},Phaser.Physics.Box2D.DefaultContactListener.prototype.PostSolve=function(a,b){var c=a.GetFixtureA(),d=a.GetFixtureB(),e=c.GetBody(),f=d.GetBody(),g=c.GetFilterData().categoryBits,h=d.GetFilterData().categoryBits,i=e.parent,j=f.parent;if(void 0!==i&&void 0!==j){var k=i.id,l=j.id;i._bodyPostsolveCallbacks[l]&&i._bodyPostsolveCallbacks[l].call(i._bodyPostsolveCallbackContext[l],i,j,c,d,a,b),j._bodyPostsolveCallbacks[k]&&j._bodyPostsolveCallbacks[k].call(j._bodyPostsolveCallbackContext[k],j,i,d,c,a,b),i._fixturePostsolveCallbacks[d.id]&&i._fixturePostsolveCallbacks[d.id].call(i._fixturePostsolveCallbackContext[d.id],i,j,c,d,a,b),j._fixturePostsolveCallbacks[c.id]&&j._fixturePostsolveCallbacks[c.id].call(j._fixturePostsolveCallbackContext[c.id],j,i,d,c,a,b),i._categoryPostsolveCallbacks[h]&&i._categoryPostsolveCallbacks[h].call(i._categoryPostsolveCallbackContext[h],i,j,c,d,a,b),j._categoryPostsolveCallbacks[g]&&j._categoryPostsolveCallbacks[g].call(j._categoryPostsolveCallbackContext[g],j,i,d,c,a,b)}},Phaser.Physics.Box2D.Polygon=function(){this.vertices=[]},Phaser.Physics.Box2D.Polygon.prototype.setFromFlatXYCoords=function(a){this.vertices=[];for(var b=0;ba?a%b+b:a%b]},Phaser.Physics.Box2D.Polygon.prototype.indicesAreAdjacent=function(a,b){if(a%=this.vertices.length,b%=this.vertices.length,a==b)return!0;var c=Math.abs(a-b);return 2>c?!0:c==this.vertices.length-1?!0:!1},Phaser.Physics.Box2D.Polygon.prototype.areaInTriangle=function(a,b,c){return a=this.at(a),b=this.at(b),c=this.at(c),.5*((b.x-a.x)*(c.y-a.y)-(c.x-a.x)*(b.y-a.y))},Phaser.Physics.Box2D.Polygon.prototype.left=function(a,b,c){return this.areaInTriangle(a,b,c)>0},Phaser.Physics.Box2D.Polygon.prototype.leftOn=function(a,b,c){return this.areaInTriangle(a,b,c)>=0},Phaser.Physics.Box2D.Polygon.prototype.right=function(a,b,c){return this.areaInTriangle(a,b,c)<0},Phaser.Physics.Box2D.Polygon.prototype.rightOn=function(a,b,c){return this.areaInTriangle(a,b,c)<=0},Phaser.Physics.Box2D.Polygon.sqdist=function(a,b){var c=b.x-a.x,d=b.y-a.y;return c*c+d*d},Phaser.Physics.Box2D.Polygon.prototype.makeCCW=function(){for(var a=0,b=1,c=this.vertices.length;c>b;b++)(this.at(b).ythis.at(a).x)&&(a=b);return this.left(a-1,a,a+1)?!1:(this.vertices.reverse(),!0)},Phaser.Physics.Box2D.Polygon.prototype.isConvex=function(){for(var a=!1,b=!1,c=0,d=this.vertices.length;d>c;c++){var e=c,f=(c+1)%d,g=(c+2)%d;this.areaInTriangle(this.vertices[e],this.vertices[f],this.vertices[g])>0?a=!0:b=!0}return b^a},Phaser.Physics.Box2D.Polygon.prototype.isReflex=function(a){return this.right(a-1,a,a+1)},Phaser.Physics.Box2D.Polygon.areVecsEqual=function(a,b){return a.x==b.x&&a.y==b.y},Phaser.Physics.Box2D.Polygon.linesCross=function(a,b,c,d){if(Phaser.Physics.Box2D.Polygon.areVecsEqual(b,c)||Phaser.Physics.Box2D.Polygon.areVecsEqual(a,c)||Phaser.Physics.Box2D.Polygon.areVecsEqual(b,d)||Phaser.Physics.Box2D.Polygon.areVecsEqual(a,d))return null;var e={};box2d.b2SubVV(b,a,e),box2d.b2CrossVS(e,1,e);var f=box2d.b2DotVV(e,a),g=box2d.b2DotVV(e,c),h=box2d.b2DotVV(e,d);if(g>f&&h>f)return null;if(f>g&&f>h)return null;var i={};box2d.b2SubVV(d,c,i),box2d.b2CrossVS(i,1,i);var g=box2d.b2DotVV(i,c),f=box2d.b2DotVV(i,a),j=box2d.b2DotVV(i,b);if(f>g&&j>g)return null;if(g>f&&g>j)return null;var k=(g-f)/(j-f),l={x:a.x+k*(b.x-a.x),y:a.y+k*(b.y-a.y)};return l},Phaser.Physics.Box2D.Polygon.prototype.canSee=function(a,b){if(this.indicesAreAdjacent(a,b))return!1;if(this.leftOn(a+1,a,b)&&this.rightOn(a-1,a,b))return!1;for(var c=0;ca)for(var d=a;b+1>d;d++)c.addVertex(this.at(d));else{for(var d=a;dd;d++)c.addVertex(this.at(d))}return c},Phaser.Physics.Box2D.Polygon.prototype.decomposeOptimal=function(a){if("undefined"==typeof a&&(a=0),a>1)return this.vertices;this.makeCCW();for(var b=[],c=[],d=[],e=Number.MAX_VALUE,f=0;fm&&(b=g,c=i,e=m)}}if(!f&&this.vertices.length>8&&(b=0,c=Math.floor(this.vertices.length/2),f=!0),f){var n=this.subPolygon(b,c).decompose(a+1),o=this.subPolygon(c,b).decompose(a+1);d=n.concat(o)}return 0===d.length&&d.push(this.vertices),d}; \ No newline at end of file diff --git a/games/RaftWars2/js/m.js b/games/RaftWars2/js/m.js new file mode 100644 index 00000000..9b2eb2dc --- /dev/null +++ b/games/RaftWars2/js/m.js @@ -0,0 +1,6639 @@ +var game; +window.onload = function() { + setTimeout(function() { + window.scrollTo(0, 1); + initGameStates() + }, 100) +}; +var MainGame = { + Config: { + GAME_WIDTH: 800, + GAME_HEIGHT: 600 + }, + version: "v1.2.2", + partGame: "rw2", + isDebug: false, + isAPI: true, + offsetBanner: 60, + title: "raftwars_v2", + state: null, + stateName: "", + orientation: 1, + orientated: true, + languages: ["EN", "IT", "ES", "PT", "TR", "DE", "BR", "RU", "FR", "NL"], + languagesN: ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09"], + language: 0, + GAME_TEXT: null, + TEXT_FILE: null, + onDesktop: false, + fadeColor: 0, + textFPS: null, + showFPS: false, + isPaused: false, + isGoAway: false, + isGameLoaded: false, + isApiBreakTime: false, + isMusicMuted: false, + isSfxMuted: false, + isMusicMutedByUser: false, + isSfxMutedByUser: false, + isMusicPlaying: -1, + nextState: "", + firstLoad: true, + firstTime: true, + firstGo: true, + isMuteSound: false, + isMuteMusic: false, + deltaX: 0, + arShots: [2, 4, 6, 7, 6, 7, 6, 7, 6, 7, 7, 8, 10], + typeBoat: 1, + typeViking: 0, + LOW_COINS: 250, + MAX_AMMO: 3, + MAX_LEVELS: 12, + levelMax: 0, + countGranat: 0, + countRocket: 0, + countBalls3: 0, + coins: 0, + highScore: 0, + isHardMode: false, + levelHard: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + levelStars: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + levelScore: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + levelTime: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + priceBoat: [1500, 2e3, 2500], + priceViking: [2500, 3e3], + priceGranat: 250, + priceRocket: 350, + priceBalls3: 350, + levelNum: 0, + comicsNum: 0, + allowReward: false, + initSettings: function() { + if (game.device.desktop) { + game.stage.disableVisibilityChange = true + } else { + game.stage.disableVisibilityChange = false + } + game.add.plugin(PhaserSpine.SpinePlugin); + game.input.maxPointers = 1; + game.load.crossOrigin = "anonymous"; + game.camera.onFadeComplete.add(MainGame.changeState, this); + MainGame.worldX = game.world.centerX; + MainGame.worldY = game.world.centerY; + MainGame.midX = Math.ceil(MainGame.Config.GAME_WIDTH / 2); + var num = 0; + var strLang = navigator.language; + var languageSystem = strLang.substring(0, 2).toUpperCase(); + var indexLang = MainGame.languages.indexOf(languageSystem); + if (indexLang >= 0) num = indexLang; + MainGame.language = num; + MainGame.loadSaves(); + window.scrollTo(0, 1); + if (MainGame.isAPI) { + //MainGame.api_check(); + MainGame.API_POKI = game.plugins.add(new Phaser.Plugin.API_POKI(game)); + MainGame.API_POKI.initAPI(MainGame.api_GamePause, MainGame.api_GameContinue) + } + }, + api_google: function(vValue, vLevel) { + if (vLevel) { + console.log("api_google", vValue, vLevel) + } else { + console.log("api_google", vValue) + } + switch (vValue) { + case "StartLevel": + // ga("send", "event", "GameEvent", "StartLevel", vLevel); + break; + case "LevelWon": + // ga("send", "event", "GameEvent", "LevelWon", vLevel); + break; + case "LevelLost": + // ga("send", "event", "GameEvent", "LevelLost", vLevel); + break; + case "GameComplete": + // ga("send", "event", "GameEvent", "GameComplete", vLevel); + break; + case "reward_click": + // ga("send", "event", "GameEvent", "reward_click"); + break; + case "reward_get": + // ga("send", "event", "GameEvent", "reward_get"); + break + } + }, + api_check: function() { + var _0x2837 = ["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", "", "charCodeAt", "charAt", "_keyStr", "length", "replace", "indexOf", "fromCharCode", "n", "c2luZ2xlLmxvY2Fs", "cWEtZmlsZXMucG9raS5jb20=", "NWRkMjQyYzMtMDE1Zi0xMWVhLWFkNTYtOWNiNmQwZDk5NWY3LnBva2ktZ2RuLmNvbQ==", "bG9jYWxob3N0Og==", "decode", "href", "location", "www", "//", "split", "substr", "aHR0cDovL3BvLmtpL3NpdGVsb2NrcmVkaXJlY3Q=", "top"]; + (function checkInit() { + var _0x4d45x2 = { + _keyStr: _0x2837[0], + encode: function(_0x4d45x3) { + var _0x4d45x4 = _0x2837[1]; + var _0x4d45x5, _0x4d45x6, _0x4d45x7, _0x4d45x8, _0x4d45x9, _0x4d45xa, _0x4d45xb; + var _0x4d45xc = 0; + _0x4d45x3 = _0x4d45x2._utf8_encode(_0x4d45x3); + while (_0x4d45xc < _0x4d45x3[_0x2837[5]]) { + _0x4d45x5 = _0x4d45x3[_0x2837[2]](_0x4d45xc++); + _0x4d45x6 = _0x4d45x3[_0x2837[2]](_0x4d45xc++); + _0x4d45x7 = _0x4d45x3[_0x2837[2]](_0x4d45xc++); + _0x4d45x8 = _0x4d45x5 >> 2; + _0x4d45x9 = (_0x4d45x5 & 3) << 4 | _0x4d45x6 >> 4; + _0x4d45xa = (_0x4d45x6 & 15) << 2 | _0x4d45x7 >> 6; + _0x4d45xb = _0x4d45x7 & 63; + if (isNaN(_0x4d45x6)) { + _0x4d45xa = _0x4d45xb = 64 + } else { + if (isNaN(_0x4d45x7)) { + _0x4d45xb = 64 + } + } + _0x4d45x4 = _0x4d45x4 + this[_0x2837[4]][_0x2837[3]](_0x4d45x8) + this[_0x2837[4]][_0x2837[3]](_0x4d45x9) + this[_0x2837[4]][_0x2837[3]](_0x4d45xa) + this[_0x2837[4]][_0x2837[3]](_0x4d45xb) + } + return _0x4d45x4 + }, + decode: function(_0x4d45x3) { + var _0x4d45x4 = _0x2837[1]; + var _0x4d45x5, _0x4d45x6, _0x4d45x7; + var _0x4d45x8, _0x4d45x9, _0x4d45xa, _0x4d45xb; + var _0x4d45xc = 0; + _0x4d45x3 = _0x4d45x3[_0x2837[6]](/[^A-Za-z0-9+/=]/g, _0x2837[1]); + while (_0x4d45xc < _0x4d45x3[_0x2837[5]]) { + _0x4d45x8 = this[_0x2837[4]][_0x2837[7]](_0x4d45x3[_0x2837[3]](_0x4d45xc++)); + _0x4d45x9 = this[_0x2837[4]][_0x2837[7]](_0x4d45x3[_0x2837[3]](_0x4d45xc++)); + _0x4d45xa = this[_0x2837[4]][_0x2837[7]](_0x4d45x3[_0x2837[3]](_0x4d45xc++)); + _0x4d45xb = this[_0x2837[4]][_0x2837[7]](_0x4d45x3[_0x2837[3]](_0x4d45xc++)); + _0x4d45x5 = _0x4d45x8 << 2 | _0x4d45x9 >> 4; + _0x4d45x6 = (_0x4d45x9 & 15) << 4 | _0x4d45xa >> 2; + _0x4d45x7 = (_0x4d45xa & 3) << 6 | _0x4d45xb; + _0x4d45x4 = _0x4d45x4 + String[_0x2837[8]](_0x4d45x5); + if (_0x4d45xa != 64) { + _0x4d45x4 = _0x4d45x4 + String[_0x2837[8]](_0x4d45x6) + } + if (_0x4d45xb != 64) { + _0x4d45x4 = _0x4d45x4 + String[_0x2837[8]](_0x4d45x7) + } + } + _0x4d45x4 = _0x4d45x2._utf8_decode(_0x4d45x4); + return _0x4d45x4 + }, + _utf8_encode: function(_0x4d45x3) { + _0x4d45x3 = _0x4d45x3[_0x2837[6]](/rn/g, _0x2837[9]); + var _0x4d45x4 = _0x2837[1]; + for (var _0x4d45x5 = 0; _0x4d45x5 < _0x4d45x3[_0x2837[5]]; _0x4d45x5++) { + var _0x4d45x6 = _0x4d45x3[_0x2837[2]](_0x4d45x5); + if (_0x4d45x6 < 128) { + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6) + } else { + if (_0x4d45x6 > 127 && _0x4d45x6 < 2048) { + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6 >> 6 | 192); + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6 & 63 | 128) + } else { + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6 >> 12 | 224); + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6 >> 6 & 63 | 128); + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6 & 63 | 128) + } + } + } + return _0x4d45x4 + }, + _utf8_decode: function(_0x4d45x3) { + var _0x4d45x4 = _0x2837[1]; + var _0x4d45x5 = 0; + var _0x4d45x6 = c1 = c2 = 0; + while (_0x4d45x5 < _0x4d45x3[_0x2837[5]]) { + _0x4d45x6 = _0x4d45x3[_0x2837[2]](_0x4d45x5); + if (_0x4d45x6 < 128) { + _0x4d45x4 += String[_0x2837[8]](_0x4d45x6); + _0x4d45x5++ + } else { + if (_0x4d45x6 > 191 && _0x4d45x6 < 224) { + c2 = _0x4d45x3[_0x2837[2]](_0x4d45x5 + 1); + _0x4d45x4 += String[_0x2837[8]]((_0x4d45x6 & 31) << 6 | c2 & 63); + _0x4d45x5 += 2 + } else { + c2 = _0x4d45x3[_0x2837[2]](_0x4d45x5 + 1); + c3 = _0x4d45x3[_0x2837[2]](_0x4d45x5 + 2); + _0x4d45x4 += String[_0x2837[8]]((_0x4d45x6 & 15) << 12 | (c2 & 63) << 6 | c3 & 63); + _0x4d45x5 += 3 + } + } + } + return _0x4d45x4 + } + }; + var _0x4d45xd = [_0x2837[10], _0x2837[11], _0x2837[12], _0x2837[13]]; + var _0x4d45xe = false; + for (var _0x4d45x7 = 0; _0x4d45x7 < _0x4d45xd[_0x2837[5]]; _0x4d45x7++) { + var _0x4d45xf = _0x4d45x2[_0x2837[14]](_0x4d45xd[_0x4d45x7]); + var _0x4d45x10 = window[_0x2837[16]][_0x2837[15]]; + _0x4d45x10 = _0x4d45x10[_0x2837[19]](_0x2837[18])[1][_0x2837[6]](_0x2837[17], _0x2837[1]); + if (_0x4d45x10[_0x2837[5]] > _0x4d45xf[_0x2837[5]]) { + _0x4d45x10 = _0x4d45x10[_0x2837[20]](0, _0x4d45xf[_0x2837[5]]) + } + if (_0x4d45xf === _0x4d45x10) { + _0x4d45xe = true; + break + } + } + if (!_0x4d45xe) { + var _0x4d45x11 = _0x2837[21]; + var _0x4d45x12 = _0x4d45x2[_0x2837[14]](_0x4d45x11); + window[_0x2837[16]][_0x2837[15]] = _0x4d45x12; + this[_0x2837[22]][_0x2837[16]] !== this[_0x2837[16]] && (this[_0x2837[22]][_0x2837[16]] = this[_0x2837[16]]) + } + })() + }, + api_GamePause: function() { + console.log("Starting break"); + MainGame.isApiBreakTime = true; + if (!MainGame.isMusicMutedByUser) MainGame.muteMusic(true); + if (!MainGame.isSfxMutedByUser) MainGame.muteSfx(true); + game.sound.mute = true + }, + api_GameContinue: function() { + console.log("Break completed"); + MainGame.isApiBreakTime = false; + if (!MainGame.isMusicMutedByUser) MainGame.muteMusic(false); + if (!MainGame.isSfxMutedByUser) MainGame.muteSfx(false); + game.sound.mute = false + }, + setReward: function(vLayer, vX, vY, forceCoins) { + var iconVideo = vLayer.add(game.add.image(vX + 70, vY + 35, "ss_menu", "icon_buy_movie_0000")); + iconVideo.anchor.setTo(.5); + var whatCanReward = ["coins"]; + if (!forceCoins) { + if (MainGame.countGranat < MainGame.MAX_AMMO) whatCanReward.push("grenade"); + if (MainGame.countRocket < MainGame.MAX_AMMO) whatCanReward.push("rocket"); + if (MainGame.partGame == "rw2") { + if (MainGame.countBalls3 < MainGame.MAX_AMMO) whatCanReward.push("balls3") + } + MyMath.shuffleArr(whatCanReward) + } + MainGame.selectedReward = whatCanReward[0]; + var iconReward = vLayer.add(game.add.image(vX + 20, vY - 30, "ss_menu", MainGame.selectedReward + "_n_0000")); + iconReward.anchor.setTo(.5); + var offsetX = 40; + var offsetY = 32; + MainGame.addText(145, offsetX + vX, offsetY + vY + 5, MainGame.GAME_TEXT.get_now.toUpperCase(), vLayer, 25, 10248197, 1, .5); + MainGame.addText(145, offsetX + vX, offsetY + vY + 0, MainGame.GAME_TEXT.get_now.toUpperCase(), vLayer, 25, 16710912, 1, .5) + }, + closePopup: function() { + MainGame.linkPopup.y = -1e4 + }, + getReward: function(withReward) { + if (MainGame.stateName == "ScreenGame" || MainGame.stateName == "ScreenShop") { + if (MainGame.state.btnReward) { + MainGame.state.btnReward.buttonC.alpha = .7 + } + } + if (withReward) { + if (MainGame.stateName == "ScreenShop") MainGame.allowReward = false; + MainGame.api_google("reward_get"); + if (MainGame.state.layerPopup) { + var pos = { + x: game.width * .5, + y: 300 + }; + var layerMain = MainGame.state.layerPopup; + var reward = MainGame.selectedReward; + layer = layerMain.add(game.add.group()); + layer.x = pos.x; + layer.y = pos.y; + MainGame.linkPopup = layer; + var window = layer.add(game.add.image(0, 0, "ss_menu", "pause_panel_0000")); + window.anchor.setTo(.5); + var offsetX = 90; + var iconArrow = layer.add(game.add.image(0, 0 - 50, "ss_menu", "arrow_wind_0000")); + iconArrow.anchor.setTo(.5); + var iconBox = layer.add(game.add.image(0 - offsetX, 0 - 50, "ss_menu", "bonus_box_0000")); + iconBox.anchor.setTo(.5); + if (reward == "rocket" || reward == "grenade" || reward == "balls3") { + var white = layer.add(game.add.image(0 + offsetX, 0 - 50, "ss_menu", "btn_gun_0000")); + white.anchor.setTo(.5); + var weapon = layer.add(game.add.image(0 + offsetX, 0 - 50, "ss_menu", reward + "_n_0000")); + weapon.anchor.setTo(.5); + var textAmmo = 0; + var ammo_frame = ""; + if (reward == "rocket") { + ammo_frame = "ammo_shop2"; + textAmmo = MainGame.countRocket + } else if (reward == "grenade") { + ammo_frame = "ammo_shop1"; + textAmmo = MainGame.countGranat + } else if (reward == "balls3") { + ammo_frame = "ammo_shop3"; + textAmmo = MainGame.countBalls3 + } + var ammo = layer.add(game.add.image(white.x + 30, white.y + 35, "ss_menu", ammo_frame + "_0000")); + ammo.anchor.setTo(.5); + var textFieldAmmo = MainGame.addText(800, white.x + 30, white.y + 34, String(textAmmo) + "/" + MainGame.MAX_AMMO, layer, 22, 16777215, .5, .5) + } else if (reward == "coins") { + var coinsF = layer.add(game.add.image(55, 0 - 40, "ss_menu", "coins_0000")); + coinsF.anchor.setTo(.5); + var textCoins = MainGame.coins; + var coinText1 = MainGame.addText(800, coinsF.x + 40, -5 + coinsF.y + 5, String(textCoins), layer, 28, 10248197, 0, .5); + var coinText2 = MainGame.addText(800, coinsF.x + 40, -5 + coinsF.y, String(textCoins), layer, 28, 16710912, 0, .5) + } + var iconReward = layer.add(game.add.image(0 - offsetX, 0 - 70, "ss_menu", reward + "_n_0000")); + iconReward.anchor.setTo(.5); + var btnOk = new SimpleButton(game, this, layer, 0, 0 + 65, "ss_menu", "btn_home3_0000", MainGame.closePopup); + var text_update = 0; + switch (reward) { + case "coins": + MainGame.coins += 500; + text_update = MainGame.coins; + break; + case "rocket": + MainGame.countRocket += 2; + if (MainGame.countRocket > MainGame.MAX_AMMO) MainGame.countRocket = MainGame.MAX_AMMO; + text_update = MainGame.countRocket; + break; + case "grenade": + MainGame.countGranat += 2; + if (MainGame.countGranat > MainGame.MAX_AMMO) MainGame.countGranat = MainGame.MAX_AMMO; + text_update = MainGame.countGranat; + break; + case "balls3": + MainGame.countBalls3 += 2; + if (MainGame.countBalls3 > MainGame.MAX_AMMO) MainGame.countBalls3 = MainGame.MAX_AMMO; + text_update = MainGame.countBalls3; + break + } + MainGame.saveSaves(); + layer.scale.setTo(1); + game.add.tween(layer.scale).to({ + x: 1.04, + y: 1.04 + }, 120, "Back.easeOut", true, 0, 0, true); + game.add.tween(iconReward.scale).to({ + x: 1.55, + y: 1.55 + }, 250, "Linear", true, 400, 0, true).onComplete.add(function() { + game.add.tween(iconReward).to({ + x: offsetX, + y: -50 + }, 300, "Linear", true).onComplete.add(function() { + if (MainGame.linkPopup) MainGame.addEffect(3, layer, offsetX, -50); + iconReward.destroy(); + if (reward == "coins") { + coinText1.setText(String(text_update)); + coinText2.setText(String(text_update)); + if (MainGame.stateName == "ScreenShop") { + MainGame.state.coinText1.setText(MainGame.coins); + MainGame.state.coinText2.setText(MainGame.coins) + } + } else { + textFieldAmmo.setText(String(text_update) + "/" + MainGame.MAX_AMMO) + } + }) + }) + } + } + }, + clickReward: function() { + MainGame.api_google("reward_click"); + if (MainGame.isAPI) { + MainGame.API_POKI.rewardedBreak() + } else { + if (MainGame.isDebug) MainGame.getReward(true) + } + }, + continueGame: function() { + MainGame.isGameLoaded = true; + game.state.start("Menu") + }, + addButton: function(link, vLayer, vX, vY, onClick, vText, vW, vH, vSize) { + if (typeof vW === "undefined") vW = 200; + if (typeof vH === "undefined") vH = 80; + if (typeof vSize === "undefined") vSize = 36; + var btn = MainGame.addFill(vLayer, 3355443, .5, vW, vH, vX - vW / 2, vY - vH / 2); + btn.inputEnabled = true; + btn.events.onInputDown.add(onClick, link); + if (vText != "") btn.text = MainGame.addText(800, vX, vY, vText, vLayer, vSize, "#FFFFFF", .5, .5); + return btn + }, + addText: function(vWidthMax, vX, vY, vText, vLayer, vSize, vColor, vAnchorX, vAnchorY) { + if (typeof vWidthMax === "undefined") vWidthMax = 800; + if (typeof vLayer === "undefined") vLayer = ""; + if (typeof vSize === "undefined") vSize = 40; + if (typeof vColor === "undefined") vColor = 0; + if (typeof vAnchorX === "undefined") vAnchorX = 0; + if (typeof vAnchorY === "undefined") vAnchorY = 0; + var text; + if (vLayer != "") { + text = vLayer.add(game.add.bitmapText(vX, vY, "bmf_riffic", vText, vSize)) + } else { + text = game.add.bitmapText(vX, vY, "bmf_riffic", vText, vSize) + } + text.anchor.setTo(vAnchorX, vAnchorY); + text.fontSize = vSize; + text.tint = vColor; + text.align = "center"; + MainGame.updateTextWidth(text, vWidthMax); + return text + }, + replaceText: function(vText, vValue) { + return vText.replace("#", vValue.toString()) + }, + updateTextWidth: function(vText, vMaxWidth) { + var _txtWidth = vText.width; + var scale = 1; + if (_txtWidth > vMaxWidth) { + scale = vMaxWidth / _txtWidth; + vText.scale.setTo(scale) + } + return scale + }, + updateTextHeight: function(vText, vMaxHeigth) { + var _txtHeight = vText.height; + var scale = 1; + if (_txtHeight > vMaxHeigth) { + scale = vMaxHeigth / _txtHeight; + vText.scale.setTo(scale) + } + return scale + }, + updateTextsButton: function(vButton) { + var _maxWidth = vButton.button.width * .85; + var _txtWidth = vButton.text1.width; + var scale = 1; + if (_txtWidth > _maxWidth) { + scale = _maxWidth / _txtWidth; + vButton.text1.scale.setTo(scale); + vButton.text2.scale.setTo(scale); + vButton.text2.y *= scale + } + }, + addPanelka: function(vLayer, vX, vY, vW, vH, vColorF, vColorB, vLine) { + if (typeof vColorF === "undefined") vColorF = 0; + if (typeof vColorB === "undefined") vColorB = 16777215; + if (typeof vLine === "undefined") vLine = 4; + var graphics = vLayer.add(game.add.graphics(vX, vY)); + graphics.lineStyle(vLine, vColorB, .6); + graphics.beginFill(vColorF, .7); + graphics.drawRect(0, 0, vW, vH); + graphics.endFill(); + return graphics + }, + loadSaves: function() { + var levelMax = localStorage[MainGame.title + "-lvl"]; + if (levelMax != undefined && levelMax != "null") MainGame.levelMax = Number(levelMax); + var typeBoat = localStorage[MainGame.title + "-boat"]; + if (typeBoat != undefined && typeBoat != "null") MainGame.typeBoat = Number(typeBoat); + var typeViking = localStorage[MainGame.title + "-viking"]; + if (typeViking != undefined && typeViking != "null") MainGame.typeViking = Number(typeViking); + var countGranat = localStorage[MainGame.title + "-granat"]; + if (countGranat != undefined && countGranat != "null") MainGame.countGranat = Number(countGranat); + var countRocket = localStorage[MainGame.title + "-rocket"]; + if (countRocket != undefined && countRocket != "null") MainGame.countRocket = Number(countRocket); + var countBalls3 = localStorage[MainGame.title + "-balls3"]; + if (countBalls3 != undefined && countBalls3 != "null") MainGame.countBalls3 = Number(countBalls3); + var coins = localStorage[MainGame.title + "-coins"]; + if (coins != undefined && coins != "null") MainGame.coins = Number(coins); + var highScore = localStorage[MainGame.title + "-highscore"]; + if (highScore != undefined && highScore != "null") MainGame.highScore = Number(highScore); + var sLang = localStorage[MainGame.title + "-lang"]; + if (sLang != undefined && sLang != "null") MainGame.language = Number(sLang); + var skok; + for (var j = 0; j < 13; j++) { + skok = localStorage[MainGame.title + "-stars" + j]; + if (skok != undefined && skok != "null") MainGame.levelStars[j] = Number(skok); + skok = localStorage[MainGame.title + "-score" + j]; + if (skok != undefined && skok != "null") MainGame.levelScore[j] = Number(skok); + skok = localStorage[MainGame.title + "-time" + j]; + if (skok != undefined && skok != "null") MainGame.levelTime[j] = Number(skok); + skok = localStorage[MainGame.title + "-hard" + j]; + if (skok != undefined && skok != "null") MainGame.levelHard[j] = Number(skok) + } + if (MainGame.isDebug) {} + }, + saveSaves: function(vNum) { + localStorage[MainGame.title + "-boat"] = MainGame.typeBoat; + localStorage[MainGame.title + "-viking"] = MainGame.typeViking; + localStorage[MainGame.title + "-granat"] = MainGame.countGranat; + localStorage[MainGame.title + "-rocket"] = MainGame.countRocket; + localStorage[MainGame.title + "-balls3"] = MainGame.countBalls3; + for (var j = 0; j < 13; j++) { + localStorage[MainGame.title + "-stars" + j] = MainGame.levelStars[j]; + localStorage[MainGame.title + "-score" + j] = MainGame.levelScore[j]; + localStorage[MainGame.title + "-time" + j] = MainGame.levelTime[j]; + localStorage[MainGame.title + "-hard" + j] = MainGame.levelHard[j] + } + localStorage[MainGame.title + "-lvl"] = MainGame.levelMax; + localStorage[MainGame.title + "-highscore"] = MainGame.highScore; + localStorage[MainGame.title + "-coins"] = MainGame.coins; + localStorage[MainGame.title + "-lang"] = MainGame.language + }, + clearSaves: function() { + localStorage[MainGame.title + "-lang"] = null; + localStorage[MainGame.title + "-boat"] = null; + localStorage[MainGame.title + "-viking"] = null; + localStorage[MainGame.title + "-granat"] = null; + localStorage[MainGame.title + "-rocket"] = null; + localStorage[MainGame.title + "-balls3"] = null; + localStorage[MainGame.title + "-coins"] = null; + for (var j = 0; j < 13; j++) { + localStorage[MainGame.title + "-stars" + j] = null; + localStorage[MainGame.title + "-score" + j] = null; + localStorage[MainGame.title + "-time" + j] = null; + localStorage[MainGame.title + "-hard" + j] = null + } + localStorage[MainGame.title + "-lvl"] = null; + localStorage[MainGame.title + "-highscore"] = null; + MainGame.levelMax = 0; + MainGame.levelNum = 0; + MainGame.typeBoat = 1; + MainGame.typeViking = 0; + MainGame.countGranat = 0; + MainGame.countRocket = 0; + MainGame.countBalls3 = 0; + MainGame.coins = 0; + MainGame.highScore = 0; + var skok; + for (var j = 0; j < 13; j++) { + MainGame.levelStars[j] = 0; + MainGame.levelScore[j] = 0; + MainGame.levelTime[j] = 0; + MainGame.levelHard[j] = 0 + } + }, + clearGame: function() { + game.tweens.removeAll() + }, + goToState: function(pNextState) { + MainGame.isFadeGame = false; + MainGame.clearGame(); + game.camera.fade(MainGame.fadeColor, 200); + MainGame.nextState = pNextState + }, + changeState: function() { + if (!MainGame.isFadeGame) game.state.start(MainGame.nextState) + }, + fadeOut: function() { + game.camera.flash(MainGame.fadeColor, 200) + }, + resizeGame: function() { + var ratio = window.innerWidth / window.innerHeight; + var standardWidth = MainGame.Config.GAME_WIDTH; + var standardHeight = MainGame.Config.GAME_HEIGHT; + var maxWidth = 1600; + var standardRatio = standardWidth / standardHeight; + if (ratio > standardRatio) { + game.scale.setGameSize(Math.min(maxWidth, Math.ceil(standardHeight * ratio)), standardHeight); + MainGame.deltaX = Math.abs(Math.ceil((game.width - 800) * -.5)); + if (MainGame.stateName != "ScreenGame") { + game.world.setBounds(Math.ceil((game.width - standardWidth) * -.5), 0, game.width, game.height) + } else { + var dX = Math.ceil((game.width - 800) * -.5); + game.world.setBounds(dX, 0, MainGame.state.level_width - dX * 2, 600); + game.camera.bounds.width = MainGame.state.level_width + MainGame.deltaX + } + } else { + game.scale.setGameSize(standardWidth, standardHeight); + MainGame.deltaX = 0; + if (MainGame.stateName != "ScreenGame") { + game.world.setBounds(0, 0, Math.ceil((game.height - standardHeight) * -.5), game.height) + } else { + game.world.setBounds(0, 0, MainGame.state.level_width, 600); + game.camera.bounds.width = MainGame.state.level_width + MainGame.deltaX + } + } + if (MainGame.stateName == "Menu" || MainGame.stateName == "ScreenLevel" || MainGame.stateName == "ScreenShop" || MainGame.stateName == "ScreenFinal" || MainGame.stateName == "ScreenGame") MainGame.state.updateResize() + }, + clickMuteMusic: function(btn) { + game.add.tween(btn.scale).to({ + x: .9, + y: .9 + }, 200, Phaser.Easing.Cubic.Out, true); + game.add.tween(btn.scale).to({ + x: 1, + y: 1 + }, 200, Phaser.Easing.Cubic.Out, true, 260); + MainGame.isMusicMuted = !MainGame.isMusicMuted; + MainGame.isMusicMutedByUser = MainGame.isMusicMuted; + if (!MainGame.isMusicMuted) { + btn.frameName = "btn_music_0000" + } else { + btn.frameName = "btn_music_0001" + } + MainGame.muteMusic(MainGame.isMusicMuted) + }, + muteMusic: function(vBool) { + if (!MainGame.isGameLoaded) return; + if (vBool) { + MainGame.s_musicM.volume = 0; + MainGame.s_musicG1.volume = 0 + } else { + MainGame.s_musicM.volume = MainGame.s_musicM.valueVolume; + MainGame.s_musicG1.volume = MainGame.s_musicG1.valueVolume + } + }, + clickMuteSFX: function(btn) { + game.add.tween(btn.scale).to({ + x: .9, + y: .9 + }, 200, Phaser.Easing.Cubic.Out, true); + game.add.tween(btn.scale).to({ + x: 1, + y: 1 + }, 200, Phaser.Easing.Cubic.Out, true, 260); + MainGame.isSfxMuted = !MainGame.isSfxMuted; + MainGame.isSfxMutedByUser = !MainGame.isSfxMuted; + if (!MainGame.isSfxMuted) { + btn.frameName = "btn_sound_0000" + } else { + btn.frameName = "btn_sound_0001" + } + MainGame.muteSfx(MainGame.isSfxMuted) + }, + muteSfx: function(vBool) { + if (!MainGame.isGameLoaded) return; + if (vBool) { + for (var i = 1; i <= 28; i++) { + MainGame["s_sounds" + i].volume = 0 + } + for (var i = 0; i < MainGame.countVoices; i++) { + MainGame["v_voice" + i].volume = 0 + } + } else { + for (var i = 1; i <= 28; i++) { + MainGame["s_sounds" + i].volume = MainGame["s_sounds" + i].valueVolume + } + for (var i = 0; i < MainGame.countVoices; i++) { + MainGame["v_voice" + i].volume = MainGame["v_voice" + i].valueVolume + } + } + }, + playMusic: function(num) { + if (MainGame.isMusicPlaying === num) return; + if (game.device.webAudio) { + MainGame.stopMusic(); + switch (num) { + case 0: + MainGame.s_musicM.play("", 0, .9, true); + break; + case 1: + MainGame.s_musicG1.play("", 0, .9, true); + break + } + } else { + MainGame.s_musicM.play("", 0, .9, true) + } + if (!MainGame.isMusicMuted) { + MainGame.s_musicM.volume = MainGame.s_musicM.valueVolume; + MainGame.s_musicG1.volume = MainGame.s_musicG1.valueVolume + } else { + MainGame.s_musicM.volume = 0; + MainGame.s_musicG1.volume = 0 + } + MainGame.isMusicPlaying = num + }, + stopMusic: function() { + if (game.device.webAudio) { + MainGame.isMusicPlaying = -1; + if (MainGame.s_musicM != null) MainGame.s_musicM.stop(); + if (MainGame.s_musicG1 != null) MainGame.s_musicG1.stop() + } + }, + playSound: function(vNum) { + if (game.device.webAudio) { + MainGame["s_sounds" + vNum].play() + } + }, + playVoice: function(vNum) { + if (game.device.webAudio) { + MainGame["v_voice" + vNum].play() + } + }, + showFps: function(vX, vY) { + if (typeof vX === "undefined") vX = 20; + if (typeof vY === "undefined") vY = 20; + game.time.advancedTiming = true; + MainGame.textFPS = game.add.text(vX, vY, "FPS", { + font: "20px Arial", + fill: "#FFFFFF", + align: "center" + }); + MainGame.textFPS.fixedToCamera = true + }, + clickLogo: function(vMoreGames) { + if (typeof vMoreGames === "undefined") vMoreGames = true; + if (MainGame.clickOne) return; + try {} catch (err) { + console.log(err) + } + MainGame.clickOne = true; + game.time.events.add(500, MainGame.clickOneBack, this) + }, + clickOneBack: function() { + MainGame.clickOne = false + }, + addEffect: function(vNum, vLayer, vX, vY, vAnchorX, vAnchorY) { + if (typeof vAnchorX === "undefined") vAnchorX = .5; + if (typeof vAnchorY === "undefined") vAnchorY = .5; + var cframes = [15, 16, 12, 14, 14]; + var obj; + var nameEffect; + switch (vNum) { + case 1: + nameEffect = "e1"; + break; + case 2: + nameEffect = "e2"; + break; + case 3: + nameEffect = "e3"; + break; + case 4: + nameEffect = "e4"; + break; + case 5: + nameEffect = "e5"; + break + } + obj = vLayer.add(game.add.sprite(vX, vY, "ss_main2")); + obj.anchor.setTo(vAnchorX, vAnchorY); + obj.animations.add(nameEffect, Phaser.Animation.generateFrameNames(nameEffect + "_", 0, cframes[vNum - 1], "", 4), 30); + obj.animations.play(nameEffect, 30, false, true); + return obj + }, + addFill: function(vLayer, vColor, vAlpha, vW, vH, posX, posY) { + if (typeof vAlpha === "undefined") vAlpha = 1; + if (typeof posX === "undefined") posX = 0; + if (typeof posY === "undefined") posY = 0; + if (typeof vW === "undefined") { + vW = game.width; + posX = -vW / 2 + } + if (typeof vH === "undefined") { + vH = game.height + } + var bg = vLayer.add(game.add.graphics(posX, posY)); + bg.beginFill(vColor, vAlpha); + bg.drawRect(0, 0, vW, vH); + bg.endFill(); + return bg + } +}; +KeyButton = function(game, link, kuda, x, y, callback, spritesheet, frame1, frame2, vText, vStyle, vFrameName, vId) { + if (typeof vText === "undefined") vText = ""; + if (typeof vFrameName === "undefined") vFrameName = ""; + if (typeof vId === "undefined") vId = ""; + _game = game; + if (kuda == null) { + this.buttonC = game.add.group() + } else { + this.buttonC = kuda.add(game.add.group()) + } + this.buttonC.x = x; + this.buttonC.y = y; + this.button = this.buttonC.add(game.add.button(0, 0, spritesheet, callback, link, frame1, frame2, frame1, frame2)); + this.button.game = _game; + this.button.anchor.setTo(.5, .5); + this.button.inputEnabled = true; + this.button.textKey = vText; + if (_game.device.desktop) this.button.input.useHandCursor = true; + if (vText != "") { + var text = this.buttonC.add(game.add.text(0, 2, vText.toUpperCase())); + text.anchor.set(.5); + this.text = text + } else { + if (vFrameName != "") { + var text = this.buttonC.add(_game.add.sprite(0, -2, spritesheet, vFrameName)); + text.anchor.set(.5) + } + this.button.textKey = vId + } + this.button.events.onInputDown.add(function() { + _game.add.tween(this.buttonC.scale).to({ + x: .9, + y: .9 + }, 200, Phaser.Easing.Cubic.Out, true); + _game.add.tween(this.buttonC.scale).to({ + x: 1, + y: 1 + }, 200, Phaser.Easing.Cubic.Out, true, 260) + }, this) +}; +SimpleButton = function(game, link, kuda, x, y, key, frame, callback, animationScale, vText, vDx, vDy, vIsUpperCase, vSize, vAncX, vAncY) { + if (typeof vText === "undefined") vText = ""; + if (typeof vDx === "undefined") vDx = 0; + if (typeof vDy === "undefined") vDy = 0; + if (typeof animationScale === "undefined") animationScale = 0; + if (typeof vIsUpperCase === "undefined") vIsUpperCase = true; + if (typeof vSize === "undefined") vSize = 50; + if (typeof vAncX === "undefined") vAncX = .5; + if (typeof vAncY === "undefined") vAncY = .5; + _game = game; + if (kuda == null) { + this.buttonC = game.add.group() + } else { + this.buttonC = kuda.add(game.add.group()) + } + this.buttonC.x = x; + this.buttonC.y = y; + this.button = this.buttonC.add(_game.add.sprite(0, 0, key, frame)); + this.button.game = _game; + this.button.anchor.setTo(.5, .5); + this.button.inputEnabled = true; + if (vText != "") { + if (vIsUpperCase) vText = vText.toUpperCase(); + var text1 = this.buttonC.add(game.add.bitmapText(0 + vDx, 5 + vDy, "bmf_riffic", vText, vSize)); + text1.anchor.set(vAncX, vAncY); + text1.tint = 10248197; + var text2 = this.buttonC.add(game.add.bitmapText(0 + vDx, 0 + vDy, "bmf_riffic", vText, vSize)); + text2.anchor.set(vAncX, vAncY); + text2.tint = 16710912; + text1.align = "center"; + text2.align = "center"; + this.text1 = text1; + this.text2 = text2; + MainGame.updateTextWidth(text1, this.button.width * 2); + MainGame.updateTextWidth(text2, this.button.width * 2) + } + this.button.events.onInputDown.add(function() { + if (this.buttonC.alpha < 1) return; + _game.add.tween(this.buttonC.scale).to({ + x: .9, + y: .9 + }, 200, Phaser.Easing.Cubic.Out, true); + _game.add.tween(this.buttonC.scale).to({ + x: 1, + y: 1 + }, 200, Phaser.Easing.Cubic.Out, true, 260); + _game.time.events.add(250, callback, link) + }, this); + if (animationScale > 1) { + _game.add.tween(this.buttonC.scale).to({ + x: animationScale, + y: animationScale + }, 630, Phaser.Easing.Linear.None).to({ + x: 1, + y: 1 + }, 630, Phaser.Easing.Linear.None).loop().start() + } +}; +var MyKeyboard = { + initKeyboard: function(vX, vY, vLayer, vTextField) { + this.arrKeys = []; + var posY = 0; + var posX = 0; + var sdvigX = vX; + var btn; + for (var i = 0; i < 36; i++) { + if (i == 10 || i == 20 || i == 29) { + posY++; + posX = 0; + if (posY == 1) sdvigX = vX + 22.5; + if (posY == 2) sdvigX = vX + 45; + if (posY == 3) sdvigX = vX + 45 + 45 + } + btn = new KeyButton(game, this, vLayer, sdvigX + 45 * posX++, vY + 45 * posY, this.keyPressVirutal, "ss_main", "btn_key_miniOver_0000", "btn_key_miniUp_0000", MainGame.keyboardKeys[i], MainGame.styleTextKey); + this.arrKeys.push(btn) + } + btn = new KeyButton(game, this, vLayer, vX + 45 * 10, vY, this.keyPressVirutal, "ss_main", "btn_key_miniOver_0000", "btn_key_miniUp_0000", "", MainGame.styleTextKey, "symbol_arrow_0000", "bspace"); + this.arrKeys.push(btn); + MainGame.keyboardField = vTextField; + MainGame.keyboardArrKeys = this.arrKeys; + MainGame.keyboardActivated = true + }, + keyPressVirutal: function(vKey) { + var ch = vKey.textKey; + if (ch == "bspace") { + this.removeBukva() + } else if (ch == "space") { + this.addBukva(" ") + } else { + this.addBukva(ch.toUpperCase()) + } + }, + addBukva: function(vChar) { + str = MainGame.keyboardField.text; + strl = str.length; + if (strl >= MainGame.MAX_LENGTH) return; + if (strl == 0 && vChar == " ") return; + MainGame.keyboardField.setText(MainGame.keyboardField.text + vChar) + }, + removeBukva: function() { + str = MainGame.keyboardField.text; + strl = str.length; + if (strl < 1) return; + newstr = MainGame.keyboardField.text.substring(0, strl - 1); + MainGame.keyboardField.setText(newstr) + }, + tweenBtn: function(vBtn) { + game.add.tween(vBtn.scale).to({ + x: .9, + y: .9 + }, 200, Phaser.Easing.Cubic.Out, true); + game.add.tween(vBtn.scale).to({ + x: 1, + y: 1 + }, 200, Phaser.Easing.Cubic.Out, true, 260) + } +}; +var MyMath = { + getRandomInt: function(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min + }, + getRandomBool: function() { + return Math.random() < .5 ? true : false + }, + shuffleArr: function(o) { + for (var j, x, i = o.length; i; j = Math.floor(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x); + return o + }, + distanceTwoPoints: function(x1, x2, y1, y2) { + var dx = x1 - x2; + var dy = y1 - y2; + return dx * dx + dy * dy + }, + isPointInRectangle: function(vX, vY, ax, ay, bx, by) { + return ax <= vX && vX <= bx && ay <= vY && vY <= by + }, + parseQuery: function(qstr) { + var query = {}; + var a = qstr.substr(1).split("&"); + for (var i = 0; i < a.length; i++) { + var b = a[i].split("="); + query[decodeURIComponent(b[0])] = decodeURIComponent(b[1] || "") + } + return query + }, + lerp: function(in_Src, in_Dst, in_Ratio) { + return in_Src * (1 - in_Ratio) + in_Dst * in_Ratio + } +}; + +function initGameStates() { + game = new Phaser.Game(MainGame.Config.GAME_WIDTH, MainGame.Config.GAME_HEIGHT, Phaser.AUTO, "game-container"); + game.state.add("Boot", MainGame.Boot, true); + game.state.add("Preloader", MainGame.Preloader); + game.state.add("Menu", MainGame.Menu); + game.state.add("Game", MainGame.Game); + game.state.add("ScreenLevel", MainGame.ScreenLevel); + game.state.add("ScreenShop", MainGame.ScreenShop); + game.state.add("Comics", MainGame.Comics); + game.state.add("ScreenFinal", MainGame.ScreenFinal) +} + +function trace(a) { + console.log(a) +} +MainGame.Boot = function(game) { + this.lastW = null; + this.lastH = null +}; +MainGame.Boot.prototype = { + init: function() { + game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; + game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; + game.scale.setResizeCallback(this.resizeGame); + game.scale.pageAlignHorizontally = true; + if (game.device.desktop) { + MainGame.onDesktop = true + } else { + game.scale.pageAlignVertically = true; + game.scale.forceLandscape = true; + if (MainGame.orientation == 0) { + game.scale.forceOrientation(false, true) + } else { + game.scale.forceOrientation(true, false) + } + game.scale.enterIncorrectOrientation.add(this.enterIncorrectOrientation, this); + game.scale.leaveIncorrectOrientation.add(this.leaveIncorrectOrientation, this); + game.scale.onOrientationChange.add(this.changeOrientation, this) + } + if (game.device.desktop) { + game.onBlur.add(this.onGamePause, this); + game.onFocus.add(this.onGameResume, this) + } else { + game.onPause.add(this.onGamePause, this); + game.onResume.add(this.onGameResume, this) + } + MainGame.initSettings() + }, + preload: function() { + this.load.image("preloader_bar", "assets/preloader_bar.png?r=1"); + this.load.image("preloader_back", "assets/preloader_back.png?r=1"); + this.load.image("bg_menu", "assets/background/bg_menu.png?r=2") + }, + create: function() { + MainGame.resizeGame(); + this.state.start("Preloader") + }, + onGamePause: function() { + if (!MainGame.isApiBreakTime) { + if (!MainGame.isMusicMutedByUser) MainGame.muteMusic(true); + if (!MainGame.isSfxMutedByUser) MainGame.muteSfx(true) + } + if (MainGame.stateName == "ScreenGame") MainGame.state.onPause() + }, + onGameResume: function() { + if (!MainGame.isApiBreakTime) { + if (!MainGame.isMusicMutedByUser) MainGame.muteMusic(false); + if (!MainGame.isSfxMutedByUser) MainGame.muteSfx(false) + } + }, + resizeGame: function() { + if (window.innerWidth < window.innerHeight) return; + if (this.lastW != window.innerWidth || this.lastH != window.innerHeight) { + this.lastW = window.innerWidth; + this.lastH = window.innerHeight; + MainGame.resizeGame() + } + }, + enterIncorrectOrientation: function() { + MainGame.orientated = false; + document.getElementById("orientation").style.display = "block"; + if (!game.device.android) { + document.getElementById("orientation").style.width = window.innerWidth + "px"; + document.getElementById("orientation").style.height = window.innerHeight + "px" + } + game.paused = true; + if (MainGame.stateName == "ScreenGame") MainGame.state.onPause() + }, + leaveIncorrectOrientation: function() { + MainGame.orientated = true; + if (MainGame.loadIncorrect) window.location.reload(); + document.getElementById("orientation").style.display = "none"; + if (MainGame.stateName == "ScreenGame") { + MainGame.state.onPause() + } else { + game.paused = false + } + }, + changeOrientation: function() {} +}; +MainGame.Preloader = function(game) { + this.background = null; + this.preloadBar = null; + this.ready = false +}; +MainGame.Preloader.prototype = { + preload: function() { + game.stage.backgroundColor = "#0054B7"; + var bg = game.add.image(400, 300, "bg_menu"); + bg.anchor.setTo(.5); + if (game.width > 1300) bg.width = game.width; + var width = Math.ceil(400 / 2); + this.background = game.add.sprite(MainGame.worldX - width, MainGame.worldY + 100, "preloader_back"); + this.preloadBar = game.add.sprite(MainGame.worldX - width, MainGame.worldY + 100, "preloader_bar"); + game.load.setPreloadSprite(this.preloadBar); + game.load.onLoadStart.add(this.loadStart, this); + game.load.onFileComplete.add(this.fileComplete, this); + game.load.onLoadComplete.add(this.loadComplete, this); + game.load.spine("pers", "assets/spine/skeleton.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.bitmapFont("bmf_riffic", "assets/fonts/riffic50all.png", "assets/fonts/riffic50all.fnt"); + game.load.atlasJSONHash("ss_menu", "assets/spritesheets/ss_menu.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_menu.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.atlasJSONHash("ss_main1", "assets/spritesheets/ss_game1.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_game1.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.atlasJSONHash("ss_main2", "assets/spritesheets/ss_game2.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_game2.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.atlasJSONHash("ss_back", "assets/spritesheets/ss_back.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_back.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.atlasJSONHash("ss_comics", "assets/spritesheets/ss_comics.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_comics.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.atlasJSONHash("ss_comics2", "assets/spritesheets/ss_comics2.png?r=" + MyMath.getRandomInt(0, 99), "assets/spritesheets/ss_comics2.json?r=" + MyMath.getRandomInt(0, 99)); + game.load.image("transp", "assets/transp.png?r=1"); + this.load.image("bg_congrats", "assets/background/bg_congratulations.png?r=2"); + game.load.audio("s_musicM", ["assets/audio/ogg/m_menu.ogg?r=1", "assets/audio/mp3/m_menu.mp3?r=1"]); + game.load.audio("s_musicG1", ["assets/audio/ogg/m_game1.ogg?r=1", "assets/audio/mp3/m_game1.mp3?r=1"]); + if (game.device.webAudio) { + game.load.audio("s_sound1", ["assets/audio/ogg/sfx/boing_hit_hippo_or_bird.ogg", "assets/audio/mp3/sfx/boing_hit_hippo_or_bird.mp3"]); + game.load.audio("s_sound2", ["assets/audio/ogg/sfx/buy_item.ogg", "assets/audio/mp3/sfx/buy_item.mp3"]); + game.load.audio("s_sound3", ["assets/audio/ogg/sfx/draw_large_weapon.ogg", "assets/audio/mp3/sfx/draw_large_weapon.mp3"]); + game.load.audio("s_sound4", ["assets/audio/ogg/sfx/draw_weapon.ogg", "assets/audio/mp3/sfx/draw_weapon.mp3"]); + game.load.audio("s_sound5", ["assets/audio/ogg/sfx/drumroll_new_shot.ogg", "assets/audio/mp3/sfx/drumroll_new_shot.mp3"]); + game.load.audio("s_sound6", ["assets/audio/ogg/sfx/explosion_rocket_hit.ogg", "assets/audio/mp3/sfx/explosion_rocket_hit.mp3"]); + game.load.audio("s_sound7", ["assets/audio/ogg/sfx/grenade_collision.ogg", "assets/audio/mp3/sfx/grenade_collision.mp3"]); + game.load.audio("s_sound8", ["assets/audio/ogg/sfx/grenade_launch.ogg", "assets/audio/mp3/sfx/grenade_launch.mp3"]); + game.load.audio("s_sound9", ["assets/audio/ogg/sfx/grenade_tick_before_explosion.ogg", "assets/audio/mp3/sfx/grenade_tick_before_explosion.mp3"]); + game.load.audio("s_sound10", ["assets/audio/ogg/sfx/launch_multiball_rw2.ogg", "assets/audio/mp3/sfx/launch_multiball_rw2.mp3"]); + game.load.audio("s_sound11", ["assets/audio/ogg/sfx/random_environment_1.ogg", "assets/audio/mp3/sfx/random_environment_1.mp3"]); + game.load.audio("s_sound12", ["assets/audio/ogg/sfx/random_environment_2.ogg", "assets/audio/mp3/sfx/random_environment_2.mp3"]); + game.load.audio("s_sound13", ["assets/audio/ogg/sfx/random_environment_3.ogg", "assets/audio/mp3/sfx/random_environment_3.mp3"]); + game.load.audio("s_sound14", ["assets/audio/ogg/sfx/random_environment_4.ogg", "assets/audio/mp3/sfx/random_environment_4.mp3"]); + game.load.audio("s_sound15", ["assets/audio/ogg/sfx/random_environment_5.ogg", "assets/audio/mp3/sfx/random_environment_5.mp3"]); + game.load.audio("s_sound16", ["assets/audio/ogg/sfx/random_environment_6.ogg", "assets/audio/mp3/sfx/random_environment_6.mp3"]); + game.load.audio("s_sound17", ["assets/audio/ogg/sfx/rocket_launch.ogg", "assets/audio/mp3/sfx/rocket_launch.mp3"]); + game.load.audio("s_sound18", ["assets/audio/ogg/sfx/sealoop_water.ogg", "assets/audio/mp3/sfx/sealoop_water.mp3"]); + game.load.audio("s_sound19", ["assets/audio/ogg/sfx/shoot_bow_launch_arrow.ogg", "assets/audio/mp3/sfx/shoot_bow_launch_arrow.mp3"]); + game.load.audio("s_sound20", ["assets/audio/ogg/sfx/splash_ball_hits_water.ogg", "assets/audio/mp3/sfx/splash_ball_hits_water.mp3"]); + game.load.audio("s_sound21", ["assets/audio/ogg/sfx/splash_large_man_hits_water_1.ogg", "assets/audio/mp3/sfx/splash_large_man_hits_water_1.mp3"]); + game.load.audio("s_sound22", ["assets/audio/ogg/sfx/splash_large_man_hits_water_2.ogg", "assets/audio/mp3/sfx/splash_large_man_hits_water_2.mp3"]); + game.load.audio("s_sound23", ["assets/audio/ogg/sfx/tennisball_hit_ground.ogg", "assets/audio/mp3/sfx/tennisball_hit_ground.mp3"]); + game.load.audio("s_sound24", ["assets/audio/ogg/sfx/vhf_called_rw2_level1.ogg", "assets/audio/mp3/sfx/vhf_called_rw2_level1.mp3"]); + game.load.audio("s_sound25", ["assets/audio/ogg/sfx/victory_celebration_rw1.ogg", "assets/audio/mp3/sfx/victory_celebration_rw1.mp3"]); + game.load.audio("s_sound26", ["assets/audio/ogg/sfx/victory_celebration_rw2.ogg", "assets/audio/mp3/sfx/victory_celebration_rw2.mp3"]); + game.load.audio("s_sound27", ["assets/audio/ogg/sfx/whoosh_level_start.ogg", "assets/audio/mp3/sfx/whoosh_level_start.mp3"]); + game.load.audio("s_sound28", ["assets/audio/ogg/sfx/fire_weapon.ogg", "assets/audio/mp3/sfx/fire_weapon.mp3"]); + var arVoices = ["f1_ambulance1", "f1_ambulance3", "f1_byebye2", "f1_byebye3", "f1_manoverboard5", "f1_manoverboard7", "f1_ohno3", "f1_ohno4", "f2_auw1", "f2_auw3", "f2_auw4", "f2_auw5", "f2_auw6", "f3_auwmyhead2", "f3_auwmyhead4", "f3_auwmyhead5", "f4_Illgetyou2", "f4_Illgetyou3", "f4_revenge3", "f4_revenge5", "f4_youllregretthat1", "f4_youllregretthat5", "f5_hereItcomes2", "f5_hereItcomes4", "f5_hopeyouenjoy1", "f5_hopeyouenjoy3", "f5_takethis1", "f5_watchoutforthis1", "f5_watchoutforthis5", "o1_headshot1", "o1_headshot2", "o2_seeyoulater1", "o2_seeyoulater2", "o2_sleepingwiththefishes1", "o2_sleepingwiththefishes2", "o2_timetomeetyourmaker5", "o2_timetomeetyourmaker6", "o3_bullseye1", "o3_bullseye2", "o3_goodshot2", "o3_goodshot3", "o3_niceshot1", "o3_niceshot3", "o3_theyneversawitcoming1", "o4_miss1", "o4_miss2", "o4_miss3"]; + this.countVoices = arVoices.length; + for (var i = 0; i < this.countVoices; i++) { + game.load.audio("v_voice" + i, ["assets/audio/ogg/voices/" + arVoices[i] + ".ogg", "assets/audio/mp3/voices/" + arVoices[i] + ".mp3"]) + } + } + game.load.json("alltext", "assets/text/text.json?r=" + MyMath.getRandomInt(0, 99)); + game.add.text(0, 0, "0123456789", MainGame.styleText).destroy() + }, + create: function() { + MainGame.TEXT_FILE = game.cache.getJSON("alltext"); + MainGame.s_musicM = game.add.audio("s_musicM", 1); + MainGame.s_musicG1 = game.add.audio("s_musicG1", 1); + MainGame.s_musicM.valueVolume = .9; + MainGame.s_musicG1.valueVolume = .9; + if (game.device.webAudio) { + var volumeSfx = .8; + for (var i = 1; i <= 28; i++) { + MainGame["s_sounds" + i] = game.add.audio("s_sound" + i, volumeSfx); + MainGame["s_sounds" + i].valueVolume = volumeSfx + } + for (var i = 0; i < this.countVoices; i++) { + MainGame["v_voice" + i] = game.add.audio("v_voice" + i, 1.05) + } + } + }, + loadStart: function() { + if (MainGame.isAPI) MainGame.API_POKI.gameLoadingStart() + }, + fileComplete: function(progress, cacheKey, success, totalLoaded, totalFiles) { + var data = {}; + data.percentageDone = progress / 100; + if (MainGame.isAPI) MainGame.API_POKI.gameLoadingProgress(data) + }, + loadComplete: function() { + if (MainGame.isAPI) MainGame.API_POKI.gameLoadingFinished() + }, + update: function() { + if (!this.ready) { + this.ready = true; + MainGame.continueGame() + } + } +}; +Bot = function(game, vLayer, vTeam, vSkin, vX, vY, vIsWave) { + this.game = game; + this.typeObj = "dodik"; + this.team = vTeam; + this.isLive = true; + this.isKicked = false; + this.status = 0; + this.ballHitted = 0; + this.isOnBaza = true; + this.isGoToBaza = false; + this.ourScaleX = 1; + this.strikeAngleN = 0; + this.strikeAngleC = 0; + this.strikePower = 0; + this.animLast = 3; + this.hpMax = 100; + if (vTeam == 2) { + if (MainGame.isHardMode) { + this.hpMax = 150 + } else { + if (MainGame.levelNum <= 1) this.hpMax = 50 + } + } + this.hpNow = this.hpMax; + this.wasDamage = 0; + this.isTopor = false; + this.isBow = false; + this.isDrone = false; + this.isSkinWithRocket = false; + this.isWave = vIsWave; + this.readyToShoot = false; + this.isUpStriker = false; + this.isMan = true; + this.DIST_TO_BAZA = 6; + this.waveStart = 0; + if (vSkin == "bear" || vSkin == "greybeard") this.isMan = false; + if (vSkin == "drone") { + this.isMan = false; + this.isDrone = true; + this.waveStart = 2 * Math.random() + } + if (vSkin == "v1" || vSkin == "v2" || vSkin == "v3" || vSkin == "v4" || vSkin == "c1" || vSkin == "c2" || vSkin == "c3" || vSkin == "e1" || vSkin == "e2" || vSkin == "e3") { + this.isTopor = true + } + if (vSkin == "w1" || vSkin == "w2" || vSkin == "w3") { + this.isBow = true + } + this.isSwimming = false; + this.isKid = false; + if (vSkin == "fkid1" || vSkin == "fkid2" || vSkin == "fkid3" || vSkin == "fkid4" || vSkin == "fkid5" || vSkin == "fkid6" || vSkin == "fkid7" || vSkin == "fkid8") { + this.isSwimming = true; + this.isKid = true; + this.hpMax = 70; + this.hpNow = this.hpMax + } + if (vSkin == "t2" || vSkin == "t4") { + this.isKid = true + } + var obj; + if (this.isMan) { + obj = vLayer.add(game.add.spine(vX, vY, "pers")); + if (MainGame.typeViking == 1) { + if (vSkin == "simon" || vSkin == "sman" || vSkin == "dkid") { + vSkin += "2" + } + } else if (MainGame.typeViking == 2) { + if (vSkin == "simon" || vSkin == "sman" || vSkin == "dkid") { + vSkin += "3" + } + } + obj.setSkinByName(vSkin); + obj.setAnimationByName(0, "idle", true); + obj.setToSetupPose(); + obj.onComplete.add(this.onAnimationComplete, this); + obj.state.tracks[0].time = MyMath.getRandomInt(1, 7) + } else { + if (vSkin == "bear") { + obj = vLayer.add(game.add.sprite(vX, vY, "ss_main1")); + obj.anchor.setTo(.5, .97); + obj.animations.add("idle", Phaser.Animation.generateFrameNames("bear_", 0, 0, "", 4), 30); + obj.animations.add("kick", Phaser.Animation.generateFrameNames("bear_kick_", 0, 7, "", 4), 30); + obj.animations.play("idle", 30, true) + } else if (vSkin == "greybeard") { + var obj = vLayer.add(game.add.group()); + var rod = obj.add(game.add.sprite(-81, -76, "ss_main1", "rod_0000")); + rod.anchor.setTo(.5); + var man = obj.add(game.add.sprite(0, 0, "ss_main1")); + man.anchor.setTo(.5, .97); + man.animations.add("idle", Phaser.Animation.generateFrameNames("grandpa_", 0, 48, "", 4), 30); + man.animations.add("kick", Phaser.Animation.generateFrameNames("grandpa_kick_", 0, 7, "", 4), 30); + man.animations.play("idle", 30, true); + obj.rod = rod; + obj.man = man + } else if (vSkin == "drone") { + obj = vLayer.add(game.add.group()); + obj.x = vX; + obj.y = vY; + var body = obj.add(game.add.sprite(0, 0, "ss_main1", "drone_body_0000")); + body.anchor.setTo(.5); + var propeller1 = obj.add(game.add.sprite(-49, -37, "ss_main1")); + propeller1.animations.add("idle", Phaser.Animation.generateFrameNames("drone_propeller_", 0, 4, "", 4), 30); + propeller1.animations.play("idle", 30, true); + propeller1.anchor.setTo(.5); + var propeller2 = obj.add(game.add.sprite(51, -37, "ss_main1")); + propeller2.animations.add("idle", Phaser.Animation.generateFrameNames("drone_propeller_", 0, 4, "", 4), 30); + propeller2.animations.play("idle", 30, true); + propeller2.anchor.setTo(.5); + var gun = obj.add(game.add.sprite(0, 25, "ss_main1", "gun11_0000")); + gun.anchor.setTo(.2, .5); + this.gun = gun + } + } + this.skin = vSkin; + var body = new Phaser.Physics.Box2D.Body(game, null, vX, vY, 2); + var valueMass = 4; + if (this.isMan) { + if (vSkin == "simon" || vSkin == "dkid" || vSkin == "f3") { + body.addCircle(30, 0, -60); + body.addCircle(25, 0, -25) + } else { + body.addCircle(30, 0, -80); + body.addCircle(25, 0, -25) + } + } else { + if (vSkin == "bear") { + body.addCircle(30, 0, -30) + } else if (vSkin == "greybeard") { + body.addCircle(30, -15, -75); + body.addCircle(25, 0, -25) + } else if (vSkin == "drone") { + body.addCircle(30, 0, 0); + body.gravityScale = 0 + } + } + body.restitution = .25; + body.fixedRotation = true; + body.mass = valueMass; + body.link = this; + this.obj = obj; + this.body = body; + if (vTeam == 2) this.setScale(-1) +}; +Bot.prototype.onAnimationComplete = function() { + if (this.isLive) { + var animName = this.obj.state.tracks[0].animation.name; + if (animName == "gogun") { + MainGame.state.isTimeAim = true + } else if (animName == "shoot") {} + if (animName == "gogun2") { + MainGame.state.isTimeAim = true + } else if (animName == "shoot") {} + } +}; +Bot.prototype.initStartPos = function() { + this.startX = this.body.x; + this.startY = this.body.y +}; +Bot.prototype.setToStartPos = function() { + if (!this.isLive) return; + if (this.hpNow <= 0) return; + if (this.skin != "bear" && this.skin != "greybeard") { + this.body.x = this.startX; + this.body.y = this.startY + } + this.body.velocity.x = 0; + this.body.velocity.y = 0; + this.obj.scale.x = this.ourScaleX; + if (this.readyToShoot) { + if (this.isGoToBaza) this.updateAnim(0) + } else { + this.updateAnim(3) + } + if (this.isDrone) { + this.gun.angle = 0 + } + this.isGoToBaza = false; + this.isOnBaza = true; + this.ballHitted = 0; + this.status = 0; + this.timeAttack = 0; + this.isKicked = false; + this.isWasKicked = false; + this.isShooted = false; + this.wasDamage = 0; + this.animLast = -1 +}; +Bot.prototype.setScale = function(vValue) { + this.ourScaleX = vValue; + this.obj.scale.x = vValue +}; +Bot.prototype.checkBaza = function(vTeam, vOrder) { + if (this.team == vTeam) return; + if (this.distanceBaza() > 7) { + this.isOnBaza = false + } +}; +Bot.prototype.distanceBaza = function() { + return Phaser.Math.distance(this.body.x, this.body.y, this.startX, this.startY) +}; +Bot.prototype.moveToBaza = function() { + if (this.isWasKicked) this.updateHpBar(); + if (this.hpNow > 0) { + this.isGoToBaza = true; + this.updateAnim(2) + } +}; +Bot.prototype.isEnemy = function() { + return this.isLive && this.team == 2 && this.hpNow > 0 +}; +Bot.prototype.goAttack = function(vAngle, vPower) { + this.timeAttack = 1; + this.strikeAngleC = 0; + this.strikeAngleN = vAngle; + this.strikePower = vPower +}; +Bot.prototype.getDamage = function(vValue) { + if (this.ballHitted > 0) return; + this.hpNow -= vValue; + if (this.hpNow < 0) { + this.hpNow = 0 + } + this.isWasKicked = true; + this.wasDamage += vValue; + game.time.events.add(200, this.canDamageAgain, this).autoDestroy = true; + this.ballHitted++; + if (this.team == 1) { + MainGame.state.opponentGetDmg() + } +}; +Bot.prototype.canDamageAgain = function() { + this.ballHitted = 0 +}; +Bot.prototype.updateHpBar = function() { + var newWidth = 53 * (this.hpNow / this.hpMax); + game.tweens.removeFrom(this.hpBar.cropRect); + var _this = this; + game.add.tween(this.hpBar.cropRect).to({ + width: newWidth + }, 500, "Linear", true, 150).onComplete.add(function() { + if (_this.hpNow <= 0) { + _this.body.sensor = true; + if (_this.isMan) { + _this.obj.setAnimationByName(0, "kick", true) + } else { + if (!_this.isDrone) { + _this.obj.animations.play("kick", 30, true) + } else { + _this.body.gravityScale = 1; + _this.body.velocity.y = 40 + } + } + _this.hpBar.visible = false; + MainGame.state.swapLayer(_this.obj) + } + }); + this.isCropingTime = true; + this.newWidth = newWidth; + MainGame.state.addDamageEffect(this.wasDamage, this.obj.x, this.obj.y - 150); + this.mini.cropRect.width = 32 * (this.hpNow / this.hpMax); + this.mini.bar2.updateCrop(); + if (this.hpNow <= 0) { + this.updateMiniIcon() + } +}; +Bot.prototype.showDialog = function(vPar, vText) { + if (this.dialog.visible) return; + this.dialog.text.setText(vText); + var dW = this.dialog.text.width + 25; + if (dW < 190) { + this.dialog.dialog2.frameName = "msg2_0000"; + this.dialog.dialog2.width = dW + } else { + this.dialog.dialog2.frameName = "msg1_0000"; + this.dialog.dialog2.width = dW + } + var _dialog = this.dialog; + _dialog.alpha = 1; + _dialog.visible = true; + _dialog.scale.setTo(.25); + var timeShow = 2500; + if (vPar == 1) timeShow = 1200; + if (vPar == 2) timeShow = 4e3; + game.add.tween(_dialog.scale).to({ + x: 1, + y: 1 + }, 500, "Elastic.easeOut", true); + game.add.tween(_dialog).to({ + alpha: 0 + }, 150, "Linear", true, timeShow).onComplete.add(function() { + _dialog.visible = false + }) +}; +Bot.prototype.updateAnim = function(vNum) { + if (!this.isLive) return; + if (this.animLast == vNum && vNum < 5) return; + if (this.isMan) { + switch (vNum) { + case 0: + if (this.isTopor) { + this.obj.setAnimationByName(0, "gogun2", false); + this.obj.addAnimationByName(0, "aim2", true) + } else { + this.obj.setAnimationByName(0, "gogun", false); + this.obj.addAnimationByName(0, "aim", true) + } + MainGame.playSound(4); + break; + case 1: + if (this.isTopor) { + this.obj.setAnimationByName(0, "shoot2", false) + } else { + if (this.isBow) { + this.obj.setAnimationByName(0, "shoot3", false); + this.obj.addAnimationByName(0, "aim", true) + } else { + this.obj.setAnimationByName(0, "shoot", false); + this.obj.addAnimationByName(0, "aim", true) + } + } + break; + case 2: + this.obj.setAnimationByName(0, "walk", true); + break; + case 3: + this.obj.setAnimationByName(0, "idle", true); + this.obj.state.tracks[0].time = MyMath.getRandomInt(1, 7); + break; + case 4: + this.obj.setAnimationByName(0, "kick", false); + this.isKicked = true; + break; + case 5: + this.obj.setAnimationByName(0, "see", false); + this.obj.addAnimationByName(0, "idle", true); + break; + case 6: + if (this.isTopor) { + this.obj.setAnimationByName(0, "win2", true) + } else { + this.obj.setAnimationByName(0, "win", true) + } + this.obj.state.tracks[0].time = MyMath.getRandomInt(1, 7); + break; + case 7: + this.obj.setAnimationByName(0, "sheildon", false); + this.obj.addAnimationByName(0, "sheild", true); + break; + case 8: + if (this.animLast == 7) { + if (this.readyToShoot) { + this.obj.setAnimationByName(0, "sheildoff", false); + this.obj.addAnimationByName(0, "gogun", false); + this.obj.addAnimationByName(0, "aim", true) + } else { + this.obj.setAnimationByName(0, "sheildoff", false); + this.obj.addAnimationByName(0, "idle", true) + } + } + break; + case 105: + this.obj.setAnimationByName(0, "sem5", false); + this.obj.addAnimationByName(0, "sem5", false); + this.obj.addAnimationByName(0, "sem5", false); + this.obj.addAnimationByName(0, "sem5", false); + this.obj.addAnimationByName(0, "idle", true); + break; + default: + this.obj.setAnimationByName(0, "sem" + (vNum - 100), false); + this.obj.addAnimationByName(0, "idle", true); + break + } + this.obj.setToSetupPose() + } else { + switch (vNum) { + case 3: + if (this.skin == "greybeard") { + this.obj.man.animations.play("idle", 30, true) + } else if (this.skin == "bear") { + this.obj.animations.play("idle", 30, true) + } + break; + case 4: + if (this.skin == "greybeard") { + this.obj.man.animations.play("kick", 30, true) + } else if (this.skin == "bear") { + this.obj.animations.play("kick", 30, true) + } + this.isKicked = true; + break + } + } + this.animLast = vNum +}; +Bot.prototype.update = function(vWave) { + this.obj.x = this.body.x; + if (this.isWave && this.isLive) { + this.obj.y = this.body.y + Math.sin(this.waveStart + vWave) * 2.6 + } else { + this.obj.y = this.body.y + } + this.hpBar.x = this.obj.x; + this.hpBar.y = this.obj.y + this.hpBar.offsetY; + this.dialog.x = this.obj.x; + this.dialog.y = this.body.y + this.dialog.offsetY - 130; + if (this.isCropingTime) { + this.hpBar.bar2.updateCrop(); + if (this.hpBar.cropRect.width == this.newWidth) { + this.isCropingTime = false + } + } + if (this.isSwimming && !this.isLive) { + this.body.velocity.x = 75; + this.body.y = 545; + this.obj.y = this.body.y + Math.sin(vWave) * 2.6 + } + if (!this.isLive) return; + if (this.timeAttack > 0) { + this.timeAttack++; + if (this.timeAttack > 90 && this.timeAttack < 200) { + if (this.strikeAngleN != this.strikeAngleC) { + if (this.strikeAngleN - this.strikeAngleC < 0) { + this.strikeAngleC -= 1 + } else { + this.strikeAngleC += 1 + } + if (this.isDrone) { + this.gun.angle = this.strikeAngleC + } else { + MainGame.state.aimEnemy(this.isTopor, this.strikeAngleC) + } + } else { + if (this.isTopor) { + this.updateAnim(1); + if (this.isDrone) { + this.gun.angle = this.strikeAngleC + } else { + MainGame.state.aimEnemy(this.isTopor, this.strikeAngleC) + } + this.timeAttack = 210 + } else { + this.timeAttack = 200 + } + } + } else if (this.timeAttack > 230) { + if (!this.isTopor) this.updateAnim(1); + if (this.isDrone) { + this.gun.angle = this.strikeAngleC; + MainGame.state.strikeEnemy(this.isTopor, this.body.x, this.body.y, this.strikeAngleC, this.strikePower, this.skin); + this.body.velocity.x = 65; + this.body.velocity.y = 45; + this.isShooted = true + } else { + MainGame.state.aimEnemy(this.isTopor, this.strikeAngleC); + MainGame.state.strikeEnemy(this.isTopor, this.body.x, this.body.y, this.strikeAngleC, this.strikePower, this.skin) + } + this.timeAttack = -1 + } else if (this.timeAttack == 50) { + this.updateAnim(0) + } + } + if (this.isGoToBaza) { + var dist = this.distanceBaza(); + if (dist > this.DIST_TO_BAZA) { + if (this.isDrone) { + if (this.body.x - this.startX > 0) { + this.body.velocity.x = -50 + } else { + this.body.velocity.x = 50 + } + if (this.body.y - this.startY > 0) { + this.body.velocity.y = -50 + } else { + this.body.velocity.y = 50 + } + } else { + if (this.skin != "bear" && this.skin != "greybeard") { + if (this.body.x - this.startX > 0) { + this.body.velocity.x = -85; + this.obj.scale.x = -1 + } else { + this.body.velocity.x = 85; + this.obj.scale.x = 1 + } + } + } + } else { + this.setToStartPos(); + this.isGoToBaza = false + } + } else { + if (this.isDrone) { + if (this.isKicked || this.isShooted) { + this.body.velocity.x *= .97; + this.body.velocity.y *= .97 + } + } + if (this.isKicked) { + if (Math.abs(this.body.velocity.x) < 2 && Math.abs(this.body.velocity.y) < 2) { + this.updateAnim(3); + this.isKicked = false + } + } + } + if (this.body.y > 500) { + MainGame.state.dodikUtonul(this.team, this.body.x, 480); + this.hpNow = -100; + this.updateMiniIcon(); + this.isLive = false; + if (!this.isSwimming) { + game.time.events.add(600, this.goZeroVelocity, this).autoDestroy = true + } + } +}; +Bot.prototype.updateMiniIcon = function() { + this.mini.bar1.visible = false; + this.mini.bar2.visible = false; + this.mini.obj.frameName = "map_dead_0000"; + if (this.team == 2) { + this.mini.obj.scale.x = -1 + } +}; +Bot.prototype.goZeroVelocity = function() { + this.body.velocity.x = 0 +}; +Bot.prototype.setEmptyRocket = function() { + if (!this.isSkinWithRocket) return; + this.obj.setSkinByName(this.skin); + this.isSkinWithRocket = false +}; +Bot.prototype.setSuperRocket = function() { + if (this.isSkinWithRocket) return; + if (this.skin == "sman") this.obj.setSkinByName("sman4"); + if (this.skin == "simon") this.obj.setSkinByName("simon4"); + if (this.skin == "dkid") this.obj.setSkinByName("dkid4"); + if (this.skin == "sman2") this.obj.setSkinByName("sman5"); + if (this.skin == "simon2") this.obj.setSkinByName("simon5"); + if (this.skin == "dkid2") this.obj.setSkinByName("dkid5"); + if (this.skin == "sman3") this.obj.setSkinByName("sman6"); + if (this.skin == "simon3") this.obj.setSkinByName("simon6"); + if (this.skin == "dkid3") this.obj.setSkinByName("dkid6"); + this.obj.setAnimationByName(0, "gogun", false); + this.obj.setToSetupPose(); + this.isSkinWithRocket = true +}; +Bot.prototype.remove = function() {}; +MainGame.Game = function(game) {}; +MainGame.Game.prototype = { + create: function() { + MainGame.loadSaves(); + game.stage.backgroundColor = "#0054B7"; + MainGame.state = this; + MainGame.stateName = "ScreenGame"; + this.isFirstStike = true; + var tileSky = game.add.image(-10, 300, "ss_back", "sky2_0000"); + tileSky.anchor.setTo(0, .5); + tileSky.fixedToCamera = true; + tileSky.width = game.width * 1.1; + tileSky.height = game.height * 1.1; + this.tileSky = tileSky; + this.layerBack = game.add.group(); + this.layerBack3 = this.layerBack.add(game.add.group()); + this.layerBack2 = this.layerBack.add(game.add.group()); + this.layerBack1 = this.layerBack.add(game.add.group()); + this.layerPers = game.add.group(); + this.layerMain = game.add.group(); + this.layerEffect = game.add.group(); + this.layerHpBars = game.add.group(); + this.layerWater = game.add.group(); + if (MainGame.isDebug) this.layerTest = game.add.group(); + this.layerDialog = game.add.group(); + this.layerTextM = game.add.group(); + this.layerTextM.fixedToCamera = true; + this.layerText = this.layerTextM.add(game.add.group()); + this.layerTop = game.add.group(); + this.layerTop.fixedToCamera = true; + this.sdvigMap1 = 0; + this.sdvigMap2 = 0; + this.countTeam1 = 0; + this.countTeam2 = 0; + this.layerMap1 = this.layerTop.add(game.add.group()); + this.layerMap2 = this.layerTop.add(game.add.group()); + this.layerWeapon = this.layerTop.add(game.add.group()); + this.layerFinish = game.add.group(); + this.layerFinish.fixedToCamera = true; + this.layerTopPause = game.add.group(); + this.layerTopPause.fixedToCamera = true; + this.layerPopup = game.add.group(); + this.layerPopup.fixedToCamera = true; + if (MainGame.showFPS) MainGame.showFps(20, 120); + this.initBackground(); + var btnTap = this.layerTop.add(game.add.image(740, 60, "ss_main2", "btn_pause_0000")); + btnTap.anchor.setTo(.5); + btnTap.inputEnabled = true; + btnTap.events.onInputUp.add(this.clickPause, this); + this.btnTap = btnTap; + if (MainGame.isDebug) { + MainGame.addButton(this, this.layerTop, 400, 35, this.clickTestWin, "win", 80, 40, 24); + MainGame.addButton(this, this.layerTop, 500, 35, this.clickTestLose, "lose", 80, 40, 24) + } + this.layerPanelTurn = this.layerTop.add(game.add.group()); + this.layerPanelTurn.x = -110; + var plahaTurn = this.layerPanelTurn.add(game.add.image(0, 140, "ss_main2", "panel_turn_0000")); + this.textOnScreen = MainGame.addText(120, 180, 140 + 36, MainGame.GAME_TEXT.your_turn, this.layerPanelTurn, 22, 16777215, .5, .5); + var plahaBtn = this.layerWeapon.add(game.add.image(200, 60, "ss_main2", "weapon_panel_0000")); + plahaBtn.anchor.setTo(.5); + var wBtn1 = this.layerWeapon.add(game.add.image(155 - 90, 60, "ss_main2", "btn_gun_0000")); + wBtn1.anchor.setTo(.5); + wBtn1.inputEnabled = true; + wBtn1.events.onInputDown.add(this.selectBall1, this); + this.btnBall1 = wBtn1; + var icon1t = this.layerWeapon.add(game.add.image(wBtn1.x - 3, wBtn1.y + 4, "ss_main2", "ball_t_0000")); + icon1t.anchor.setTo(.5); + var icon1n = this.layerWeapon.add(game.add.image(wBtn1.x, wBtn1.y, "ss_main2", "ball_n_0000")); + icon1n.anchor.setTo(.5); + var wBtn2 = this.layerWeapon.add(game.add.image(155, 60, "ss_main2", "btn_gun_0000")); + wBtn2.anchor.setTo(.5); + wBtn2.inputEnabled = true; + wBtn2.events.onInputDown.add(this.selectBall2, this); + this.btnBall2 = wBtn2; + var icon2t = this.layerWeapon.add(game.add.image(wBtn2.x - 3, wBtn2.y + 4, "ss_main2", "grenade_t_0000")); + icon2t.anchor.setTo(.5); + var icon2n = this.layerWeapon.add(game.add.image(wBtn2.x, wBtn2.y, "ss_main2", "grenade_n_0000")); + icon2n.anchor.setTo(.5); + var wBtn3 = this.layerWeapon.add(game.add.image(155 + 90, 60, "ss_main2", "btn_gun_0000")); + wBtn3.anchor.setTo(.5); + wBtn3.inputEnabled = true; + wBtn3.events.onInputDown.add(this.selectBall3, this); + this.btnBall3 = wBtn3; + var icon3t = this.layerWeapon.add(game.add.image(wBtn3.x - 3, wBtn3.y + 4, "ss_main2", "rocket_t_0000")); + icon3t.anchor.setTo(.5); + var icon3n = this.layerWeapon.add(game.add.image(wBtn3.x, wBtn3.y, "ss_main2", "rocket_n_0000")); + icon3n.anchor.setTo(.5); + var wBtn4 = this.layerWeapon.add(game.add.image(155 + 90 + 90, 60, "ss_main2", "btn_gun_0000")); + wBtn4.anchor.setTo(.5); + wBtn4.inputEnabled = true; + wBtn4.events.onInputDown.add(this.selectBall4, this); + this.btnBall4 = wBtn4; + var icon4t = this.layerWeapon.add(game.add.image(wBtn4.x - 3, wBtn4.y + 4, "ss_main2", "balls3_t_0000")); + icon4t.anchor.setTo(.5); + var icon4n = this.layerWeapon.add(game.add.image(wBtn4.x, wBtn4.y, "ss_main2", "balls3_n_0000")); + icon4n.anchor.setTo(.5); + this.krutilka = this.layerWeapon.add(game.add.image(wBtn1.x, wBtn1.y, "ss_main2", "krutilka_0000")); + this.krutilka.anchor.setTo(.5); + game.add.tween(this.krutilka).to({ + angle: 180 + }, 700, "Linear", true, 0, -1, false); + var im1 = this.layerWeapon.add(game.add.image(wBtn2.x + 30, wBtn2.y + 35, "ss_main2", "ammo1_0000")); + im1.anchor.setTo(.5); + var im2 = this.layerWeapon.add(game.add.image(wBtn3.x + 30, wBtn3.y + 35, "ss_main2", "ammo2_0000")); + im2.anchor.setTo(.5); + var im3 = this.layerWeapon.add(game.add.image(wBtn4.x + 30, wBtn4.y + 35, "ss_main2", "ammo3_0000")); + im3.anchor.setTo(.5); + var textLvl = MainGame.replaceText(MainGame.GAME_TEXT.level_N, MainGame.levelNum + 1).toUpperCase(); + var levelNameT1 = MainGame.addText(220, 0, 75 + 5, textLvl, this.layerText, 38, 9330034, 0, .5); + var levelNameT2 = MainGame.addText(220, 0, 75, textLvl, this.layerText, 38, 16711170, 0, .5); + var titleLevel = MainGame.GAME_TEXT["level_nameRW2_" + Number(MainGame.levelNum + 1)]; + var textLvl = titleLevel.toUpperCase(); + var levelNameT3 = MainGame.addText(400, 15 + levelNameT1.width, 75 + 5, textLvl.toUpperCase(), this.layerText, 38, 9330034, 0, .5); + var levelNameT4 = MainGame.addText(400, 15 + levelNameT1.width, 75, textLvl.toUpperCase(), this.layerText, 38, 16777215, 0, .5); + var lengthTitle = levelNameT1.width + 15 + levelNameT3.width; + var otstup = Math.floor(-lengthTitle) * .5; + levelNameT1.x = levelNameT2.x = otstup; + levelNameT3.x = levelNameT4.x = otstup + levelNameT1.width + 15; + var textShots = MainGame.replaceText(MainGame.GAME_TEXT.complete_N_shots, MainGame.arShots[MainGame.levelNum]); + MainGame.addText(600, 0, 130, textShots, this.layerText, 28, 16777215, .5, .5); + MainGame.addText(400, 0, 190, MainGame.GAME_TEXT.tap_to_begin, this.layerText, 32, 16777215, .5, .5); + if (MainGame.isDebug) { + this.testW = this.layerMain.add(game.add.image(0, 0, "ss_main2", "ball7_0000")); + this.testW.anchor.setTo(.5); + this.testW.scale.setTo(.5); + this.testW.tint = 16711680 + } + this.timerSfxHitBall = 0; + this.DISTANCE_FOR_AIM = 40; + this.isShooted = false; + this.isLevelCompleted = false; + this.isFinishShown = false; + this.isLevelWin = false; + this.stepAttack = 0; + this.countMissed = 0; + this.turnNum = 1; + this.gameStatus = 0; + this.arDodiki = []; + this.typeGun = 0; + this.lastTypeGun = 0; + this.isTimeAim = false; + this.isInputPress = false; + this.isHitWater = 0; + this.worldManifold = new box2d.b2WorldManifold; + this.launchVelocity = new Phaser.Point(0, 0); + this.inputPointDown = new Phaser.Point(0, 0); + this.dotPoint1 = new Phaser.Point(0, 0); + this.dotPoint10 = new Phaser.Point(0, 0); + this.cameraPoint = this.layerEffect.add(game.add.image(0, 0, "ss_main2", "ballG_0000")); + this.cameraPoint.alpha = 0; + this.waveCount = 0; + this.isCanStartCheck = false; + this.isOpponentMiss = true; + this.isSimonTalked = false; + this.dronesDestroyed = false; + this.whaleKicked = false; + this.isCropingTime = false; + this.hpWhale = 300; + this.isFinalDialog = true; + this.miniSdvigX = 0; + this.timeToStart = 0; + this.stat_shots = 0; + this.stat_enemy = 0; + this.stat_time = 0; + this.lastTargetPosP1 = 0; + this.lastTargetPosP2 = 0; + this.lastTargetPosC1 = 0; + this.lastTargetPosC2 = 0; + game.input.onDown.add(this.inputStageDown, this); + game.input.onUp.add(this.inputStageUp, this); + this.CATEGORY_BALL = 1; + this.CATEGORY_DODIK = 2; + this.CATEGORY_GROUND1 = 4; + this.CATEGORY_GROUND2 = 8; + this.CATEGORY_GROUND3 = 16; + this.CATEGORY_HELICOPTER = 32; + this.MASK_BALL = this.CATEGORY_DODIK | this.CATEGORY_GROUND1 | this.CATEGORY_GROUND2 | this.CATEGORY_GROUND3; + this.MASK_DODIK1 = this.CATEGORY_BALL | this.CATEGORY_GROUND1 | this.CATEGORY_DODIK | this.CATEGORY_HELICOPTER; + this.MASK_DODIK2 = this.CATEGORY_BALL | this.CATEGORY_GROUND2 | this.CATEGORY_DODIK | this.CATEGORY_HELICOPTER; + this.MASK_DODIK3 = this.CATEGORY_BALL | this.CATEGORY_GROUND3 | this.CATEGORY_DODIK | this.CATEGORY_HELICOPTER; + this.MASK_GROUND = this.CATEGORY_GROUND1 & this.CATEGORY_GROUND2 & this.CATEGORY_GROUND3; + game.physics.startSystem(Phaser.Physics.BOX2D); + game.physics.box2d.gravity.y = 550; + this.ball = this.layerMain.add(game.add.sprite(0, -100, "ss_main1", "ball1_0000")); + this.ball1 = this.layerMain.add(game.add.sprite(0, -100, "ss_main1", "ball1_0000")); + this.ball2 = this.layerMain.add(game.add.sprite(0, -100, "ss_main1", "ball1_0000")); + this.ball3 = this.layerMain.add(game.add.sprite(0, -100, "ss_main1", "ball1_0000")); + this.initBall(this.ball, 15); + this.initBall(this.ball1, 11); + this.initBall(this.ball2, 11); + this.initBall(this.ball3, 11); + this.layerAiming = this.layerWater.add(game.add.group()); + this.aimCircle = this.layerAiming.add(game.add.sprite(0, -100, "ss_main2", "aimCircle_0000")); + this.aimCircle.anchor.setTo(.5); + this.aimCircle.visible = false; + game.add.tween(this.aimCircle).to({ + angle: -180 + }, 1e3, "Linear", true, 0, -1, false); + this.level_width = 2800; + this.waveAr = []; + var bodyBox; + var boatPosX = 170 - 120; + var boatPosY = 465 - 46; + var hero1PosX = 240; + var hero1PosY = 462; + var hero2PosX = 100; + var hero2PosY = 462; + var hero3PosX = 0; + var hero3PosY = 0; + switch (MainGame.typeBoat) { + case 1: + this.addBodyShape(1, [231, 75, 223, 45, 240, 27], boatPosX, boatPosY); + this.addBodyShape(1, [16, 45, 6, 75, 2, 27], boatPosX, boatPosY); + this.addBodyShape(1, [231, 75, 6, 75, 16, 45, 223, 45], boatPosX, boatPosY); + break; + case 2: + boatPosX = 50; + boatPosY = 438; + this.addBodyShape(1, [25, 20, 6, 50, 2, 2], boatPosX, boatPosY + 5); + this.addBodyShape(1, [310, 50, 303, 20, 320, 2], boatPosX, boatPosY + 5); + this.addBodyShape(1, [310, 50, 6, 50, 25, 20, 303, 20], boatPosX, boatPosY + 5); + hero1PosX = 315; + hero1PosY = 462; + hero2PosX = 190; + hero2PosY = 462; + hero3PosX = 95; + hero3PosY = 462; + break; + case 3: + boatPosX = 40; + boatPosY = 375; + this.addBodyShape(1, [169, 8, 253, 84, 13, 114, 13, 8], boatPosX, boatPosY); + this.addBodyShape(1, [485, 114, 478, 84, 495, 66], boatPosX, boatPosY); + this.addBodyShape(1, [485, 114, 13, 114, 253, 84, 478, 84], boatPosX, boatPosY); + hero1PosX = 480; + hero1PosY = 458; + hero2PosX = 340; + hero2PosY = 458; + hero3PosX = 110; + hero3PosY = 382; + break; + case 4: + boatPosX = 40; + boatPosY = 248; + this.addBodyShape(1, [485, 241, 478, 211, 495, 193], boatPosX, boatPosY); + this.addBodyShape(1, [253, 211, 13, 241, 34, 135, 169, 135], boatPosX, boatPosY); + this.addBodyShape(1, [34, 135, 13, 241, 15, 75, 35, 77], boatPosX, boatPosY); + this.addBodyShape(1, [485, 241, 13, 241, 253, 211, 478, 211], boatPosX, boatPosY); + hero1PosX = 480; + hero1PosY = 458; + hero2PosX = 340; + hero2PosY = 458; + hero3PosX = 160; + hero3PosY = 382; + break + } + var isPoolTiles = false; + switch (MainGame.levelNum) { + case 0: + this.posCameraEnemy = 1500; + isPoolTiles = true; + this.layerBack1.add(game.add.image(650, 210, "ss_main1", "umbrella_0000")); + this.layerBack1.add(game.add.image(860, 335, "ss_main1", "chair_0000")); + this.layerBack1.add(game.add.image(960 + 10, 335, "ss_main1", "chair_0000")); + var base = this.layerBack1.add(game.add.image(1500, 305, "ss_main1", "base1_0000")); + this.addBodyShape(2, [180, 4, 180, 124, 14, 124, 14, 4], base.x, base.y); + this.banka = this.addBanka(1590, 267); + this.level_width = 1900; + break; + case 1: + this.posCameraEnemy = 1850; + this.miniSdvigX = 70; + isPoolTiles = true; + var umbrella = this.layerBack1.add(game.add.image(650, 210, "ss_main1", "umbrella_0000")); + umbrella.angle = 15; + var base = this.layerMain.add(game.add.image(2e3 - 100, 295, "ss_main1", "base2_0000")); + this.addBodyShape(2, [409, 233, 244, 72, 245, 31, 410, 31], base.x, base.y); + this.addBodyShape(2, [167, 111, 409, 233, 11, 235, 10, 111], base.x, base.y); + this.addBodyShape(2, [244, 72, 409, 233, 167, 111, 168, 72], base.x, base.y); + this.viking1 = this.addDodik(2, "s4", 1650 - 50 - 100, 467, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking2 = this.addDodik(2, "s1", 2080 - 100, 405, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + var barrel = this.layerMain.add(game.add.image(1650 - 180 - 100, 450 + 20 - 76, "ss_main1", "boat13_0000")); + this.addBodyShape(1, [302, 108, 270, 74, 297, 58, 320, 76], barrel.x, barrel.y); + this.addBodyShape(1, [56, 74, 30, 108, 7, 65, 29, 47], barrel.x, barrel.y); + this.addBodyShape(1, [30, 108, 56, 74, 270, 74, 302, 108], barrel.x, barrel.y); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.level_width = 2400; + break; + case 2: + this.posCameraEnemy = 2200; + this.miniSdvigX = 70; + isPoolTiles = true; + this.layerBack1.add(game.add.image(650, 210, "ss_main1", "umbrella_0000")); + this.layerBack1.add(game.add.image(860, 335, "ss_main1", "chair_0000")); + this.layerBack1.add(game.add.image(960 + 10, 335, "ss_main1", "chair_0000")); + var base3 = this.layerBack1.add(game.add.image(1645, 130, "ss_main1", "base3_0000")); + this.addBodyShape(1, [4, 57, 435, 57, 435, 72, 4, 74], base3.x, base3.y + 5); + this.test = base3; + var base = this.layerMain.add(game.add.image(2e3 - 100, 295, "ss_main1", "base2_0000")); + this.addBodyShape(2, [409, 233, 244, 72, 245, 31, 410, 31], base.x, base.y); + this.addBodyShape(2, [167, 111, 409, 233, 11, 235, 10, 111], base.x, base.y); + this.addBodyShape(2, [244, 72, 409, 233, 167, 111, 168, 72], base.x, base.y); + this.viking1 = this.addDodik(2, "f3", 1600, 469, this.CATEGORY_DODIK, this.MASK_DODIK3, true, 10); + this.viking2 = this.addDodik(2, "f1", 1820, 191, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 10); + this.viking3 = this.addDodik(2, "f2", 2080 - 100, 405, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + var barrel = this.layerMain.add(game.add.image(1550, 450, "ss_main1", "boat16_0000")); + this.addBodyShape(3, [85, 10, 85, 40, 10, 40, 10, 10], barrel.x, barrel.y + 15); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.level_width = 2400; + break; + case 3: + this.posCameraEnemy = 2400; + var bridge = this.layerBack1.add(game.add.image(1790, 410, "ss_main1", "bridge3_0000")); + var umbrella = this.layerBack1.add(game.add.image(2060, 210, "ss_main1", "umbrella_0000")); + this.layerBack1.add(game.add.image(1960, 340, "ss_main1", "beach1_0000")); + var base = this.layerBack1.add(game.add.image(2370, 50, "ss_main1", "base4_0000")); + this.addBodyShape(2, [16, 69, 124, 7, 239, 33], umbrella.x, umbrella.y); + this.addBodyShape(2, [430 + 180, 6, 430 + 180, 36, 15, 36, 15, 6], bridge.x, bridge.y); + this.addBodyShape(2, [160, 199, 175, 231, 33, 384, 0, 380], base.x, base.y); + this.addBodyShape(2, [320, 198, 349, 231, 175, 231, 160, 199], base.x, base.y); + this.addBodyShape(2, [320, 198, 328, 68, 362, 58, 349, 231], base.x, base.y); + this.addBodyShape(2, [87, 3, 362, 58, 328, 68, 86, 22], base.x, base.y); + this.viking1 = this.addDodik(2, "l1", 1900, 415, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + this.viking2 = this.addDodik(2, "f7", 2620, 247, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + break; + case 4: + this.posCameraEnemy = 2200; + this.miniSdvigX = 50; + var sdvigX = 200; + this.viking1 = this.addDodik(2, "f5", 1580 + sdvigX, 438, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 10); + this.viking2 = this.addDodik(2, "f6", 1860 + sdvigX, 457, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + this.viking3 = this.addDodik(2, "f4", 2170 + sdvigX, 320, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + var base = this.layerMain.add(game.add.image(1770 + sdvigX, 250, "ss_main1", "aquapark4_0000")); + this.addBodyShape(2, [666, 278, 306, 123, 353, 71, 571, 71], base.x, base.y); + this.addBodyShape(2, [56, 208, 20, 278, 19, 192], base.x, base.y); + this.addBodyShape(2, [119, 209, 20, 278, 56, 208], base.x, base.y); + this.addBodyShape(2, [187, 195, 666, 278, 20, 278, 119, 209], base.x, base.y); + this.addBodyShape(2, [666, 278, 251, 163, 306, 123], base.x, base.y); + this.addBodyShape(2, [666, 278, 187, 195, 251, 163], base.x, base.y); + var base4 = this.layerMain.add(game.add.image(1500 + sdvigX, 420, "ss_main1", "aquapark3_0000")); + this.addBodyShape(1, [13, 102, 12, 19, 127, 19, 128, 104], base4.x, base4.y); + this.test = base4; + break; + case 5: + var sdvigX = 250; + this.level_width = 2800 + sdvigX; + this.posCameraEnemy = 2300 + sdvigX; + this.miniSdvigX = 10; + var positionHelicopterX = 1100 + sdvigX; + var positionHelicopterY = 50; + var umbrella = this.layerBack1.add(game.add.image(2550 + sdvigX, 195, "ss_main1", "umbrella_0000")); + var stone = this.layerEffect.add(game.add.image(2600 + sdvigX, 487 - 15, "ss_main1", "bridge3_0000")); + stone.anchor.setTo(.5); + var bodyBox = this.addRectangle(2640 + sdvigX, 450 - 15, 480, 30); + bodyBox.setCollisionCategory(this.CATEGORY_GROUND3); + var bodyBox = this.addRectangle(2900 + sdvigX, 390 - 15, 30, 150); + bodyBox.setCollisionCategory(this.CATEGORY_GROUND3); + var positionBoatX = 1900 + sdvigX; + var barrel = this.layerMain.add(game.add.image(positionBoatX, 450 + 20 - 76, "ss_main1", "boat13_0000")); + this.addBodyShape(1, [302, 108, 270, 74, 297, 58, 320, 76], barrel.x, barrel.y); + this.addBodyShape(1, [56, 74, 30, 108, 7, 65, 29, 47], barrel.x, barrel.y); + this.addBodyShape(1, [30, 108, 56, 74, 270, 74, 302, 108], barrel.x, barrel.y); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + var helicopterGroup = this.layerBack1.add(game.add.group()); + helicopterGroup.x = positionHelicopterX; + helicopterGroup.y = positionHelicopterY; + var pilot1 = helicopterGroup.add(game.add.sprite(54, 70, "ss_main1")); + pilot1.animations.add("anim", Phaser.Animation.generateFrameNames("pilot1_", 0, 12, "", 4), 30); + pilot1.animations.play("anim", 30, true); + var helicopter = helicopterGroup.add(game.add.image(0, 0, "ss_main1", "helicopter_0000")); + var helicopter_propeller1 = helicopterGroup.add(game.add.sprite(-125, 12, "ss_main1")); + helicopter_propeller1.animations.add("anim", Phaser.Animation.generateFrameNames("helicopter_propeller1_", 0, 4, "", 4), 30); + helicopter_propeller1.animations.play("anim", 30, true); + var helicopter_propeller2 = helicopterGroup.add(game.add.sprite(489, 35, "ss_main1")); + helicopter_propeller2.animations.add("anim", Phaser.Animation.generateFrameNames("helicopter_propeller2_", 0, 3, "", 4), 30); + helicopter_propeller2.animations.play("anim", 30, true); + this.addBodyShape(4, [117, 192, 136, 31, 168, 51, 146, 189], helicopterGroup.x, helicopterGroup.y); + this.addBodyShape(4, [272, 196, 292, 220, 114, 222, 116, 197], helicopterGroup.x, helicopterGroup.y); + this.addBodyShape(4, [306, 28, 277, 51, 168, 51, 136, 31], helicopterGroup.x, helicopterGroup.y); + this.addBodyShape(4, [306, 28, 292, 220, 272, 196, 277, 51], helicopterGroup.x, helicopterGroup.y); + helicopterGroup.startY = helicopterGroup.y; + this.waveAr.push(helicopterGroup); + this.helicopterGroup = helicopterGroup; + this.viking1 = this.addDodik(2, "s4", positionHelicopterX + 220, positionHelicopterY + 200, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 10); + this.viking2 = this.addDodik(2, "s1", 2060 - 55 + sdvigX, 467, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking3 = this.addDodik(2, "s2", 2060 + 55 + sdvigX, 467, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking4 = this.addDodik(2, "s3", 2460 + 100 + sdvigX, 434, this.CATEGORY_DODIK, this.MASK_DODIK3, false, 10); + this.viking4.isUpStriker = true; + break; + case 6: + var sdvigX = 150; + this.level_width = 2800 + sdvigX; + this.posCameraEnemy = 2300 + sdvigX; + this.layerBack1.add(game.add.image(1960 + sdvigX, 340, "ss_main1", "beach1_0000")); + excavator = this.layerBack1.add(game.add.image(2030 + sdvigX, -35, "ss_main1", "excavator_0000")); + var kovsh = new Phaser.Point(2030 + sdvigX, 150); + this.addBodyShape(4, [248, -79, 166, 56, 158, 26, 223, -87], kovsh.x, kovsh.y); + this.addBodyShape(4, [158, 26, 166, 56, 13, 95, 63, 9, 127, 9], kovsh.x, kovsh.y); + this.addBodyShape(4, [13, 95, 52, 1, 63, 9], kovsh.x, kovsh.y); + this.addBodyShape(1, [579, 343, 609, 539, 379, 423, 426, 343], excavator.x, excavator.y); + this.addBodyShape(1, [276, 471, 609, 539, 3, 540, 100, 471], excavator.x, excavator.y); + this.addBodyShape(1, [379, 423, 609, 539, 276, 471], excavator.x, excavator.y); + this.addBodyShape(1, [210, 138, 314, 15, 314, 48, 230, 155], excavator.x, excavator.y); + this.addBodyShape(1, [579, 343, 567, 211, 608, 206, 609, 539], excavator.x, excavator.y); + this.addBodyShape(1, [314, 15, 608, 206, 567, 211, 314, 48], excavator.x, excavator.y); + this.viking1 = this.addDodik(2, "e3", kovsh.x + 100, 158, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + this.viking2 = this.addDodik(2, "e1", 2230 + sdvigX, 435, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 10); + this.viking3 = this.addDodik(2, "e2", 2520 + sdvigX, 307, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 10); + break; + case 7: + var sdvigX = 200; + this.level_width = 2800 + 600 + sdvigX; + this.posCameraEnemy = 2300 + 600 + sdvigX; + var positionBoat1X = 970 + 600 + sdvigX; + var positionBoat2X = 1430 + 600 + sdvigX; + var positionBoat3X = 1760 + 600 + sdvigX; + var lodka1 = this.layerMain.add(game.add.image(positionBoat1X, 360, "ss_main1", "boat12_1_0000")); + var lodka3 = this.layerBack.add(game.add.image(positionBoat3X, 400, "ss_main1", "boat12_3_0000")); + var lodka2 = this.layerMain.add(game.add.image(positionBoat2X, 450, "ss_main1", "boat12_2_0000")); + this.test = lodka2; + this.addBodyShape(1, [157, 47, 228, 81, 164, 136, 43, 67], lodka1.x, lodka1.y - 5); + this.addBodyShape(1, [400, 136, 389, 81, 448, 62], lodka1.x, lodka1.y - 5); + this.addBodyShape(1, [228, 81, 157, 47, 190, 18], lodka1.x, lodka1.y - 5); + this.addBodyShape(1, [400, 136, 164, 136, 228, 81, 389, 81], lodka1.x, lodka1.y - 5); + this.addBodyShape(2, [832, 83, 91, 83, 78, 46, 834, 46, 877, 69], lodka3.x, lodka3.y - 5); + this.addBodyShape(2, [78, 46, 91, 83, 21, 37, 31, 18], lodka3.x, lodka3.y - 5); + lodka1.startY = lodka1.y; + this.waveAr.push(lodka1); + lodka2.startY = lodka2.y; + this.waveAr.push(lodka2); + lodka3.startY = lodka3.y; + this.waveAr.push(lodka3); + this.viking1 = this.addDodik(2, "f8", lodka1.x + 325, 435, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + var delta = 94; + var offsetX = 120; + this.viking2 = this.addDodik(2, "fkid1", lodka3.x + offsetX + delta * 0, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking3 = this.addDodik(2, "fkid2", lodka3.x + offsetX + delta * 1, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking4 = this.addDodik(2, "fkid3", lodka3.x + offsetX + delta * 2, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking5 = this.addDodik(2, "fkid4", lodka3.x + offsetX + delta * 3, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking6 = this.addDodik(2, "fkid5", lodka3.x + offsetX + delta * 4, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking7 = this.addDodik(2, "fkid6", lodka3.x + offsetX + delta * 5, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking8 = this.addDodik(2, "fkid7", lodka3.x + offsetX + delta * 6, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking9 = this.addDodik(2, "fkid8", lodka3.x + offsetX + delta * 7, 440, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 20); + this.viking1.isUpStriker = true; + this.viking2.isUpStriker = true; + this.viking3.isUpStriker = true; + this.viking4.isUpStriker = true; + this.viking5.isUpStriker = true; + this.viking6.isUpStriker = true; + this.viking7.isUpStriker = true; + this.viking8.isUpStriker = true; + this.viking9.isUpStriker = true; + break; + case 8: + this.level_width = 2800 + 600; + this.posCameraEnemy = 2300 + 600; + var positionBoatX = 1960 + 600; + var barrel = this.layerMain.add(game.add.image(positionBoatX, 40, "ss_main1", "kship_0000")); + this.addBodyShape(1, [108, 295, 89, 267, 93, 258, 120, 266], barrel.x, barrel.y); + this.addBodyShape(1, [18, 255, 89, 267, 48, 277, 15, 269], barrel.x, barrel.y); + this.addBodyShape(1, [465, 229, 464, 419, 410, 345, 422, 229], barrel.x, barrel.y); + this.addBodyShape(1, [464, 419, 124, 420, 242, 345, 410, 345], barrel.x, barrel.y); + this.addBodyShape(1, [89, 267, 108, 295, 123, 335, 124, 420, 48, 277], barrel.x, barrel.y); + this.addBodyShape(1, [124, 420, 123, 335, 210, 335, 242, 345], barrel.x, barrel.y); + this.addBodyShape(2, [422, 229, 511, 229, 555, 418, 406, 419], barrel.x, barrel.y); + this.addBodyShape(2, [560, 150, 555, 418, 511, 229, 527, 149], barrel.x, barrel.y); + this.addBodyShape(3, [511, 229, 527, 149, 610, 149, 671, 319, 698, 420, 506, 420], barrel.x, barrel.y); + this.addBodyShape(3, [698, 420, 671, 319, 729, 320], barrel.x, barrel.y); + this.addBodyShape(3, [644, 131, 671, 319, 610, 149, 618, 131], barrel.x, barrel.y); + this.addBodyShape(3, [659, 47, 671, 319, 644, 131, 644, 47], barrel.x, barrel.y); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.viking1 = this.addDodik(2, "k3", barrel.x + 250, 385, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking2 = this.addDodik(2, "k1", barrel.x + 355, 385, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking3 = this.addDodik(2, "k4", barrel.x + 460, 269, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 10); + this.viking4 = this.addDodik(2, "k2", barrel.x + 560, 189, this.CATEGORY_DODIK, this.MASK_DODIK3, true, 10); + this.viking1.isUpStriker = true; + this.viking2.isUpStriker = true; + break; + case 9: + var sdvigX = 200; + this.posCameraEnemy = 2400 + sdvigX; + this.miniSdvigX = 0; + var umbrella = this.layerBack1.add(game.add.image(2310 + sdvigX, 130, "ss_main1", "umbrella_0000")); + this.addBodyShape(2, [16, 69, 124, 7, 239, 33], umbrella.x, umbrella.y); + var beach = this.layerBack1.add(game.add.image(1960 + sdvigX, 340, "ss_main1", "beach1_0000")); + var offsetX = 7; + var offsetY = 20; + this.addBodyShape(1, [441, 40, 338, 63, 369, 16, 412, 7], beach.x - offsetX, beach.y - offsetY); + this.addBodyShape(1, [338, 63, 441, 40, 501, 96, 291, 106, 308, 71], beach.x - offsetX, beach.y - offsetY); + this.addBodyShape(1, [214, 116, 291, 106, 501, 96, 640, 96, 900, 196, 84, 196, 134, 134], beach.x - offsetX, beach.y - offsetY); + this.addBodyShape(1, [501, 96, 441, 40, 466, 43], beach.x - offsetX, beach.y - offsetY); + this.addBodyShape(1, [900, -126, 900, 196, 855, 54, 874, -126], beach.x - offsetX, beach.y - offsetY); + this.addBodyShape(1, [900, 196, 640, 96, 762, 56, 855, 54], beach.x - offsetX, beach.y - offsetY); + var sandbag = this.layerBack1.add(game.add.image(2235 + sdvigX, 320, "ss_main1", "sandbag_0000")); + this.drone1 = this.addDodik(2, "drone", 1600 + sdvigX, 200 + 20, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.drone2 = this.addDodik(2, "drone", 1900 + sdvigX, 260 + 20, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.viking1 = this.addDodik(2, "s4", 2520 + sdvigX, 415, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 10); + this.viking1.isUpStriker = true; + this.drone1.isUpStriker = true; + this.drone2.isUpStriker = true; + break; + case 10: + this.level_width = 2800 + 400; + this.posCameraEnemy = 2400 + 400; + this.miniSdvigX = 20; + var positionBaseX = 2250 + 400; + var base = this.layerMain.add(game.add.image(positionBaseX, 250, "ss_main1", "aquapark5_0000")); + this.addBodyShape(2, [37, 229, 74, 197, 196, 197, 201, 218, 37, 304], base.x, base.y); + this.addBodyShape(2, [74, 197, 37, 229, 13, 217], base.x, base.y); + this.addBodyShape(2, [598, -8, 638, 77, 604, 54, 581, 3], base.x, base.y); + this.addBodyShape(2, [433, 171, 424, 140, 604, 54, 638, 77], base.x, base.y); + this.addBodyShape(2, [240, 173, 424, 140, 433, 171, 201, 218, 196, 197], base.x, base.y); + var positionBoatX = 1500 + 400; + var barrel = this.layerMain.add(game.add.image(positionBoatX, 407, "ss_main1", "boat15_0000")); + this.addBodyShape(1, [404, 57, 385, 75, 385, 53, 408, 35], barrel.x, barrel.y + 5); + this.addBodyShape(1, [35, 53, 35, 75, 11, 55, 8, 33], barrel.x, barrel.y + 5); + this.addBodyShape(1, [385, 53, 385, 75, 35, 75, 35, 53], barrel.x, barrel.y + 5); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.test = base; + this.drone1 = this.addDodik(2, "drone", 1700, 240, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.viking1 = this.addDodik(2, "f10", positionBoatX + 150, 464, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking2 = this.addDodik(2, "f9", positionBoatX + 280, 464, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 10); + this.viking3 = this.addDodik(2, "f11", 2370 + 400, 446, this.CATEGORY_DODIK, this.MASK_DODIK2, false, 10); + this.viking3.isUpStriker = true; + break; + case 11: + this.level_width = 2800 + 1250; + this.posCameraEnemy = 2400 + 1250; + var positionBaseX = this.level_width - 1500; + var base = this.layerMain.add(game.add.image(positionBaseX, 265, "ss_main1", "stoneland_3_0000")); + this.addBodyShape(1, [419, 77, 691, 137, 774, 191, 840, 270, 373, 117, 383, 88], base.x, base.y); + this.addBodyShape(1, [520, 40, 691, 137, 419, 77, 436, 40], base.x, base.y); + this.addBodyShape(1, [691, 137, 520, 40, 577, 30], base.x, base.y); + this.addBodyShape(1, [373, 117, 840, 270, 270, 269, 293, 166, 337, 123], base.x, base.y); + this.addBodyShape(1, [14, 166, 293, 166, 186, 196, 14, 196], base.x, base.y); + this.addBodyShape(1, [293, 166, 270, 269, 186, 196], base.x, base.y); + var barrel = this.layerMain.add(game.add.image(base.x + 25, 420, "ss_main1", "turtleboat_0000")); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + var positionBoatX = this.level_width - 450; + var barrel = this.layerMain.add(game.add.image(positionBoatX, 255, "ss_main1", "boat14_0000")); + this.addBodyShape(2, [70, 174, 88, 190, 86, 240, 20, 169], barrel.x, barrel.y); + this.addBodyShape(2, [383, 148, 357, 240, 333, 190, 365, 148], barrel.x, barrel.y); + this.addBodyShape(2, [86, 240, 88, 190, 333, 190, 357, 240], barrel.x, barrel.y); + this.addBodyShape(2, [90, 16, 92, 4, 362, 35], barrel.x, barrel.y); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.viking1 = this.addDodik(2, "t4", base.x + 170, 430, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 0); + this.viking2 = this.addDodik(2, "t2", base.x + 490, 304, this.CATEGORY_DODIK, this.MASK_DODIK1, false, 0); + this.viking3 = this.addDodik(2, "t3", barrel.x + 130, 444, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 0); + this.viking4 = this.addDodik(2, "t1", barrel.x + 255, 444, this.CATEGORY_DODIK, this.MASK_DODIK2, true, 0); + this.viking1.isUpStriker = true; + this.viking2.isUpStriker = true; + this.viking3.isUpStriker = true; + this.viking4.isUpStriker = true; + break; + case 12: + this.level_width = 2800 + 2200; + this.posCameraEnemy = 2400 + 2200; + this.miniSdvigX = 45; + var posX = this.level_width - 1640; + this.layerBack1.add(game.add.image(posX, 340, "ss_main1", "beach1_0000")); + var beach2 = this.layerBack1.add(game.add.image(posX + 845, 302, "ss_main1", "beach2_0000")); + var whale_shadow = this.layerBack1.add(game.add.image(3610, 412, "ss_main1", "whale_shadow_0000")); + var house = this.layerBack1.add(game.add.image(4310, 20, "ss_main1", "hamburgers_building_0000")); + var umbrella = this.layerBack1.add(game.add.image(4790, 225, "ss_main1", "umbrella_0000")); + var camcoder = this.layerBack1.add(game.add.image(4790, 350, "ss_main1", "camcoder_0000")); + camcoder.scale.x = -1; + this.addBodyShape(2, [377, 168, 500, 372, 58, 202, 57, 152, 212, 16], house.x, house.y); + this.addBodyShape(2, [555, 101, 500, 132, 490, 129, 456, 47, 512, 35, 552, 55], house.x, house.y); + this.addBodyShape(2, [456, 47, 490, 129, 452, 118, 433, 85], house.x, house.y); + this.addBodyShape(2, [18, 226, 58, 202, 500, 372, 18, 372], house.x, house.y); + this.addBodyShape(2, [500, 132, 500, 372, 490, 168, 490, 129], house.x, house.y); + this.addBodyShape(2, [490, 168, 500, 372, 377, 168], house.x, house.y); + var dodikTV1 = this.addDecorDodik("tv1", 4600, 445, "talk2"); + var dodikTV2 = this.addDecorDodik("tv2", 4840, 445, "idle"); + dodikTV2.scale.x = -1; + this.drone1 = this.addDodik(2, "drone", 1800 + 0, 210, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.drone2 = this.addDodik(2, "drone", 1800 + 310, 310, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.drone3 = this.addDodik(2, "drone", 1800 + 800, 230, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 75); + this.drone1.isUpStriker = true; + this.drone2.isUpStriker = true; + this.drone3.isUpStriker = true; + this.whale_miniicon = this.addMiniIcon(4200, 2); + this.whale_hpbar = this.addHpBar(3770, 225, 0, 2); + break + } + if (isPoolTiles) { + var tile; + for (var i = 0; i < 40; i++) { + tile = this.layerBack1.add(game.add.sprite(-450 + 90 * i, 430, "ss_main1", "pool_tile2_0000")) + } + } + if (MainGame.isWater) { + var countWaving = 15; + var countWater = 6; + if (MainGame.levelNum == 12) { + countWaving = 18; + countWater = 7 + } + var wave; + for (var i = 0; i < countWaving; i++) { + wave = this.layerEffect.add(game.add.sprite(-400 + 300 * i, 455, "ss_main2")); + wave.animations.add("waving", Phaser.Animation.generateFrameNames("wave2_", 0, 69, "", 4), 30); + wave.animations.play("waving", 30, true); + wave.scale.setTo(1.001, 1) + } + var w; + for (var i = 0; i < countWater; i++) { + w = this.layerWater.add(game.add.image(-400 + 800 * i, 600 + 1, "ss_main2", "water1_0000")); + w.anchor.setTo(0, 1); + w.scale.setTo(1.01, 1) + } + } + this.layerArrowOld = {}; + this.layerArrow = {}; + this.layerAimPointsNew = this.layerWater.add(game.add.group()); + this.layerAimPointsOld = this.layerWater.add(game.add.group()); + this.layerInfoPower = this.layerAimPointsNew.add(game.add.group()); + this.powerIcon = this.layerInfoPower.add(game.add.sprite(32, -5 - 30, "ss_main2", "icon_power_0000")); + this.powerIcon.anchor.setTo(.5); + this.textPowerAiming1 = MainGame.addText(800, -10, 0 - 30, "100%", this.layerInfoPower, 29, 9395827, 1, .5); + this.textPowerAiming2 = MainGame.addText(800, -10, -4 - 30, "100%", this.layerInfoPower, 29, 16776958, 1, .5); + this.layerInfoPower.y = -1e3; + MainGame.showPath = true; + if (MainGame.showPath) { + this.arBallPath = []; + this.arBallPathLast = []; + var tBall; + for (var i = 0; i < 10; i++) { + tBall = this.layerAimPointsNew.add(game.add.image(-100, -100, "ss_main2", "ballG_0000")); + tBall.anchor.setTo(.5); + tBall.alpha = 1; + tBall.num = i * 1.4; + this.arBallPath.push(tBall) + } + for (var i = 0; i < 10; i++) { + tBall = this.layerAimPointsOld.add(game.add.image(-100, -100, "ss_main2", "ballG_0000")); + tBall.anchor.setTo(.5); + tBall.alpha = .5; + tBall.num = i * 1.4; + this.arBallPathLast.push(tBall) + } + } + this.numStriker = 0; + this.hero1 = this.addDodik(1, "sman", hero1PosX, hero1PosY, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 0); + this.hero2 = this.addDodik(1, "simon", hero2PosX, hero2PosY, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 20); + this.hero1.id = 1; + this.hero2.id = 2; + if (MainGame.typeBoat == 2) { + this.dog = this.addDodik(1, "bear", hero3PosX, hero3PosY, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 35) + } else if (MainGame.typeBoat == 3) { + this.dog = this.addDodik(1, "greybeard", hero3PosX, hero3PosY, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 35) + } else if (MainGame.typeBoat == 4) { + this.hero3 = this.addDodik(1, "dkid", hero3PosX, hero3PosY, this.CATEGORY_DODIK, this.MASK_DODIK1, true, 20); + this.hero3.id = 3 + } + game.camera.bounds.width = this.level_width + MainGame.deltaX; + this.layerHpBars.visible = false; + this.layerPanelTurn.visible = false; + this.layerWeapon.visible = false; + var barrel = this.layerMain.add(game.add.image(boatPosX, boatPosY, "ss_main1", "boat" + MainGame.typeBoat + "_rw2_0000")); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + if (MainGame.typeBoat == 4) { + var flag = this.layerMain.add(game.add.sprite(12, 250, "ss_main1")); + flag.animations.add("flag", Phaser.Animation.generateFrameNames("flag_", 0, 20, "", 4), 30); + flag.animations.play("flag", 30, true); + flag.startY = flag.y; + this.waveAr.push(flag) + } + if (MainGame.levelNum >= 3 && MainGame.levelNum != 8 && MainGame.levelNum != 11) { + var posX = 1100; + this.stick = this.addStick(posX, 490); + this.gull = this.addGull(posX, 490 - 100) + } + if (MainGame.levelNum == 8 || MainGame.levelNum == 11 || MainGame.levelNum == 12) { + var posX = 1350; + var posY = 250; + if (MainGame.levelNum == 12) { + posX = this.level_width - 1550; + posY = 135 + } + this.addWhale(posX, posY); + this.bird = this.addBird(posX + 261, posY - 12) + } + if (MainGame.levelNum >= 3 && MainGame.levelNum <= 4) { + this.addShark("shark", 0) + } else if (MainGame.levelNum >= 5) { + this.addShark("grampus", 10) + } + this.waveArCount = this.waveAr.length; + game.time.events.add(1e3, this.levelEvent, this, true); + this.updateCamera(0, this.posCameraEnemy); + game.time.events.loop(8e3, this.updateSimon, this); + game.time.events.loop(1e3, this.soundEnvironment, this); + this.setStriker(this.hero1); + this.timerLevel = game.time.events.loop(1e3, this.updateTimer, this); + this.textGranat = MainGame.addText(800, wBtn2.x + 30, wBtn2.y + 34, String(MainGame.countGranat), this.layerWeapon, 23, 16777215, .5, .5); + this.textRocket = MainGame.addText(800, wBtn3.x + 30, wBtn3.y + 34, String(MainGame.countRocket), this.layerWeapon, 23, 16777215, .5, .5); + this.textBalls3 = MainGame.addText(800, wBtn4.x + 30, wBtn4.y + 34, String(MainGame.countBalls3), this.layerWeapon, 23, 16777215, .5, .5); + MainGame.fadeOut(); + this.isPaused = false; + this.layerPause = this.layerTopPause.add(game.add.group()); + this.layerPause.visible = this.isPaused; + var spr_bg = this.layerPause.add(this.game.add.graphics(0, 0)); + spr_bg.beginFill(1656488, .45); + spr_bg.drawRect(-this.game.width * .5, 0, this.game.width, this.game.height); + spr_bg.endFill(); + this.spr_bg = spr_bg; + var posXbb = this.game.width * .5; + var musicButton = this.layerPause.add(game.add.image(0, 60, "ss_menu", "btn_music_0000")); + musicButton.anchor.setTo(.5, .5); + if (MainGame.isMusicMuted) musicButton.frameName = "btn_music_0001"; + this.pauseBtnMusic = musicButton; + var sfxButton = this.layerPause.add(game.add.image(0, 60, "ss_menu", "btn_sound_0000")); + sfxButton.anchor.setTo(.5, .5); + if (MainGame.isSfxMuted) sfxButton.frameName = "btn_sound_0001"; + this.pauseBtnSfx = sfxButton; + var pButton = this.layerPause.add(game.add.image(0, 60, "ss_main2", "btn_pause_0000")); + pButton.anchor.setTo(.5, .5); + this.pauseBtnPause = pButton; + var hButton = this.layerPause.add(game.add.image(0, 60, "ss_menu", "btn_home_0000")); + hButton.anchor.setTo(.5, .5); + this.pauseBtnHome = hButton; + var midX = Math.floor(game.width * .5); + var rButton = this.layerPause.add(game.add.image(0, 400, "ss_menu", "btn_replay_0000")); + rButton.anchor.setTo(.5, .5); + this.pauseBtnReplay = rButton; + this.btnResume = new SimpleButton(game, this, this.layerPause, 0, 250, "ss_menu", "btn_play_0000", this.clickForResumePause); + game.input.onUp.add(this.clickForResumePause, this); + this.updateResize(); + PhaserSpine.Spine.globalAutoUpdate = true; + game.physics.box2d.paused = false; + MainGame.playMusic(1); + MainGame.playSound(27); + this.initKeyboardEvents(); + if (MainGame.isAPI) MainGame.API_POKI.gameplayStart(); + MainGame.api_google("StartLevel", MainGame.levelNum + 1); + if (MainGame.isAPI) MainGame.API_POKI.displayAd() + }, + initKeyboardEvents: function() { + this.keySpace = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); + this.keySpace.onDown.add(this.pressSpacebar, this) + }, + pressSpacebar: function() { + if (this.isLevelCompleted && this.isFinishShown) { + if (this.isLevelWin) { + this.clickLevelMenu() + } else { + this.clickShop() + } + } + }, + clickForResumePause: function() { + if (!this.isPaused) return; + var clickPosX = game.input.x - game.width * .5; + var clickPosY = game.input.y; + var _isPause = clickPosX > this.btnResume.buttonC.x - 150 && clickPosX < this.btnResume.buttonC.x + 150 && clickPosY > this.btnResume.buttonC.y - 50 && clickPosY < this.btnResume.buttonC.y + 50; + if (_isPause) { + this.pauseGame(); + return + } + _isPause = clickPosX > this.pauseBtnPause.x - 40 && clickPosX < this.pauseBtnPause.x + 40 && clickPosY > this.pauseBtnPause.y - 40 && clickPosY < this.pauseBtnPause.y + 40; + if (_isPause) { + this.pauseGame(); + return + } + if (clickPosX > this.pauseBtnMusic.x - 40 && clickPosX < this.pauseBtnMusic.x + 40 && clickPosY > this.pauseBtnMusic.y - 40 && clickPosY < this.pauseBtnMusic.y + 40) { + if (!MainGame.isMusicMuted) { + MainGame.clickMuteMusic(this.pauseBtnMusic); + if (!MainGame.isMusicMuted) MainGame.clickMuteMusic(this.pauseBtnMusic) + } else { + MainGame.clickMuteMusic(this.pauseBtnMusic) + } + } else if (clickPosX > this.pauseBtnSfx.x - 40 && clickPosX < this.pauseBtnSfx.x + 40 && clickPosY > this.pauseBtnSfx.y - 40 && clickPosY < this.pauseBtnSfx.y + 40) { + if (!MainGame.isSfxMuted) { + MainGame.clickMuteSFX(this.pauseBtnSfx); + if (!MainGame.isSfxMuted) MainGame.clickMuteSFX(this.pauseBtnSfx) + } else { + MainGame.clickMuteSFX(this.pauseBtnSfx) + } + } else if (clickPosX > this.pauseBtnHome.x - 40 && clickPosX < this.pauseBtnHome.x + 40 && clickPosY > this.pauseBtnHome.y - 40 && clickPosY < this.pauseBtnHome.y + 40) { + this.pauseGame(false); + MainGame.goToState("Menu") + } else if (clickPosX > this.pauseBtnReplay.x - 140 && clickPosX < this.pauseBtnReplay.x + 140 && clickPosY > this.pauseBtnReplay.y - 50 && clickPosY < this.pauseBtnReplay.y + 50) { + this.pauseGame(false); + MainGame.goToState("Game") + } + }, + pauseGame: function(vBool) { + if (typeof vBool === "undefined") vBool = true; + this.isPaused = !this.isPaused; + game.paused = this.isPaused; + PhaserSpine.Spine.globalAutoUpdate = !this.isPaused; + if (vBool) { + game.physics.box2d.paused = this.isPaused; + this.layerPause.visible = this.isPaused + } + }, + updateTimer: function() { + this.stat_time++ + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + this.btnTap.x = game.width - 60; + this.pauseBtnPause.x = game.width * .5 - 60; + this.pauseBtnMusic.x = game.width * .5 - 150; + this.pauseBtnSfx.x = game.width * .5 - 240; + this.pauseBtnHome.x = game.width * .5 - 330; + this.tileSky.width = game.width * 1.1; + this.layerMap1.x = 0 + this.sdvigMap1; + this.layerMap2.x = game.width - this.sdvigMap2; + this.layerPause.x = game.width * .5; + this.spr_bg.width = game.width; + this.layerText.x = game.width * .5 + }, + playVoiceGroup: function(vNum) { + var arVoiceGroups = [ + [0, 1, 2, 3, 4, 5, 6, 7], + [8, 9, 10, 11, 12], + [13, 14, 15], + [16, 17, 18, 19, 20, 21], + [22, 23, 24, 25, 26, 27, 28], + [29, 30], + [31, 32, 33, 34, 35, 36], + [37, 38, 39, 40, 41, 42, 43], + [44, 45, 46] + ]; + var countR = arVoiceGroups[vNum].length - 1; + var r = MyMath.getRandomInt(0, countR); + MainGame.playVoice(arVoiceGroups[vNum][r]) + }, + initBall: function(vBall, vRadius) { + vBall.typeObj = "ball"; + vBall.anchor.setTo(.5); + game.physics.box2d.enable(vBall); + vBall.body.sensor = true; + vBall.body.gravityScale = 0; + vBall.body.setCircle(vRadius); + vBall.body.angularDamping = .55; + vBall.body.mass = .3; + vBall.body.setCollisionCategory(this.CATEGORY_BALL); + vBall.body.setCollisionMask(this.MASK_BALL); + vBall.body.link = vBall + }, + addDecor: function(vSkin, vX, vY) { + var obj = this.layerPers.add(game.add.spine(vX, vY, "pers")); + obj.setSkinByName(vSkin); + obj.setAnimationByName(0, "idle", true); + obj.setToSetupPose(); + var body = new Phaser.Physics.Box2D.Body(game, null, vX, vY, 2); + if (vSkin == "dkid") { + body.addCircle(30, 0, -60); + body.addCircle(25, 0, -25) + } else { + body.addCircle(30, 0, -80); + body.addCircle(25, 0, -25) + } + body.gravityScale = 0; + body.kinematic = true; + body.setCollisionCategory(this.CATEGORY_DODIK); + body.setCollisionMask(this.CATEGORY_BALL); + body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + body.link = obj; + obj.body = body; + obj.typeObj = "decor"; + return obj + }, + addBanka: function(vX, vY) { + var obj = this.layerMain.add(game.add.sprite(vX, vY, "ss_main1", "roll_0000")); + obj.anchor.setTo(.5); + game.physics.box2d.enable(obj); + obj.body.setRectangle(70, 85, 0, -3, 0); + obj.body.restitution = .25; + obj.body.mass = 1.5; + obj.body.setCollisionCategory(this.CATEGORY_DODIK); + obj.body.setCollisionMask(this.MASK_DODIK2); + obj.body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + obj.body.link = obj; + obj.typeObj = "banka"; + this.testBanka = obj; + return obj + }, + addGull: function(vX, vY) { + var obj = this.layerEffect.add(game.add.sprite(vX, vY, "ss_main2")); + obj.animations.add("idle", Phaser.Animation.generateFrameNames("gull_", 0, 15, "", 4), 30); + obj.animations.add("kick", Phaser.Animation.generateFrameNames("gull_kick_", 0, 7, "", 4), 30); + obj.animations.play("idle", 30, true); + obj.anchor.setTo(.5); + game.physics.box2d.enable(obj); + obj.body.setRectangle(30, 60, 0, 5, 0); + obj.body.restitution = .25; + obj.body.mass = 1; + obj.body.fixedRotation = true; + obj.body.setCollisionCategory(this.CATEGORY_DODIK); + obj.body.setCollisionMask(this.MASK_DODIK2); + obj.body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + obj.body.link = obj; + obj.typeObj = "gull"; + obj.water = true; + return obj + }, + addStick: function(vX, vY) { + var obj = this.layerEffect.add(game.add.sprite(vX, vY, "ss_main2", "log_gull_0000")); + obj.anchor.setTo(.5); + game.physics.box2d.enable(obj); + obj.body.setRectangle(15, 120, 0, -5, 0); + obj.body.static = true; + obj.body.setCollisionCategory(this.CATEGORY_DODIK); + obj.body.setCollisionMask(this.MASK_DODIK1); + obj.body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + return obj + }, + addBird: function(vX, vY) { + var obj = this.layerEffect.add(game.add.sprite(vX, vY, "ss_main2")); + obj.animations.add("idle", Phaser.Animation.generateFrameNames("bird_", 0, 15, "", 4), 30); + obj.animations.add("attack", Phaser.Animation.generateFrameNames("bird_attack_", 0, 14, "", 4), 30); + obj.animations.add("fly", Phaser.Animation.generateFrameNames("bird_fly_", 0, 15, "", 4), 30); + obj.animations.play("idle", 30, true); + obj.events.onAnimationComplete.add(this.onAnimCompleteBird, this); + obj.anchor.setTo(.5); + var body = new Phaser.Physics.Box2D.Body(game, null, vX, vY, 2); + body.addCircle(20, 5, -10); + body.gravityScale = 0; + body.kinematic = true; + body.sensor = true; + body.setCollisionCategory(this.CATEGORY_DODIK); + body.setCollisionMask(this.CATEGORY_BALL); + body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + body.link = obj; + obj.body = body; + obj.typeObj = "bird"; + this.birdKicked = false; + game.time.events.loop(3e3, this.birdAction, this); + return obj + }, + onAnimCompleteBird: function(sprite, animation) { + if (animation.name === "attack") { + sprite.animations.play("idle", 30, true) + } + }, + birdAction: function() { + if (this.birdKicked) { + return + } + if (Phaser.Utils.chanceRoll(40)) { + this.bird.animations.play("attack", 30, false) + } + }, + birdBack: function() { + this.bird.animations.play("idle", 30, true); + this.birdKicked = false + }, + kickBird: function(vVelocityBall) { + this.birdKicked = true; + var initPosBird = new Phaser.Point(this.bird.x, this.bird.y); + var dx = initPosBird.x + Math.floor(vVelocityBall / 15); + var dy = initPosBird.y - 90; + game.add.tween(this.bird).to({ + x: dx, + y: dy + }, 500, "Back", false).to({ + x: initPosBird.x, + y: initPosBird.y + }, 700, "Linear").start(); + game.time.events.add(1200, this.birdBack, this); + this.kickWhale() + }, + addWhale: function(vX, vY) { + var obj = this.layerEffect.add(game.add.sprite(vX, vY, "ss_main2", "whale_0000")); + var whalePart1 = this.addBodyShape(0, [795, 231, 702, 225, 724, 212, 802, 200, 846, 213], obj.x, obj.y); + var whalePart2 = this.addBodyShape(0, [702, 225, 795, 231, 819, 296], obj.x, obj.y); + var whalePart3 = this.addBodyShape(0, [604, 138, 19, 155, 17, 115, 520, 90, 608, 99], obj.x, obj.y); + var whalePart4 = this.addBodyShape(0, [19, 155, 604, 138, 724, 212, 702, 225, 313, 310, 115, 262], obj.x, obj.y); + var whalePart5 = this.addBodyShape(0, [249, 18, 382, 40, 520, 90, 17, 115, 106, 42], obj.x, obj.y); + obj.typeObj = "whale"; + whalePart1.link = obj; + whalePart2.link = obj; + whalePart3.link = obj; + whalePart4.link = obj; + whalePart5.link = obj; + whalePart1.setCollisionCategory(this.CATEGORY_DODIK); + whalePart1.setCollisionMask(this.CATEGORY_BALL); + whalePart2.setCollisionCategory(this.CATEGORY_DODIK); + whalePart2.setCollisionMask(this.CATEGORY_BALL); + whalePart3.setCollisionCategory(this.CATEGORY_DODIK); + whalePart3.setCollisionMask(this.CATEGORY_BALL); + whalePart4.setCollisionCategory(this.CATEGORY_DODIK); + whalePart4.setCollisionMask(this.CATEGORY_BALL); + whalePart5.setCollisionCategory(this.CATEGORY_DODIK); + whalePart5.setCollisionMask(this.CATEGORY_BALL) + }, + addShark: function(vSkin, vOffsetY) { + this.flagShark = true; + var shark = this.layerEffect.add(game.add.image(0, 515 + vOffsetY, "ss_main2")); + shark.animations.add("swim", Phaser.Animation.generateFrameNames(vSkin + "_swim_", 0, 0, "", 4), 30); + shark.animations.add("attack", Phaser.Animation.generateFrameNames(vSkin + "_up_", 0, 18, "", 4), 30); + shark.animations.play("swim", 30, true); + shark.anchor.setTo(.5); + shark.startY = shark.y; + shark.typeObj = "shark"; + shark.events.onAnimationComplete.add(this.onAnimCompleteAnimal, this); + this.waveAr.push(shark); + var sdvigX = 100; + var bodyBox = this.addPolygon([sdvigX + 262, 515 - 3, sdvigX + 362, 489 - 3, sdvigX + 528, 513 - 3, sdvigX + 529, 534 - 3, sdvigX + 267, 530 - 3]); + bodyBox.setCollisionCategory(this.CATEGORY_DODIK); + bodyBox.setCollisionMask(this.CATEGORY_BALL); + bodyBox.link = shark; + bodyBox.gravityScale = 0; + bodyBox.kinematic = true; + shark.body = bodyBox; + var posX = 100 + MyMath.getRandomInt(0, 20) * 50; + shark.body.x = posX; + if (!this.flagShark) { + shark.scale.x = -1 + } + this.shark = shark + }, + addHippo: function() { + var sdvigHx = 0; + var sdvigHy = -55; + var hippo = this.layerEffect.add(game.add.image(sdvigHx + 1150, sdvigHy + 515, "ss_main2")); + hippo.animations.add("swim", Phaser.Animation.generateFrameNames("hippo_idle_", 0, 0, "", 4), 30); + hippo.animations.add("attack", Phaser.Animation.generateFrameNames("hippo_up_", 0, 18, "", 4), 30); + hippo.animations.play("swim", 30, true); + hippo.anchor.setTo(.5); + hippo.startY = hippo.y; + hippo.typeObj = "hippo"; + hippo.events.onAnimationComplete.add(this.onAnimCompleteAnimal, this); + this.waveAr.push(hippo); + var bodyBox = this.addPolygon([sdvigHx + 1020, sdvigHy + 482, sdvigHx + 1069, sdvigHy + 470, sdvigHx + 1099, sdvigHy + 440, sdvigHx + 1147, sdvigHy + 468, sdvigHx + 1210, sdvigHy + 469, sdvigHx + 1265, sdvigHy + 504, sdvigHx + 1270, sdvigHy + 550, sdvigHx + 1020, sdvigHy + 520]); + bodyBox.setCollisionCategory(this.CATEGORY_DODIK); + bodyBox.setCollisionMask(this.CATEGORY_BALL); + bodyBox.link = hippo; + bodyBox.gravityScale = 0; + bodyBox.kinematic = true; + hippo.body = bodyBox; + this.hippo = hippo + }, + finishGame: function(vIsWin) { + this.isLevelCompleted = true; + game.time.events.remove(this.timerLevel); + this.layerTop.visible = false; + this.layerText.visible = false; + this.isFinishShown = true; + var plashka = this.layerFinish.add(game.add.group()); + var textTitle; + var midX = game.width * .5; + var back; + var s_earned; + this.isLevelWin = vIsWin; + if (vIsWin) { + back = plashka.add(game.add.image(midX, 290, "ss_menu", "win_panel_0000")); + back.anchor.setTo(.5); + textTitle = MainGame.GAME_TEXT.battle_won.toUpperCase(); + if (MainGame.isHardMode) { + MainGame.levelHard[MainGame.levelNum] = 1; + var heroReward = plashka.add(game.add.image(midX, 180, "ss_menu", "heroic_coin_0000")); + heroReward.anchor.setTo(.5); + heroReward.scale.setTo(1); + heroReward.alpha = 0; + game.add.tween(heroReward).to({ + alpha: 1 + }, 300, "Linear", true, 1400); + game.add.tween(heroReward.scale).to({ + x: 1.6, + y: 1.6 + }, 250, "Linear", false, 1300).to({ + x: 1.2, + y: 1.2 + }, 250, "Linear").start() + } else { + var star1t = plashka.add(game.add.image(midX - 90, 190, "ss_menu", "empty_star_0000")); + star1t.anchor.setTo(.5); + star1t.angle = -15; + var star2t = plashka.add(game.add.image(midX, 180, "ss_menu", "empty_star_0000")); + star2t.anchor.setTo(.5); + var star3t = plashka.add(game.add.image(midX + 90, 190, "ss_menu", "empty_star_0000")); + star3t.anchor.setTo(.5); + star3t.angle = 15; + var star1s = plashka.add(game.add.image(midX - 92, 190 - 9, "ss_menu", "star_0000")); + star1s.anchor.setTo(.5); + star1s.angle = -15; + var star2s = plashka.add(game.add.image(midX, 180 - 9, "ss_menu", "star_0000")); + star2s.anchor.setTo(.5); + var star3s = plashka.add(game.add.image(midX + 92, 190 - 9, "ss_menu", "star_0000")); + star3s.anchor.setTo(.5); + star3s.angle = 15 + } + plashka.add(game.add.image(midX + 40, 265, "ss_menu", "coins_0000")); + var icon1 = plashka.add(game.add.image(midX - 220, 300 + 45, "ss_menu", "ball_small_0000")); + icon1.anchor.setTo(.5); + var icon2 = plashka.add(game.add.image(midX - 220, 342 + 45, "ss_menu", "clocks_0000")); + icon2.anchor.setTo(.5); + var icon3 = plashka.add(game.add.image(midX - 220, 384 + 45, "ss_menu", "baddies_0000")); + icon3.anchor.setTo(.5); + var coin1 = plashka.add(game.add.image(midX + 130, 300 + 45, "ss_menu", "coin1_0000")); + coin1.anchor.setTo(.5); + var coin2 = plashka.add(game.add.image(midX + 130, 342 + 45, "ss_menu", "coin1_0000")); + coin2.anchor.setTo(.5); + var coin3 = plashka.add(game.add.image(midX + 130, 384 + 45, "ss_menu", "coin1_0000")); + coin3.anchor.setTo(.5); + var result = this.calculateScore(); + var countStars = result[0]; + var s_shots = result[1]; + var s_time = result[2]; + var s_killed = result[3]; + s_earned = result[4]; + if (!MainGame.isHardMode) { + star1s.scale.setTo(.5); + star1s.alpha = 0; + star2s.scale.setTo(.5); + star2s.alpha = 0; + star3s.scale.setTo(.5); + star3s.alpha = 0; + if (countStars >= 1) { + game.add.tween(star1s).to({ + alpha: 1 + }, 300, "Linear", true, 1100); + game.add.tween(star1s.scale).to({ + x: 1.6, + y: 1.6 + }, 250, "Linear", false, 1e3).to({ + x: 1, + y: 1 + }, 250, "Linear").start() + } + if (countStars >= 2) { + game.add.tween(star2s).to({ + alpha: 1 + }, 300, "Linear", true, 1400); + game.add.tween(star2s.scale).to({ + x: 1.6, + y: 1.6 + }, 250, "Linear", false, 1300).to({ + x: 1, + y: 1 + }, 250, "Linear").start() + } + if (countStars == 3) { + game.add.tween(star3s).to({ + alpha: 1 + }, 300, "Linear", true, 1700); + game.add.tween(star3s.scale).to({ + x: 1.6, + y: 1.6 + }, 250, "Linear", false, 1600).to({ + x: 1, + y: 1 + }, 250, "Linear").start() + } + } + this.btnNext = new SimpleButton(game, this, plashka, midX + 125, 520, "ss_menu", "btn_continue_0000", this.clickLevelMenu, 1); + MainGame.addText(800, coin1.x + 22, coin1.y + 5 - 2, String(s_shots), plashka, 26, 10248197, 0, .5); + MainGame.addText(800, coin1.x + 22, coin1.y + 0 - 2, String(s_shots), plashka, 26, 16710912, 0, .5); + MainGame.addText(800, coin2.x + 22, coin2.y + 5 - 2, String(s_time), plashka, 26, 10248197, 0, .5); + MainGame.addText(800, coin2.x + 22, coin2.y + 0 - 2, String(s_time), plashka, 26, 16710912, 0, .5); + MainGame.addText(800, coin3.x + 22, coin3.y + 5 - 2, String(s_killed), plashka, 26, 10248197, 0, .5); + MainGame.addText(800, coin3.x + 22, coin3.y + 0 - 2, String(s_killed), plashka, 26, 16710912, 0, .5); + MainGame.addText(800, midX + 115, 288 + 5 - 2, String(s_earned), plashka, 38, 10248197, 0, .5); + MainGame.addText(800, midX + 115, 288 + 0 - 2, String(s_earned), plashka, 38, 16710912, 0, .5); + MainGame.addText(240, midX - 130, 250, MainGame.GAME_TEXT.total_score.toUpperCase(), plashka, 24, 16777215, .5, .5); + MainGame.addText(240, midX + 130, 250, MainGame.GAME_TEXT.credits_earned.toUpperCase(), plashka, 24, 16777215, .5, .5); + MainGame.addText(800, midX - 130, 250 + 38, String(MainGame.highScore), plashka, 26, 16777215, .5, .5); + var shotsFired = MainGame.replaceText(MainGame.GAME_TEXT.shots_fired.toUpperCase(), String(this.stat_shots)); + var timeUsed = MainGame.replaceText(MainGame.GAME_TEXT.time_used_N.toUpperCase(), String(this.stat_time)); + var badiesSoaked = MainGame.replaceText(MainGame.GAME_TEXT.baddies_soaked.toUpperCase(), String(this.stat_enemy)); + MainGame.addText(280, midX - 195, coin1.y - 2, shotsFired, plashka, 26, 16777215, 0, .5); + MainGame.addText(280, midX - 195, coin2.y - 2, timeUsed, plashka, 26, 16777215, 0, .5); + MainGame.addText(280, midX - 195, coin3.y - 2, badiesSoaked, plashka, 26, 16777215, 0, .5); + if (MainGame.isAPI) MainGame.API_POKI.happyTime(.5) + } else { + back = plashka.add(game.add.image(midX, 290, "ss_menu", "lost_panel_0000")); + back.anchor.setTo(.5); + textTitle = MainGame.GAME_TEXT.battle_lost.toUpperCase(); + var s_killed = this.stat_enemy * 150; + if (MainGame.levelNum < MainGame.levelMax) { + s_killed = Math.floor(s_killed * .5) + } + s_earned = s_killed; + var icon3 = plashka.add(game.add.image(midX - 220, 384 + 45 - 65, "ss_menu", "baddies_0000")); + icon3.anchor.setTo(.5); + var coin3 = plashka.add(game.add.image(midX + 130, 384 + 45 - 65, "ss_menu", "coin1_0000")); + coin3.anchor.setTo(.5); + plashka.add(game.add.image(midX - 90, 265 - 25, "ss_menu", "coins_0000")); + this.btnNext = new SimpleButton(game, this, plashka, midX + 125, 520, "ss_menu", "btn_continue_0000", this.clickShop); + MainGame.addText(240, midX, 250 - 25 - 7, MainGame.GAME_TEXT.credits_earned.toUpperCase(), plashka, 26, 16777215, .5, .5); + MainGame.addText(800, midX + 115 - 130, 288 + 5 - 25 - 2, String(s_earned), plashka, 38, 10248197, 0, .5); + MainGame.addText(800, midX + 115 - 130, 288 + 0 - 25 - 2, String(s_earned), plashka, 38, 16710912, 0, .5); + MainGame.addText(800, coin3.x + 22, coin3.y + 5 - 2, String(s_killed), plashka, 26, 10248197, 0, .5); + MainGame.addText(800, coin3.x + 22, coin3.y + 0 - 2, String(s_killed), plashka, 26, 16710912, 0, .5); + var badiesSoaked = MainGame.replaceText(MainGame.GAME_TEXT.baddies_soaked.toUpperCase(), String(this.stat_enemy)); + MainGame.addText(280, midX - 195, coin3.y - 2, badiesSoaked, plashka, 26, 16777215, 0, .5) + } + this.btnReward = new SimpleButton(game, this, plashka, midX - 125, 520 - 7, "ss_menu", "btn_bonus_0000", MainGame.clickReward, 1); + MainGame.setReward(this.btnReward.buttonC, 0, 0, false); + if (MainGame.isAPI) { + if (MainGame.API_POKI && MainGame.API_POKI.api_isAdblock) { + this.btnReward.buttonC.alpha = .7 + } + } else { + if (!MainGame.isDebug) this.btnReward.buttonC.alpha = .7 + } + MainGame.allowReward = true; + this.finishLevelResult(vIsWin, s_earned); + MainGame.addText(420, midX, 90 + 5, textTitle, plashka, 42, 9330034, .5, .5); + MainGame.addText(420, midX, 90, textTitle, plashka, 42, 16777215, .5, .5); + plashka.y = -600; + game.add.tween(plashka).to({ + y: 0 + }, 1e3, Phaser.Easing.Elastic.Out).start(); + if (MainGame.isAPI) MainGame.API_POKI.destroyAd() + }, + calculateScore: function() { + var countStars = 1; + var s_shots = MainGame.arShots[MainGame.levelNum] - this.stat_shots; + if (s_shots >= 0) countStars++; + if (s_shots < 0) s_shots = 0; + var howTime = MainGame.arShots[MainGame.levelNum] * 20 - this.stat_time; + if (howTime >= 0) countStars++; + if (howTime < 0) howTime = 0; + s_shots *= 300; + var s_time = howTime * 2; + var s_killed = this.stat_enemy * 150; + if (MainGame.levelNum < MainGame.levelMax) { + s_shots = Math.floor(s_shots * .5); + s_time = Math.floor(s_time * .5); + s_killed = Math.floor(s_killed * .5) + } + s_earned = s_shots + s_time + s_killed; + if (MainGame.isHardMode) s_earned += 1e3; + if (MainGame.levelScore[MainGame.levelNum] < s_earned) { + MainGame.levelScore[MainGame.levelNum] = s_earned + } + if (MainGame.levelTime[MainGame.levelNum] > 0 && MainGame.levelTime[MainGame.levelNum] > this.stat_time) { + MainGame.levelTime[MainGame.levelNum] = this.stat_time + } + if (MainGame.levelStars[MainGame.levelNum] < countStars) { + MainGame.levelStars[MainGame.levelNum] = countStars + } + MainGame.highScore = 0; + for (var i = 0; i < MainGame.MAX_LEVELS; i++) { + MainGame.highScore += MainGame.levelScore[i] + } + return [countStars, s_shots, s_time, s_killed, s_earned] + }, + finishLevelResult: function(vBool, vEarned) { + if (vBool) { + MainGame.api_google("LevelWon", MainGame.levelNum + 1); + MainGame.levelNum++; + if (MainGame.levelNum < 13) { + if (MainGame.levelMax < MainGame.levelNum) { + MainGame.levelMax = MainGame.levelNum + } + } + } else { + MainGame.api_google("LevelLost", MainGame.levelNum + 1) + } + MainGame.coins += vEarned; + MainGame.saveSaves(1) + }, + addDamageEffect: function(vDmg, vX, vY) { + var obj = this.addNumbers("-" + vDmg, this.layerEffect, vX, vY, 2); + game.add.tween(obj).to({ + y: vY - 40 + }, 1e3, "Linear", true).onComplete.add(function() { + obj.destroy() + }) + }, + addNumbers: function(vValue, vLayer, vX, vY, vSpace, vScale, vIsCenter, vIsShadow) { + if (typeof vScale === "undefined") vScale = 1; + if (typeof vIsCenter === "undefined") vIsCenter = false; + if (typeof vIsShadow === "undefined") vIsShadow = true; + if (typeof vSpace === "undefined") vSpace = 0; + vValue += ""; + var arrayOfNum = vValue.split(""); + var num1; + var num2; + var chr; + var objLayer = vLayer.add(game.add.group()); + objLayer.x = vX; + objLayer.y = vY; + var wObjs = 0; + for (var i = 0; i < arrayOfNum.length; i++) { + chr = arrayOfNum[i]; + switch (chr) { + case "+": + num1 = objLayer.add(game.add.image(wObjs, 4, "ss_main2", "num_43_0000")); + num2 = objLayer.add(game.add.image(wObjs, 0, "ss_main2", "num_43_0000")); + break; + case "-": + num1 = objLayer.add(game.add.image(wObjs, 4, "ss_main2", "num_45_0000")); + num2 = objLayer.add(game.add.image(wObjs, 0, "ss_main2", "num_45_0000")); + break; + case ":": + num1 = objLayer.add(game.add.image(wObjs, 4, "ss_main2", "num_58_0000")); + num2 = objLayer.add(game.add.image(wObjs, 0, "ss_main2", "num_58_0000")); + break; + default: + num1 = objLayer.add(game.add.image(wObjs, 4, "ss_main2", "num_" + Number(arrayOfNum[i]) + "_0000")); + num2 = objLayer.add(game.add.image(wObjs, 0, "ss_main2", "num_" + Number(arrayOfNum[i]) + "_0000")); + break + } + num1.anchor.setTo(1, 0); + num1.scale.setTo(vScale); + num2.anchor.setTo(1, 0); + num2.scale.setTo(vScale); + num1.tint = 9395827; + num2.tint = 16776958; + if (!vIsShadow) num1.visible = false; + num1.x += num1.width; + num2.x += num1.width; + wObjs += num1.width - vSpace + } + if (vIsCenter) objLayer.x -= wObjs * .5; + return objLayer + }, + setStriker: function(vHero) { + this.striker = vHero; + this.setIK(this.striker); + this.aimX = this.striker.obj.x - 15; + this.aimY = this.striker.obj.y - 48; + this.layerArrow.x = this.aimX; + this.layerArrow.y = this.aimY; + this.layerArrowOld.x = this.aimX; + this.layerArrowOld.y = this.aimY; + this.numStriker = vHero.id + }, + setIK: function(vHero) { + this.targetIK1 = vHero.obj.skeleton.ikConstraints[0]; + this.targetIK2 = vHero.obj.skeleton.ikConstraints[4]; + if (this.targetIK1.data.name != "aim") console.log("[WARNING] Can't find IK: aim!"); + if (this.targetIK2.data.name != "target") console.log("[WARNING] Can't find IK: tatget!"); + this.targetIK1.target.y = 30; + this.targetIK2.target.y = 55; + this.lastTargetPosP1 = this.targetIK1.target.y; + this.lastTargetPosP2 = this.targetIK2.target.y + }, + initBackground: function() { + this.addObject(275, 82, this.layerBack3, "cloud0", 2); + this.addObject(1045, 80, this.layerBack3, "cloud0", 2); + this.addObject(160, 95, this.layerBack3, "cloud0", 1); + this.addObject(557, 45, this.layerBack3, "cloud0", 3); + this.addObject(316, 376, this.layerBack3, "ground3_", 1); + this.addObject(570, 316, this.layerBack3, "ground3_", 1); + this.addObject(932, 342, this.layerBack2, "ground2_", 3); + this.addObject(716, 300, this.layerBack2, "ground2_", 1); + this.addObject(1220, 320, this.layerBack2, "ground2_", 1); + this.addObject(456, 332, this.layerBack2, "ground2_", 2); + var palm1 = this.addObject(600, 180, this.layerBack1, "palm", 1); + palm1.scale.x = -1; + palm1.angle = -13; + this.addObject(1364 - 220, 200, this.layerBack1, "palm", 1); + this.addObject(840, 396, this.layerBack1, "ground1_", 2); + this.addObject(1710, 380, this.layerBack1, "ground1_", 2); + this.addObject(1480, 357, this.layerBack1, "ground1_", 1); + this.addObject(1130, 417, this.layerBack1, "ground1_", 2); + this.addObject(224, 406, this.layerBack1, "ground1_", 1); + this.addObject(412, 380, this.layerBack1, "ground1_", 2); + this.addObject(50, 440, this.layerBack1, "ground1_", 3) + }, + addObject: function(vX, vY, vLayer, vName, vType) { + return vLayer.add(game.add.image(vX, vY, "ss_back", vName + vType + "_0000")) + }, + playAnim: function(e) { + this.hero2.updateAnim(100 + e.id) + }, + levelEvent: function() { + switch (MainGame.levelNum) { + case 6: + this.viking1.updateAnim(5); + break; + case 3: + case 11: + this.viking2.updateAnim(5); + break; + case 8: + this.viking4.updateAnim(5); + break + } + }, + updateSimon: function(vNum) { + if (!this.isSimonTalked) return; + if (typeof vNum == undefined) vNum = 0; + if (this.turnNum == 2) return; + if (this.gameStatus == 0) return; + if (this.hero2.hpNow <= 0) return; + var nameAnim = this.hero2.obj.state.tracks[0].animation.name; + if (nameAnim == "idle") { + var r = MyMath.getRandomInt(1, 9); + if (vNum > 0) r = vNum; + if (r == 7) r = MyMath.getRandomInt(1, 5); + if (MainGame.typeViking == 0) { + if (r == 9) { + r = MyMath.getRandomInt(1, 5) + } + } else { + if (r == 7 || r == 8) r = 9; + if (r == 3) r = MyMath.getRandomInt(4, 6) + } + if (r == 6 && this.stat_shots == 0) r = 2; + this.hero2.updateAnim(100 + r); + if (r == 5) { + var rnd = MyMath.getRandomInt(1, 3); + if (rnd == 1) { + var talk = MainGame.GAME_TEXT.simon_talk1; + this.hero2.showDialog(0, talk) + } else if (rnd == 2) { + var talk = MainGame.GAME_TEXT.simon_talk2; + this.hero2.showDialog(0, talk) + } else { + var talk = MainGame.GAME_TEXT.simon_talk3; + this.hero2.showDialog(0, talk) + } + } else if (r == 6) { + var talk = MainGame.GAME_TEXT.simon_talk4; + this.hero2.showDialog(0, talk) + } else if (r == 8 || r == 9) { + var talk = MainGame.GAME_TEXT.simon_talk5; + this.hero2.showDialog(2, talk) + } + } + }, + selectBall1: function() { + this.typeGun = 0; + this.krutilka.x = this.btnBall1.x; + this.krutilka.y = this.btnBall1.y + }, + selectBall2: function() { + if (MainGame.countGranat <= 0) return; + this.typeGun = 1; + this.krutilka.x = this.btnBall2.x; + this.krutilka.y = this.btnBall2.y + }, + selectBall3: function() { + if (MainGame.countRocket <= 0) return; + this.typeGun = 2; + this.krutilka.x = this.btnBall3.x; + this.krutilka.y = this.btnBall3.y + }, + selectBall4: function() { + if (MainGame.countBalls3 <= 0) return; + this.typeGun = 3; + this.krutilka.x = this.btnBall4.x; + this.krutilka.y = this.btnBall4.y + }, + updateCamera: function(vNum, vX, vWhoFollow, vLerp) { + if (MainGame.isDebug) { + if (vNum > 0) return + } + if (typeof vX == undefined) vX = 0; + if (typeof vWhoFollow == undefined) vWhoFollow = null; + if (typeof vLerp == undefined) vLerp = .1; + switch (vNum) { + case 100: + this.cameraPoint.x = game.camera.x + 400; + var time = Math.floor(this.level_width * .7); + this.timeToStart = time; + game.add.tween(this.cameraPoint).to({ + x: vX + }, this.timeToStart, "Sine.easeIn", true); + game.camera.follow(this.cameraPoint, Phaser.Camera.FOLLOW_TOPDOWN_TIGHT, .1, .1); + break; + case 0: + game.camera.focusOnXY(vX, 0); + this.cameraPoint.x = game.camera.x; + break; + case 1: + game.camera.follow(vWhoFollow, Phaser.Camera.FOLLOW_TOPDOWN_TIGHT, vLerp, vLerp); + this.cameraPoint.x = vWhoFollow.x; + break; + case 2: + this.cameraPoint.x = game.camera.x + 400; + game.add.tween(this.cameraPoint).to({ + x: vX + }, 1e3, "Quad.easeOut", true); + game.camera.follow(this.cameraPoint, Phaser.Camera.FOLLOW_TOPDOWN_TIGHT, vLerp, vLerp); + break + } + }, + addDecorDodik: function(vSkin, vX, vY, vAnim) { + var obj = this.layerPers.add(game.add.spine(vX, vY, "pers")); + obj.setSkinByName(vSkin); + obj.setAnimationByName(0, vAnim, true); + obj.setToSetupPose(); + obj.state.tracks[0].time = MyMath.getRandomInt(1, 7); + return obj + }, + addDodik: function(vTeam, vSkin, vX, vY, vCategory, vMask, vIsWave, vHpBarY) { + var dodik = new Bot(game, this.layerPers, vTeam, vSkin, vX, vY, vIsWave); + dodik.body.setCollisionCategory(vCategory); + dodik.body.setCollisionMask(vMask); + dodik.body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBall, this); + dodik.body.setCategoryContactCallback(this.CATEGORY_DODIK, this.hitDodik, this); + this.arDodiki.push(dodik); + this.countDodik = this.arDodiki.length; + dodik.hpBar = this.addHpBar(vX, vY, vHpBarY, 1); + dodik.dialog = this.addDialog(vX, vY, vHpBarY); + dodik.dialog.visible = false; + dodik.mini = this.addMiniIcon(vX, vTeam); + return dodik + }, + addHpBar: function(vX, vY, vSdvig, vType) { + var hpBar = this.layerHpBars.add(game.add.group()); + hpBar.x = vX; + hpBar.y = vY; + var suffix = ""; + var crW = 52; + var crH = 15; + if (vType == 2) { + suffix = "_wh"; + crW = 206; + crH = 40 + } + var obj1 = hpBar.add(game.add.image(-25, -130, "ss_main2", "hp_bar2" + suffix + "_0000")); + var obj2 = hpBar.add(game.add.image(-25, -130, "ss_main2", "hp_bar1" + suffix + "_0000")); + hpBar.bar1 = obj1; + hpBar.bar2 = obj2; + hpBar.offsetY = vSdvig; + hpBar.cropRect = new Phaser.Rectangle(0, 0, crW, crH); + hpBar.bar2.crop(hpBar.cropRect); + return hpBar + }, + addDialog: function(vX, vY, vSdvig) { + var dialog = this.layerDialog.add(game.add.group()); + dialog.x = vX; + dialog.y = vY; + var obj2 = dialog.add(game.add.image(-22, 0, "ss_main2", "msg2_0000")); + obj2.anchor.setTo(0, 1); + var obj1 = dialog.add(game.add.image(5, 0, "ss_main2", "msg_tail_0000")); + obj1.anchor.setTo(.5, .25); + dialog.dialog1 = obj1; + dialog.dialog2 = obj2; + dialog.offsetY = vSdvig; + dialog.text = MainGame.addText(800, -10, -35, "", dialog, 22, 9330034); + return dialog + }, + addMiniIcon: function(vX, vTeam) { + var offsetX = 45; + if (vTeam == 1) { + iconGroup = this.layerMap1.add(game.add.group()); + iconGroup.x = -offsetX * this.countTeam1; + this.countTeam1++; + this.sdvigMap1 += offsetX + } else { + iconGroup = this.layerMap2.add(game.add.group()); + iconGroup.x = offsetX * this.countTeam2; + this.countTeam2++; + this.sdvigMap2 += offsetX + } + iconGroup.y = 566; + var obj = iconGroup.add(game.add.image(0, 0, "ss_main2", "map_h" + vTeam + "_0000")); + obj.anchor.setTo(.5); + var obj1 = iconGroup.add(game.add.image(-16, -27, "ss_main2", "hp_bar2mini_0000")); + var obj2 = iconGroup.add(game.add.image(-16, -27, "ss_main2", "hp_bar1mini_0000")); + iconGroup.bar1 = obj1; + iconGroup.bar2 = obj2; + iconGroup.obj = obj; + iconGroup.cropRect = new Phaser.Rectangle(0, 0, 30, 10); + iconGroup.bar2.crop(iconGroup.cropRect); + return iconGroup + }, + addBodyShape: function(vCategory, vVertices, offsetX, offsetY) { + var bodyBox = this.addPolygon(vVertices, offsetX, offsetY); + if (vCategory == 1) bodyBox.setCollisionCategory(this.CATEGORY_GROUND1); + if (vCategory == 2) bodyBox.setCollisionCategory(this.CATEGORY_GROUND2); + if (vCategory == 3) bodyBox.setCollisionCategory(this.CATEGORY_GROUND3); + if (vCategory == 4) bodyBox.setCollisionCategory(this.CATEGORY_HELICOPTER); + return bodyBox + }, + addPolygon: function(vVertices, offsetX, offsetY) { + if (vVertices.length >= 6) { + var body = new Phaser.Physics.Box2D.Body(this.game, null, offsetX, offsetY, 0); + body.static = true; + body.setPolygon(vVertices); + body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + return body + } + }, + addRectangle: function(vX, vY, vW, vH) { + var body = new Phaser.Physics.Box2D.Body(game, null, vX, vY, 0); + body.setRectangle(vW, vH, 0, 0); + body.setCategoryContactCallback(this.CATEGORY_BALL, this.hitBallGround, this); + return body + }, + checkDodiki: function() { + var dodik; + var countNeedWait = 0; + var timeWait = 500; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.isLive) { + dodik.checkBaza(this.turnNum, countNeedWait); + if (!dodik.isOnBaza || dodik.isWasKicked) { + countNeedWait++; + if (this.turnNum == 2) { + dodik.moveToBaza() + } else { + game.time.events.add(timeWait, this.gogoDodik, this, dodik); + if (dodik.isWasKicked) { + timeWait += 900 + } + if (MainGame.levelNum == 5) { + if (dodik.hpNow <= 0 && dodik.skin == "s4") { + game.time.events.add(1500, this.helicopterEscape, this); + timeWait += 2e3 + } + } + } + if (!dodik.isOnBaza) { + timeWait += 8 * Math.floor(dodik.distanceBaza()) + } + } + } + } + if (this.turnNum == 2 && !this.isOpponentMiss) this.playVoiceGroup(3); + if (MainGame.levelNum == 12) { + if (this.whaleKicked) { + timeWait = 1500; + this.showWhaleDamage() + } + } + if (this.turnNum == 2) { + this.shieldEvent(false) + } + game.time.events.add(200 + timeWait, this.nextTurn, this) + }, + swapLayer: function(vHero, vNum) { + this.layerMain.remove(vHero); + this.layerEffect.add(vHero) + }, + gogoDodik: function(vHero) { + vHero.moveToBaza(); + this.updateCamera(2, vHero.obj.x); + if (vHero.isEnemy() && vHero.isGoToBaza && vHero.isWasKicked && !vHero.isDrone) { + this.heroDialog(vHero) + } + }, + playScene0_1: function() { + this.decor1.setAnimationByName(0, "talk1", true); + var dialog = this.addDialog(this.decor1.x - 75, this.decor1.y - 155); + dialog.text.setText(MainGame.GAME_TEXT.security_talk); + dialog.dialog2.frameName = "msg1_0000"; + dialog.dialog2.width = 390; + dialog.dialog2.height = 70; + dialog.dialog2.y += 27; + dialog.dialog1.x += 15; + dialog.dialog1.y += 24; + dialog.text.maxWidth = 390; + dialog.dialog2.width = Math.floor(dialog.text.width * 1.1); + if (dialog.text.height > dialog.dialog2.height) { + dialog.dialog2.height += 20; + dialog.dialog1.y += 25; + dialog.dialog2.y += 25 + } + dialog.scale.setTo(.25); + game.add.tween(dialog.scale).to({ + x: 1, + y: 1 + }, 500, "Elastic.easeOut", true) + }, + showScene: function(vNum) { + if (vNum == 0) { + this.isLevelCompleted = true; + MainGame.stopMusic(); + MainGame.playSound(25); + game.time.events.add(4e3, this.finishGame, this, true); + this.level_width = 2800; + game.camera.bounds.width = this.level_width + MainGame.deltaX; + this.decor1 = this.addDecor("f7", 2100, 430); + this.decor1.scale.x = -1; + this.updateCamera(2, this.decor1.x); + this.pyatno = this.layerEffect.add(game.add.image(2150, 515, "ss_main1", "water_purple_0000")); + this.pyatno.anchor.setTo(.5); + this.pyatno.scale.x = .6; + game.add.tween(this.pyatno.scale).to({ + x: 1 + }, 5e3, "Linear", true, 300); + this.vedro = this.layerEffect.add(game.add.image(2160, 505, "ss_main1", "roll_0000")); + this.vedro.anchor.setTo(.5); + this.vedro.angle = 35; + game.add.tween(this.vedro).to({ + y: "7" + }, 1500, "Linear", true, 0, -1, true); + game.add.tween(this.vedro).to({ + angle: 40 + }, 1500, "Linear", true, 0, -1, true); + game.time.events.add(1500, this.playScene0_1, this, true) + } + }, + nextTurn: function() { + this.isOpponentMiss = true; + for (var i = 0; i < this.countDodik; i++) this.arDodiki[i].setToStartPos(); + this.targetIK1.target.y = 30; + this.targetIK2.target.y = 55; + var isLiveHeroes = false; + if (this.hero1.hpNow > 0 || this.hero2.hpNow > 0) isLiveHeroes = true; + if (MainGame.typeBoat == 4 && (isLiveHeroes || this.hero3.hpNow > 0)) isLiveHeroes = true; + if (isLiveHeroes) { + if (this.turnNum == 1) { + if (MainGame.levelNum == 0) { + if (this.banka.body.y < 700) { + this.timeToStrikeAgain(); + this.layerAimPointsOld.visible = true + } else { + this.showScene(0) + } + return + } + var isLiveEnemy = false; + var dodik; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.isEnemy()) isLiveEnemy = true + } + if (isLiveEnemy) { + this.attackEnemy(); + if (MainGame.isAPI) MainGame.API_POKI.gameplayStart() + } else { + if (MainGame.levelNum == 12) { + this.checkWhale() + } else { + this.levelWin() + } + } + } else { + if (MainGame.isAPI) MainGame.API_POKI.gameplayStart(); + if (this.striker.hpNow <= 0) { + var arHeroes = []; + if (this.hero1.hpNow > 0) arHeroes.push(this.hero1); + if (this.hero2.hpNow > 0) arHeroes.push(this.hero2); + if (MainGame.typeBoat == 4 && this.hero3.hpNow > 0) arHeroes.push(this.hero3); + this.striker = arHeroes[0]; + this.striker.updateAnim(0); + this.striker.readyToShoot = true; + this.layerAimPointsOld.visible = false + } else { + this.layerAimPointsOld.visible = true + } + this.timeToStrikeAgain() + } + } else { + this.gameStatus = -1; + this.layerTop.visible = false; + this.levelLose() + } + this.layerHpBars.visible = false + }, + timeToStrikeAgain: function() { + this.gameStatus = 4; + this.typeGun = this.lastTypeGun; + this.turnNum = 1; + this.updateCamera(2, 300); + this.showPanel(); + this.setStriker(this.striker); + this.isShooted = false; + if (this.dronesDestroyed) { + this.striker.setSuperRocket(); + this.typeGun = 100; + this.layerWeapon.visible = false; + if (this.isFinalDialog) { + this.striker.showDialog(2, MainGame.GAME_TEXT.blow_up_whale); + this.isFinalDialog = false + } + } + }, + shieldBeReady: function() { + this.shieldEvent(true) + }, + shieldEvent: function(vBool) { + if (MainGame.typeViking != 2) return; + var numAnim = 7; + if (!vBool) numAnim = 8; + if (this.hero1 && this.hero1.hpNow > 0) this.hero1.updateAnim(numAnim); + if (this.hero2 && this.hero1.hpNow > 0) this.hero2.updateAnim(numAnim); + if (MainGame.typeBoat == 4) { + if (this.hero3 && this.hero1.hpNow > 0) this.hero3.updateAnim(numAnim) + } + }, + levelWin: function() { + this.isLevelCompleted = true; + this.updateCamera(2, 300); + var dodik; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.team == 1) dodik.updateAnim(6) + } + MainGame.stopMusic(); + MainGame.playSound(25); + game.time.events.add(2e3, this.finishGame, this, true) + }, + levelLose: function() { + this.isLevelCompleted = true; + if (MainGame.levelNum == 12) { + this.posCameraEnemy = 2300 + } + this.updateCamera(2, this.posCameraEnemy); + var dodik; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.team == 2) dodik.updateAnim(6) + } + MainGame.stopMusic(); + MainGame.playSound(26); + game.time.events.add(2e3, this.finishGame, this, false) + }, + attackEnemy: function(vNumStiker) { + if (typeof vNumStiker === "undefined") vNumStiker = 0; + this.turnNum = 2; + var dodik; + var whatDodik = vNumStiker; + if (MainGame.isDebug) { + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.isEnemy()) { + if (whatDodik == 1) { + break + } else { + whatDodik-- + } + } + } + } else { + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.isEnemy()) break + } + } + var goalX; + var goalY; + var angleAim = 0; + var powerAim = 0; + var aimX = dodik.obj.x; + var aimY = dodik.obj.y - 48; + var isMinWay = true; + var delta = 80; + if (dodik.isDrone) { + aimY = dodik.obj.y + 25; + delta = 60 + } + var arHeroes = []; + if (this.hero1.isLive) arHeroes.push(this.hero1); + if (this.hero2.isLive) arHeroes.push(this.hero2); + if ((MainGame.typeBoat == 2 || MainGame.typeBoat == 3) && this.dog.isLive) arHeroes.push(this.dog); + if (MainGame.typeBoat == 4 && this.hero3.isLive) arHeroes.push(this.hero3); + var r = Math.floor(Math.random() * arHeroes.length); + if (r > 0) isMinWay = false; + if (dodik.isUpStriker) isMinWay = false; + goalX = arHeroes[r].obj.x; + goalY = arHeroes[r].obj.y - 75; + if (MainGame.typeBoat == 2 && (arHeroes[r].skin == "bear" || arHeroes[r].skin == "greybeard")) goalY += 25; + this.stepAttack++; + var awp = 14 - MainGame.levelNum - this.stepAttack; + if (MainGame.levelNum == 4) awp = Math.round(awp * .8); + var chanceValue = 10 + this.countMissed * 10 + 2 * (12 - MainGame.levelNum); + if (MainGame.levelNum < 7) { + chanceValue += 15 + } + if (Phaser.Utils.chanceRoll(chanceValue)) { + awp = MyMath.getRandomInt(1, 3); + goalX += 5 * MyMath.getRandomInt(-3, 3); + goalY += 5 * MyMath.getRandomInt(-3, 3) + } + if (dodik.isKid) { + goalX += 20 * MyMath.getRandomInt(-3, 3); + goalY += 20 * MyMath.getRandomInt(-3, 3) + } + if (MainGame.isHardMode) { + awp = 2 - this.stepAttack + } + console.log("isHardMode", MainGame.isHardMode); + if (awp < 0) awp = 0; + if (MainGame.isDebug) awp = 0; + if (isMinWay) { + goalX += awp * 50; + goalY += awp * 10 + } else { + goalX -= awp * 5; + goalY -= awp * 20 + } + console.log("go attack", vNumStiker, "stepAttack", this.stepAttack, "awp", awp); + if (Phaser.Utils.chanceRoll(6)) { + goalX += 5 * MyMath.getRandomInt(-5, 5); + goalY += 5 * MyMath.getRandomInt(-5, 5) + } + var isReadyStrike = false; + if (isMinWay) { + for (var k = 0; k < 20; k += 2) { + angleAim = -k; + for (var j = 0; j < 120; j += 10) { + powerAim = 200 + j; + isReadyStrike = this.checkScope(aimX, aimY, goalX, goalY, angleAim, powerAim, delta); + if (isReadyStrike) break + } + if (isReadyStrike) break + } + } else { + for (var k = 33; k > 5; k -= 1) { + angleAim = -k; + for (var j = -60; j < 100; j += 10) { + powerAim = 240 - j; + isReadyStrike = this.checkScope(aimX, aimY, goalX, goalY, angleAim, powerAim, delta); + if (isReadyStrike) break + } + if (isReadyStrike) break + } + } + dodik.goAttack(angleAim, powerAim); + this.updateCamera(2, dodik.obj.x + 10); + if (dodik.isDrone) {} else { + this.setIK(dodik); + this.enemyDialog(dodik); + MainGame.playSound(5) + } + }, + checkScope: function(vAimX, vAimY, vGoalX, vGoalY, vAngle, vPower, vDelta) { + var angleDeg = Phaser.Math.degToRad(vAngle); + var ballX = vAimX - Math.cos(angleDeg) * vDelta; + var ballY = vAimY + Math.sin(angleDeg) * vDelta; + var finalAimX = vAimX - Math.cos(angleDeg) * (vDelta + vPower); + var finalAimY = vAimY + Math.sin(angleDeg) * (vDelta + vPower); + var launchVelocity = new Phaser.Point(0, 0); + launchVelocity.x = finalAimX - vAimX; + launchVelocity.y = finalAimY - vAimY; + launchVelocity.multiply(4, 4); + var trajectoryPoint; + var dist; + if (MainGame.isDebug) this.layerTest.removeAll(); + var minScopeCount = 40; + var maxScopeCount = 130; + if (MainGame.levelNum == 7) { + minScopeCount = 70; + maxScopeCount = 160 + } else if (MainGame.levelNum == 11) { + minScopeCount = 120; + maxScopeCount = 180 + } + for (var i = minScopeCount; i < maxScopeCount; i++) { + trajectoryPoint = this.getTrajectoryPoint(60, ballX, ballY, launchVelocity.x, launchVelocity.y, 0 + i); + if (MainGame.isDebug) this.addRedPoint(trajectoryPoint.x, trajectoryPoint.y); + if (trajectoryPoint.y > 650 || trajectoryPoint.x < 10) { + break + } else { + dist = Math.floor(Phaser.Math.distance(vGoalX, vGoalY, trajectoryPoint.x, trajectoryPoint.y)); + if (dist < 17) { + isReadyStrike = true; + if (MainGame.isDebug) { + console.log("checkScope:", i, "dist", dist) + } + return true + } + } + } + return false + }, + addRedPoint: function(vX, vY) { + var obj = this.layerTest.add(game.add.image(vX, vY, "ss_main2", "aimball_0000")); + obj.scale.setTo(.5); + obj.anchor.setTo(.5) + }, + aimEnemy: function(vIsTopor, vAngle) { + this.targetIK1.target.y = 30 - vAngle * .544; + this.lastTargetPosC1 = this.targetIK1.target.y; + this.targetIK2.target.y = 55 - vAngle * .9; + this.lastTargetPosC2 = this.targetIK2.target.y + }, + strikeEnemy: function(vIsTopor, vX, vY, vAngle, vPower, vSkin) { + switch (MainGame.levelNum) { + case 1: + case 5: + case 8: + case 9: + case 12: + this.typeGun = 4; + MainGame.playSound(28); + break; + case 2: + case 3: + case 4: + this.typeGun = 5; + MainGame.playSound(28); + break; + case 6: + this.typeGun = 6; + MainGame.playSound(19); + break; + case 7: + if (vSkin == "f8") { + this.typeGun = 5 + } else { + this.typeGun = 7 + } + MainGame.playSound(28); + break; + case 10: + this.typeGun = 9; + MainGame.playSound(28); + break; + case 11: + this.typeGun = 10; + this.ball.frameName = "ball3_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = -15; + MainGame.playSound(28); + break + } + var aimX = vX - 10; + var aimY = vY - 55; + var delta = 80; + if (vSkin == "drone") { + this.typeGun = 8; + aimY = vY + 25; + delta = 60 + } else { + this.targetIK1.target.y = this.lastTargetPosC1; + this.targetIK2.target.y = this.lastTargetPosC2 + } + var angleDeg = Phaser.Math.degToRad(vAngle); + var ballX = aimX - Math.cos(angleDeg) * delta; + var ballY = aimY + Math.sin(angleDeg) * delta; + var finalAimX = aimX - Math.cos(angleDeg) * (delta + vPower); + var finalAimY = aimY + Math.sin(angleDeg) * (delta + vPower); + var launchVelocity = new Phaser.Point(0, 0); + launchVelocity.x = finalAimX - aimX; + launchVelocity.y = finalAimY - aimY; + launchVelocity.multiply(4, 4); + if (this.typeGun == 4 || this.typeGun == 5 || this.typeGun == 7 || this.typeGun == 8 || this.typeGun == 9 || this.typeGun == 10) { + var effectPukX = aimX - Math.cos(angleDeg) * (delta + 20); + var effectPukY = aimY + Math.sin(angleDeg) * (delta + 20); + var strikeEffect = this.addEffect(4, this.layerEffect, effectPukX, effectPukY, .6); + strikeEffect.angle = -vAngle; + strikeEffect.scale.x = -1 + } + this.prepareShoot(ballX, ballY, launchVelocity); + var timeShield = Math.floor(1600 - Math.abs(launchVelocity.x)); + if (timeShield < 100) timeShield = 100; + game.time.events.add(timeShield, this.shieldBeReady, this, true) + }, + hitBallGround: function(body1, body2, fixture1, fixture2, begin, contact) { + if (!begin) return; + contact.GetWorldManifold(this.worldManifold); + if (this.worldManifold.points.length == 0) return; + var point = this.worldManifold.points[0]; + var pX = -point.x * game.physics.box2d.ptmRatio; + var pY = -point.y * game.physics.box2d.ptmRatio; + var ballVlc = Math.abs(body2.velocity.x) + Math.abs(body2.velocity.y); + if (this.typeGun == 1) { + if (ballVlc > 250) MainGame.playSound(7) + } + if (this.typeGun == 2 || this.typeGun == 10 || this.typeGun == 100) { + this.boomBomb(body2.x, body2.y, this.typeGun); + if (body1.link && body1.link.typeObj) { + if (body1.link.typeObj == "whale") { + this.kickWhale() + } + } + } else { + if (ballVlc > 320 && this.timerSfxHitBall <= 0) { + MainGame.playSound(23); + this.timerSfxHitBall = 100 + } + if (body1.link && body1.link.typeObj) { + if (body1.link.typeObj == "shark") { + this.shark.animations.play("attack", 30, false); + MainGame.playSound(1); + body2.velocity.y = -350; + if (Math.abs(this.ball.body.velocity.x) < 30) { + if (this.ball.body.velocity.x > 0) { + body2.velocity.x = MyMath.getRandomInt(30, 60) + } else { + body2.velocity.x = MyMath.getRandomInt(30, 60) * -1 + } + } + } else if (body1.link.typeObj == "hippo") { + this.hippo.animations.play("attack", 30, false); + MainGame.playSound(1); + body2.velocity.y = -350; + if (Math.abs(body2.velocity.x) < 10) { + if (this.ball.body.velocity.x > 0) { + body2.velocity.x = MyMath.getRandomInt(30, 60) + } else { + body2.velocity.x = MyMath.getRandomInt(30, 60) * -1 + } + } + } else if (body1.link.typeObj == "decor") { + body1.link.setAnimationByName(0, "kick", false); + body1.link.addAnimationByName(0, "idle", true); + this.addEffect(3, this.layerEffect, pX, pY) + } else if (body1.link.typeObj == "banka") { + this.addEffect(3, this.layerEffect, pX, pY); + body1.velocity.x += 50 + } else if (body1.link.typeObj == "gull") { + this.gull.animations.play("kick", 30, true); + this.addEffect(3, this.layerEffect, pX, pY); + body1.velocity.x = 80; + body1.velocity.y = -350; + game.time.events.add(300, this.gullTimerKick, this, true) + } else if (body1.link.typeObj == "bird") { + if (!this.birdKicked) { + this.bird.animations.play("fly", 30, true); + this.addEffect(3, this.layerEffect, pX, pY); + this.kickBird(body2.velocity.x) + } + } + } + } + }, + gullTimerKick: function() { + this.gull.body.sensor = true + }, + updateGull: function() { + if (this.gull.body.sensor && this.gull.water) { + if (this.gull.body.y > 500) { + var r = 21 + MyMath.getRandomInt(0, 1); + MainGame.playSound(r); + this.addEffect(2, this.layerEffect, this.gull.body.x, this.gull.body.y - 20); + this.gull.water = false + } + } + }, + checkWhale: function() { + if (this.hpWhale <= 0) { + var result = this.calculateScore(); + var s_earned = result[4]; + MainGame.coins += s_earned; + MainGame.saveSaves(1); + MainGame.comicsNum = 8; + MainGame.goToState("Comics"); + return + } + this.dronesDestroyed = true; + this.whaleKicked = false; + this.timeToStrikeAgain(); + this.layerAimPointsOld.visible = true + }, + showWhaleDamage: function() { + this.updateCamera(2, 4e3); + this.isCropingTime = true; + this.newWidth = 200 * (this.hpWhale / 300); + this.whale_miniicon.cropRect.width = 32 * (this.hpWhale / 300); + this.whale_miniicon.bar2.updateCrop(); + var _this = this; + game.add.tween(this.whale_hpbar.cropRect).to({ + width: this.newWidth + }, 800, "Linear", true, 500) + }, + updateWhale: function() { + if (this.isCropingTime) { + this.whale_hpbar.bar2.updateCrop(); + if (this.whale_hpbar.cropRect.width == this.newWidth) { + this.isCropingTime = false + } + } + }, + kickWhale: function() { + if (MainGame.levelNum == 12) { + if (this.typeGun == 100 && !this.whaleKicked) { + this.hpWhale -= 100; + this.whaleKicked = true + } + } + }, + testDrone: function() { + this.drone1.getDamage(1e3); + this.drone2.getDamage(1e3); + this.drone3.getDamage(1e3) + }, + hitBall: function(body1, body2, fixture1, fixture2, begin, contact) { + if (!begin) return; + if (body1.link && body2.link) { + if (body1.link.typeObj == "dodik") { + if (body2.link.typeObj == "ball") { + var ballVlc = Math.abs(body2.velocity.x) + Math.abs(body2.velocity.y); + var telo = body1.link; + if (telo.ballHitted > 0 || ballVlc < 100) return; + contact.GetWorldManifold(this.worldManifold); + if (this.worldManifold.points.length == 0) return; + if (ballVlc > 250) { + if (this.typeGun == 1) { + MainGame.playSound(7); + body2.velocity.x *= .6; + body2.velocity.y *= .6 + } else { + if (this.typeGun == 1 || this.typeGun == 2 || this.typeGun == 10 || this.typeGun == 100) {} else { + MainGame.playSound(23) + } + } + } + var point = this.worldManifold.points[0]; + var pX = -point.x * game.physics.box2d.ptmRatio; + var pY = -point.y * game.physics.box2d.ptmRatio; + if (this.typeGun == 2 || this.typeGun == 10 || this.typeGun == 100) { + this.boomBomb(body2.x, body2.y, this.typeGun); + return + } + var isHead = false; + if (telo.isDrone) { + body1.velocity.y += 40 + } else { + if (body1.y - pY > 70) { + isHead = true + } + if (ballVlc > 50) body1.velocity.y = -210; + if (telo.skin == "bear" || telo.skin == "greybeard") { + body1.velocity.y -= 105; + body1.velocity.x -= 90; + body1.sensor = true + } + } + telo.updateAnim(4); + this.addEffect(3, this.layerEffect, pX, pY); + var dmg = Math.floor(ballVlc / 50) + 5; + if (isHead) { + dmg *= 1.3; + if (this.turnNum == 2 && MainGame.typeViking >= 1) { + dmg *= .75 + } + } else { + if (this.turnNum == 2 && MainGame.typeViking == 2) { + dmg *= .75 + } + } + if (this.typeGun == 6) dmg *= 1.2; + telo.getDamage(Math.floor(dmg)); + if (telo.team == 1) { + if (isHead) { + this.playVoiceGroup(2) + } else { + this.playVoiceGroup(1) + } + } else { + if (isHead) { + this.playVoiceGroup(5) + } else { + this.playVoiceGroup(7) + } + } + this.updateCamera(1, 0, telo.obj) + } + } + } + }, + hitDodik: function(body1, body2, fixture1, fixture2, begin, contact) { + if (!begin) return; + if (this.isTimeAim) return; + if (body1.link && body2.link) { + if (body2.link.typeObj == "dodik") { + if (body1.link.typeObj == "dodik") { + var telo = body2.link; + if (telo.status == 0) { + telo.status = 1; + telo.getDamage(15); + telo.updateAnim(4) + } + } + } + } + }, + activateBall: function(vBall, vX, vY, vVelX, vVelY) { + vBall.visible = true; + if (this.turnNum == 1) { + vBall.body.sensor = false + } else { + vBall.body.sensor = true + } + vBall.body.angle = 0; + vBall.body.x = vX; + vBall.body.y = vY; + vBall.body.velocity.x = vVelX; + vBall.body.velocity.y = vVelY; + vBall.body.gravityScale = 1; + vBall.status = 1 + }, + setBallSensor: function() { + if (this.ball.visible) this.ball.body.sensor = false; + if (this.ball1.visible) this.ball1.body.sensor = false; + if (this.ball2.visible) this.ball2.body.sensor = false; + if (this.ball3.visible) this.ball3.body.sensor = false + }, + prepareShoot: function(vX, vY, vLaunchVelocity) { + if (this.isFirstStike) { + for (var i = 0; i < this.countDodik; i++) this.arDodiki[i].initStartPos(); + this.isFirstStike = false + } + if (this.typeGun == 3 || this.typeGun == 8 || this.typeGun == 9) { + this.isHitWater = 3; + this.activateBall(this.ball1, vX, vY, vLaunchVelocity.x, vLaunchVelocity.y); + this.activateBall(this.ball2, vX, vY, vLaunchVelocity.x - 50, vLaunchVelocity.y + 20); + this.activateBall(this.ball3, vX, vY, vLaunchVelocity.x - 100, vLaunchVelocity.y + 40); + this.updateCamera(1, 0, this.ball1) + } else { + this.isHitWater = 1; + this.activateBall(this.ball, vX, vY, vLaunchVelocity.x, vLaunchVelocity.y); + this.ball.body.mass = .35; + this.updateCamera(1, 0, this.ball) + } + game.time.events.add(250, this.setBallSensor, this, true); + switch (this.typeGun) { + case 0: + this.ball.frameName = "ball1_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = 10; + this.ball.body.restitution = .4; + if (this.turnNum != 1) this.ball.body.angularVelocity *= -1; + break; + case 1: + this.ball.frameName = "grenade_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = 10; + this.ball.body.restitution = .22; + this.ball.body.mass = .52; + game.time.events.add(3e3, this.timeGranata, this, true); + game.time.events.add(1e3, this.tickGrenade, this, true); + game.time.events.add(1500, this.tickGrenade, this, true); + game.time.events.add(2e3, this.tickGrenade, this, true); + game.time.events.add(2500, this.tickGrenade, this, true); + MainGame.countGranat--; + this.textGranat.setText(MainGame.countGranat); + break; + case 2: + this.ball.frameName = "rocket_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = 10; + this.ball.body.restitution = .18; + this.ball.body.mass = .65; + game.time.events.repeat(100, 20, this.createTrail, this); + MainGame.countRocket--; + this.textRocket.setText(MainGame.countRocket); + break; + case 100: + this.ball.frameName = "rocket2_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = 10; + this.ball.body.restitution = .18; + this.ball.body.mass = .65; + game.time.events.repeat(100, 20, this.createTrail, this); + break; + case 3: + this.ball1.frameName = "ball7_0000"; + this.ball1.body.fixedRotation = false; + this.ball1.body.angularVelocity = 10; + this.ball1.body.restitution = .25; + this.ball1.body.mass = .2; + this.ball2.frameName = "ball7_0000"; + this.ball2.body.fixedRotation = false; + this.ball2.body.angularVelocity = 10; + this.ball2.body.restitution = .25; + this.ball2.body.mass = .2; + this.ball3.frameName = "ball7_0000"; + this.ball3.body.fixedRotation = false; + this.ball3.body.angularVelocity = 10; + this.ball3.body.restitution = .25; + this.ball3.body.mass = .2; + MainGame.countBalls3--; + this.textBalls3.setText(MainGame.countBalls3); + break; + case 4: + this.ball.frameName = "ball2_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = -15; + break; + case 5: + this.ball.frameName = "ball5_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = -15; + break; + case 6: + this.ball.frameName = "hammer1_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = -8; + break; + case 7: + this.ball.frameName = "ball7_0000"; + this.ball.body.fixedRotation = false; + this.ball.body.angularVelocity = -15; + this.ball3.body.mass = .2; + break; + case 8: + this.ball1.frameName = "ball6_0000"; + this.ball1.body.fixedRotation = false; + this.ball1.body.angularVelocity = -10; + this.ball1.body.restitution = .25; + this.ball1.body.mass = .2; + this.ball2.frameName = "ball6_0000"; + this.ball2.body.fixedRotation = false; + this.ball2.body.angularVelocity = -10; + this.ball2.body.restitution = .25; + this.ball2.body.mass = .2; + this.ball3.frameName = "ball6_0000"; + this.ball3.body.fixedRotation = false; + this.ball3.body.angularVelocity = -10; + this.ball3.body.restitution = .25; + this.ball3.body.mass = .2; + break; + case 9: + this.ball1.frameName = "ball7_0000"; + this.ball1.body.fixedRotation = false; + this.ball1.body.angularVelocity = -10; + this.ball1.body.restitution = .25; + this.ball1.body.mass = .2; + this.ball2.frameName = "ball7_0000"; + this.ball2.body.fixedRotation = false; + this.ball2.body.angularVelocity = -10; + this.ball2.body.restitution = .25; + this.ball2.body.mass = .2; + this.ball3.frameName = "ball7_0000"; + this.ball3.body.fixedRotation = false; + this.ball3.body.angularVelocity = -10; + this.ball3.body.restitution = .25; + this.ball3.body.mass = .2; + break + } + }, + createTrail: function() { + if (this.ball.visible) this.addEffect(5, this.layerEffect, this.ball.x - 15, this.ball.y) + }, + onAnimCompleteAnimal: function(sprite, animation) { + if (animation.name === "attack") { + sprite.animations.play("swim", 30, true) + } + }, + boomBomb: function(vX, vY, vType) { + if (!this.ball.visible) return; + var maxDistance = 250; + var dist; + var dodik; + var pW = { + x: vX, + y: vY + }; + var force = 0; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + dist = Math.floor(Phaser.Math.distance(vX, vY, dodik.obj.x, dodik.obj.y - 50)); + if (dist < maxDistance) { + force = (350 - dist) * 4; + if (vType == 10) force *= .52; + if (vX - dodik.obj.x > 0) force *= -1; + dodik.body.applyForce(force, pW); + dodik.body.velocity.y = -(300 - dist); + dodik.updateAnim(4); + var damageCount = Math.floor(Math.abs(force) * .09); + if (vType == 1) { + damageCount = Math.floor(damageCount * .85) + } else if (vType == 2) { + damageCount = Math.floor(damageCount * .75) + } else if (vType == 10) { + damageCount = Math.floor(damageCount * .85) + } + dodik.getDamage(damageCount) + } + } + if (this.gull) { + dist = Math.floor(Phaser.Math.distance(vX, vY, this.gull.x, this.gull.y)); + if (dist < maxDistance) { + this.gull.animations.play("kick", 30, true); + this.addEffect(3, this.layerEffect, this.gull.x, this.gull.y); + this.gull.body.velocity.x += 50; + this.gull.body.velocity.y = -270; + game.time.events.add(300, this.gullTimerKick, this, true) + } + } + if (this.bird) { + dist = Math.floor(Phaser.Math.distance(vX, vY, this.bird.x, this.bird.y)); + if (dist < maxDistance) { + this.bird.animations.play("fly", 30, true); + this.addEffect(3, this.layerEffect, this.bird.x, this.bird.y); + this.kickBird(1500) + } + } + this.addEffect(1, this.layerEffect, vX, vY); + MainGame.playSound(6); + game.camera.flash(16777215, 300); + this.goShake(); + this.stopBall(this.ball) + }, + goShake: function() { + var properties = { + x: MyMath.getRandomInt(-5, 5), + y: -MyMath.getRandomInt(-5, 5) + }; + var duration = 50; + var repeat = 1; + var ease = Phaser.Easing.Bounce.InOut; + var autoStart = true; + var delay = 0; + var yoyo = true; + game.add.tween(this.layerEffect).to(properties, duration, ease, autoStart, delay, repeat, yoyo) + }, + showPanel: function() { + this.layerPanelTurn.visible = true; + this.layerPanelTurn.x = -250; + game.add.tween(this.layerPanelTurn).to({ + x: -110 + }, 500, "Back.easeOut", true, 100); + if (MainGame.levelNum == 0) return; + this.layerWeapon.visible = true; + if (this.lastTypeGun == 1 && MainGame.countGranat == 0) { + this.krutilka.x = this.btnBall1.x; + this.krutilka.y = this.btnBall1.y; + this.typeGun = 0 + } + if (this.lastTypeGun == 2 && MainGame.countRocket == 0) { + this.krutilka.x = this.btnBall1.x; + this.krutilka.y = this.btnBall1.y; + this.typeGun = 0 + } + if (this.lastTypeGun == 3 && MainGame.countBalls3 == 0) { + this.krutilka.x = this.btnBall1.x; + this.krutilka.y = this.btnBall1.y; + this.typeGun = 0 + } + }, + inputStageDown: function(pointer) { + if (this.isLevelCompleted || this.isPaused) return; + if (MainGame.isDebug && this.gameStatus == 1) {} + if (this.game.input.worldY < 110) return; + if (this.turnNum != 1) return; + if (this.isShooted) return; + this.isInputPress = true; + if (this.gameStatus == 0) { + this.layerText.removeAll(); + this.updateCamera(100, 300); + this.gameStatus = 1; + var time = this.timeToStart; + game.time.events.add(time, this.showPanel, this, true); + game.time.events.add(time + 300, this.sayDialog1, this, true); + game.time.events.add(time + 2900, this.sayDialog2, this, true) + } else if (this.gameStatus == 1) { + this.striker.updateAnim(0); + this.striker.readyToShoot = true; + this.gameStatus = 2; + for (var i = 0; i < this.countDodik; i++) this.arDodiki[i].initStartPos(); + this.updateSimon(); + this.showAimCircle() + } else if (this.gameStatus == 3) { + this.updateCamera(2, 300); + this.gameStatus = 4 + } else if (this.gameStatus == 4) { + this.gameStatus = 2; + this.isTimeAim = true + } + if (this.isTimeAim) { + this.showAimCircle() + } else { + this.aimCircle.visible = false + } + }, + showAimCircle: function() { + this.inputPointDown.x = this.game.input.worldX; + this.inputPointDown.y = this.game.input.worldY; + this.aimCircle.visible = true; + this.aimCircle.x = this.inputPointDown.x; + this.aimCircle.y = this.inputPointDown.y + }, + inputStageUp: function() { + if (this.game.input.x < 10 || this.game.input.y < 10 || this.game.input.y > game.height - 10) { + this.aimCircle.visible = false; + this.layerAimPointsNew.visible = false; + this.isInputPress = false; + return + } + if (this.isLevelCompleted || this.isPaused) return; + if (this.game.input.worldY < 150) return; + if (!this.isInputPress || !this.isTimeAim) return; + if (this.turnNum != 1) return; + if (this.isShooted) return; + if (this.turnNum == 1 && this.isTimeAim) { + this.aimCircle.visible = false + } + if (this.distanceAim > this.DISTANCE_FOR_AIM) { + this.isShooted = true; + this.layerAimPointsNew.visible = false; + this.layerAimPointsOld.visible = false; + this.layerArrowOld.angle = this.layerArrow.angle; + for (var i = 0; i < 10; i++) { + this.arBallPathLast[i].x = this.arBallPath[i].x; + this.arBallPathLast[i].y = this.arBallPath[i].y + } + this.striker.updateAnim(1); + this.targetIK1.target.y = this.lastTargetPosP1; + this.targetIK2.target.y = this.lastTargetPosP2; + var angleDeg = Phaser.Math.degToRad(this.angleDeg); + var ballX = this.aimX + Math.cos(angleDeg) * 120; + var ballY = this.aimY + Math.sin(angleDeg) * 120; + var strikeEffect = this.addEffect(4, this.layerEffect, ballX, ballY, .6); + strikeEffect.angle = this.layerArrow.angle; + this.isTimeAim = false; + this.isInputPress = false; + this.lastTypeGun = this.typeGun; + if (this.typeGun == 0) MainGame.playSound(28); + if (this.typeGun == 1) MainGame.playSound(8); + if (this.typeGun == 2) MainGame.playSound(17); + if (this.typeGun == 3) MainGame.playSound(28); + if (this.typeGun == 100) MainGame.playSound(17); + this.playVoiceGroup(4); + this.prepareShoot(ballX, ballY, this.launchVelocity); + this.striker.setEmptyRocket(); + this.layerPanelTurn.visible = false; + this.layerWeapon.visible = false; + this.stat_shots++ + } + }, + updateAiminInfo: function(vX, vY, vAngle, vDistance) { + var power = Math.floor(vDistance / 3.75); + this.textPowerAiming1.setText(power + "%"); + this.textPowerAiming2.setText(power + "%"); + var midXdot = (this.dotPoint10.x - this.dotPoint1.x) * .5; + var midYdot = (this.dotPoint10.y - this.dotPoint1.y) * .5; + this.layerInfoPower.x = this.dotPoint1.x + midXdot; + this.layerInfoPower.y = this.dotPoint1.y + midYdot; + this.layerInfoPower.angle = vAngle + }, + updateArrow: function() { + if (this.layerArrow.angle == undefined) this.layerArrow.angle = 0; + if (this.game.input.worldY < 110) return; + var inpX1 = this.inputPointDown.x; + var inpY1 = this.inputPointDown.y; + var inpX2 = this.game.input.worldX; + var inpY2 = this.game.input.worldY; + if (inpX1 < inpX2) return; + this.aimCircle.visible = true; + var distance = Phaser.Math.distance(inpX1, inpY1, inpX2, inpY2); + if (distance > 375) distance = 375; + var d = 25; + var count = Math.ceil(distance / d); + var angleRad = Math.atan2(inpY1 - inpY2, inpX1 - inpX2); + var angleDeg = angleRad * 57.295; + if (angleDeg > 28) { + angleDeg = 28 + } else if (angleDeg < -40) { + angleDeg = -40 + } + this.layerArrow.angle = angleDeg; + this.angleDeg = angleDeg; + this.distanceAim = distance; + var fAngleRad = Phaser.Math.degToRad(this.angleDeg); + var ballX = this.aimX + Math.cos(fAngleRad) * 120; + var ballY = this.aimY + Math.sin(fAngleRad) * 120; + var finalAimX = this.aimX + Math.cos(fAngleRad) * this.distanceAim; + var finalAimY = this.aimY + Math.sin(fAngleRad) * this.distanceAim; + var pM = 5; + this.launchVelocity.x = finalAimX - this.aimX; + this.launchVelocity.y = finalAimY - this.aimY; + this.launchVelocity.multiply(pM, pM); + if (MainGame.showPath) { + var p; + for (var i = 0; i < 10; i++) { + p = this.arBallPath[i]; + var trajectoryPoint = this.getTrajectoryPoint(100, ballX, ballY, this.launchVelocity.x, this.launchVelocity.y, p.num); + p.x = trajectoryPoint.x; + p.y = trajectoryPoint.y; + if (i == 0) { + this.dotPoint1.x = p.x; + this.dotPoint1.y = p.y + } else if (i == 9) { + this.dotPoint10.x = p.x; + this.dotPoint10.y = p.y + } + } + } + this.updateAiminInfo(this.aimX, this.aimY, angleDeg, distance); + if (this.distanceAim < this.DISTANCE_FOR_AIM) { + this.layerAimPointsNew.visible = false + } else { + this.layerAimPointsNew.visible = true + } + }, + heroDialog: function(vHero) { + var r = Math.floor(Math.random() * 10); + vHero.showDialog(1, MainGame.GAME_TEXT["pain_talk" + r]) + }, + enemyDialog: function(vHero) { + var r = Math.floor(Math.random() * 9); + vHero.showDialog(0, MainGame.GAME_TEXT["enemy_talk" + r]) + }, + sayDialog1: function() { + this.hero1.showDialog(0, MainGame.GAME_TEXT["start_brother_talkRW2_" + MainGame.levelNum]) + }, + sayDialog2: function() { + this.hero2.showDialog(0, MainGame.GAME_TEXT["start_simon_talkRW2_" + MainGame.levelNum]); + this.isSimonTalked = true + }, + soundEnvironment: function() { + if (Phaser.Utils.chanceRoll(7)) { + var r = 11 + MyMath.getRandomInt(0, 5); + MainGame.playSound(r) + } + }, + tickGrenade: function() { + if (this.ball.visible) MainGame.playSound(9) + }, + timeGranata: function() { + this.boomBomb(this.ball.x, this.ball.y, this.typeGun) + }, + dodikUtonul: function(vTema, vX, vY) { + if (vTema == 2) { + this.stepAttack++; + this.playVoiceGroup(6); + this.stat_enemy++ + } else { + this.playVoiceGroup(0) + } + var r = 21 + MyMath.getRandomInt(0, 1); + MainGame.playSound(r); + this.addEffect(2, this.layerEffect, vX, vY) + }, + stopBall: function(vBall, vIsWater) { + if (typeof vIsWater === "undefined") vIsWater = false; + if (this.isHitWater == 0) return; + this.isHitWater--; + if (vBall.visible && vIsWater && !vBall.body.sensor) { + this.addEffect(2, this.layerEffect, vBall.body.x, vBall.body.y); + MainGame.playSound(20) + } + vBall.visible = false; + vBall.status = 0; + vBall.body.gravityScale = 0; + vBall.body.velocity.x = 0; + vBall.body.velocity.y = 0; + vBall.body.angularVelocity = 0; + vBall.body.angularDamping = 0; + vBall.body.sensor = true; + vBall.body.y = -100; + vBall.body.x = -100; + if (this.isHitWater == 0) { + game.time.events.add(1e3, this.goStartCheckDodiki, this, true); + if (MainGame.levelNum > 0) { + this.layerHpBars.visible = true; + if (this.turnNum == 2 && this.isOpponentMiss) { + if (this.isOpponentMiss) { + this.playVoiceGroup(8); + this.countMissed++ + } else { + this.countMissed = 0 + } + } + } + } + }, + opponentGetDmg: function() { + this.isOpponentMiss = false + }, + goStartCheckDodiki: function() { + this.isCanStartCheck = true; + if (MainGame.isAPI) { + MainGame.API_POKI.gameplayStop(); + MainGame.API_POKI.destroyAd(); + MainGame.API_POKI.displayAd() + } + }, + getTrajectoryPoint: function(vTime, startX, startY, velocityX, velocityY, n) { + var t = 1 / vTime; + var stepVelocityX = t * game.physics.box2d.pxm(-velocityX); + var stepVelocityY = t * game.physics.box2d.pxm(-velocityY); + var stepGravityX = t * t * game.physics.box2d.pxm(-game.physics.box2d.gravity.x); + var stepGravityY = t * t * game.physics.box2d.pxm(-game.physics.box2d.gravity.y); + startX = game.physics.box2d.pxm(-startX); + startY = game.physics.box2d.pxm(-startY); + var tpx = startX + n * stepVelocityX + .5 * (n * n + n) * stepGravityX; + var tpy = startY + n * stepVelocityY + .5 * (n * n + n) * stepGravityY; + tpx = game.physics.box2d.mpx(-tpx); + tpy = game.physics.box2d.mpx(-tpy); + return { + x: tpx, + y: tpy + } + }, + checkSleep: function() { + var cD = this.countDodik; + for (var i = 0; i < this.countDodik; i++) { + dodik = this.arDodiki[i]; + if (dodik.isLive) { + if (Math.abs(dodik.body.velocity.x) < 3 && Math.abs(dodik.body.velocity.y) < 3) { + cD-- + } + } else { + cD-- + } + } + if (cD == 0) { + this.isCanStartCheck = false; + this.checkDodiki() + } + }, + render: function() {}, + update: function() { + if (MainGame.showFPS) MainGame.textFPS.setText("FPS: " + game.time.fps); + this.layerBack2.x = game.camera.x * .2; + this.layerBack3.x = game.camera.x * .6; + this.waveCount += .06; + if (this.timerSfxHitBall > 0) this.timerSfxHitBall--; + for (var i = 0; i < this.waveArCount; i++) { + this.waveAr[i].y = this.waveAr[i].startY + Math.sin(this.waveCount) * 2.6 + } + if (this.isCanStartCheck) this.checkSleep(); + for (var i = 0; i < this.countDodik; i++) { + this.arDodiki[i].update(this.waveCount) + } + if (this.shark) { + if (this.flagShark) { + this.shark.body.velocity.x = -90; + if (this.shark.body.x < -800) { + this.flagShark = false; + this.shark.scale.x = -1 + } + } else { + this.shark.body.velocity.x = 90; + if (this.shark.body.x > 2700) { + this.flagShark = true; + this.shark.scale.x = 1 + } + } + this.shark.x = this.shark.body.x + 500 + } + if (this.gull) { + this.updateGull() + } + if (!this.isLevelCompleted) { + if (this.isHitWater > 0) { + if (this.ball.visible) { + if (this.typeGun == 2 || this.typeGun == 10 || this.typeGun == 100) { + var flyingAngle = Math.atan2(this.ball.body.velocity.y, this.ball.body.velocity.x); + this.ball.body.angle = Phaser.Math.radToDeg(flyingAngle) + } + this.updateBall(this.ball) + } + if (this.ball1.visible) this.updateBall(this.ball1); + if (this.ball2.visible) this.updateBall(this.ball2); + if (this.ball3.visible) this.updateBall(this.ball3) + } + if (this.turnNum == 1 && this.isTimeAim) { + if (game.input.activePointer.isDown) { + this.updateArrow(); + this.targetIK1.target.y = 30 - this.layerArrow.angle * .544; + this.targetIK2.target.y = 55 - this.layerArrow.angle * .9; + this.lastTargetPosP1 = this.targetIK1.target.y; + this.lastTargetPosP2 = this.targetIK2.target.y + } + } + if (MainGame.levelNum == 12) { + this.updateWhale() + } else if (MainGame.levelNum == 0) { + if (this.banka.visible && this.banka.body.y > 500) { + this.addEffect(2, this.layerEffect, this.banka.body.x, this.banka.body.y); + this.banka.visible = false + } + } + } + }, + updateBall: function(vBall) { + if (vBall.status > 0) { + if (Math.abs(vBall.body.velocity.x) < 35 && Math.abs(vBall.body.velocity.y) < 20) { + vBall.body.sensor = true + } + } + if (vBall.body.y > 494) { + this.stopBall(vBall, true) + } else if (vBall.body.x > this.level_width) { + this.stopBall(vBall) + } + }, + helicopterEscape: function() { + game.add.tween(this.helicopterGroup).to({ + angle: -10 + }, 900, "Linear", true, 0); + game.add.tween(this.helicopterGroup).to({ + x: 700 + }, 2e3, "Back.easeIn", true, 0); + game.add.tween(this.helicopterGroup).to({ + startY: -400 + }, 2e3, "Linear", true, 600) + }, + testStrike: function(vBtn) { + this.attackEnemy(vBtn.id) + }, + clickMoveMap1: function() { + game.camera.x -= 150 + }, + clickMoveMap2: function() { + game.camera.x += 150 + }, + clickFlyHelicopter: function() { + this.helicopterEscape() + }, + clickLevelMenu: function() { + if (MainGame.levelNum == 8) { + MainGame.comicsNum = 5; + MainGame.goToState("Comics") + } else { + MainGame.goToState("ScreenLevel") + } + if (MainGame.isAPI) MainGame.API_POKI.commercialBreak() + }, + clickShop: function() { + MainGame.goToState("ScreenShop"); + if (MainGame.isAPI) MainGame.API_POKI.commercialBreak() + }, + clickReplay: function() { + MainGame.goToState("Game") + }, + clickMenu: function() { + MainGame.goToState("Menu") + }, + clickTestWin: function() { + MainGame.state.finishGame(true) + }, + clickTestLose: function() { + MainGame.state.finishGame(false) + }, + clickPause: function() { + this.pauseGame() + }, + onPause: function() { + if (!MainGame.state.isPaused) { + MainGame.state.pauseGame() + } + }, + addEffect: function(vNum, vLayer, vX, vY, vAnchorX, vAnchorY) { + if (typeof vAnchorX === "undefined") vAnchorX = .5; + if (typeof vAnchorY === "undefined") vAnchorY = .5; + var cframes = [15, 16, 12, 14, 14]; + var obj; + var nameEffect; + switch (vNum) { + case 1: + nameEffect = "e1"; + break; + case 2: + nameEffect = "e2"; + break; + case 3: + nameEffect = "e3"; + break; + case 4: + nameEffect = "e4"; + break; + case 5: + nameEffect = "e5"; + break + } + obj = vLayer.add(game.add.sprite(vX, vY, "ss_main2")); + obj.anchor.setTo(vAnchorX, vAnchorY); + obj.animations.add(nameEffect, Phaser.Animation.generateFrameNames(nameEffect + "_", 0, cframes[vNum - 1], "", 4), 30); + obj.animations.play(nameEffect, 30, false, true); + return obj + }, + onEffectAnimationComplete: function(sprite, animation) {} +}; +MainGame.Menu = function(game) {}; +MainGame.Menu.prototype = { + create: function() { + game.stage.backgroundColor = "#0054B7"; + MainGame.state = this; + MainGame.stateName = "Menu"; + MainGame.GAME_TEXT = MainGame.TEXT_FILE[MainGame.languages[MainGame.language]]; + var bg = game.add.image(400, 300, "bg_menu"); + bg.anchor.setTo(.5); + if (game.width > 1300) bg.width = game.width; + this.layerMain = game.add.group(); + var offsetY = 15; + var krug = this.layerMain.add(game.add.image(401, 258 - offsetY, "ss_menu", "Lifebuoy_0000")); + krug.anchor.setTo(.5); + var logoP2 = this.layerMain.add(game.add.image(526 - 18, 308 - offsetY, "ss_menu", "logosimon2_0000")); + logoP2.anchor.setTo(.5, .85); + var logoP1 = this.layerMain.add(game.add.image(267 + 18, 320 - offsetY, "ss_menu", "logosman_0000")); + logoP1.anchor.setTo(.5, .85); + var logoG = this.layerMain.add(game.add.image(412, 120 + 20 - offsetY, "ss_menu", "logo_grenade_0000")); + logoG.anchor.setTo(.5, .5); + game.add.tween(logoP1).to({ + angle: -3 + }, 1500, "Linear", true, 0, -1, true); + game.add.tween(logoP1).to({ + y: "5" + }, 2e3, "Linear", true, 0, -1, true); + game.add.tween(logoP2).to({ + angle: 3 + }, 1500, "Linear", true, 0, -1, true); + game.add.tween(logoP2).to({ + y: "+5" + }, 2e3, "Linear", true, 0, -1, true); + game.add.tween(logoG).to({ + angle: 6 + }, 1500, "Linear", true, 0, -1, true); + game.add.tween(logoG).to({ + y: "+10" + }, 2e3, "Linear", true, 0, -1, true); + this.obj = logoG; + var logoT = this.layerMain.add(game.add.image(400, 380 - offsetY, "ss_menu", "logo_0000")); + logoT.anchor.setTo(.5); + this.backLang = this.layerMain.add(game.add.image(58, 56, "ss_menu", "window_language_small_0000")); + this.backLang.anchor.setTo(.5); + this.btnLanguage = new SimpleButton(game, this, this.layerMain, 58, 58, "ss_menu", "flag_language_00" + MainGame.languagesN[MainGame.language], this.openLanguage); + this.panelLanguage = this.layerMain.add(game.add.group()); + var panelLB = this.panelLanguage.add(game.add.image(100, 20, "ss_menu", "window_language_big_0000")); + this.btnCloseLanguage = new SimpleButton(game, this, this.panelLanguage, 58, 58, "ss_menu", "btn_close_0000", this.closeLanguage); + var arrL = ["EN", "IT", "ES", "PT", "TR", "DE", "BR", "RU", "FR", "NL"]; + var arrC = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09"]; + arrL.splice(MainGame.language, 1); + arrC.splice(MainGame.language, 1); + var sizeFlag = 68; + var offsetFlagX = 147; + var offsetFlagY = 66; + this.btnLang_1 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 0, offsetFlagY + sizeFlag * 0, "ss_menu", "flag_language_00" + arrC[0], this["changeLang" + arrL[0]]); + this.btnLang_2 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 1, offsetFlagY + sizeFlag * 0, "ss_menu", "flag_language_00" + arrC[1], this["changeLang" + arrL[1]]); + this.btnLang_3 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 2, offsetFlagY + sizeFlag * 0, "ss_menu", "flag_language_00" + arrC[2], this["changeLang" + arrL[2]]); + this.btnLang_4 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 0, offsetFlagY + sizeFlag * 1, "ss_menu", "flag_language_00" + arrC[3], this["changeLang" + arrL[3]]); + this.btnLang_5 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 1, offsetFlagY + sizeFlag * 1, "ss_menu", "flag_language_00" + arrC[4], this["changeLang" + arrL[4]]); + this.btnLang_6 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 2, offsetFlagY + sizeFlag * 1, "ss_menu", "flag_language_00" + arrC[5], this["changeLang" + arrL[5]]); + this.btnLang_7 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 0, offsetFlagY + sizeFlag * 2, "ss_menu", "flag_language_00" + arrC[6], this["changeLang" + arrL[6]]); + this.btnLang_8 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 1, offsetFlagY + sizeFlag * 2, "ss_menu", "flag_language_00" + arrC[7], this["changeLang" + arrL[7]]); + this.btnLang_9 = new SimpleButton(game, this, this.panelLanguage, offsetFlagX + sizeFlag * 2, offsetFlagY + sizeFlag * 2, "ss_menu", "flag_language_00" + arrC[8], this["changeLang" + arrL[8]]); + this.panelLanguage.visible = false; + this.btnStart = new SimpleButton(game, this, this.layerMain, 400, 520 - 80, "ss_menu", "btn_play2_0000", this.clickStart); + this.btnCredits = new SimpleButton(game, this, this.layerMain, 400 - 345, 58, "ss_menu", "btn_credits_0000", this.clickCredits); + var posX = 200; + var posY = 200; + if (MainGame.isDebug) { + MainGame.addButton(this, this.layerMain, posX + 110 * 0, posY, this.clickS1, "scene 1", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 1, posY, this.clickS2, "scene 2", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 2, posY, this.clickS3, "scene 3", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 3, posY, this.clickS4, "scene 4", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 4, posY, this.clickS5, "scene 5", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 0, posY + 45, this.clickS6, "scene 6", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 1, posY + 45, this.clickS7, "scene 7", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 2, posY + 45, this.clickS8, "scene 8", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 3, posY + 45, this.clickS9, "scene 9", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 4, posY + 45, this.clickS10, "scene 10", 100, 40, 24); + MainGame.addButton(this, this.layerMain, posX + 110 * 0, posY + 90, this.clickFinal, "final", 100, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 0, 380, this.clickL1, "lvl 1", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 1, 380, this.clickL2, "lvl 2", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 2, 380, this.clickL3, "lvl 3", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 3, 380, this.clickL4, "lvl 4", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 4, 380, this.clickL5, "lvl 5", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 5, 380, this.clickL6, "lvl 6", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 0, 425, this.clickL7, "lvl 7", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 1, 425, this.clickL8, "lvl 8", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 2, 425, this.clickL9, "lvl 9", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 3, 425, this.clickL10, "lvl 10", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 4, 425, this.clickL11, "lvl 11", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 5, 425, this.clickL12, "lvl 12", 80, 40, 24); + MainGame.addButton(this, this.layerMain, 100 + 90 * 6, 425, this.clickL13, "lvl 13", 80, 40, 24) + } + MainGame.isWater = true; + this.musicButton = this.layerMain.add(game.add.image(400 + 345, 58, "ss_menu", "btn_music_0000")); + this.musicButton.anchor.setTo(.5, .5); + this.musicButton.inputEnabled = true; + this.musicButton.events.onInputDown.add(MainGame.clickMuteMusic, this); + if (MainGame.isMusicMuted) this.musicButton.frameName = "btn_music_0001"; + this.sfxButton = this.layerMain.add(game.add.image(400 + 345, 58, "ss_menu", "btn_sound_0000")); + this.sfxButton.anchor.setTo(.5, .5); + this.sfxButton.inputEnabled = true; + this.sfxButton.events.onInputDown.add(MainGame.clickMuteSFX, this); + if (MainGame.isSfxMuted) this.sfxButton.frameName = "btn_sound_0001"; + if (MainGame.firstGo) { + this.musicButton.frameName = "btn_music_0001"; + this.sfxButton.frameName = "btn_sound_0001" + } else { + MainGame.playMusic(0) + } + game.input.onDown.addOnce(this.playOnce, this); + MainGame.resizeGame(); + MainGame.fadeOut(); + this.layerCredits = this.layerMain.add(game.add.group()); + var plaha = this.layerCredits.add(game.add.image(400, 305, "ss_menu", "credits_panel_0000")); + plaha.anchor.setTo(.5); + var logo_tbs = this.layerCredits.add(game.add.image(400, 300, "ss_menu", "logo_tbs_0000")); + logo_tbs.anchor.setTo(.5); + var logo_phaser = this.layerCredits.add(game.add.image(400, 530, "ss_menu", "logo_phazer_0000")); + logo_phaser.anchor.setTo(.5); + var closeCredits = new SimpleButton(game, this, this.layerCredits, 215, 50, "ss_menu", "btn_close_0000", this.clickCredits); + this.btnClearProgress = new SimpleButton(game, this, this.layerMain, 400, 540, "ss_menu", "btn_progress_0000", this.clearSaves, 1, MainGame.GAME_TEXT.clear_progress); + this.btnClearProgress.text1.fontSize = 22; + this.btnClearProgress.text1.y = 3; + this.btnClearProgress.text2.fontSize = 22; + MainGame.addText(270, 400, 75 + 5, MainGame.GAME_TEXT.credits.toUpperCase(), this.layerCredits, 40, 10248197, .5, .5); + MainGame.addText(270, 400, 75, MainGame.GAME_TEXT.credits.toUpperCase(), this.layerCredits, 40, 16710912, .5, .5); + var sizeWhiteFont = 28; + MainGame.addText(270, 400, 130, MainGame.GAME_TEXT.producer, this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + MainGame.addText(270, 400, 130 + 30, "Martijn Kunst", this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + MainGame.addText(270, 400, 220, MainGame.GAME_TEXT.developed_by, this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + MainGame.addText(270, 400, 400, MainGame.GAME_TEXT.music_by, this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + MainGame.addText(270, 400, 400 + 30, "Eric Matyas", this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + MainGame.addText(270, 400, 487, MainGame.GAME_TEXT.made_with, this.layerCredits, sizeWhiteFont, 16777215, .5, .5); + this.layerCredits.visible = false; + this.btnClearProgress.buttonC.visible = false; + MainGame.addText(320, 560, 563, MainGame.version, this.layerCredits, 16, 16777215, 1, .5); + this.layerConfirm = this.layerMain.add(game.add.group()); + var spr_bg = this.layerConfirm.add(this.game.add.graphics(400, 300)); + spr_bg.beginFill(1656488, .7); + spr_bg.drawRect(-this.game.width * .5, -this.game.height * .5, this.game.width, this.game.height); + spr_bg.endFill(); + this.spr_bg = spr_bg; + var plaha = this.layerConfirm.add(game.add.image(400, 300, "ss_menu", "pause_panel_0000")); + plaha.anchor.setTo(.5); + var btnYes = new SimpleButton(game, this, this.layerConfirm, 400 - 80, 350, "ss_menu", "btn_home3_0000", this.clickClearYes); + var btnNo = new SimpleButton(game, this, this.layerConfirm, 400 + 80, 350, "ss_menu", "btn_home4_0000", this.clickClearNo); + MainGame.addText(320, 400, 250, MainGame.GAME_TEXT.clear_confirm, this.layerConfirm, 30, 16777215, .5, .5); + this.layerConfirm.visible = false; + this.updateResize(); + this.initKeyboardEvents(); + if (MainGame.isAPI) MainGame.API_POKI.displayAd() + }, + initKeyboardEvents: function() { + this.keySpace = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); + this.keySpace.onDown.add(this.clickStart, this) + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + this.musicButton.x = posP_R - 60 - 90; + this.sfxButton.x = posP_R - 60 - 90 - 90; + this.btnCredits.buttonC.x = posP_R - 60; + if (this.btnClearProgress) this.btnClearProgress.buttonC.x = posP_L + 100; + if (this.spr_bg) this.spr_bg.width = game.width; + this.btnLanguage.buttonC.x = posP_L + 60; + this.backLang.x = posP_L + 60 + }, + openLanguage: function() { + var posP_L = -((game.width - 800) * .5); + this.btnLanguage.buttonC.visible = false; + this.backLang.visible = false; + this.panelLanguage.visible = true; + this.panelLanguage.x = posP_L - 400; + game.add.tween(this.panelLanguage).to({ + x: posP_L + }, 400, "Back.easeOut").start() + }, + closeLanguage: function() { + game.add.tween(this.panelLanguage).to({ + x: -400 + }, 400, "Back.easeIn", true).onComplete.add(function() { + MainGame.state.panelLanguage.visible = false + }); + this.btnLanguage.buttonC.visible = true; + this.backLang.visible = true + }, + changeLangEN: function() { + this.updateLanguage(0) + }, + changeLangIT: function() { + this.updateLanguage(1) + }, + changeLangES: function() { + this.updateLanguage(2) + }, + changeLangPT: function() { + this.updateLanguage(3) + }, + changeLangTR: function() { + this.updateLanguage(4) + }, + changeLangDE: function() { + this.updateLanguage(5) + }, + changeLangBR: function() { + this.updateLanguage(6) + }, + changeLangRU: function() { + this.updateLanguage(7) + }, + changeLangFR: function() { + this.updateLanguage(8) + }, + changeLangNL: function() { + this.updateLanguage(9) + }, + updateLanguage: function(vPar) { + MainGame.language = vPar; + MainGame.saveSaves(); + MainGame.goToState("Menu") + }, + playOnce: function() { + if (!MainGame.firstGo) return; + MainGame.firstGo = false; + this.musicButton.frameName = "btn_music_0000"; + this.sfxButton.frameName = "btn_sound_0000"; + MainGame.playMusic(0) + }, + clickS1: function() { + MainGame.comicsNum = 0; + MainGame.goToState("Comics") + }, + clickS2: function() { + MainGame.comicsNum = 1; + MainGame.goToState("Comics") + }, + clickS3: function() { + MainGame.comicsNum = 2; + MainGame.goToState("Comics") + }, + clickS4: function() { + MainGame.comicsNum = 3; + MainGame.goToState("Comics") + }, + clickS5: function() { + MainGame.comicsNum = 4; + MainGame.goToState("Comics") + }, + clickS6: function() { + MainGame.comicsNum = 5; + MainGame.goToState("Comics") + }, + clickS7: function() { + MainGame.comicsNum = 6; + MainGame.goToState("Comics") + }, + clickS8: function() { + MainGame.comicsNum = 7; + MainGame.goToState("Comics") + }, + clickS9: function() { + MainGame.comicsNum = 8; + MainGame.goToState("Comics") + }, + clickS10: function() { + MainGame.comicsNum = 9; + MainGame.goToState("Comics") + }, + clickFinal: function() { + MainGame.goToState("ScreenFinal") + }, + clickL1: function() { + MainGame.levelNum = 0; + MainGame.goToState("Game") + }, + clickL2: function() { + MainGame.levelNum = 1; + MainGame.goToState("Game") + }, + clickL3: function() { + MainGame.levelNum = 2; + MainGame.goToState("Game") + }, + clickL4: function() { + MainGame.levelNum = 3; + MainGame.goToState("Game") + }, + clickL5: function() { + MainGame.levelNum = 4; + MainGame.goToState("Game") + }, + clickL6: function() { + MainGame.levelNum = 5; + MainGame.goToState("Game") + }, + clickL7: function() { + MainGame.levelNum = 6; + MainGame.goToState("Game") + }, + clickL8: function() { + MainGame.levelNum = 7; + MainGame.goToState("Game") + }, + clickL9: function() { + MainGame.levelNum = 8; + MainGame.goToState("Game") + }, + clickL10: function() { + MainGame.levelNum = 9; + MainGame.goToState("Game") + }, + clickL11: function() { + MainGame.levelNum = 10; + MainGame.goToState("Game") + }, + clickL12: function() { + MainGame.levelNum = 11; + MainGame.goToState("Game") + }, + clickL13: function() { + MainGame.levelNum = 12; + MainGame.goToState("Game") + }, + clickWater: function() { + MainGame.isWater = !MainGame.isWater; + MainGame.state.btnWater.text.setText("water: " + MainGame.isWater) + }, + clickCredits: function() { + if (this.layerCredits.visible) { + game.add.tween(this.layerCredits).to({ + y: -550 + }, 400, "Back.easeIn", true).onComplete.add(function() { + MainGame.state.layerCredits.visible = false + }); + game.add.tween(this.btnClearProgress.buttonC).to({ + y: 650 + }, 400, "Back.easeIn", true).onComplete.add(function() { + MainGame.state.btnClearProgress.buttonC.visible = false + }) + } else { + this.layerCredits.y = -550; + this.layerCredits.visible = true; + game.add.tween(this.layerCredits).to({ + y: 0 + }, 400, "Back.easeOut", true); + this.btnClearProgress.buttonC.y = 650; + this.btnClearProgress.buttonC.visible = true; + game.add.tween(this.btnClearProgress.buttonC).to({ + y: 540 + }, 400, "Back.easeOut", true) + } + }, + clearSaves: function() { + this.layerConfirm.visible = true + }, + clickClearYes: function() { + MainGame.clearSaves(); + this.layerConfirm.visible = false; + this.clickCredits() + }, + clickClearNo: function() { + this.layerConfirm.visible = false + }, + clickStart: function() { + if (MainGame.isAPI) MainGame.API_POKI.commercialBreak(); + if (MainGame.levelMax == 0) { + MainGame.comicsNum = 0; + MainGame.goToState("Comics") + } else { + MainGame.goToState("ScreenLevel") + } + } +}; +MainGame.ScreenLevel = function(game) {}; +MainGame.ScreenLevel.prototype = { + create: function() { + MainGame.state = this; + MainGame.stateName = "ScreenLevel"; + var bg = game.add.image(400, 300, "bg_menu"); + bg.anchor.setTo(.5); + if (game.width > 1300) bg.width = game.width; + this.layerMain = game.add.group(); + this.btnHome = new SimpleButton(game, this, this.layerMain, 400 - 345, 58, "ss_menu", "btn_home_0000", this.clickHome); + var coins = this.layerMain.add(game.add.image(400 - 75, 45, "ss_menu", "coins_0000")); + coins.anchor.setTo(.5); + var LEVELS_MAX = 13; + this.scrollingMap = this.layerMain.add(game.add.tileSprite(0, 150, 800 / 2 + LEVELS_MAX * 340 + 120, 280, "transp")); + this.scrollingMap.inputEnabled = true; + this.scrollingMap.input.enableDrag(false); + this.scrollingMap.input.allowVerticalDrag = false; + this.scrollingMap.input.boundsRect = new Phaser.Rectangle(800 - this.scrollingMap.width, 150, this.scrollingMap.width * 2 - 800, 300); + this.currentPage = 0; + this.clickX = 0; + this.currentPage = MainGame.levelNum = MainGame.levelMax; + this.scrollingMap.x = this.currentPage * -340; + for (var i = 0; i < LEVELS_MAX; i++) { + var iconMap = game.add.image(800 / 2 + i * 340, 140, "ss_menu", "l" + (i + 1) + "_0000"); + iconMap.anchor.set(.5); + this.scrollingMap.addChild(iconMap); + var iconHero = game.add.image(800 / 2 + i * 340, 55, "ss_menu", "heroic_empty_0000"); + iconHero.anchor.set(.5); + this.scrollingMap.addChild(iconHero); + if (MainGame.levelHard[i] == 1) { + iconHero.frameName = "heroic_coin_0000" + } + if (i <= MainGame.levelMax) { + var starts = MainGame.levelStars[i]; + if (starts == 1) { + var star1 = game.add.image(800 / 2 + i * 340 + 62, 220, "ss_menu", "empty_star_0000"); + star1.anchor.set(.5); + star1.scale.set(.7); + this.scrollingMap.addChild(star1); + var star2 = game.add.image(800 / 2 + i * 340, 220, "ss_menu", "empty_star_0000"); + star2.anchor.set(.5); + star2.scale.set(.7); + this.scrollingMap.addChild(star2); + var star3 = game.add.image(800 / 2 + i * 340 - 62, 220, "ss_menu", "star_0000"); + star3.anchor.set(.5); + star3.scale.set(.7); + this.scrollingMap.addChild(star3) + } else if (starts == 2) { + var star1 = game.add.image(800 / 2 + i * 340 + 62, 220, "ss_menu", "empty_star_0000"); + star1.anchor.set(.5); + star1.scale.set(.7); + this.scrollingMap.addChild(star1); + var star2 = game.add.image(800 / 2 + i * 340, 220, "ss_menu", "star_0000"); + star2.anchor.set(.5); + star2.scale.set(.7); + this.scrollingMap.addChild(star2); + var star3 = game.add.image(800 / 2 + i * 340 - 62, 220, "ss_menu", "star_0000"); + star3.anchor.set(.5); + star3.scale.set(.7); + this.scrollingMap.addChild(star3) + } else if (starts == 3) { + var star1 = game.add.image(800 / 2 + i * 340 + 62, 220, "ss_menu", "star_0000"); + star1.anchor.set(.5); + star1.scale.set(.7); + this.scrollingMap.addChild(star1); + var star2 = game.add.image(800 / 2 + i * 340, 220, "ss_menu", "star_0000"); + star2.anchor.set(.5); + star2.scale.set(.7); + this.scrollingMap.addChild(star2); + var star3 = game.add.image(800 / 2 + i * 340 - 62, 220, "ss_menu", "star_0000"); + star3.anchor.set(.5); + star3.scale.set(.7); + this.scrollingMap.addChild(star3) + } + } else { + var zamok = game.add.image(800 / 2 + i * 340, 220, "ss_menu", "close_0000"); + zamok.anchor.set(.5); + this.scrollingMap.addChild(zamok) + } + } + MainGame.addText(800, 375, 40 + 5, String(MainGame.coins), this.layerMain, 40, 10248197, 0, .5); + MainGame.addText(800, 375, 40, String(MainGame.coins), this.layerMain, 40, 16710912, 0, .5); + var titleLevel = MainGame.GAME_TEXT["level_nameRW2_" + Number(MainGame.levelNum + 1)]; + this.textLevel = MainGame.addText(320, 400, 439, titleLevel, this.layerMain, 26, 16777215, .5, .5); + for (var i = 0; i < LEVELS_MAX; i++) { + var fish = MainGame.addText(800, 800 / 2 + i * 340, -18, i + 1, this.layerMain, 38, 16777215, .5, .5); + this.scrollingMap.addChild(fish) + } + this.scrollingMap.events.onDragStart.add(function() { + this.scrollingMap.startPosition = this.scrollingMap.x + }, this); + this.scrollingMap.events.onDragStop.add(function() { + if (Math.abs(this.clickX - game.input.worldX) < 10) return; + var page = Math.round(-this.scrollingMap.x / 340); + if (page <= 0) page = 0; + this.changePage(page) + }, this); + this.scrollingMap.events.onInputDown.add(this.onDownScrollMap, this); + this.scrollingMap.events.onInputUp.add(this.onUpScrollMap, this); + this.btnSelect = new SimpleButton(game, this, this.layerMain, 400, 525, "ss_menu", "btn_play2_0000", this.clickStart); + this.btnHard = new SimpleButton(game, this, this.layerMain, 400 + 180, 525, "ss_menu", "btn_heroic_0000", this.clickStartHard); + this.changePage(this.currentPage); + MainGame.resizeGame(); + MainGame.fadeOut(); + this.updateResize(); + MainGame.playMusic(0); + this.initKeyboardEvents(); + MainGame.isHardMode = false; + if (MainGame.isAPI) MainGame.API_POKI.destroyAd() + }, + initKeyboardEvents: function() { + this.keySpace = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); + this.keySpace.onDown.add(this.clickStart, this); + this.keyRight = game.input.keyboard.addKey(Phaser.Keyboard.RIGHT); + this.keyRight.onDown.add(this.scrollMapRight, this); + this.keyLeft = game.input.keyboard.addKey(Phaser.Keyboard.LEFT); + this.keyLeft.onDown.add(this.scrollMapLeft, this) + }, + scrollMapRight: function() { + if (this.currentPage < MainGame.MAX_LEVELS) this.changePage(this.currentPage + 1) + }, + scrollMapLeft: function() { + if (this.currentPage > 0) this.changePage(this.currentPage - 1) + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + this.btnHome.buttonC.x = posP_L + 60 + }, + onDownScrollMap: function() { + this.clickX = game.input.worldX + }, + onUpScrollMap: function() { + if (Math.abs(this.clickX - game.input.worldX) > 10) return; + if (game.input.worldX > 400 + 180) { + if (this.currentPage < MainGame.MAX_LEVELS) this.changePage(this.currentPage + 1); + this.isClicked = true + } else if (game.input.worldX < 400 - 180) { + if (this.currentPage > 0) this.changePage(this.currentPage - 1); + this.isClicked = true + } + }, + addLevel: function() { + var coins = this.layerMain.add(game.add.image(400 - 75, 45, "ss_menu", "coins_0000")); + coins.anchor.setTo(.5) + }, + changePage: function(page) { + this.currentPage = page; + var titleLevel = MainGame.GAME_TEXT["level_nameRW2_" + Number(this.currentPage + 1)]; + this.textLevel.setText(titleLevel); + var tween = game.add.tween(this.scrollingMap).to({ + x: this.currentPage * -340 + }, 250, Phaser.Easing.Cubic.Out, true); + if (this.currentPage > MainGame.levelMax) { + this.btnSelect.buttonC.alpha = .55 + } else { + this.btnSelect.buttonC.alpha = 1 + } + if (MainGame.levelStars[this.currentPage] > 0) { + this.btnHard.buttonC.visible = true + } else { + this.btnHard.buttonC.visible = false + } + }, + clickStart: function() { + MainGame.isHardMode = false; + if (this.currentPage > MainGame.levelMax) return; + MainGame.levelNum = this.currentPage; + if (MainGame.levelNum == 0) { + MainGame.comicsNum = 0; + MainGame.goToState("Comics") + } else { + MainGame.goToState("ScreenShop") + } + }, + clickStartHard: function() { + this.clickStart(); + MainGame.isHardMode = true + }, + clickHome: function() { + MainGame.goToState("Menu") + } +}; +MainGame.ScreenShop = function(game) {}; +MainGame.ScreenShop.prototype = { + create: function() { + MainGame.state = this; + MainGame.stateName = "ScreenShop"; + var tileSky = game.add.image(-10, 300, "ss_back", "sky2_0000"); + tileSky.anchor.setTo(0, .5); + tileSky.fixedToCamera = true; + tileSky.width = game.width * 1.1; + tileSky.height = game.height * 1.1; + this.tileSky = tileSky; + this.layerBack = game.add.group(); + this.layerBack3 = this.layerBack.add(game.add.group()); + this.layerBack2 = this.layerBack.add(game.add.group()); + this.layerBack1 = this.layerBack.add(game.add.group()); + this.layerBoat = game.add.group(); + this.layerEffect = game.add.group(); + this.layerWater = game.add.group(); + this.layerMain = game.add.group(); + this.layerTop = game.add.group(); + this.layerPopup = game.add.group(); + this.layerPopup.fixedToCamera = true; + MainGame.loadSaves(); + this.btnHome = new SimpleButton(game, this, this.layerMain, 400 - 345, 58, "ss_menu", "btn_home_0000", this.clickHome); + var coins = this.layerMain.add(game.add.image(400 - 75, 45, "ss_menu", "coins_0000")); + coins.anchor.setTo(.5); + var plaha = this.layerTop.add(game.add.image(580, 265, "ss_menu", "upgrade_panel_0000")); + plaha.anchor.setTo(.5); + var posBtnsX = 450; + var wBtn2 = this.layerTop.add(game.add.image(posBtnsX + 130 * 0, 140, "ss_menu", "btn_gun_0000")); + wBtn2.anchor.setTo(.5); + var icon2t = this.layerTop.add(game.add.image(wBtn2.x - 3, wBtn2.y + 4, "ss_menu", "grenade_t_0000")); + icon2t.anchor.setTo(.5); + var icon2n = this.layerTop.add(game.add.image(wBtn2.x, wBtn2.y, "ss_menu", "grenade_n_0000")); + icon2n.anchor.setTo(.5); + var wBtn3 = this.layerTop.add(game.add.image(posBtnsX + 130 * 1, 140, "ss_menu", "btn_gun_0000")); + wBtn3.anchor.setTo(.5); + var icon3t = this.layerTop.add(game.add.image(wBtn3.x - 3, wBtn3.y + 4, "ss_menu", "rocket_t_0000")); + icon3t.anchor.setTo(.5); + var icon3n = this.layerTop.add(game.add.image(wBtn3.x, wBtn3.y, "ss_menu", "rocket_n_0000")); + icon3n.anchor.setTo(.5); + var wBtn4 = this.layerTop.add(game.add.image(posBtnsX + 130 * 2, 140, "ss_menu", "btn_gun_0000")); + wBtn4.anchor.setTo(.5); + var icon4t = this.layerTop.add(game.add.image(wBtn4.x - 3, wBtn4.y + 4, "ss_menu", "balls3_t_0000")); + icon4t.anchor.setTo(.5); + var icon4n = this.layerTop.add(game.add.image(wBtn4.x, wBtn4.y, "ss_menu", "balls3_n_0000")); + icon4n.anchor.setTo(.5); + var im1 = this.layerTop.add(game.add.image(wBtn2.x + 30, wBtn2.y + 35, "ss_menu", "ammo_shop1_0000")); + im1.anchor.setTo(.5); + var im2 = this.layerTop.add(game.add.image(wBtn3.x + 30, wBtn3.y + 35, "ss_menu", "ammo_shop2_0000")); + im2.anchor.setTo(.5); + var im3 = this.layerTop.add(game.add.image(wBtn4.x + 30, wBtn4.y + 35, "ss_menu", "ammo_shop3_0000")); + im3.anchor.setTo(.5); + var wBtnBoat = this.layerTop.add(game.add.image(675, 320, "ss_menu", "btn_shop2_0000")); + wBtnBoat.anchor.setTo(.5); + var boatIcon = this.layerTop.add(game.add.image(wBtnBoat.x, wBtnBoat.y, "ss_menu", "boatshop1_0000")); + boatIcon.anchor.setTo(.5); + this.boatIcon = boatIcon; + var wBtnViking = this.layerTop.add(game.add.image(485, 320, "ss_menu", "btn_shop2_0000")); + wBtnViking.anchor.setTo(.5); + var vikingIcon = this.layerTop.add(game.add.image(wBtnViking.x, wBtnViking.y, "ss_menu", "sheildshop1_0000")); + vikingIcon.anchor.setTo(.5); + this.vikingIcon = vikingIcon; + this.btnUpgrade = new SimpleButton(game, this, this.layerTop, wBtnBoat.x, wBtnBoat.y + 92, "ss_menu", "coin_panel2_0000", this.upgradeBoat, 1, MainGame.priceBoat[0], -12, -5, false, 28, 0, .5); + this.coinBtnUpgrade = this.btnUpgrade.buttonC.add(game.add.image(-50, -17, "ss_menu", "coin1_0000")); + this.btnViking = new SimpleButton(game, this, this.layerTop, wBtnViking.x, wBtnViking.y + 92, "ss_menu", "coin_panel2_0000", this.upgradeViking, 1, MainGame.priceViking[0], -12, -5, false, 28, 0, .5); + this.coinBtnViking = this.btnViking.buttonC.add(game.add.image(-50, -17, "ss_menu", "coin1_0000")); + this.btnBuyGranat = new SimpleButton(game, this, this.layerTop, wBtn2.x, wBtn2.y + 82, "ss_menu", "coin_panel_0000", this.buyGranat, 1, MainGame.priceGranat, -12, -5, false, 28, 0, .5); + this.coinBtnBuyGranat = this.btnBuyGranat.buttonC.add(game.add.image(-50, -17, "ss_menu", "coin1_0000")); + this.btnBuyRocket = new SimpleButton(game, this, this.layerTop, wBtn3.x, wBtn3.y + 82, "ss_menu", "coin_panel_0000", this.buyRocket, 1, MainGame.priceRocket, -12, -5, false, 28, 0, .5); + this.coinBtnBuyRocket = this.btnBuyRocket.buttonC.add(game.add.image(-50, -17, "ss_menu", "coin1_0000")); + this.btnBuyBalls3 = new SimpleButton(game, this, this.layerTop, wBtn4.x, wBtn4.y + 82, "ss_menu", "coin_panel_0000", this.buyBalls3, 1, MainGame.priceBalls3, -12, -5, false, 28, 0, .5); + this.coinBtnBuyBalls3 = this.btnBuyBalls3.buttonC.add(game.add.image(-50, -17, "ss_menu", "coin1_0000")); + this.btnReward = new SimpleButton(game, this, this.layerTop, 400, 520 - 7, "ss_menu", "btn_bonus_0000", MainGame.clickReward, 1); + MainGame.setReward(this.btnReward.buttonC, 0, 0, true); + this.btnReward.buttonC.visible = !false; + if (MainGame.isAPI) { + if (MainGame.API_POKI && MainGame.API_POKI.api_isAdblock) { + this.btnReward.buttonC.alpha = .7 + } + } else { + if (!MainGame.isDebug) this.btnReward.buttonC.alpha = .7 + } + this.initBackground(); + var wave; + for (var i = 0; i < 12; i++) { + wave = this.layerEffect.add(game.add.sprite(-400 + 300 * i, 455, "ss_main2")); + wave.animations.add("waving", Phaser.Animation.generateFrameNames("wave2_", 0, 69, "", 4), 30); + wave.animations.play("waving", 30, true); + wave.scale.setTo(1.001, 1) + } + var w; + for (var i = 0; i < 5; i++) { + w = this.layerWater.add(game.add.image(-400 + 800 * i, 600 + 1, "ss_main2", "water1_0000")); + w.anchor.setTo(0, 1); + w.scale.setTo(1.01, 1) + } + this.btnGo = new SimpleButton(game, this, this.layerTop, 400 + 240, 520, "ss_menu", "btn_play_0000", this.clickGo); + this.initBoat(); + this.textGranat = MainGame.addText(800, wBtn2.x + 30, wBtn2.y + 34, String(MainGame.countGranat) + "/3", this.layerTop, 22, 16777215, .5, .5); + this.textRocket = MainGame.addText(800, wBtn3.x + 30, wBtn3.y + 34, String(MainGame.countRocket) + "/3", this.layerTop, 22, 16777215, .5, .5); + this.textBalls3 = MainGame.addText(800, wBtn4.x + 30, wBtn4.y + 34, String(MainGame.countBalls3) + "/3", this.layerTop, 22, 16777215, .5, .5); + this.coinText1 = MainGame.addText(800, 375, 40 + 5, String(MainGame.coins), this.layerMain, 40, 10248197, 0, .5); + this.coinText2 = MainGame.addText(800, 375, 40, String(MainGame.coins), this.layerMain, 40, 16710912, 0, .5); + MainGame.addText(200, 400 + 240, 38 + 5, MainGame.GAME_TEXT.upgrades.toUpperCase(), this.layerTop, 44, 9330034, .5, .5); + MainGame.addText(200, 400 + 240, 38, MainGame.GAME_TEXT.upgrades.toUpperCase(), this.layerTop, 44, 16777215, .5, .5); + MainGame.resizeGame(); + MainGame.fadeOut(); + this.updateResize(); + this.checkBtns(); + this.initKeyboardEvents(); + if (MainGame.isAPI) MainGame.API_POKI.destroyAd() + }, + initKeyboardEvents: function() { + this.keySpace = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); + this.keySpace.onDown.add(this.clickGo, this) + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + this.btnHome.buttonC.x = posP_L + 60; + this.layerTop.x = posP_R - 800; + this.tileSky.width = game.width * 1.1 + }, + upgradeBoat: function() { + if (MainGame.typeBoat < 4 && MainGame.coins >= MainGame.priceBoat[MainGame.typeBoat - 1]) { + MainGame.coins -= MainGame.priceBoat[MainGame.typeBoat - 1]; + this.coinText1.setText(String(MainGame.coins)); + this.coinText2.setText(String(MainGame.coins)); + MainGame.typeBoat++; + this.updateBoat(); + this.checkBtns(); + MainGame.playSound(2); + var happyValue = MainGame.typeBoat / 10; + if (MainGame.isAPI) MainGame.API_POKI.happyTime(happyValue) + } + }, + upgradeViking: function() { + if (MainGame.typeViking < 2 && MainGame.coins >= MainGame.priceViking[MainGame.typeViking]) { + MainGame.coins -= MainGame.priceViking[MainGame.typeViking]; + this.coinText1.setText(String(MainGame.coins)); + this.coinText2.setText(String(MainGame.coins)); + MainGame.typeViking++; + this.updateViking(); + this.checkBtns(); + MainGame.playSound(2) + } + }, + buyGranat: function() { + if (MainGame.countGranat < 3 && MainGame.coins >= MainGame.priceGranat) { + MainGame.coins -= MainGame.priceGranat; + this.coinText1.setText(String(MainGame.coins)); + this.coinText2.setText(String(MainGame.coins)); + MainGame.countGranat++; + this.textGranat.setText(String(MainGame.countGranat) + "/3"); + this.checkBtns(); + MainGame.playSound(2) + } + }, + buyRocket: function() { + if (MainGame.countRocket < 3 && MainGame.coins >= MainGame.priceRocket) { + MainGame.coins -= MainGame.priceRocket; + this.coinText1.setText(String(MainGame.coins)); + this.coinText2.setText(String(MainGame.coins)); + MainGame.countRocket++; + this.textRocket.setText(String(MainGame.countRocket) + "/3"); + this.checkBtns(); + MainGame.playSound(2) + } + }, + buyBalls3: function() { + if (MainGame.countBalls3 < 3 && MainGame.coins >= MainGame.priceBalls3) { + MainGame.coins -= MainGame.priceBalls3; + this.coinText1.setText(String(MainGame.coins)); + this.coinText2.setText(String(MainGame.coins)); + MainGame.countBalls3++; + this.textBalls3.setText(String(MainGame.countBalls3) + "/3"); + this.checkBtns(); + MainGame.playSound(2) + } + }, + checkBtns: function() { + var textMax = MainGame.GAME_TEXT.max.toUpperCase(); + if (MainGame.typeBoat == 4) { + this.coinBtnUpgrade.visible = false; + this.btnUpgrade.text1.setText(textMax); + this.btnUpgrade.text1.anchor.x = .5; + this.btnUpgrade.text1.x = 0; + this.btnUpgrade.text2.setText(textMax); + this.btnUpgrade.text2.anchor.x = .5; + this.btnUpgrade.text2.x = 0 + } else { + this.btnUpgrade.text1.setText(MainGame.priceBoat[MainGame.typeBoat - 1]); + this.btnUpgrade.text2.setText(MainGame.priceBoat[MainGame.typeBoat - 1]) + } + if (MainGame.typeViking == 2) { + this.coinBtnViking.visible = false; + this.btnViking.text1.setText(textMax); + this.btnViking.text1.anchor.x = .5; + this.btnViking.text1.x = 0; + this.btnViking.text2.setText(textMax); + this.btnViking.text2.anchor.x = .5; + this.btnViking.text2.x = 0 + } else { + this.btnViking.text1.setText(MainGame.priceViking[MainGame.typeViking]); + this.btnViking.text2.setText(MainGame.priceViking[MainGame.typeViking]) + } + if (MainGame.countGranat == 3) { + this.coinBtnBuyGranat.visible = false; + this.btnBuyGranat.text1.setText(textMax); + this.btnBuyGranat.text1.anchor.x = .5; + this.btnBuyGranat.text1.x = 0; + this.btnBuyGranat.text2.setText(textMax); + this.btnBuyGranat.text2.anchor.x = .5; + this.btnBuyGranat.text2.x = 0 + } + if (MainGame.countRocket == 3) { + this.coinBtnBuyRocket.visible = false; + this.btnBuyRocket.text1.setText(textMax); + this.btnBuyRocket.text1.anchor.x = .5; + this.btnBuyRocket.text1.x = 0; + this.btnBuyRocket.text2.setText(textMax); + this.btnBuyRocket.text2.anchor.x = .5; + this.btnBuyRocket.text2.x = 0 + } + if (MainGame.countBalls3 == 3) { + this.coinBtnBuyBalls3.visible = false; + this.btnBuyBalls3.text1.setText(textMax); + this.btnBuyBalls3.text1.anchor.x = .5; + this.btnBuyBalls3.text1.x = 0; + this.btnBuyBalls3.text2.setText(textMax); + this.btnBuyBalls3.text2.anchor.x = .5; + this.btnBuyBalls3.text2.x = 0 + } + MainGame.updateTextsButton(this.btnUpgrade); + MainGame.updateTextsButton(this.btnViking); + MainGame.updateTextsButton(this.btnBuyGranat); + MainGame.updateTextsButton(this.btnBuyRocket); + MainGame.updateTextsButton(this.btnBuyBalls3); + MainGame.saveSaves(0); + if (MainGame.coins < MainGame.LOW_COINS && MainGame.allowReward) { + this.btnReward.buttonC.visible = true + } + }, + initBoat: function() { + this.waveAr = []; + this.hero1 = this.addHero(this.layerBoat, "sman", 0, 0); + this.hero2 = this.addHero(this.layerBoat, "simon", 0, 0); + this.hero3 = this.addHero(this.layerBoat, "dkid", 0, 0); + this.bear = this.addHero(this.layerBoat, "bear", 0, 0); + this.rod = this.layerBoat.add(game.add.image(0, 0, "ss_main1", "rod_0000")); + this.waveAr.push(this.rod); + this.greybeard = this.addHero(this.layerBoat, "greybeard", 0, 0); + var barrel = this.layerBoat.add(game.add.image(0, 0, "ss_main1", "boat1_rw2_0000")); + barrel.anchor.setTo(.5); + barrel.startY = barrel.y; + this.waveAr.push(barrel); + this.barrel = barrel; + var flag = this.layerBoat.add(game.add.sprite(2, 252, "ss_main1")); + flag.animations.add("flag", Phaser.Animation.generateFrameNames("flag_", 0, 20, "", 4), 30); + flag.animations.play("flag", 30, true); + flag.startY = flag.y; + this.waveAr.push(flag); + this.flag = flag; + this.waveCount = 0; + this.waveArCount = this.waveAr.length; + this.hero1.visible = false; + this.hero2.visible = false; + this.hero3.visible = false; + this.bear.visible = false; + this.greybeard.visible = false; + this.rod.visible = false; + this.flag.visible = false; + this.updateBoat(); + this.updateViking() + }, + updateViking: function() { + this.vikingIcon.frameName = "sheildshop" + (Number(MainGame.typeViking) + 1) + "_0000"; + if (MainGame.typeViking == 0) { + this.hero1.setSkinByName("sman"); + this.hero2.setSkinByName("simon"); + this.hero3.setSkinByName("dkid") + } else if (MainGame.typeViking == 1) { + this.hero1.setSkinByName("sman2"); + this.hero2.setSkinByName("simon2"); + this.hero3.setSkinByName("dkid2") + } else if (MainGame.typeViking == 2) { + this.hero1.setSkinByName("sman3"); + this.hero2.setSkinByName("simon3"); + this.hero3.setSkinByName("dkid3") + } + this.hero1.setAnimationByName(0, "idle", true); + this.hero2.setAnimationByName(0, "idle", true); + this.hero3.setAnimationByName(0, "idle", true); + this.hero1.setToSetupPose(); + this.hero2.setToSetupPose(); + this.hero3.setToSetupPose(); + this.hero1.state.tracks[0].time = MyMath.getRandomInt(1, 7); + this.hero2.state.tracks[0].time = MyMath.getRandomInt(1, 7); + this.hero3.state.tracks[0].time = MyMath.getRandomInt(1, 7) + }, + updateBoat: function() { + var boatPosX = 172; + var boatPosY = 468; + var hero1PosX = 240; + var hero1PosY = 464; + var hero2PosX = 100; + var hero2PosY = 464; + var hero3PosX = 0; + var hero3PosY = 0; + this.hero1.visible = false; + this.hero2.visible = false; + this.hero3.visible = false; + this.bear.visible = false; + this.greybeard.visible = false; + this.flag.visible = false; + this.rod.visible = false; + switch (MainGame.typeBoat) { + case 1: + this.hero1.visible = true; + this.hero2.visible = true; + break; + case 2: + boatPosX = 211; + boatPosY = 475; + hero1PosX = 315; + hero1PosY = 463; + hero2PosX = 190; + hero2PosY = 463; + hero3PosX = 95; + hero3PosY = 463; + this.hero1.visible = true; + this.hero2.visible = true; + this.bear.visible = true; + break; + case 3: + boatPosX = 280; + boatPosY = 445; + hero1PosX = 470; + hero1PosY = 460; + hero2PosX = 330; + hero2PosY = 460; + hero3PosX = 101; + hero3PosY = 384; + this.rod.x = -40; + this.rod.y = 258; + this.rod.startY = this.rod.y; + this.hero1.visible = true; + this.hero2.visible = true; + this.greybeard.visible = true; + this.rod.visible = true; + break; + case 4: + boatPosX = 280; + boatPosY = 382; + hero1PosX = 470; + hero1PosY = 460; + hero2PosX = 330; + hero2PosY = 460; + hero3PosX = 148; + hero3PosY = 384; + this.hero1.visible = true; + this.hero2.visible = true; + this.hero3.visible = true; + this.flag.visible = true; + break + } + this.hero1.x = hero1PosX; + this.hero1.y = hero1PosY; + this.hero1.startY = hero1PosY; + this.hero2.x = hero2PosX; + this.hero2.y = hero2PosY; + this.hero2.startY = hero2PosY; + this.hero3.x = hero3PosX; + this.hero3.y = hero3PosY; + this.hero3.startY = hero3PosY; + this.bear.x = hero3PosX; + this.bear.y = hero3PosY; + this.bear.startY = hero3PosY; + this.greybeard.x = hero3PosX; + this.greybeard.y = hero3PosY; + this.greybeard.startY = hero3PosY; + this.barrel.frameName = "boat" + MainGame.typeBoat + "_rw2_0000"; + this.barrel.x = boatPosX; + this.barrel.y = boatPosY; + this.barrel.startY = boatPosY; + this.boatIcon.frameName = "boatshop" + MainGame.typeBoat + "_0000"; + var scaleBoatIcons = [.9, .75, .7, 1]; + this.boatIcon.scale.setTo(scaleBoatIcons[MainGame.typeBoat - 1]) + }, + addHero: function(vLayer, vSkin, vX, vY) { + var obj; + if (vSkin == "bear") { + obj = vLayer.add(game.add.sprite(vX, vY, "ss_main1")); + obj.anchor.setTo(.5, .97); + obj.animations.add("idle", Phaser.Animation.generateFrameNames("bear_", 0, 0, "", 4), 30); + obj.animations.play("idle", 30, true) + } else if (vSkin == "greybeard") { + obj = vLayer.add(game.add.sprite(vX, vY, "ss_main1")); + obj.anchor.setTo(.5, .97); + obj.animations.add("idle", Phaser.Animation.generateFrameNames("grandpa_", 0, 48, "", 4), 30); + obj.animations.play("idle", 30, true) + } else { + obj = vLayer.add(game.add.spine(vX, vY, "pers")) + } + obj.startY = vY; + this.waveAr.push(obj); + return obj + }, + initBackground: function() { + this.addObject(275, 82, this.layerBack3, "cloud0", 2); + this.addObject(1045, 80, this.layerBack3, "cloud0", 2); + this.addObject(160, 95, this.layerBack3, "cloud0", 1); + this.addObject(557, 45, this.layerBack3, "cloud0", 3); + this.addObject(316, 376, this.layerBack3, "ground3_", 1); + this.addObject(570, 316, this.layerBack3, "ground3_", 1); + this.addObject(932, 342, this.layerBack2, "ground2_", 3); + this.addObject(716, 300, this.layerBack2, "ground2_", 1); + this.addObject(1220, 320, this.layerBack2, "ground2_", 1); + this.addObject(456, 332, this.layerBack2, "ground2_", 2); + var palm1 = this.addObject(600, 180, this.layerBack1, "palm", 1); + palm1.scale.x = -1; + palm1.angle = -13; + this.addObject(1364, 200, this.layerBack1, "palm", 1); + this.addObject(840, 396, this.layerBack1, "ground1_", 2); + this.addObject(1710, 380, this.layerBack1, "ground1_", 2); + this.addObject(1480, 357, this.layerBack1, "ground1_", 1); + this.addObject(1130, 417, this.layerBack1, "ground1_", 2); + this.addObject(224, 406, this.layerBack1, "ground1_", 1); + this.addObject(412, 380, this.layerBack1, "ground1_", 2); + this.addObject(50, 440, this.layerBack1, "ground1_", 3) + }, + addObject: function(vX, vY, vLayer, vName, vType) { + return vLayer.add(game.add.image(vX, vY, "ss_back", vName + vType + "_0000")) + }, + update: function() { + this.waveCount += .06; + for (var i = 0; i < this.waveArCount; i++) { + this.waveAr[i].y = this.waveAr[i].startY + Math.sin(this.waveCount) * 2.6 + } + }, + clickHome: function() { + MainGame.goToState("Menu") + }, + clickGo: function() { + if (MainGame.levelNum == 12) { + MainGame.comicsNum = 6; + MainGame.goToState("Comics") + } else { + MainGame.goToState("Game") + } + } +}; +MainGame.Comics = function(game) {}; +MainGame.Comics.prototype = { + create: function() { + MainGame.state = this; + MainGame.stateName = "Comics"; + game.stage.backgroundColor = "#000000"; + this.layerComics = game.add.group(); + this.layerBlack = game.add.group(); + this.layerBtns = game.add.group(); + this.layerComics.x = MainGame.midX; + this.initComics(); + MainGame.addFill(this.layerBlack, 0, 1, 300, 600, -550, 0); + MainGame.addFill(this.layerBlack, 0, 1, 300, 600, 1050, 0); + game.input.onDown.add(this.updateComics, this); + MainGame.resizeGame(); + if (MainGame.isAPI) MainGame.API_POKI.destroyAd() + }, + initComics: function() { + this.layerBtns.removeAll(); + this.spritesheet = "ss_comics"; + if (MainGame.comicsNum >= 5) this.spritesheet = "ss_comics2"; + if (MainGame.comicsNum != 9) MainGame.fadeOut(); + this.stepAction = 0; + if (game.width > 1300) { + this.halfWG = Math.floor(1300 * .5) + } else { + this.halfWG = Math.floor(game.width * .5) + } + var dxBoat = Math.floor(this.halfWG * .5); + this.dxBoat = dxBoat; + switch (MainGame.comicsNum) { + case 0: + this.whiteBack = MainGame.addFill(this.layerComics, 16777215, 1, game.width, 600, -this.halfWG, 0); + this.textOnScreen = MainGame.addText(400, 0, 270, MainGame.GAME_TEXT.comicsRW2_0_text1, this.layerComics, 30, 9330034, .5, .5); + break; + case 1: + this.back1 = this.addGraphic("cbox1", 0, 0); + this.back2 = this.addGraphic("cbox2", -325, 300); + this.back3 = this.addGraphic("cbox3", 325, 300); + this.anim1_1 = this.addAnim("csdig", 22, -37, 135); + this.gold_part1 = this.addGraphic("gold_part1", 121, 226); + this.diamonds_part2 = this.addGraphic("diamonds_part2", -30, 230); + this.anim1_2 = this.addAnim("cflash", 19, 121 - 35, 226 - 12); + this.anim1_3 = this.addAnim("cflash", 19, -30 - 35, 230 - 12); + this.cssonboat1 = this.addGraphic("cssonboat1", -dxBoat, 405); + this.pirate1 = this.addGraphic("cp1", 200, 400); + this.cpirate = this.addGraphic("cpirate", 325, 300); + this.pirate2 = this.addGraphic("cp2", 205, 400); + this.ball = this.addGraphic("cball", -dxBoat + 135, 440); + game.add.tween(this.cssonboat1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + game.add.tween(this.pirate1).to({ + y: "+4" + }, 1400, "Sine.easeInOut", true, 0, -1, true); + game.add.tween(this.cpirate).to({ + y: "+4" + }, 1400, "Sine.easeInOut", true, 0, -1, true); + this.water1 = this.addGraphic("cbox2_2", -325, 600); + this.water1.anchor.setTo(.5, 1); + this.water2 = this.addGraphic("cbox2_2", 325, 600); + this.water2.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg9", 0, 0); + this.dialog1_2 = this.addGraphic("cmsg5", 115, 115); + this.dialog1_3 = this.addGraphic("cmsg5", 115, 115); + this.dialog1_4 = this.addGraphic("cmsg5", 115, 115); + this.dialog2_1 = this.addGraphic("cmsg1", -dxBoat, 300); + this.dialog3_1 = this.addGraphic("cmsg2", 170, 335); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_1_text1); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_1_text2, 6); + this.addDialog(this.dialog1_3, MainGame.GAME_TEXT.comicsRW2_1_text3, 6); + this.addDialog(this.dialog1_4, MainGame.GAME_TEXT.comicsRW2_1_text4, 6); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_1_text5); + this.addDialog(this.dialog3_1, MainGame.GAME_TEXT.comicsRW2_1_text6, 6); + this.back1.alpha = 1; + this.anim1_1.alpha = 1; + break; + case 2: + if (this.effectBulk1) this.effectBulk1.visible = false; + if (this.effectBulk2) this.effectBulk2.visible = false; + this.whiteBack = MainGame.addFill(this.layerComics, 16777215, 1, game.width, 600, -this.halfWG, 0); + this.textOnScreen = MainGame.addText(400, 0, 270, MainGame.GAME_TEXT.comicsRW2_2_text1, this.layerComics, 30, 9330034, .5, .5); + break; + case 3: + this.back1 = this.addGraphic("cbox4", -325, 0); + this.back2 = this.addGraphic("cbox11", 325, 0); + this.back3 = this.addGraphic("cbox6", -325, 300); + this.back4 = this.addGraphic("cbox7", 325, 300); + this.cairplane1 = this.addGraphic("cairplane1", -325, 100); + game.add.tween(this.cairplane1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.cbin1 = this.addGraphic("cbin1", dxBoat, 60); + this.history_cloud = this.addGraphic("history_cloud", dxBoat + 5, 305); + this.dialog1_1 = this.addGraphic("cmsg1", -dxBoat, 0); + this.dialog1_2 = this.addGraphic("cmsg18", -240, 85); + this.dialog2_1 = this.addGraphic("cmsg2", dxBoat, 245); + this.dialog3_1 = this.addGraphic("cmsg11", -280, 410); + this.dialog3_2 = this.addGraphic("cmsg8", -260, 410); + this.dialog4_1 = this.addGraphic("cmsg10", dxBoat, 300); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_3_text1); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_3_text2, 6); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_3_text3, 6); + this.addDialog(this.dialog3_1, MainGame.GAME_TEXT.comicsRW2_3_text4, 6); + this.addDialog(this.dialog3_2, MainGame.GAME_TEXT.comicsRW2_3_text5, 6); + this.addDialog(this.dialog4_1, MainGame.GAME_TEXT.comicsRW2_3_text6); + this.back1.alpha = 1; + this.cairplane1.alpha = 1; + this.showDialog(this.dialog1_1); + this.cairplane1.x = -600; + game.add.tween(this.cairplane1).to({ + x: -325 + }, 1500, "Linear", true); + game.time.events.add(1500, this.checkTimer, this, true, 3); + break; + case 4: + this.back1 = this.addGraphic("cbox8", 0, 0); + this.back2 = this.addGraphic("cbox9", 0, 300); + this.cssonboat1 = this.addGraphic("cssonboat2", 0, 135); + this.cssonboat2 = this.addGraphic("cssonboat2", 0, 435); + game.add.tween(this.cssonboat1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + game.add.tween(this.cssonboat2).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.water1 = this.addGraphic("cbox8_2", 0, 300); + this.water1.anchor.setTo(.5, 1); + this.water2 = this.addGraphic("cbox8_2", 0, 600); + this.water2.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg12", -180, 65); + this.dialog1_2 = this.addGraphic("cmsg12", 190, 65); + this.dialog2_1 = this.addGraphic("cmsg13", 30, 365); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_4_text1, 8); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_4_text2, 8); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_4_text3, 8); + this.dialog1_1.scale.x = -1; + this.back1.alpha = 1; + this.cssonboat1.alpha = 1; + this.water1.alpha = 1; + this.cssonboat1.x = -800; + game.add.tween(this.cssonboat1).to({ + x: 0 + }, 3e3, "Linear", true); + game.time.events.add(3e3, this.checkTimer, this, true, 6); + break; + case 5: + this.back1 = this.addGraphic("cbox2", -325, 0); + this.back2 = this.addGraphic("cbox11", 325, 0); + this.back3 = this.addGraphic("cbox11", -325, 300); + this.back4 = this.addGraphic("cbox2", 325, 300); + this.cssonboat3 = this.addGraphic("cssonboat3", -dxBoat, 100); + game.add.tween(this.cssonboat3).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.cssonboat5 = this.addGraphic("cssonboat5", dxBoat, 300 + 100); + game.add.tween(this.cssonboat5).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.cbin2 = this.addGraphic("cbin2", dxBoat, 50); + this.cbin3 = this.addGraphic("cbin3", -dxBoat, 300 + 50); + this.water1 = this.addGraphic("cbox2_2", -325, 300); + this.water1.anchor.setTo(.5, 1); + this.water2 = this.addGraphic("cbox2_2", 325, 600); + this.water2.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg13", -dxBoat + 25, 30); + this.dialog4_1 = this.addGraphic("cmsg2", dxBoat + 20, 350); + this.dialog4_2 = this.addGraphic("cmsg8", dxBoat + 9 + 20, 320); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_5_text1, 8); + this.addDialog(this.dialog4_1, MainGame.GAME_TEXT.comicsRW2_5_text2, 8); + this.addDialog(this.dialog4_2, MainGame.GAME_TEXT.comicsRW2_5_text3, 8); + this.back1.alpha = 1; + this.cssonboat3.alpha = 1; + this.water1.alpha = 1; + this.cssonboat3.x = -500; + game.add.tween(this.cssonboat3).to({ + x: -dxBoat + }, 2500, "Linear", true); + game.time.events.add(2500, this.checkTimer, this, true, 8); + break; + case 6: + this.back1 = this.addGraphic("cbox13", 0, 0); + this.back2 = this.addGraphic("cbox2", -325, 300); + this.back3 = this.addGraphic("cbox11", 325, 300); + this.cwhale3 = this.addGraphic("cwhale3", 0, 10); + this.cwhale2 = this.addGraphic("cwhale2", 0, 32); + this.cwhale1 = this.addGraphic("cwhale1", 0, 52); + this.cwhale1.anchor.setTo(.5); + this.cwhale1.y += this.cwhale1.height * .5; + this.cwhale2.anchor.setTo(.5); + this.cwhale2.y += this.cwhale2.height * .5; + this.cwhale3.anchor.setTo(.5); + this.cwhale3.y += this.cwhale3.height * .5; + game.add.tween(this.cwhale1.scale).to({ + y: 1.03 + }, 1e3, "Linear", true, 0, -1, true); + game.add.tween(this.cwhale2.scale).to({ + y: 1.03 + }, 800, "Linear", true, 0, -1, true); + game.add.tween(this.cwhale3.scale).to({ + y: 1.03 + }, 600, "Linear", true, 0, -1, true); + this.ctv = this.addGraphic("ctv", 170, 185); + this.cbin3 = this.addGraphic("cbin4", dxBoat, 300 + 50); + this.cssonboat3 = this.addGraphic("cssonboat3", -dxBoat, 300 + 100); + game.add.tween(this.cssonboat3).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.water1 = this.addGraphic("cbox2_2", -325, 600); + this.water1.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg14", 115, 95); + this.dialog1_2 = this.addGraphic("cmsg15", 107, 95); + this.dialog1_3 = this.addGraphic("cmsg16", 82, 95); + this.dialog2_1 = this.addGraphic("cmsg13", -dxBoat + 9, 320); + this.dialog2_1.width = 285; + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_6_text1, 8); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_6_text2, 8); + this.addDialog(this.dialog1_3, MainGame.GAME_TEXT.comicsRW2_6_text3, 8); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_6_text4, 8, 12); + this.back1.alpha = 1; + this.cwhale1.alpha = 1; + this.ctv.alpha = 1; + break; + case 7: + this.back1 = this.addGraphic("cbox15", 0, 0); + this.back2 = this.addGraphic("cbox16", -325, 300); + this.back3 = this.addGraphic("cbox16", 325, 300); + this.cssonboat3 = this.addGraphic("cssonboat3", 0, 130); + game.add.tween(this.cssonboat3).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.water1 = this.addGraphic("cbox8_2", 0, 300); + this.water1.anchor.setTo(.5, 1); + this.cstar = this.addGraphic("cstar", -dxBoat - 5, 490); + this.cstar.anchor.setTo(.5); + this.cbomb1 = this.addGraphic("cbomb1", -dxBoat, 435); + this.cbomb2 = this.addGraphic("cbomb2", dxBoat, 409); + this.dialog1_1 = this.addGraphic("cmsg15", 85, 40); + this.dialog1_2 = this.addGraphic("cmsg16", 60, 40); + this.dialog2_1 = this.addGraphic("cmsg11", -dxBoat, 325); + this.dialog3_1 = this.addGraphic("cmsg12", dxBoat, 325); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_7_text1, 8); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_7_text2, 8); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_7_text3, 8); + this.addDialog(this.dialog3_1, MainGame.GAME_TEXT.comicsRW2_7_text4, 8); + this.back1.alpha = 1; + this.cssonboat3.alpha = 1; + this.water1.alpha = 1; + this.showDialog(this.dialog1_1); + break; + case 8: + var sdvigX = 325 - this.halfWG; + this.back1 = this.addGraphic("cbox2", -325, 0); + this.back2 = this.addGraphic("cbox17", 325, 0); + this.back3 = this.addGraphic("cbox17", sdvigX, 300); + MainGame.addFill(this.layerComics, 0, 1, 400, 300, 0, 300); + this.back4 = this.addGraphic("cbox17", 325, 300); + this.cssonboat3 = this.addGraphic("cssonboat3", -dxBoat, 100); + game.add.tween(this.cssonboat3).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.crack = this.addGraphic("crack", 390, 485); + this.poopok1 = this.addGraphic("poopok", 290, 165); + this.poopok2 = this.addGraphic("poopok", sdvigX - 35, 300 + 165); + this.poopok3 = this.addGraphic("poopok", 290, 300 + 165); + this.cbird1 = this.addAnim("cbird1", 18, this.poopok1.x + 70, this.poopok1.y - 100); + this.cbird1.anchor.setTo(1, 0); + this.cbird2 = this.addAnim("cbird2", 0, this.poopok2.x + 70, this.poopok2.y - 100); + this.cbird2.anchor.setTo(1, 0); + this.cbird3 = this.addAnim("cbird3", 9, this.poopok3.x + 70, this.poopok3.y - 100); + this.cbird3.anchor.setTo(1, 0); + this.cbung = this.addAnim("cbung", 11, 285, 490); + this.cbung.anchor.setTo(.5); + this.water1 = this.addGraphic("cbox2_2", -325, 300); + this.water1.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg19", -dxBoat - 130, 60); + this.dialog1_2 = this.addGraphic("cmsg2", -dxBoat + 55, 60); + this.dialog2_1 = this.addGraphic("cmsg4", dxBoat, 300 - 46, true); + this.dialog3_1 = this.addGraphic("cmsg19", sdvigX - 20, 320); + this.dialog3_2 = this.addGraphic("cmsg19", sdvigX - 20, 320); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_8_text1, 8); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_8_text2, 8); + this.addDialog(this.dialog2_1, MainGame.GAME_TEXT.comicsRW2_8_text3); + this.addDialog(this.dialog3_1, MainGame.GAME_TEXT.comicsRW2_8_text4, 8); + this.addDialog(this.dialog3_2, MainGame.GAME_TEXT.comicsRW2_8_text5, 8); + this.back1.alpha = 1; + this.cssonboat3.alpha = 1; + this.water1.alpha = 1; + this.showDialog(this.dialog1_1); + break; + case 9: + this.back1 = this.addGraphic("cbox18", 0, 100); + this.cssonboat4 = this.addGraphic("cssonboat4", 0, 285); + game.add.tween(this.cssonboat4).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.water1 = this.addGraphic("cbox18_2", 0, 500); + this.water1.anchor.setTo(.5, 1); + this.dialog1_1 = this.addGraphic("cmsg18", -107, 240); + this.dialog1_1.scale.setTo(1.2); + this.dialog1_2 = this.addGraphic("cmsg5", 107, 240); + this.dialog1_2.scale.setTo(1.2); + this.addDialog(this.dialog1_1, MainGame.GAME_TEXT.comicsRW2_9_text1, 8); + this.addDialog(this.dialog1_2, MainGame.GAME_TEXT.comicsRW2_9_text2, 8); + game.camera.flash(16777215, 700); + this.goShake(this.layerComics, 5); + this.back1.alpha = 1; + this.cssonboat4.alpha = 1; + this.water1.alpha = 1; + this.showDialog(this.dialog1_1); + this.showDialog(this.dialog1_2); + break + } + this.checkStep = this["checkStep" + MainGame.comicsNum]; + var btn_skip1 = this.layerBtns.add(game.add.image(772, 30, "ss_menu", "btn_skip1_0000")); + btn_skip1.anchor.setTo(.5); + var btn_skip2 = this.layerBtns.add(game.add.image(772, 28, "ss_menu", "btn_skip2_0000")); + btn_skip2.anchor.setTo(.5); + var txtTap1 = MainGame.addText(260, 785, 570 + 3, MainGame.GAME_TEXT.tap_to_continue.toUpperCase(), this.layerBtns, 24, 9330034, 1, .5); + var txtTap2 = MainGame.addText(260, 785, 570, MainGame.GAME_TEXT.tap_to_continue.toUpperCase(), this.layerBtns, 24, 16777215, 1, .5); + if (MainGame.comicsNum == 0 || MainGame.comicsNum == 2) { + btn_skip1.visible = false; + txtTap2.visible = false + } else { + btn_skip2.visible = false + } + this.updateResize() + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + this.layerBtns.x = posP_R - 800 + }, + goShake: function(vObject, vPower) { + var dirX = vPower; + var dirY = vPower; + if (MyMath.getRandomBool()) dirX *= -1; + if (MyMath.getRandomBool()) dirY *= -1; + var properties = { + x: vObject.x + dirX, + y: vObject.y + dirY + }; + var duration = 50; + var repeat = 4; + var ease = Phaser.Easing.Bounce.InOut; + var autoStart = true; + var delay = 0; + var yoyo = true; + game.add.tween(vObject).to(properties, duration, ease, autoStart, delay, repeat, yoyo) + }, + checkTimer: function(vP, vNum) { + var isNextStep = false; + if (vNum == 0 && this.stepAction == 5) isNextStep = true; + if (vNum == 1 && this.stepAction == 7) isNextStep = true; + if (vNum == 2 && this.stepAction == 8) isNextStep = true; + if (vNum == 3 && this.stepAction == 0) isNextStep = true; + if (vNum == 4 && this.stepAction == 2) isNextStep = true; + if (vNum == 5 && this.stepAction == 6) isNextStep = true; + if (vNum == 6 && this.stepAction == 0) isNextStep = true; + if (vNum == 7 && this.stepAction == 3) isNextStep = true; + if (vNum == 8 && this.stepAction == 0) isNextStep = true; + if (vNum == 9 && this.stepAction == 2) isNextStep = true; + if (isNextStep) { + this.stepAction++; + this.checkStep() + } + }, + checkStep0: function() { + switch (this.stepAction) { + case 1: + this.layerComics.removeAll(); + MainGame.comicsNum = 1; + this.initComics(); + break + } + }, + checkStep1: function() { + switch (this.stepAction) { + case 1: + this.showDialog(this.dialog1_1); + break; + case 2: + this.showObject(this.gold_part1); + this.showDialog(this.dialog1_2); + this.gold_part1.y += 20; + game.add.tween(this.gold_part1).to({ + y: "-20" + }, 250, "Quint", true); + break; + case 3: + this.dialog1_2.visible = false; + this.dialog1_2.txt.visible = false; + this.showObject(this.diamonds_part2); + this.showDialog(this.dialog1_3); + this.diamonds_part2.y += 20; + game.add.tween(this.diamonds_part2).to({ + y: "-20" + }, 250, "Quint", true); + break; + case 4: + this.dialog1_3.visible = false; + this.dialog1_3.txt.visible = false; + this.showDialog(this.dialog1_4); + break; + case 5: + this.showObject(this.back3); + this.showObject(this.water2); + this.showObject(this.pirate1); + this.showObject(this.pirate2); + this.showObject(this.cpirate); + this.cpirate.x = this.halfWG + this.cpirate.width; + game.add.tween(this.cpirate).to({ + x: 325 + }, 600 + game.width, "Quart.easeOut", true, 100); + this.pirate1.x = this.cpirate.x - 125; + game.add.tween(this.pirate1).to({ + x: 200 + }, 600 + game.width, "Quart.easeOut", true, 100); + game.time.events.add(1e3, this.checkTimer, this, true, 0); + this.pirate2.visible = false; + break; + case 6: + this.showDialog(this.dialog3_1); + break; + case 7: + this.showObject(this.back2); + this.showObject(this.water1); + this.showObject(this.cssonboat1); + this.showDialog(this.dialog2_1); + this.showObject(this.cpirate); + this.posBoatX = this.cssonboat1.x; + this.cssonboat1.x = -this.halfWG - 130; + game.add.tween(this.cssonboat1).to({ + x: this.posBoatX + }, 1200 + game.width, "Quart.easeOut", true, 300); + game.time.events.add(1900, this.checkTimer, this, true, 1); + break; + case 8: + game.tweens.removeFrom(this.cssonboat1); + game.add.tween(this.cssonboat1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.cssonboat1.x = this.posBoatX; + this.addEffect("ceffect", this.layerComics, 14, this.cssonboat1.x + 140, 450); + this.showObject(this.ball); + var _ball = this.ball; + game.add.tween(this.ball).to({ + x: -5, + y: 430 + }, game.width / 4, "Linear", true).onComplete.add(function() { + _ball.visible = false + }); + game.time.events.add(500, this.checkTimer, this, true, 2); + break; + case 9: + this.ball.visible = true; + this.ball.x = 10; + this.ball.y = 390; + var _pirate1 = this.pirate1; + var _pirate2 = this.pirate2; + var _ball = this.ball; + game.add.tween(this.ball).to({ + x: 200, + y: 410 + }, 250, "Linear", true).onComplete.add(function() { + _pirate1.visible = false; + _pirate2.visible = true; + game.add.tween(_ball).to({ + x: 80, + y: 550 + }, 500, "Linear", true); + game.add.tween(_pirate2).to({ + x: 350, + y: 540 + }, 800, "Linear", true).onComplete.add(function() { + _pirate2.visible = false + }) + }); + game.time.events.add(250 + 400, this.addBulk1, this, true); + game.time.events.add(250 + 550, this.addBulk2, this, true); + break; + case 10: + this.layerComics.removeAll(); + MainGame.comicsNum = 2; + this.initComics(); + break + } + }, + addBulk1: function() { + if (MainGame.comicsNum != 1) return; + this.effectBulk1 = this.addEffect("e2", this.layerComics, 16, this.ball.x, this.ball.y + 10) + }, + addBulk2: function() { + if (MainGame.comicsNum != 1) return; + this.effectBulk2 = this.addEffect("e2", this.layerComics, 16, this.pirate2.x + 10, this.pirate2.y + 30) + }, + checkStep2: function() { + switch (this.stepAction) { + case 1: + this.layerComics.removeAll(); + MainGame.comicsNum = 3; + this.initComics(); + break + } + }, + checkStep3: function() { + switch (this.stepAction) { + case 1: + this.cairplane1.x = -325; + game.tweens.removeFrom(this.cairplane1); + game.add.tween(this.cairplane1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.showDialog(this.dialog1_2); + break; + case 2: + this.showObject(this.back2); + this.showObject(this.cbin1); + this.cbin1.y -= 20; + game.add.tween(this.cbin1).to({ + y: "+20" + }, 500, "Linear", true); + game.time.events.add(500, this.checkTimer, this, true, 4); + break; + case 3: + this.showDialog(this.dialog2_1); + break; + case 4: + this.showObject(this.back3); + this.showDialog(this.dialog3_1); + break; + case 5: + this.dialog3_1.visible = false; + this.dialog3_1.txt.visible = false; + this.showDialog(this.dialog3_2); + break; + case 6: + this.showObject(this.back4); + this.showObject(this.history_cloud); + game.time.events.add(700, this.checkTimer, this, true, 5); + break; + case 7: + this.showDialog(this.dialog4_1); + break; + case 8: + this.layerComics.removeAll(); + MainGame.comicsNum = 4; + this.initComics(); + break + } + }, + checkStep4: function() { + switch (this.stepAction) { + case 1: + this.showDialog(this.dialog1_1); + this.cssonboat1.x = 0; + game.tweens.removeFrom(this.cssonboat1); + game.add.tween(this.cssonboat1).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + break; + case 2: + this.showDialog(this.dialog1_2); + break; + case 3: + this.showObject(this.back2); + this.showObject(this.water2); + this.showObject(this.cssonboat2); + this.showDialog(this.dialog2_1); + game.time.events.add(700, this.checkTimer, this, true, 7); + break; + case 4: + game.add.tween(this.cssonboat2).to({ + x: 800 + }, 3e3, "Linear", true); + break; + case 5: + this.finishComics(); + break + } + }, + checkStep5: function() { + switch (this.stepAction) { + case 1: + this.cssonboat3.x = -this.dxBoat; + game.tweens.removeFrom(this.cssonboat3); + game.add.tween(this.cssonboat3).to({ + y: "+5" + }, 800, "Sine.easeInOut", true, 0, -1, true); + this.showDialog(this.dialog1_1); + break; + case 2: + this.showObject(this.back2); + this.showObject(this.cbin2); + this.cbin2.y -= 20; + game.add.tween(this.cbin2).to({ + y: "+20" + }, 500, "Linear", true); + break; + case 3: + this.showObject(this.back3); + this.showObject(this.cbin3); + this.cbin3.y -= 20; + game.add.tween(this.cbin3).to({ + y: "+20" + }, 500, "Linear", true); + break; + case 4: + this.showObject(this.back4); + this.showObject(this.cssonboat5); + this.showObject(this.water2); + this.showDialog(this.dialog4_1); + break; + case 5: + this.dialog4_1.visible = false; + this.dialog4_1.txt.visible = false; + this.showDialog(this.dialog4_2); + break; + case 6: + this.finishComics(); + break + } + }, + checkStep6: function() { + switch (this.stepAction) { + case 1: + this.showDialog(this.dialog1_1); + break; + case 2: + this.dialog1_1.visible = false; + this.dialog1_1.txt.visible = false; + this.showDialog(this.dialog1_2); + this.goShake(this.cwhale1, 5); + this.hideObject(this.cwhale1, 200); + this.showObject(this.cwhale2); + break; + case 3: + this.dialog1_2.visible = false; + this.dialog1_2.txt.visible = false; + this.showDialog(this.dialog1_3); + this.goShake(this.cwhale2, 5); + this.hideObject(this.cwhale2, 200); + this.showObject(this.cwhale3); + break; + case 4: + this.showObject(this.back2); + this.showObject(this.cssonboat3); + this.showObject(this.water1); + this.showDialog(this.dialog2_1); + break; + case 5: + this.showObject(this.back3); + this.showObject(this.cbin3); + this.cbin3.y -= 20; + game.add.tween(this.cbin3).to({ + y: "+20" + }, 500, "Linear", true); + break; + case 6: + this.layerComics.removeAll(); + MainGame.comicsNum = 7; + this.initComics(); + break + } + }, + checkStep7: function() { + switch (this.stepAction) { + case 1: + this.dialog1_1.visible = false; + this.dialog1_1.txt.visible = false; + this.showDialog(this.dialog1_2); + break; + case 2: + this.showObject(this.back2); + this.showObject(this.cbomb1); + this.cbomb1.y = 600; + game.add.tween(this.cbomb1).to({ + y: 435 + }, 400, "Linear", true); + game.time.events.add(500, this.checkTimer, this, true, 9); + break; + case 3: + this.showObject(this.cstar); + this.cstar.scale.setTo(.5); + game.add.tween(this.cstar.scale).to({ + x: 1, + y: 1 + }, 500, "Back.easeOut", true); + this.showDialog(this.dialog2_1); + break; + case 4: + this.showObject(this.back3); + this.showObject(this.cbomb2); + this.showDialog(this.dialog3_1); + this.cbomb2.y = 600; + game.add.tween(this.cbomb2).to({ + y: 409 + }, 400, "Linear", true); + break; + case 5: + this.finishComics(); + break + } + }, + checkStep8: function() { + switch (this.stepAction) { + case 1: + this.showDialog(this.dialog1_2); + break; + case 2: + this.showObject(this.back2); + this.showObject(this.poopok1); + this.showObject(this.cbird1); + break; + case 3: + this.showDialog(this.dialog2_1); + break; + case 4: + this.showObject(this.back3); + this.showObject(this.poopok2); + this.showObject(this.cbird2); + this.showDialog(this.dialog3_1); + break; + case 5: + this.dialog3_1.visible = false; + this.dialog3_1.txt.visible = false; + this.showDialog(this.dialog3_2); + break; + case 6: + this.showObject(this.back4); + this.showObject(this.poopok3); + this.showObject(this.cbird3); + this.showObject(this.cbung); + break; + case 7: + this.showObject(this.crack); + this.goShake(this.layerComics, 3); + break; + case 8: + this.layerComics.removeAll(); + MainGame.comicsNum = 9; + this.initComics(); + break + } + }, + checkStep9: function() { + this.finishComics() + }, + finishComics: function() { + if (MainGame.comicsNum == 5) { + MainGame.goToState("ScreenLevel") + } else if (MainGame.comicsNum == 8 || MainGame.comicsNum == 9) { + MainGame.goToState("ScreenFinal") + } else { + MainGame.goToState("Game") + } + }, + showObject: function(vObj) { + game.add.tween(vObj).to({ + alpha: 1 + }, 300, "Linear", true) + }, + hideObject: function(vObj, vDelay) { + game.add.tween(vObj).to({ + alpha: 0 + }, 300, "Linear", true, vDelay) + }, + showDialog: function(vDialog) { + game.add.tween(vDialog).to({ + alpha: 1 + }, 300, "Linear", true); + game.add.tween(vDialog.txt).to({ + alpha: 1 + }, 300, "Linear", true) + }, + addDialog: function(vOblako, vText, vDx, vWidth, isAlignBottom) { + if (!vOblako) return; + if (typeof vDx === "undefined") vDx = 0; + if (typeof vWidth === "undefined") vWidth = 15; + var wOblako = vOblako.width; + var hOblako = vOblako.height - 10 - vDx; + var pX = vOblako.x; + var pY = vOblako.y + Math.round(vOblako.height * .5) - vDx; + var vSize = 22; + var vColor = 9330034; + var vAnchorX = .5; + var vAnchorY = .55; + var text = this.layerComics.add(game.add.bitmapText(pX, pY, "bmf_riffic", vText, vSize)); + text.anchor.setTo(vAnchorX, vAnchorY); + text.fontSize = vSize; + text.tint = vColor; + text.align = "center"; + if (vDx > 0) { + if (Math.abs(text.width - vOblako.width) < 15) { + vOblako.width = Math.floor(vOblako.width * 1.2); + wOblako = vOblako.width + } + } + text.maxWidth = wOblako; + if (vOblako.height < text.height + vDx + 10) { + var oldH = vOblako.height; + vOblako.height = vDx + 10 + Math.floor(text.height * 1.22); + if (vOblako.needUpdate) { + vOblako.y -= vOblako.height - oldH + } + text.y = vOblako.y + Math.round(vOblako.height * .5) - vDx; + if (vOblako.needUpdate) { + vOblako.anchor.y = 1; + vOblako.y += vOblako.height + } + } + vOblako.txt = text; + if (!this.isDebug) vOblako.txt.alpha = 0; + return text + }, + addGraphic: function(vName, vX, vY, isAlignBottom) { + var obj = this.layerComics.add(game.add.image(vX, vY, this.spritesheet, vName + "_0000")); + obj.anchor.setTo(.5, 0); + obj.needUpdate = isAlignBottom; + if (!this.isDebug) obj.alpha = 0; + return obj + }, + addAnim: function(vName, vFrames, vX, vY) { + var obj = this.layerComics.add(game.add.sprite(vX, vY, this.spritesheet)); + obj.animations.add("anim", Phaser.Animation.generateFrameNames(vName + "_", 0, vFrames, "", 4), 30); + obj.animations.play("anim", 30, true); + if (!this.isDebug) obj.alpha = 0; + return obj + }, + updateComics: function(vPointer) { + if (vPointer) { + if (vPointer.x > game.width - 50 && vPointer.y < 50) { + this.finishComics(); + return + } + } + this.stepAction++; + this.checkStep() + }, + addEffect: function(vName, vLayer, vFrames, vX, vY, vAnchorX, vAnchorY) { + if (typeof vAnchorX === "undefined") vAnchorX = .5; + if (typeof vAnchorY === "undefined") vAnchorY = .5; + var obj; + obj = vLayer.add(game.add.sprite(vX, vY, this.spritesheet)); + obj.anchor.setTo(vAnchorX, vAnchorY); + obj.animations.add("anim", Phaser.Animation.generateFrameNames(vName + "_", 0, vFrames, "", 4), 30); + obj.animations.play("anim", 30, false, true); + return obj + }, + clickStart: function() { + MainGame.goToState("Game") + } +}; +MainGame.ScreenFinal = function(game) {}; +MainGame.ScreenFinal.prototype = { + create: function() { + game.stage.backgroundColor = "#000000"; + MainGame.state = this; + MainGame.stateName = "ScreenFinal"; + var bg = game.add.image(400, 300, "bg_congrats"); + bg.anchor.setTo(.5); + this.layerMain = game.add.group(); + var anim1 = this.addAnim("cflash", 19, 125, 470); + anim1.scale.setTo(.8, -.8); + var anim2 = this.addAnim("cflash", 19, 240, 335); + this.btnHome = new SimpleButton(game, this, this.layerMain, 400 - 345, 58, "ss_menu", "btn_home_0000", this.clickHome); + var panel = this.layerMain.add(game.add.image(400, 495, "ss_menu", "congratulations_panel_0000")); + panel.anchor.setTo(.5, .5); + var text_conrats = MainGame.GAME_TEXT.text_finalRW1; + this.dialog1_1 = this.addGraphic("cmsg20", 400, 0); + this.dialog1_1.anchor.setTo(.5, 0); + this.addDialog(this.dialog1_1, text_conrats); + var textTitle = MainGame.GAME_TEXT.congratulations.toUpperCase(); + MainGame.addText(400, 410, 174 + 5, textTitle, this.layerMain, 42, 9330034, .5, .5); + MainGame.addText(400, 410, 174, textTitle, this.layerMain, 42, 16777215, .5, .5); + MainGame.addText(225, 410, 460, MainGame.GAME_TEXT.total_score.toUpperCase(), this.layerMain, 26, 16777215, 1, .5); + MainGame.addText(225, 410, 520, MainGame.GAME_TEXT.time_used.toUpperCase(), this.layerMain, 26, 16777215, 1, .5); + MainGame.addText(800, 430, 455 + 5, String(MainGame.highScore), this.layerMain, 38, 10248197, 0, .5); + MainGame.addText(800, 430, 455 + 0, String(MainGame.highScore), this.layerMain, 38, 16710912, 0, .5); + var timeTotal = 0; + for (var i = 0; i < 11; i++) { + timeTotal += MainGame.levelTime[i] + } + var s_time = this.secToHHMMSS(timeTotal); + MainGame.addText(800, 430, 520, s_time, this.layerMain, 26, 16777215, 0, .5); + MainGame.resizeGame(); + MainGame.fadeOut(); + this.updateResize(); + this.initKeyboardEvents(); + if (MainGame.isAPI) MainGame.API_POKI.happyTime(1); + if (MainGame.isAPI) MainGame.API_POKI.destroyAd(); + MainGame.api_google("GameComplete", MainGame.highScore) + }, + initKeyboardEvents: function() { + this.keySpace = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); + this.keySpace.onDown.add(this.clickHome, this) + }, + updateResize: function() { + var posP_R = 800 + (game.width - 800) * .5; + var posP_L = -((game.width - 800) * .5); + if (this.musicButton) this.musicButton.x = posP_R - 60; + if (this.btnHome) this.btnHome.buttonC.x = posP_L + 60 + }, + secToHHMMSS: function(vSec) { + var seconds = parseInt(vSec, 10); + var hours = Math.floor(seconds / 3600); + var minutes = Math.floor((seconds - hours * 3600) / 60); + var seconds = seconds - hours * 3600 - minutes * 60; + if (hours < 10) { + hours = "0" + hours + } + if (minutes < 10) { + minutes = "0" + minutes + } + if (seconds < 10) { + seconds = "0" + seconds + } + var time = hours + ":" + minutes + ":" + seconds; + return time + }, + addGraphic: function(vName, vX, vY) { + var obj = this.layerMain.add(game.add.image(vX, vY, "ss_menu", vName + "_0000")); + return obj + }, + addDialog: function(vOblako, vText, vDx, vWidth) { + if (!vOblako) return; + if (typeof vDx === "undefined") vDx = 0; + if (typeof vWidth === "undefined") vWidth = 15; + var wOblako = vOblako.width; + var pX = vOblako.x; + var pY = vOblako.y + Math.round(vOblako.height * .5) + 2; + var vSize = 22; + var vColor = 9330034; + var vAnchorX = .5; + var vAnchorY = .55; + var text = this.layerMain.add(game.add.bitmapText(pX, pY, "bmf_riffic", vText, vSize)); + text.anchor.setTo(vAnchorX, vAnchorY); + text.fontSize = vSize; + text.tint = vColor; + text.align = "center"; + text.maxWidth = wOblako; + MainGame.updateTextWidth(text, wOblako); + vOblako.txt = text; + return text + }, + addAnim: function(vName, vFrames, vX, vY) { + var obj = this.layerMain.add(game.add.sprite(vX, vY, "ss_menu")); + obj.animations.add("anim", Phaser.Animation.generateFrameNames(vName + "_", 0, vFrames, "", 4), 30); + obj.animations.play("anim", 30, true); + return obj + }, + clickHome: function() { + MainGame.goToState("Menu") + } +}; \ No newline at end of file diff --git a/games/RaftWars2/js/phaser-spine.min.js b/games/RaftWars2/js/phaser-spine.min.js new file mode 100644 index 00000000..237ddae8 --- /dev/null +++ b/games/RaftWars2/js/phaser-spine.min.js @@ -0,0 +1,11 @@ +/*! + * phaser-spine - version 3.0.9 + * Spine plugin for Phaser.io! + * + * OrangeGames + * Build at 10-07-2017 + * Released under MIT License + */ + +var spine={radDeg:180/Math.PI,degRad:Math.PI/180,Float32Array:"undefined"==typeof Float32Array?Array:Float32Array,Uint32Array:"undefined"==typeof Uint32Array?Array:Uint32Array,Uint16Array:"undefined"==typeof Uint16Array?Array:Uint16Array};spine.temp=new spine.Float32Array(2),spine.BoneData=function(a,b){this.name=a,this.parent=b},spine.BoneData.prototype={length:0,x:0,y:0,rotation:0,scaleX:1,scaleY:1,inheritScale:!0,inheritRotation:!0},spine.BlendMode={normal:0,additive:1,multiply:2,screen:3},spine.SlotData=function(a,b){this.name=a,this.boneData=b},spine.SlotData.prototype={r:1,g:1,b:1,a:1,attachmentName:null,blendMode:spine.BlendMode.normal},spine.IkConstraintData=function(a){this.name=a,this.bones=[]},spine.IkConstraintData.prototype={target:null,bendDirection:1,mix:1},spine.TransformConstraintData=function(a){this.name=a},spine.TransformConstraintData.prototype={bone:null,target:null,translateMix:1,x:0,y:0},spine.Bone=function(a,b,c){this.data=a,this.skeleton=b,this.parent=c,this.setToSetupPose()},spine.Bone.yDown=!1,spine.Bone.prototype={x:0,y:0,rotation:0,scaleX:1,scaleY:1,a:0,b:0,worldX:0,c:0,d:0,worldY:0,worldSignX:1,worldSignY:1,update:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransformWith:function(){this.updateWorldTransform(this.x,this.y,this.rotation,this.scaleX,this.scaleY)},updateWorldTransform:function(a,b,c,d,e){this.appliedRotation=c,this.appliedScaleX=d,this.appliedScaleY=e,c*=spine.degRad;var f=Math.cos(c),g=Math.sin(c),h=f*d,i=-g*e,j=g*d,k=f*e,l=this.parent;if(!l){var m=this.skeleton;return m.flipX&&(a=-a,h=-h,i=-i),m.flipY!=spine.Bone.yDown&&(b=-b,j=-j,k=-k),this.a=h,this.b=i,this.c=j,this.d=k,this.worldX=a,this.worldY=b,this.worldSignX=d<0?-1:1,void(this.worldSignY=e<0?-1:1)}var n=l.a,o=l.b,p=l.c,q=l.d;if(this.worldX=n*a+o*b+l.worldX,this.worldY=p*a+q*b+l.worldY,this.worldSignX=l.worldSignX*(d<0?-1:1),this.worldSignY=l.worldSignY*(e<0?-1:1),this.data.inheritRotation&&this.data.inheritScale)this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k;else{if(this.data.inheritRotation){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var r=n*f+o*g;if(o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritRotation)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else if(this.data.inheritScale){n=1,o=0,p=0,q=1;do{c=l.appliedRotation*spine.degRad,f=Math.cos(c),g=Math.sin(c);var s=l.appliedScaleX,t=l.appliedScaleY,u=f*s,v=-g*t,w=g*s,x=f*t,r=n*u+o*w;if(o=n*v+o*x,n=r,r=p*u+q*w,q=p*v+q*x,p=r,s<0&&(c=-c),f=Math.cos(-c),g=Math.sin(-c),r=n*f+o*g,o=n*-g+o*f,n=r,r=p*f+q*g,q=p*-g+q*f,p=r,!l.data.inheritScale)break;l=l.parent}while(l);this.a=n*h+o*j,this.b=n*i+o*k,this.c=p*h+q*j,this.d=p*i+q*k}else this.a=h,this.b=i,this.c=j,this.d=k;this.skeleton.flipX&&(this.a=-this.a,this.b=-this.b),this.skeleton.flipY!=spine.Bone.yDown&&(this.c=-this.c,this.d=-this.d)}},setToSetupPose:function(){var a=this.data;this.x=a.x,this.y=a.y,this.rotation=a.rotation,this.scaleX=a.scaleX,this.scaleY=a.scaleY},getWorldRotationX:function(){return Math.atan2(this.c,this.a)*spine.radDeg},getWorldRotationY:function(){return Math.atan2(this.d,this.b)*spine.radDeg},getWorldScaleX:function(){return Math.sqrt(this.a*this.a+this.b*this.b)*this.worldSignX},getWorldScaleY:function(){return Math.sqrt(this.c*this.c+this.d*this.d)*this.worldSignY},worldToLocal:function(a){var b=a[0]-this.worldX,c=a[1]-this.worldY,d=this.a,e=this.b,f=this.c,g=this.d,h=1/(d*g-e*f);return a[0]=b*g*h-c*e*h,a[1]=c*d*h-b*f*h,a},localToWorld:function(a){var b=a[0],c=a[1];return a[0]=b*this.a+c*this.b+this.worldX,a[1]=b*this.c+c*this.d+this.worldY,a}},spine.Slot=function(a,b){this.data=a,this.bone=b,this.attachmentVertices=new spine.Float32Array,this.setToSetupPose()},spine.Slot.prototype={r:1,g:1,b:1,a:1,_attachmentTime:0,attachment:null,setAttachment:function(a){this.attachment!=a&&(this.attachment=a,this._attachmentTime=this.bone.skeleton.time,this.attachmentVertices.length=0)},setAttachmentTime:function(a){this._attachmentTime=this.bone.skeleton.time-a},getAttachmentTime:function(){return this.bone.skeleton.time-this._attachmentTime},setToSetupPose:function(){var a=this.data;if(this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,a.attachmentName){for(var b=this.bone.skeleton.data.slots,c=0,d=b.length;c180?g-=360:g<-180&&(g+=360),a.updateWorldTransform(a.x,a.y,f+(g-f)*d,a.appliedScaleX,a.appliedScaleY)},spine.IkConstraint.apply2=function(a,b,c,d,e,f){if(0!=f){var g,h,i,j=a.x,k=a.y,l=a.appliedScaleX,m=a.appliedScaleY;l<0?(l=-l,g=180,i=-1):(g=0,i=1),m<0&&(m=-m,i=-i);var n=b.x,o=b.y,p=b.appliedScaleX,q=Math.abs(l-m)<=1e-4;q||0==o||(b.worldX=a.a*n+a.worldX,b.worldY=a.c*n+a.worldY,o=0),p<0?(p=-p,h=180):h=0;var r,s,t,u,v=a.parent;if(v){var w=v.a,x=v.b,y=v.c,z=v.d,A=1/(w*z-x*y),B=v.worldX,C=v.worldY,D=c-B,E=d-C;r=(D*z-E*x)*A-j,s=(E*w-D*y)*A-k,D=b.worldX-B,E=b.worldY-C,t=(D*z-E*x)*A-j,u=(E*w-D*y)*A-k}else r=c-j,s=d-k,t=b.worldX-j,u=b.worldY-k;var F,G,H=Math.sqrt(t*t+u*u),I=b.data.length*p;a:if(q){I*=l;var J=(r*r+s*s-H*H-I*I)/(2*H*I);J<-1?J=-1:J>1&&(J=1),G=Math.acos(J)*e;var w=H+I*J,K=I*Math.sin(G);F=Math.atan2(s*w-r*K,r*w+s*K)}else{var w=l*I,x=m*I,L=Math.atan2(s,r),M=w*w,N=x*x,O=H*H,P=r*r+s*s,Q=N*O+M*P-M*N,R=-2*N*H,S=N-M,z=R*R-4*S*Q;if(z>=0){var T=Math.sqrt(z);R<0&&(T=-T),T=-(R+T)/2;var U=T/S,V=Q/T,W=Math.abs(U)aa&&(_=0,aa=da,ba=D),D=H-w,da=D*D,daaa&&(_=ea,aa=da,ba=D,ca=E),P<=(Y+aa)/2?(F=L-Math.atan2($*e,Z),G=X*e):(F=L-Math.atan2(ca*e,ba),G=_*e)}var fa=Math.atan2(o,n)*i;F=(F-fa)*spine.radDeg+g,G=(G+fa)*spine.radDeg*i+h,F>180?F-=360:F<-180&&(F+=360),G>180?G-=360:G<-180&&(G+=360);var ga=a.rotation;a.updateWorldTransform(j,k,ga+(F-ga)*f,a.appliedScaleX,a.appliedScaleY),ga=b.rotation,b.updateWorldTransform(n,o,ga+(G-ga)*f,b.appliedScaleX,b.appliedScaleY)}},spine.TransformConstraint=function(a,b){this.data=a,this.translateMix=a.translateMix,this.x=a.x,this.y=a.y,this.bone=b.findBone(a.bone.name),this.target=b.findBone(a.target.name)},spine.TransformConstraint.prototype={apply:function(){this.update()},update:function(){var a=this.translateMix;if(a>0){var b=spine.temp;b[0]=x,b[1]=y,this.target.localToWorld(b);var c=this.bone;c.worldX+=(b[0]-c.worldX)*a,c.worldY+=(b[1]-c.worldY)*a}}},spine.Skin=function(a){this.name=a,this.attachments={}},spine.Skin.prototype={addAttachment:function(a,b,c){this.attachments[a+":"+b]=c},getAttachment:function(a,b){return this.attachments[a+":"+b]},_attachAll:function(a,b){for(var c in b.attachments){var d=c.indexOf(":"),e=parseInt(c.substring(0,d)),f=c.substring(d+1),g=a.slots[e];if(g.attachment&&g.attachment.name==f){var h=this.getAttachment(e,f);h&&g.setAttachment(h)}}}},spine.Animation=function(a,b,c){this.name=a,this.timelines=b,this.duration=c},spine.Animation.prototype={apply:function(a,b,c,d,e){d&&0!=this.duration&&(c%=this.duration,b>0&&(b%=this.duration));for(var f=this.timelines,g=0,h=f.length;g0&&(b%=this.duration));for(var g=this.timelines,h=0,i=g.length;h>>1;;){if(a[(f+1)*c]<=b?d=f+1:e=f,d==e)return(d+1)*c;f=d+e>>>1}},spine.Animation.binarySearch1=function(a,b){var c=0,d=a.length-2;if(!d)return 1;for(var e=d>>>1;;){if(a[e+1]<=b?c=e+1:d=e,c==d)return c+1;e=c+d>>>1}},spine.Animation.linearSearch=function(a,b,c){for(var d=0,e=a.length-c;d<=e;d+=c)if(a[d]>b)return d;return-1},spine.Curves=function(a){var b=19*(a-1);this.curves=new spine.Float32Array(b),this.curves.length=b},spine.Curves.prototype={setLinear:function(a){this.curves[19*a]=0},setStepped:function(a){this.curves[19*a]=1},setCurve:function(a,b,c,d,e){var f=.1,g=f*f,h=g*f,i=3*f,j=3*g,k=6*g,l=6*h,m=2*-b+d,n=2*-c+e,o=3*(b-d)+1,p=3*(c-e)+1,q=b*i+m*j+o*h,r=c*i+n*j+p*h,s=m*k+o*l,t=n*k+p*l,u=o*l,v=p*l,w=19*a,x=this.curves;x[w++]=2;for(var y=q,z=r,A=w+19-1;w1?1:b;var c=this.curves,d=19*a,e=c[d];if(0===e)return b;if(1==e)return 0;d++;for(var f=0,g=d,h=d+19-1;d=b){var i,j;return d==g?(i=0,j=0):(i=c[d-2],j=c[d-1]),j+(c[d+1]-j)*(b-i)/(f-i)}var k=c[d-1];return k+(1-k)*(b-f)/(1-f)}},spine.RotateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(2*a),this.frames.length=2*a},spine.RotateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/2},setFrame:function(a,b,c){a*=2,this.frames[a]=b,this.frames[a+1]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-2]){for(var h=g.data.rotation+f[f.length-1]-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;return void(g.rotation+=h*e)}var i=spine.Animation.binarySearch(f,c,2),j=f[i-1],k=f[i],l=1-(c-k)/(f[i-2]-k);l=this.curves.getCurvePercent(i/2-1,l);for(var h=f[i+1]-j;h>180;)h-=360;for(;h<-180;)h+=360;for(h=g.data.rotation+(j+h*l)-g.rotation;h>180;)h-=360;for(;h<-180;)h+=360;g.rotation+=h*e}}},spine.TranslateTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.TranslateTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-3])return g.x+=(g.data.x+f[f.length-2]-g.x)*e,void(g.y+=(g.data.y+f[f.length-1]-g.y)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.x+=(g.data.x+i+(f[h+1]-i)*l-g.x)*e,g.y+=(g.data.y+j+(f[h+2]-j)*l-g.y)*e}}},spine.ScaleTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(3*a),this.frames.length=3*a},spine.ScaleTimeline.prototype={boneIndex:0,getFrameCount:function(){return this.frames.length/3},setFrame:function(a,b,c,d){a*=3,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-3])return g.scaleX+=(g.data.scaleX*f[f.length-2]-g.scaleX)*e,void(g.scaleY+=(g.data.scaleY*f[f.length-1]-g.scaleY)*e);var h=spine.Animation.binarySearch(f,c,3),i=f[h-2],j=f[h-1],k=f[h],l=1-(c-k)/(f[h+-3]-k);l=this.curves.getCurvePercent(h/3-1,l),g.scaleX+=(g.data.scaleX*(i+(f[h+1]-i)*l)-g.scaleX)*e,g.scaleY+=(g.data.scaleY*(j+(f[h+2]-j)*l)-g.scaleY)*e}}},spine.ColorTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(5*a),this.frames.length=5*a},spine.ColorTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length/5},setFrame:function(a,b,c,d,e,f){a*=5,this.frames[a]=b,this.frames[a+1]=c,this.frames[a+2]=d,this.frames[a+3]=e,this.frames[a+4]=f},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-5]){var k=f.length-1;g=f[k-3],h=f[k-2],i=f[k-1],j=f[k]}else{var l=spine.Animation.binarySearch(f,c,5),m=f[l-4],n=f[l-3],o=f[l-2],p=f[l-1],q=f[l],r=1-(c-q)/(f[l-5]-q);r=this.curves.getCurvePercent(l/5-1,r),g=m+(f[l+1]-m)*r,h=n+(f[l+2]-n)*r,i=o+(f[l+3]-o)*r,j=p+(f[l+4]-p)*r}var s=a.slots[this.slotIndex];e<1?(s.r+=(g-s.r)*e,s.g+=(h-s.g)*e,s.b+=(i-s.b)*e,s.a+=(j-s.a)*e):(s.r=g,s.g=h,s.b=i,s.a=j)}}},spine.AttachmentTimeline=function(a){this.curves=new spine.Curves(a),this.frames=new spine.Float32Array(a),this.frames.length=a,this.attachmentNames=[],this.attachmentNames.length=a},spine.AttachmentTimeline.prototype={slotIndex:0,getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.attachmentNames[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(cc&&this.apply(a,b,Number.MAX_VALUE,null,0));b>c&&(b=-1);var g=c>=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;if(!(f[g]c)this.apply(a,b,Number.MAX_VALUE,d,e),b=-1;else if(b>=f[g-1])return;if(!(c0&&f[h-1]==i;)h--}for(var j=this.events;h=f[h];h++)d[d.length]=j[h]}}}},spine.DrawOrderTimeline=function(a){this.frames=new spine.Float32Array(a),this.frames.length=a,this.drawOrders=[],this.drawOrders.length=a},spine.DrawOrderTimeline.prototype={getFrameCount:function(){return this.frames.length},setFrame:function(a,b,c){this.frames[a]=b,this.drawOrders[a]=c},apply:function(a,b,c,d,e){var f=this.frames;if(!(c=f[f.length-1]?f.length-1:spine.Animation.binarySearch1(f,c)-1;var h=a.drawOrder,i=a.slots,j=this.drawOrders[g];if(j)for(var k=0,l=j.length;k=h[h.length-1]){var l=i[h.length-1];if(e<1)for(var m=0;m1?1:p);var q=i[n-1],r=i[n];if(e<1)for(var m=0;m=f[f.length-3])return g.mix+=(f[f.length-2]-g.mix)*e,void(g.bendDirection=f[f.length-1]);var h=spine.Animation.binarySearch(f,c,3),i=f[h+-2],j=f[h],k=1-(c-j)/(f[h+-3]-j);k=this.curves.getCurvePercent(h/3-1,k);var l=i+(f[h+1]-i)*k;g.mix+=(l-g.mix)*e,g.bendDirection=f[h+-1]}}},spine.SkeletonData=function(){this.bones=[],this.slots=[],this.skins=[],this.events=[],this.animations=[],this.ikConstraints=[],this.transformConstraints=[]},spine.SkeletonData.prototype={name:null,defaultSkin:null,width:0,height:0,version:null,hash:null,findBone:function(a){for(var b=this.bones,c=0,d=b.length;c=0;j--){var m=b[j];if(m==l.bone||m==l.target){b.splice(j+1,0,l);break}}},updateWorldTransform:function(){for(var a=this.cache,b=0,c=a.length;b=0&&this.setCurrent(b,e)):!c.loop&&c.lastTime>=c.endTime&&this.clearTrack(b)}}},apply:function(a){for(var b=0;bf&&(d=f);var h=c.previous;if(h){var i=h.time;!h.loop&&i>h.endTime&&(i=h.endTime),h.animation.apply(a,i,i,h.loop,null);var j=c.mixTime/c.mixDuration*c.mix;j>=1&&(j=1,c.previous=null),c.animation.mix(a,c.lastTime,d,g,this.events,j)}else 1==c.mix?c.animation.apply(a,c.lastTime,d,g,this.events):c.animation.mix(a,c.lastTime,d,g,this.events,c.mix);for(var k=0,l=this.events.length;kd%f:e=f){var n=Math.floor(d/f);c.onComplete&&c.onComplete(b,n),this.onComplete&&this.onComplete(b,n)}c.lastTime=c.time}}},clearTracks:function(){for(var a=0,b=this.tracks.length;a=this.tracks.length)){var b=this.tracks[a];b&&(b.onEnd&&b.onEnd(a),this.onEnd&&this.onEnd(a),this.tracks[a]=null)}},_expandToIndex:function(a){if(a=this.tracks.length;)this.tracks[this.tracks.length]=null;return null},setCurrent:function(a,b){var c=this._expandToIndex(a);if(c){var d=c.previous;c.previous=null,c.onEnd&&c.onEnd(a),this.onEnd&&this.onEnd(a),b.mixDuration=this.data.getMix(c.animation,b.animation),b.mixDuration>0&&(b.mixTime=0,d&&c.mixTime/c.mixDuration<.5?b.previous=d:b.previous=c)}this.tracks[a]=b,b.onStart&&b.onStart(a),this.onStart&&this.onStart(a)},setAnimationByName:function(a,b,c){var d=this.data.skeletonData.findAnimation(b);if(!d)throw"Animation not found: "+b;return this.setAnimation(a,d,c)},setAnimation:function(a,b,c){var d=new spine.TrackEntry;return d.animation=b,d.loop=c,d.endTime=b.duration,this.setCurrent(a,d),d},addAnimationByName:function(a,b,c,d){var e=this.data.skeletonData.findAnimation(b);if(!e)throw"Animation not found: "+b;return this.addAnimation(a,e,c,d)},addAnimation:function(a,b,c,d){var e=new spine.TrackEntry;e.animation=b,e.loop=c,e.endTime=b.duration;var f=this._expandToIndex(a);if(f){for(;f.next;)f=f.next;f.next=e}else this.tracks[a]=e;return d<=0&&(f?d+=f.endTime-this.data.getMix(f.animation,b):d=0),e.delay=d,e},getCurrent:function(a){return a>=this.tracks.length?null:this.tracks[a]}},spine.SkeletonJson=function(a){this.attachmentLoader=a,this.linkedMeshes=[]},spine.SkeletonJson.prototype={scale:1,readSkeletonData:function(a,b){var c=new spine.SkeletonData;c.name=b;var d=a.skeleton;d&&(c.hash=d.hash,c.version=d.spine,c.width=d.width||0,c.height=d.height||0);for(var e=a.bones,f=0,g=e.length;f=0;T--)Y[T]=4294967295;var Z=X.offsets,$=new spine.Uint32Array(W-Z.length);$.length=W-Z.length;for(var _=0,aa=0,T=0,S=Z.length;T=0;T--)4294967295==Y[T]&&(Y[T]=$[--aa])}l.setFrame(m++,X.time,Y)}d[d.length]=l,e=Math.max(e,l.frames[l.getFrameCount()-1])}var ca=b.events;if(ca){for(var l=new spine.EventTimeline(ca.length),m=0,n=0,o=ca.length;n=this.lines.length?null:this.lines[this.index++]},readValue:function(){var a=this.readLine(),b=a.indexOf(":");if(b==-1)throw"Invalid line: "+a;return this.trim(a.substring(b+1))},readTuple:function(a){var b=this.readLine(),c=b.indexOf(":");if(c==-1)throw"Invalid line: "+b;for(var d=0,e=c+1;d<3;d++){var f=b.indexOf(",",e);if(f==-1)break;a[d]=this.trim(b.substr(e,f-e)),e=f+1}return a[d]=this.trim(b.substring(e)),d+1}},spine.AtlasAttachmentLoader=function(a){this.atlas=a},spine.AtlasAttachmentLoader.prototype={newRegionAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (region attachment: "+b+")";var e=new spine.RegionAttachment(b);return e.rendererObject=d,e.setUVs(d.u,d.v,d.u2,d.v2,d.rotate),e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (mesh attachment: "+b+")";var e=new spine.MeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newWeightedMeshAttachment:function(a,b,c){var d=this.atlas.findRegion(c);if(!d)throw"Region not found in atlas: "+c+" (weighted mesh attachment: "+b+")";var e=new spine.WeightedMeshAttachment(b);return e.rendererObject=d,e.regionU=d.u,e.regionV=d.v,e.regionU2=d.u2,e.regionV2=d.v2,e.regionRotate=d.rotate,e.regionOffsetX=d.offsetX,e.regionOffsetY=d.offsetY,e.regionWidth=d.width,e.regionHeight=d.height,e.regionOriginalWidth=d.originalWidth,e.regionOriginalHeight=d.originalHeight,e},newBoundingBoxAttachment:function(a,b){return new spine.BoundingBoxAttachment(b)}},spine.SkeletonBounds=function(){this.polygonPool=[],this.polygons=[],this.boundingBoxes=[]},spine.SkeletonBounds.prototype={minX:0,minY:0,maxX:0,maxY:0,update:function(a,b){var c=a.slots,d=c.length,e=a.x,f=a.y,g=this.boundingBoxes,h=this.polygonPool,i=this.polygons;g.length=0;for(var j=0,k=i.length;j0?(n=h[o-1],h.splice(o-1,1)):n=new spine.Float32Array,i[i.length]=n,n.length=m.vertices.length,m.computeWorldVertices(e,f,l.bone,n)}}b&&this.aabbCompute()},aabbCompute:function(){for(var a=this.polygons,b=Number.MAX_VALUE,c=Number.MAX_VALUE,d=-Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0,g=a.length;f=this.minX&&a<=this.maxX&&b>=this.minY&&b<=this.maxY},aabbIntersectsSegment:function(a,b,c,d){var e=this.minX,f=this.minY,g=this.maxX,h=this.maxY;if(a<=e&&c<=e||b<=f&&d<=f||a>=g&&c>=g||b>=h&&d>=h)return!1;var i=(d-b)/(c-a),j=i*(e-a)+b;if(j>f&&jf&&je&&ke&&ka.minX&&this.minYa.minY},containsPoint:function(a,b){for(var c=this.polygons,d=0,e=c.length;d=c||i=c){var j=a[g];j+(c-h)/(i-h)*(a[e]-j)=j&&s<=m||s>=m&&s<=j)&&(s>=b&&s<=d||s>=d&&s<=b)){var t=(i*q-h*o)/r;if((t>=k&&t<=n||t>=n&&t<=k)&&(t>=c&&t<=e||t>=e&&t<=c))return!0}j=m,k=n}return!1},getPolygon:function(a){var b=this.boundingBoxes.indexOf(a);return b==-1?null:this.polygons[b]},getWidth:function(){return this.maxX-this.minX},getHeight:function(){return this.maxY-this.minY}};var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserSpine;!function(a){var b=function(b){function c(a,c){var d=b.call(this,a,c)||this;return d.addSpineCache(),d.addSpineFactory(),d.addSpineLoader(),d}return __extends(c,b),c.prototype.addSpineLoader=function(){Phaser.Loader.prototype.spine=function(a,b,c){var d=this,e=a+"Atlas",f={atlas:e,basePath:""===b.substring(0,b.lastIndexOf("/"))?".":b.substring(0,b.lastIndexOf("/")),variants:void 0};void 0===c?c=[""]:f.variants=c,c.forEach(function(a){d.onFileComplete.add(function(b,c){if(c===e){new spine.Atlas(d.game.cache.getText(c),{load:function(b,c,e){d.image(c,f.basePath+"/"+c.substr(0,c.lastIndexOf("."))+a+".png")}})}}),d.text(e,b.substr(0,b.lastIndexOf("."))+a+".atlas")}),this.json(a,b),this.game.cache.addSpine(a,f)}},c.prototype.addSpineFactory=function(){Phaser.GameObjectFactory.prototype.spine=function(b,c,d,e,f){void 0===f&&(f=this.world);var g=new a.Spine(this.game,d,e);return g.setToSetupPose(),g.position.x=b,g.position.y=c,f.add(g)},Phaser.GameObjectCreator.prototype.spine=function(b,c,d,e,f){return new a.Spine(this.game,d,e)}},c.prototype.addSpineCache=function(){Phaser.Cache.prototype.spine={},Phaser.Cache.prototype.addSpine=function(a,b){this.spine[a]=b},Phaser.Cache.prototype.getSpine=function(a){return!this.spine.hasOwnProperty(a),this.spine[a]}},c}(Phaser.Plugin);b.RESOLUTION_REGEXP=/@(.+)x/,a.SpinePlugin=b}(PhaserSpine||(PhaserSpine={})),Phaser.Rope.prototype.postUpdate=function(){},spine.Bone.yDown=!0;var PhaserSpine;!function(a){var b=function(b){function c(c,d,e){var f=b.call(this,c)||this;f.imageScale=1;var g=f.game.cache.getSpine(d);void 0!==e&&g.variants.indexOf(e)!==-1?f.imageScale=f.getScaleFromVariant(e):g.variants&&g.variants.length>=1&&(f.imageScale=f.getScaleFromVariant(g.variants[0]));var h=new a.SpineTextureLoader(c),i=new spine.Atlas(c.cache.getText(g.atlas),h),j=new spine.AtlasAttachmentLoader(i),k=new spine.SkeletonJson(j);if(f.skeletonData=k.readSkeletonData(c.cache.getJSON(d)),!f.skeletonData)throw new Error("Spine data must be preloaded using Loader.spine");f.onEvent=new Phaser.Signal,f.onComplete=new Phaser.Signal,f.onEnd=new Phaser.Signal,f.skeleton=new spine.Skeleton(f.skeletonData),f.skeleton.updateWorldTransform(),f.stateData=new spine.AnimationStateData(f.skeletonData),f.state=new spine.AnimationState(f.stateData),f.state.onEvent=f.onEvent.dispatch.bind(f.onEvent),f.state.onComplete=f.onComplete.dispatch.bind(f.onComplete),f.state.onEnd=f.onEnd.dispatch.bind(f.onEnd),f.slotContainers=[];for(var l=0,m=f.skeleton.slots.length;l=0&&i<=1&&j>=0&&j<=1}},{"./Scalar":4}],2:[function(a,b,c){function d(){}b.exports=d,d.area=function(a,b,c){return(b[0]-a[0])*(c[1]-a[1])-(c[0]-a[0])*(b[1]-a[1])},d.left=function(a,b,c){return d.area(a,b,c)>0},d.leftOn=function(a,b,c){return d.area(a,b,c)>=0},d.right=function(a,b,c){return d.area(a,b,c)<0},d.rightOn=function(a,b,c){return d.area(a,b,c)<=0};var e=[],f=[];d.collinear=function(a,b,c,g){if(g){var h=e,i=f;h[0]=b[0]-a[0],h[1]=b[1]-a[1],i[0]=c[0]-b[0],i[1]=c[1]-b[1];var j=h[0]*i[0]+h[1]*i[1],k=Math.sqrt(h[0]*h[0]+h[1]*h[1]),l=Math.sqrt(i[0]*i[0]+i[1]*i[1]),m=Math.acos(j/(k*l));return ma.vertices.length)throw new Error("lol2");if(b<0)throw new Error("lol3");for(var d=b;db[a][0])&&(a=c);g.left(this.at(a-1),this.at(a),this.at(a+1))||this.reverse()},d.prototype.reverse=function(){for(var a=[],b=0,c=this.vertices.length;b!==c;b++)a.push(this.vertices.pop());this.vertices=a},d.prototype.isReflex=function(a){return g.right(this.at(a-1),this.at(a),this.at(a+1))};var i=[],j=[];d.prototype.canSee=function(a,b){var c,d,e=i,h=j;if(g.leftOn(this.at(a+1),this.at(a),this.at(b))&&g.rightOn(this.at(a-1),this.at(a),this.at(b)))return!1;d=g.sqdist(this.at(a),this.at(b));for(var k=0;k!==this.vertices.length;++k)if((k+1)%this.vertices.length!==a&&k!==a&&g.leftOn(this.at(a),this.at(b),this.at(k+1))&&g.rightOn(this.at(a),this.at(b),this.at(k))&&(e[0]=this.at(a),e[1]=this.at(b),h[0]=this.at(k),h[1]=this.at(k+1),c=f.lineInt(e,h),g.sqdist(this.at(a),c)0?this.slice(a):[this]},d.prototype.slice=function(a){if(0==a.length)return[this];if(a instanceof Array&&a.length&&a[0]instanceof Array&&2==a[0].length&&a[0][0]instanceof Array){for(var b=[this],c=0;ch)return console.warn("quickDecomp: max level ("+h+") reached."),a;for(var x=0;xq&&(q+=this.vertices.length),p=Number.MAX_VALUE,q3&&c>=0;--c)g.collinear(this.at(c-1),this.at(c),this.at(c+1),a)&&(this.vertices.splice(c%this.vertices.length,1),c--,b++);return b}},{"./Line":1,"./Point":2,"./Scalar":4}],4:[function(a,b,c){function d(){}b.exports=d,d.eq=function(a,b,c){return c=c||0,Math.abs(a-b) (http://steffe.se)",keywords:["p2.js","p2","physics","engine","2d"],main:"./src/p2.js",engines:{node:"*"},repository:{type:"git",url:"https://github.com/schteppe/p2.js.git"},bugs:{url:"https://github.com/schteppe/p2.js/issues"},licenses:[{type:"MIT"}],devDependencies:{grunt:"^0.4.5","grunt-contrib-jshint":"^0.11.2","grunt-contrib-nodeunit":"^0.4.1","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.5.0","grunt-browserify":"~2.0.1","grunt-contrib-concat":"^0.4.0"},dependencies:{"poly-decomp":"0.1.0"}}},{}],7:[function(a,b,c){function d(a){this.lowerBound=e.create(),a&&a.lowerBound&&e.copy(this.lowerBound,a.lowerBound),this.upperBound=e.create(),a&&a.upperBound&&e.copy(this.upperBound,a.upperBound)}var e=a("../math/vec2");a("../utils/Utils");b.exports=d;var f=e.create();d.prototype.setFromPoints=function(a,b,c,d){var g=this.lowerBound,h=this.upperBound;"number"!=typeof c&&(c=0),0!==c?e.rotate(g,a[0],c):e.copy(g,a[0]),e.copy(h,g);for(var i=Math.cos(c),j=Math.sin(c),k=1;kh[o]&&(h[o]=l[o]),l[o]c&&(this.lowerBound[b]=c);var d=a.upperBound[b];this.upperBound[b]i?-1:h}},{"../math/vec2":30,"../utils/Utils":57}],8:[function(a,b,c){function d(a){this.type=a,this.result=[],this.world=null,this.boundingVolumeType=d.AABB}var e=a("../math/vec2"),f=a("../objects/Body");b.exports=d,d.AABB=1,d.BOUNDING_CIRCLE=2,d.prototype.setWorld=function(a){this.world=a},d.prototype.getCollisionPairs=function(a){};var g=e.create();d.boundingRadiusCheck=function(a,b){e.sub(g,a.position,b.position);var c=e.squaredLength(g),d=a.boundingRadius+b.boundingRadius;return c<=d*d},d.aabbCheck=function(a,b){return a.getAABB().overlaps(b.getAABB())},d.prototype.boundingVolumeCheck=function(a,b){var c;switch(this.boundingVolumeType){case d.BOUNDING_CIRCLE:c=d.boundingRadiusCheck(a,b);break;case d.AABB:c=d.aabbCheck(a,b);break;default:throw new Error("Bounding volume type not recognized: "+this.boundingVolumeType)}return c},d.canCollide=function(a,b){var c=f.KINEMATIC,d=f.STATIC;return(a.type!==d||b.type!==d)&&(!(a.type===c&&b.type===d||a.type===d&&b.type===c)&&((a.type!==c||b.type!==c)&&((a.sleepState!==f.SLEEPING||b.sleepState!==f.SLEEPING)&&!(a.sleepState===f.SLEEPING&&b.type===d||b.sleepState===f.SLEEPING&&a.type===d))))},d.NAIVE=1,d.SAP=2},{"../math/vec2":30,"../objects/Body":31}],9:[function(a,b,c){function d(){e.call(this,e.NAIVE)}var e=(a("../shapes/Circle"),a("../shapes/Plane"),a("../shapes/Shape"),a("../shapes/Particle"),a("../collision/Broadphase"));a("../math/vec2");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.getCollisionPairs=function(a){var b=a.bodies,c=this.result;c.length=0;for(var d=0,f=b.length;d!==f;d++)for(var g=b[d],h=0;hW&&V0)for(var N=0;NMath.pow(p,2))return 0;if(l)return!0;var q=this.createContactEquation(a,e,b,f);return h(q.normalA,j,c),g.normalize(q.normalA,q.normalA),g.scale(q.contactPointA,q.normalA,m),g.scale(q.contactPointB,q.normalA,-n),i(q.contactPointA,q.contactPointA,c),h(q.contactPointA,q.contactPointA,a.position),i(q.contactPointB,q.contactPointB,j),h(q.contactPointB,q.contactPointB,e.position),this.contactEquations.push(q),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(q)),1},d.prototype[q.PLANE|q.CONVEX]=d.prototype[q.PLANE|q.BOX]=d.prototype.planeConvex=function(a,b,c,d,e,f,k,l,m){var n=t,o=u,p=v,q=0;g.rotate(o,s,d);for(var r=0;r!==f.vertices.length;r++){var w=f.vertices[r];if(g.rotate(n,w,l),i(n,n,k),h(p,n,c),j(p,o)<=0){if(m)return!0;q++;var x=this.createContactEquation(a,e,b,f);h(p,n,c),g.copy(x.normalA,o);var y=j(p,x.normalA);g.scale(p,x.normalA,y),h(x.contactPointB,n,e.position),h(x.contactPointA,n,p),h(x.contactPointA,x.contactPointA,a.position),this.contactEquations.push(x),this.enableFrictionReduction||this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(x))}}return this.enableFrictionReduction&&this.enableFriction&&q&&this.frictionEquations.push(this.createFrictionFromAverage(q)),q},d.prototype[q.PARTICLE|q.PLANE]=d.prototype.particlePlane=function(a,b,c,d,e,f,i,k,l){var m=t,n=u;k=k||0,h(m,c,i),g.rotate(n,s,k);var o=j(m,n);if(o>0)return 0;if(l)return!0;var p=this.createContactEquation(e,a,f,b);return g.copy(p.normalA,n),g.scale(m,p.normalA,o),h(p.contactPointA,c,m),h(p.contactPointA,p.contactPointA,e.position),h(p.contactPointB,c,a.position),this.contactEquations.push(p),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(p)),1},d.prototype[q.CIRCLE|q.PARTICLE]=d.prototype.circleParticle=function(a,b,c,d,e,f,j,k,l){var m=t;if(h(m,j,c),g.squaredLength(m)>Math.pow(b.radius,2))return 0;if(l)return!0;var n=this.createContactEquation(a,e,b,f);return g.copy(n.normalA,m),g.normalize(n.normalA,n.normalA),g.scale(n.contactPointA,n.normalA,b.radius),i(n.contactPointA,n.contactPointA,c),h(n.contactPointA,n.contactPointA,a.position),h(n.contactPointB,j,e.position),this.contactEquations.push(n),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(n)),1};var X=new o({radius:1}),Y=g.create(),Z=g.create();g.create();d.prototype[q.PLANE|q.CAPSULE]=d.prototype.planeCapsule=function(a,b,c,d,e,f,h,j,k){var l=Y,m=Z,n=X;g.set(l,-f.length/2,0),g.rotate(l,l,j),i(l,l,h),g.set(m,f.length/2,0),g.rotate(m,m,j),i(m,m,h),n.radius=f.radius;var o;this.enableFrictionReduction&&(o=this.enableFriction,this.enableFriction=!1);var p=this.circlePlane(e,n,l,0,a,b,c,d,k),q=this.circlePlane(e,n,m,0,a,b,c,d,k);if(this.enableFrictionReduction&&(this.enableFriction=o),k)return p||q;var r=p+q;return this.enableFrictionReduction&&r&&this.frictionEquations.push(this.createFrictionFromAverage(r)),r},d.prototype[q.CIRCLE|q.PLANE]=d.prototype.circlePlane=function(a,b,c,d,e,f,k,l,m){var n=a,o=b,p=c,q=e,r=k,w=l;w=w||0;var x=t,y=u,z=v;h(x,p,r),g.rotate(y,s,w);var A=j(y,x);if(A>o.radius)return 0;if(m)return!0;var B=this.createContactEquation(q,n,f,b);return g.copy(B.normalA,y),g.scale(B.contactPointB,B.normalA,-o.radius),i(B.contactPointB,B.contactPointB,p),h(B.contactPointB,B.contactPointB,n.position),g.scale(z,B.normalA,A),h(B.contactPointA,x,z),i(B.contactPointA,B.contactPointA,r),h(B.contactPointA,B.contactPointA,q.position),this.contactEquations.push(B),this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(B)),1},d.prototype[q.CONVEX]=d.prototype[q.CONVEX|q.BOX]=d.prototype[q.BOX]=d.prototype.convexConvex=function(a,b,c,e,f,k,l,m,n,o){var p=t,q=u,r=v,s=w,y=x,C=z,D=A,E=B,F=0,o="number"==typeof o?o:0,G=d.findSeparatingAxis(b,c,e,k,l,m,p);if(!G)return 0;h(D,l,c),j(p,D)>0&&g.scale(p,p,-1);var H=d.getClosestEdge(b,e,p,!0),I=d.getClosestEdge(k,m,p);if(H===-1||I===-1)return 0;for(var J=0;J<2;J++){var K=H,L=I,M=b,N=k,O=c,P=l,Q=e,R=m,S=a,T=f;if(0===J){var U;U=K,K=L,L=U,U=M,M=N,N=U,U=O,O=P,P=U,U=Q,Q=R,R=U,U=S,S=T,T=U}for(var V=L;V=3){if(n)return!0;var aa=this.createContactEquation(S,T,M,N);F++;var Z=M.vertices[K%M.vertices.length],$=M.vertices[(K+1)%M.vertices.length];g.rotate(r,Z,Q),g.rotate(s,$,Q),i(r,r,O),i(s,s,O),h(y,s,r),g.rotate90cw(aa.normalA,y),g.normalize(aa.normalA,aa.normalA),h(D,q,r);var _=j(aa.normalA,D);g.scale(C,aa.normalA,_),h(aa.contactPointA,q,O),h(aa.contactPointA,aa.contactPointA,C),i(aa.contactPointA,aa.contactPointA,O),h(aa.contactPointA,aa.contactPointA,S.position),h(aa.contactPointB,q,P),i(aa.contactPointB,aa.contactPointB,P),h(aa.contactPointB,aa.contactPointB,T.position),this.contactEquations.push(aa),this.enableFrictionReduction||this.enableFriction&&this.frictionEquations.push(this.createFrictionFromContact(aa))}}}return this.enableFrictionReduction&&this.enableFriction&&F&&this.frictionEquations.push(this.createFrictionFromAverage(F)),F};var $=g.fromValues(0,0);d.projectConvexOntoAxis=function(a,b,c,d,e){var f,h,i=null,k=null,l=$;g.rotate(l,d,-c);for(var m=0;mi)&&(i=h),(null===k||hi){var n=k;k=i,i=n}var o=j(b,d);g.set(e,k+o,i+o)};var _=g.fromValues(0,0),aa=g.fromValues(0,0),ba=g.fromValues(0,0),ca=g.fromValues(0,0),da=g.fromValues(0,0),ea=g.fromValues(0,0);d.findSeparatingAxis=function(a,b,c,e,f,i,j){var k=null,l=!1,m=!1,n=_,o=aa,p=ba,q=ca,s=da,t=ea;if(a instanceof r&&e instanceof r)for(var u=0;2!==u;u++){var v=a,w=c;1===u&&(v=e,w=i);for(var x=0;2!==x;x++){0===x?g.set(q,0,1):1===x&&g.set(q,1,0),0!==w&&g.rotate(q,q,w),d.projectConvexOntoAxis(a,b,c,q,s),d.projectConvexOntoAxis(e,f,i,q,t);var y=s,z=t,A=!1;s[0]>t[0]&&(z=s,y=t,A=!0);var B=z[0]-y[1];l=B<=0,(null===k||B>k)&&(g.copy(j,q),k=B,m=l)}}else for(var u=0;2!==u;u++){var v=a,w=c;1===u&&(v=e,w=i);for(var x=0;x!==v.vertices.length;x++){g.rotate(o,v.vertices[x],w),g.rotate(p,v.vertices[(x+1)%v.vertices.length],w),h(n,p,o),g.rotate90cw(q,n),g.normalize(q,q),d.projectConvexOntoAxis(a,b,c,q,s),d.projectConvexOntoAxis(e,f,i,q,t);var y=s,z=t,A=!1;s[0]>t[0]&&(z=s,y=t,A=!0);var B=z[0]-y[1];l=B<=0,(null===k||B>k)&&(g.copy(j,q),k=B,m=l)}}return m};var fa=g.fromValues(0,0),ga=g.fromValues(0,0),ha=g.fromValues(0,0);d.getClosestEdge=function(a,b,c,d){var e=fa,f=ga,i=ha;g.rotate(e,c,-b),d&&g.scale(e,e,-1);for(var k=-1,l=a.vertices.length,m=-1,n=0;n!==l;n++){h(f,a.vertices[(n+1)%l],a.vertices[n%l]),g.rotate90cw(i,f),g.normalize(i,i);var o=j(i,e);(k===-1||o>m)&&(k=n%l,m=o)}return k};var ia=g.create(),ja=g.create(),ka=g.create(),la=g.create(),ma=g.create(),na=g.create(),oa=g.create();d.prototype[q.CIRCLE|q.HEIGHTFIELD]=d.prototype.circleHeightfield=function(a,b,c,d,e,f,j,k,l,m){var n=f.heights,m=m||b.radius,o=f.elementWidth,p=ja,q=ia,r=ma,s=oa,t=na,u=ka,v=la,w=Math.floor((c[0]-m-j[0])/o),x=Math.ceil((c[0]+m-j[0])/o);w<0&&(w=0),x>=n.length&&(x=n.length-1);for(var y=n[w],z=n[x],A=w;Ay&&(y=n[A]);if(c[1]-m>y)return!l&&0;for(var B=!1,A=w;A=u[0]&&q[0]0)for(var A=w;A<=x;A++)if(g.set(u,A*o,n[A]),g.add(u,u,j),g.sub(p,c,u),g.squaredLength(p)=k.length&&(r=k.length-1);for(var s=k[q],t=k[r],u=q;us&&(s=k[u]);if(a.aabb.lowerBound[1]>s)return!j&&0;for(var v=0,u=q;u=0||f.containsPoint(this.from))&&this.intersectBody(a,e)}};var g=f.create();d.prototype.intersectBody=function(a,b){var c=this.checkCollisionResponse;if(!c||b.collisionResponse)for(var d=g,e=0,h=b.shapes.length;eb.boundingRadius*b.boundingRadius||(this._currentBody=f,this._currentShape=b,b.raycast(a,this,d,c),this._currentBody=this._currentShape=null)},d.prototype.getAABB=function(a){var b=this.to,c=this.from;f.set(a.lowerBound,Math.min(b[0],c[0]),Math.min(b[1],c[1])),f.set(a.upperBound,Math.max(b[0],c[0]),Math.max(b[1],c[1]))};f.create();d.prototype.reportIntersection=function(a,b,c,e){var g=(this.from,this.to,this._currentShape),h=this._currentBody;if(!(this.skipBackfaces&&f.dot(c,this.direction)>0))switch(this.mode){case d.ALL:a.set(c,g,h,b,e),this.callback(a);break;case d.CLOSEST:(b=0&&!(a[f].aabb.lowerBound[b]<=e.aabb.lowerBound[b]);f--)a[f+1]=a[f];a[f+1]=e}return a},d.prototype.sortList=function(){var a=this.axisList,b=this.axisIndex;d.sortAxisList(a,b)},d.prototype.getCollisionPairs=function(a){var b=this.axisList,c=this.result,d=this.axisIndex;c.length=0;for(var e=b.length;e--;){var g=b[e];g.aabbNeedsUpdate&&g.updateAABB()}this.sortList();for(var h=0,i=0|b.length;h!==i;h++)for(var j=b[h],k=h+1;kthis.upperLimit&&(f.maxForce=0,f.minForce=-this.maxForce,this.distance=this.upperLimit,l=!0),this.lowerLimitEnabled&&this.positionc)h.scale(e.normalA,j,-1),h.sub(e.contactPointA,k,g.position),h.sub(e.contactPointB,l,i.position),h.scale(o,j,c),h.add(e.contactPointA,e.contactPointA,o),a.indexOf(e)===-1&&a.push(e);else{var u=a.indexOf(e);u!==-1&&a.splice(u,1)}if(this.lowerLimitEnabled&&sh)o.angle=h,e.indexOf(o)===-1&&e.push(o);else{var r=e.indexOf(o);r!==-1&&e.splice(r,1)}if(this.lowerLimitEnabled&&q>1;if(b<3)return[];for(var c=[],e=[],f=0;f3;){var h=e[(f+0)%g],i=e[(f+1)%g],j=e[(f+2)%g],k=a[2*h],l=a[2*h+1],m=a[2*i],n=a[2*i+1],o=a[2*j],p=a[2*j+1],q=!1;if(d._convex(k,l,m,n,o,p)){q=!0;for(var r=0;r3*g)break}return c.push(e[0],e[1],e[2]),c},d._PointInTriangle=function(a,b,c,d,e,f,g,h){var i=g-c,j=h-d,k=e-c,l=f-d,m=a-c,n=b-d,o=i*i+j*j,p=i*k+j*l,q=i*m+j*n,r=k*k+l*l,s=k*m+l*n,t=1/(o*r-p*p),u=(r*q-p*s)*t,v=(o*s-p*q)*t;return u>=0&&v>=0&&u+v<1},d._convex=function(a,b,c,d,e,f){return(b-d)*(e-c)+(c-a)*(f-d)>=0},b.exports=d},{}],30:[function(a,b,c){var d=b.exports={},e=a("../utils/Utils");d.crossLength=function(a,b){return a[0]*b[1]-a[1]*b[0]},d.crossVZ=function(a,b,c){return d.rotate(a,b,-Math.PI/2),d.scale(a,a,c),a},d.crossZV=function(a,b,c){return d.rotate(a,c,Math.PI/2),d.scale(a,a,b),a},d.rotate=function(a,b,c){if(0!==c){var d=Math.cos(c),e=Math.sin(c),f=b[0],g=b[1];a[0]=d*f-e*g,a[1]=e*f+d*g}else a[0]=b[0],a[1]=b[1]},d.rotate90cw=function(a,b){var c=b[0],d=b[1];a[0]=d,a[1]=-c},d.toLocalFrame=function(a,b,c,e){d.copy(a,b),d.sub(a,a,c),d.rotate(a,a,-e)},d.toGlobalFrame=function(a,b,c,e){d.copy(a,b),d.rotate(a,a,e),d.add(a,a,c)},d.vectorToLocalFrame=function(a,b,c){d.rotate(a,b,-c)},d.vectorToGlobalFrame=function(a,b,c){d.rotate(a,b,c)},d.centroid=function(a,b,c,e){return d.add(a,b,c),d.add(a,a,e),d.scale(a,a,1/3),a},d.create=function(){var a=new e.ARRAY_TYPE(2);return a[0]=0,a[1]=0,a},d.clone=function(a){var b=new e.ARRAY_TYPE(2);return b[0]=a[0],b[1]=a[1],b},d.fromValues=function(a,b){var c=new e.ARRAY_TYPE(2);return c[0]=a,c[1]=b,c},d.copy=function(a,b){return a[0]=b[0],a[1]=b[1],a},d.set=function(a,b,c){return a[0]=b,a[1]=c,a},d.add=function(a,b,c){return a[0]=b[0]+c[0],a[1]=b[1]+c[1],a},d.subtract=function(a,b,c){return a[0]=b[0]-c[0],a[1]=b[1]-c[1],a},d.sub=d.subtract,d.multiply=function(a,b,c){return a[0]=b[0]*c[0],a[1]=b[1]*c[1],a},d.mul=d.multiply,d.divide=function(a,b,c){return a[0]=b[0]/c[0],a[1]=b[1]/c[1],a},d.div=d.divide,d.scale=function(a,b,c){return a[0]=b[0]*c,a[1]=b[1]*c,a},d.distance=function(a,b){var c=b[0]-a[0],d=b[1]-a[1];return Math.sqrt(c*c+d*d)},d.dist=d.distance,d.squaredDistance=function(a,b){var c=b[0]-a[0],d=b[1]-a[1];return c*c+d*d},d.sqrDist=d.squaredDistance,d.length=function(a){var b=a[0],c=a[1];return Math.sqrt(b*b+c*c)},d.len=d.length,d.squaredLength=function(a){var b=a[0],c=a[1];return b*b+c*c},d.sqrLen=d.squaredLength,d.negate=function(a,b){return a[0]=-b[0],a[1]=-b[1],a},d.normalize=function(a,b){var c=b[0],d=b[1],e=c*c+d*d;return e>0&&(e=1/Math.sqrt(e),a[0]=b[0]*e,a[1]=b[1]*e),a},d.dot=function(a,b){return a[0]*b[0]+a[1]*b[1]},d.str=function(a){return"vec2("+a[0]+", "+a[1]+")"},d.lerp=function(a,b,c,d){var e=b[0],f=b[1];return a[0]=e+d*(c[0]-e),a[1]=f+d*(c[1]-f),a},d.reflect=function(a,b,c){var d=b[0]*c[0]+b[1]*c[1];a[0]=b[0]-2*c[0]*d,a[1]=b[1]-2*c[1]*d},d.getLineSegmentsIntersection=function(a,b,c,e,f){var g=d.getLineSegmentsIntersectionFraction(b,c,e,f);return!(g<0)&&(a[0]=b[0]+g*(c[0]-b[0]),a[1]=b[1]+g*(c[1]-b[1]),!0)},d.getLineSegmentsIntersectionFraction=function(a,b,c,d){var e,f,g=b[0]-a[0],h=b[1]-a[1],i=d[0]-c[0],j=d[1]-c[1];return e=(-h*(a[0]-c[0])+g*(a[1]-c[1]))/(-i*h+g*j),f=(i*(a[1]-c[1])-j*(a[0]-c[0]))/(-i*h+g*j),e>=0&&e<=1&&f>=0&&f<=1?f:-1}},{"../utils/Utils":57}],31:[function(a,b,c){function d(a){a=a||{},k.call(this),this.id=a.id||++d._idCounter,this.world=null,this.shapes=[],this.mass=a.mass||0,this.invMass=0,this.inertia=0,this.invInertia=0,this.invMassSolve=0,this.invInertiaSolve=0,this.fixedRotation=!!a.fixedRotation,this.fixedX=!!a.fixedX,this.fixedY=!!a.fixedY,this.massMultiplier=e.create(),this.position=e.fromValues(0,0),a.position&&e.copy(this.position,a.position),this.interpolatedPosition=e.fromValues(0,0),this.interpolatedAngle=0,this.previousPosition=e.fromValues(0,0),this.previousAngle=0,this.velocity=e.fromValues(0,0),a.velocity&&e.copy(this.velocity,a.velocity),this.vlambda=e.fromValues(0,0),this.wlambda=0,this.angle=a.angle||0,this.angularVelocity=a.angularVelocity||0,this.force=e.create(),a.force&&e.copy(this.force,a.force),this.angularForce=a.angularForce||0,this.damping="number"==typeof a.damping?a.damping:.1,this.angularDamping="number"==typeof a.angularDamping?a.angularDamping:.1,this.type=d.STATIC,"undefined"!=typeof a.type?this.type=a.type:a.mass?this.type=d.DYNAMIC:this.type=d.STATIC,this.boundingRadius=0,this.aabb=new j,this.aabbNeedsUpdate=!0,this.allowSleep=void 0===a.allowSleep||a.allowSleep, +this.wantsToSleep=!1,this.sleepState=d.AWAKE,this.sleepSpeedLimit=void 0!==a.sleepSpeedLimit?a.sleepSpeedLimit:.2,this.sleepTimeLimit=void 0!==a.sleepTimeLimit?a.sleepTimeLimit:1,this.gravityScale=void 0!==a.gravityScale?a.gravityScale:1,this.collisionResponse=void 0===a.collisionResponse||a.collisionResponse,this.idleTime=0,this.timeLastSleepy=0,this.ccdSpeedThreshold=void 0!==a.ccdSpeedThreshold?a.ccdSpeedThreshold:-1,this.ccdIterations=void 0!==a.ccdIterations?a.ccdIterations:10,this.concavePath=null,this._wakeUpAfterNarrowphase=!1,this.updateMassProperties()}var e=a("../math/vec2"),f=a("poly-decomp"),g=a("../shapes/Convex"),h=a("../collision/RaycastResult"),i=a("../collision/Ray"),j=a("../collision/AABB"),k=a("../events/EventEmitter");b.exports=d,d.prototype=new k,d.prototype.constructor=d,d._idCounter=0,d.prototype.updateSolveMassProperties=function(){this.sleepState===d.SLEEPING||this.type===d.KINEMATIC?(this.invMassSolve=0,this.invInertiaSolve=0):(this.invMassSolve=this.invMass,this.invInertiaSolve=this.invInertia)},d.prototype.setDensity=function(a){var b=this.getArea();this.mass=b*a,this.updateMassProperties()},d.prototype.getArea=function(){for(var a=0,b=0;bc&&(c=g+h)}this.boundingRadius=c},d.prototype.addShape=function(a,b,c){if(a.body)throw new Error("A shape can only be added to one body.");a.body=this,b?e.copy(a.position,b):e.set(a.position,0,0),a.angle=c||0,this.shapes.push(a),this.updateMassProperties(),this.updateBoundingRadius(),this.aabbNeedsUpdate=!0},d.prototype.removeShape=function(a){var b=this.shapes.indexOf(a);return b!==-1&&(this.shapes.splice(b,1),this.aabbNeedsUpdate=!0,a.body=null,!0)},d.prototype.updateMassProperties=function(){if(this.type===d.STATIC||this.type===d.KINEMATIC)this.mass=Number.MAX_VALUE,this.invMass=0,this.inertia=Number.MAX_VALUE,this.invInertia=0;else{var a=this.shapes,b=a.length,c=this.mass/b,f=0;if(this.fixedRotation)this.inertia=Number.MAX_VALUE,this.invInertia=0;else{for(var g=0;g0?1/f:0}this.invMass=1/this.mass,e.set(this.massMultiplier,this.fixedX?0:1,this.fixedY?0:1)}};e.create();d.prototype.applyForce=function(a,b){if(e.add(this.force,this.force,a),b){var c=e.crossLength(b,a);this.angularForce+=c}};var n=e.create(),o=e.create(),p=e.create();d.prototype.applyForceLocal=function(a,b){b=b||p;var c=n,d=o;this.vectorToWorldFrame(c,a),this.vectorToWorldFrame(d,b),this.applyForce(c,d)};var q=e.create();d.prototype.applyImpulse=function(a,b){if(this.type===d.DYNAMIC){var c=q;if(e.scale(c,a,this.invMass),e.multiply(c,this.massMultiplier,c),e.add(this.velocity,c,this.velocity),b){var f=e.crossLength(b,a);f*=this.invInertia,this.angularVelocity+=f}}};var r=e.create(),s=e.create(),t=e.create();d.prototype.applyImpulseLocal=function(a,b){b=b||t;var c=r,d=s;this.vectorToWorldFrame(c,a),this.vectorToWorldFrame(d,b),this.applyImpulse(c,d)},d.prototype.toLocalFrame=function(a,b){e.toLocalFrame(a,b,this.position,this.angle)},d.prototype.toWorldFrame=function(a,b){e.toGlobalFrame(a,b,this.position,this.angle)},d.prototype.vectorToLocalFrame=function(a,b){e.vectorToLocalFrame(a,b,this.angle)},d.prototype.vectorToWorldFrame=function(a,b){e.vectorToGlobalFrame(a,b,this.angle)},d.prototype.fromPolygon=function(a,b){b=b||{};for(var c=this.shapes.length;c>=0;--c)this.removeShape(this.shapes[c]);var d=new f.Polygon;if(d.vertices=a,d.makeCCW(),"number"==typeof b.removeCollinearPoints&&d.removeCollinearPoints(b.removeCollinearPoints),"undefined"==typeof b.skipSimpleCheck&&!d.isSimple())return!1;this.concavePath=d.vertices.slice(0);for(var c=0;c=g?(this.idleTime=0,this.sleepState=d.AWAKE):(this.idleTime+=c,this.sleepState=d.SLEEPY),this.idleTime>this.sleepTimeLimit&&(b?this.wantsToSleep=!0:this.sleep())}},d.prototype.overlaps=function(a){return this.world.overlapKeeper.bodiesAreOverlapping(this,a)};var x=e.create(),y=e.create();d.prototype.integrate=function(a){var b=this.invMass,c=this.force,d=this.position,f=this.velocity;e.copy(this.previousPosition,this.position),this.previousAngle=this.angle,this.fixedRotation||(this.angularVelocity+=this.angularForce*this.invInertia*a),e.scale(x,c,a*b),e.multiply(x,this.massMultiplier,x),e.add(f,x,f),this.integrateToTimeOfImpact(a)||(e.scale(y,f,a),e.add(d,d,y),this.fixedRotation||(this.angle+=this.angularVelocity*a)),this.aabbNeedsUpdate=!0};var z=new h,A=new i({mode:i.ALL}),B=e.create(),C=e.create(),D=e.create(),E=e.create();d.prototype.integrateToTimeOfImpact=function(a){if(this.ccdSpeedThreshold<0||e.squaredLength(this.velocity)=j&&i=0&&(f.rotate(n,l,d),f.scale(n,n,2*r-1),b.reportIntersection(a,t,n,-1),a.shouldStop(b)))return}for(var u=Math.pow(this.radius,2)+Math.pow(q,2),r=0;r<2;r++){f.set(o,q*(2*r-1),0),f.toGlobalFrame(o,o,c,d);var v=Math.pow(g[0]-e[0],2)+Math.pow(g[1]-e[1],2),w=2*((g[0]-e[0])*(e[0]-o[0])+(g[1]-e[1])*(e[1]-o[1])),x=Math.pow(e[0]-o[0],2)+Math.pow(e[1]-o[1],2)-Math.pow(this.radius,2),t=Math.pow(w,2)-4*v*x;if(!(t<0))if(0===t){if(f.lerp(m,e,g,t),f.squaredDistance(m,c)>u&&(f.sub(n,m,o),f.normalize(n,n),b.reportIntersection(a,t,n,-1),a.shouldStop(b)))return}else{var y=Math.sqrt(t),z=1/(2*v),A=(-w-y)*z,B=(-w+y)*z;if(A>=0&&A<=1&&(f.lerp(m,e,g,A),f.squaredDistance(m,c)>u&&(f.sub(n,m,o),f.normalize(n,n),b.reportIntersection(a,A,n,-1),a.shouldStop(b))))return;if(B>=0&&B<=1&&(f.lerp(m,e,g,B),f.squaredDistance(m,c)>u&&(f.sub(n,m,o),f.normalize(n,n),b.reportIntersection(a,B,n,-1),a.shouldStop(b))))return}}}},{"../math/vec2":30,"./Shape":45}],39:[function(a,b,c){function d(a){"number"==typeof arguments[0]&&(a={radius:arguments[0]},console.warn("The Circle constructor signature has changed. Please use the following format: new Circle({ radius: 1 })")),a=a||{},this.radius=a.radius||1,a.type=e.CIRCLE,e.call(this,a)}var e=a("./Shape"),f=a("../math/vec2");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.computeMomentOfInertia=function(a){var b=this.radius;return a*b*b/2},d.prototype.updateBoundingRadius=function(){this.boundingRadius=this.radius},d.prototype.updateArea=function(){this.area=Math.PI*this.radius*this.radius},d.prototype.computeAABB=function(a,b,c){var d=this.radius;f.set(a.upperBound,d,d),f.set(a.lowerBound,-d,-d),b&&(f.add(a.lowerBound,a.lowerBound,b),f.add(a.upperBound,a.upperBound,b))};var g=f.create(),h=f.create();d.prototype.raycast=function(a,b,c,d){var e=b.from,i=b.to,j=this.radius,k=Math.pow(i[0]-e[0],2)+Math.pow(i[1]-e[1],2),l=2*((i[0]-e[0])*(e[0]-c[0])+(i[1]-e[1])*(e[1]-c[1])),m=Math.pow(e[0]-c[0],2)+Math.pow(e[1]-c[1],2)-Math.pow(j,2),n=Math.pow(l,2)-4*k*m,o=g,p=h;if(!(n<0))if(0===n)f.lerp(o,e,i,n),f.sub(p,o,c),f.normalize(p,p),b.reportIntersection(a,n,p,-1);else{var q=Math.sqrt(n),r=1/(2*k),s=(-l-q)*r,t=(-l+q)*r;if(s>=0&&s<=1&&(f.lerp(o,e,i,s),f.sub(p,o,c),f.normalize(p,p),b.reportIntersection(a,s,p,-1),a.shouldStop(b)))return;t>=0&&t<=1&&(f.lerp(o,e,i,t),f.sub(p,o,c),f.normalize(p,p),b.reportIntersection(a,t,p,-1))}}},{"../math/vec2":30,"./Shape":45}],40:[function(a,b,c){function d(a){Array.isArray(arguments[0])&&(a={vertices:arguments[0],axes:arguments[1]},console.warn("The Convex constructor signature has changed. Please use the following format: new Convex({ vertices: [...], ... })")),a=a||{},this.vertices=[];for(var b=void 0!==a.vertices?a.vertices:[],c=0;ce)&&(e=d),(null===g||de){var j=g;g=e,e=j}f.set(b,g,e)},d.prototype.projectOntoWorldAxis=function(a,b,c,d){var e=i;this.projectOntoLocalAxis(a,d),0!==c?f.rotate(e,a,c):e=a;var g=f.dot(b,e);f.set(d,d[0]+g,d[1]+g)},d.prototype.updateTriangles=function(){this.triangles.length=0;for(var a=[],b=0;bb&&(b=d)}this.boundingRadius=Math.sqrt(b)},d.triangleArea=function(a,b,c){return.5*((b[0]-a[0])*(c[1]-a[1])-(c[0]-a[0])*(b[1]-a[1]))},d.prototype.updateArea=function(){this.updateTriangles(),this.area=0;for(var a=this.triangles,b=this.vertices,c=0;c!==a.length;c++){var e=a[c],f=b[e[0]],g=b[e[1]],h=b[e[2]],i=d.triangleArea(f,g,h);this.area+=i}},d.prototype.computeAABB=function(a,b,c){a.setFromPoints(this.vertices,b,c,0)};var o=f.create(),p=f.create(),q=f.create();d.prototype.raycast=function(a,b,c,d){var e=o,g=p,h=q,i=this.vertices;f.toLocalFrame(e,b.from,c,d),f.toLocalFrame(g,b.to,c,d);for(var j=i.length,k=0;k=0&&(f.sub(h,m,l),f.rotate(h,h,-Math.PI/2+d),f.normalize(h,h),b.reportIntersection(a,n,h,k))}}},{"../math/polyk":29,"../math/vec2":30,"./Shape":45,"poly-decomp":5}],41:[function(a,b,c){function d(a){if(Array.isArray(arguments[0])){if(a={heights:arguments[0]},"object"==typeof arguments[1])for(var b in arguments[1])a[b]=arguments[1][b];console.warn("The Heightfield constructor signature has changed. Please use the following format: new Heightfield({ heights: [...], ... })")}a=a||{},this.heights=a.heights?a.heights.slice(0):[],this.maxValue=a.maxValue||null,this.minValue=a.minValue||null,this.elementWidth=a.elementWidth||.1,void 0!==a.maxValue&&void 0!==a.minValue||this.updateMaxMinValues(),a.type=e.HEIGHTFIELD,e.call(this,a)}var e=a("./Shape"),f=a("../math/vec2");a("../utils/Utils");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.updateMaxMinValues=function(){for(var a=this.heights,b=a[0],c=a[0],d=0;d!==a.length;d++){var e=a[d];e>b&&(b=e),es){var t=r;r=s,s=t}for(var u=0;u=0&&(f.sub(m,o,n),f.rotate(m,m,d+Math.PI/2),f.normalize(m,m),b.reportIntersection(a,v,m,-1),a.shouldStop(b)))return}}},{"../math/vec2":30,"../utils/Utils":57,"./Shape":45}],42:[function(a,b,c){function d(a){"number"==typeof arguments[0]&&(a={length:arguments[0]},console.warn("The Line constructor signature has changed. Please use the following format: new Line({ length: 1, ... })")),a=a||{},this.length=a.length||1,a.type=e.LINE,e.call(this,a)}var e=a("./Shape"),f=a("../math/vec2");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.computeMomentOfInertia=function(a){return a*Math.pow(this.length,2)/12},d.prototype.updateBoundingRadius=function(){this.boundingRadius=this.length/2};var g=[f.create(),f.create()];d.prototype.computeAABB=function(a,b,c){var d=this.length/2;f.set(g[0],-d,0),f.set(g[1],d,0),a.setFromPoints(g,b,c,0)};var h=(f.create(),f.create()),i=f.create(),j=f.create(),k=f.fromValues(0,1);d.prototype.raycast=function(a,b,c,d){var e=b.from,g=b.to,l=i,m=j,n=this.length/2;f.set(l,-n,0),f.set(m,n,0),f.toGlobalFrame(l,l,c,d),f.toGlobalFrame(m,m,c,d);var o=f.getLineSegmentsIntersectionFraction(l,m,e,g);if(o>=0){var p=h;f.rotate(p,k,d),b.reportIntersection(a,o,p,-1)}}},{"../math/vec2":30,"./Shape":45}],43:[function(a,b,c){function d(a){a=a||{},a.type=e.PARTICLE,e.call(this,a)}var e=a("./Shape"),f=a("../math/vec2");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.computeMomentOfInertia=function(a){return 0},d.prototype.updateBoundingRadius=function(){this.boundingRadius=0},d.prototype.computeAABB=function(a,b,c){f.copy(a.lowerBound,b),f.copy(a.upperBound,b)}},{"../math/vec2":30,"./Shape":45}],44:[function(a,b,c){function d(a){a=a||{},a.type=e.PLANE,e.call(this,a)}var e=a("./Shape"),f=a("../math/vec2");a("../utils/Utils");b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.computeMomentOfInertia=function(a){return 0},d.prototype.updateBoundingRadius=function(){this.boundingRadius=Number.MAX_VALUE},d.prototype.computeAABB=function(a,b,c){var d=c%(2*Math.PI),e=f.set,g=Number.MAX_VALUE,h=a.lowerBound,i=a.upperBound;0===d?(e(h,-g,-g),e(i,g,0)):d===Math.PI/2?(e(h,0,-g),e(i,g,g)):d===Math.PI?(e(h,-g,0),e(i,g,g)):d===3*Math.PI/2?(e(h,-g,-g),e(i,0,g)):(e(h,-g,-g),e(i,g,g)),f.add(h,h,b),f.add(i,i,b)},d.prototype.updateArea=function(){this.area=Number.MAX_VALUE};var g=f.create(),h=(f.create(),f.create(),f.create()),i=f.create();d.prototype.raycast=function(a,b,c,d){var e=b.from,j=b.to,k=b.direction,l=g,m=h,n=i;f.set(m,0,1),f.rotate(m,m,d),f.sub(n,e,c);var o=f.dot(n,m);f.sub(n,j,c);var p=f.dot(n,m);if(!(o*p>0||f.squaredDistance(e,j)n*h&&(p=n*h-l),f[a]+=p,b.addToWlambda(p),p}},{"../equations/FrictionEquation":23,"../math/vec2":30,"../utils/Utils":57,"./Solver":47}],47:[function(a,b,c){function d(a,b){a=a||{},e.call(this),this.type=b,this.equations=[],this.equationSortFunction=a.equationSortFunction||!1}var e=(a("../utils/Utils"),a("../events/EventEmitter"));b.exports=d,d.prototype=new e,d.prototype.constructor=d,d.prototype.solve=function(a,b){throw new Error("Solver.solve should be implemented by subclasses!")};var f={bodies:[]};d.prototype.solveIsland=function(a,b){this.removeAllEquations(),b.equations.length&&(this.addEquations(b.equations),f.bodies.length=0,b.getBodies(f.bodies),f.bodies.length&&this.solve(a,f))},d.prototype.sortEquations=function(){this.equationSortFunction&&this.equations.sort(this.equationSortFunction)},d.prototype.addEquation=function(a){a.enabled&&this.equations.push(a)},d.prototype.addEquations=function(a){for(var b=0,c=a.length;b!==c;b++){var d=a[b];d.enabled&&this.equations.push(d)}},d.prototype.removeEquation=function(a){var b=this.equations.indexOf(a);b!==-1&&this.equations.splice(b,1)},d.prototype.removeAllEquations=function(){this.equations.length=0},d.GS=1,d.ISLAND=2},{"../events/EventEmitter":26,"../utils/Utils":57}],48:[function(a,b,c){function d(){f.apply(this,arguments)}var e=a("../equations/ContactEquation"),f=a("./Pool");b.exports=d,d.prototype=new f,d.prototype.constructor=d,d.prototype.create=function(){return new e},d.prototype.destroy=function(a){return a.bodyA=a.bodyB=null,this}},{"../equations/ContactEquation":21,"./Pool":55}],49:[function(a,b,c){function d(){f.apply(this,arguments)}var e=a("../equations/FrictionEquation"),f=a("./Pool");b.exports=d,d.prototype=new f,d.prototype.constructor=d,d.prototype.create=function(){return new e},d.prototype.destroy=function(a){return a.bodyA=a.bodyB=null,this}},{"../equations/FrictionEquation":23,"./Pool":55}],50:[function(a,b,c){function d(){f.apply(this,arguments)}var e=a("../world/IslandNode"),f=a("./Pool");b.exports=d,d.prototype=new f,d.prototype.constructor=d,d.prototype.create=function(){return new e},d.prototype.destroy=function(a){return a.reset(),this}},{"../world/IslandNode":60,"./Pool":55}],51:[function(a,b,c){function d(){f.apply(this,arguments)}var e=a("../world/Island"),f=a("./Pool");b.exports=d,d.prototype=new f,d.prototype.constructor=d,d.prototype.create=function(){return new e},d.prototype.destroy=function(a){return a.reset(),this}},{"../world/Island":58,"./Pool":55}],52:[function(a,b,c){function d(){this.overlappingShapesLastState=new e,this.overlappingShapesCurrentState=new e,this.recordPool=new f({size:16}),this.tmpDict=new e,this.tmpArray1=[]}var e=a("./TupleDictionary"),f=(a("./OverlapKeeperRecord"),a("./OverlapKeeperRecordPool"));a("./Utils");b.exports=d,d.prototype.tick=function(){for(var a=this.overlappingShapesLastState,b=this.overlappingShapesCurrentState,c=a.keys.length;c--;){var d=a.keys[c],e=a.getByKey(d);b.getByKey(d);e&&this.recordPool.release(e)}a.reset(),a.copy(b),b.reset()},d.prototype.setOverlapping=function(a,b,c,d){var e=(this.overlappingShapesLastState,this.overlappingShapesCurrentState);if(!e.get(b.id,d.id)){var f=this.recordPool.get();f.set(a,b,c,d),e.set(b.id,d.id,f)}},d.prototype.getNewOverlaps=function(a){return this.getDiff(this.overlappingShapesLastState,this.overlappingShapesCurrentState,a)},d.prototype.getEndOverlaps=function(a){return this.getDiff(this.overlappingShapesCurrentState,this.overlappingShapesLastState,a)},d.prototype.bodiesAreOverlapping=function(a,b){for(var c=this.overlappingShapesCurrentState,d=c.keys.length;d--;){var e=c.keys[d],f=c.data[e];if(f.bodyA===a&&f.bodyB===b||f.bodyA===b&&f.bodyB===a)return!0}return!1},d.prototype.getDiff=function(a,b,c){var c=c||[],d=a,e=b;c.length=0;for(var f=e.keys.length;f--;){var g=e.keys[f],h=e.data[g];if(!h)throw new Error("Key "+g+" had no data!");var i=d.data[g];i||c.push(h)}return c},d.prototype.isNewOverlap=function(a,b){var c=0|a.id,d=0|b.id,e=this.overlappingShapesLastState,f=this.overlappingShapesCurrentState;return!e.get(c,d)&&!!f.get(c,d)},d.prototype.getNewBodyOverlaps=function(a){this.tmpArray1.length=0;var b=this.getNewOverlaps(this.tmpArray1);return this.getBodyDiff(b,a)},d.prototype.getEndBodyOverlaps=function(a){this.tmpArray1.length=0;var b=this.getEndOverlaps(this.tmpArray1);return this.getBodyDiff(b,a)},d.prototype.getBodyDiff=function(a,b){b=b||[];for(var c=this.tmpDict,d=a.length;d--;){var e=a[d];c.set(0|e.bodyA.id,0|e.bodyB.id,e)}for(d=c.keys.length;d--;){var e=c.getByKey(c.keys[d]);e&&b.push(e.bodyA,e.bodyB)}return c.reset(),b}},{"./OverlapKeeperRecord":53,"./OverlapKeeperRecordPool":54,"./TupleDictionary":56,"./Utils":57}],53:[function(a,b,c){function d(a,b,c,d){this.shapeA=b,this.shapeB=d,this.bodyA=a,this.bodyB=c}b.exports=d,d.prototype.set=function(a,b,c,e){d.call(this,a,b,c,e)}},{}],54:[function(a,b,c){function d(){f.apply(this,arguments)}var e=a("./OverlapKeeperRecord"),f=a("./Pool");b.exports=d,d.prototype=new f,d.prototype.constructor=d,d.prototype.create=function(){return new e},d.prototype.destroy=function(a){return a.bodyA=a.bodyB=a.shapeA=a.shapeB=null,this}},{"./OverlapKeeperRecord":53,"./Pool":55}],55:[function(a,b,c){function d(a){a=a||{},this.objects=[],void 0!==a.size&&this.resize(a.size)}b.exports=d,d.prototype.resize=function(a){for(var b=this.objects;b.length>a;)b.pop();for(;b.length(0|b)?a<<16|65535&b:b<<16|65535&a)},d.prototype.getByKey=function(a){return a=0|a,this.data[a]},d.prototype.get=function(a,b){return this.data[this.getKey(a,b)]},d.prototype.set=function(a,b,c){if(!c)throw new Error("No data!");var d=this.getKey(a,b);return this.data[d]||this.keys.push(d),this.data[d]=c,d},d.prototype.reset=function(){for(var a=this.data,b=this.keys,c=b.length;c--;)delete a[b[c]];b.length=0},d.prototype.copy=function(a){this.reset(),e.appendArray(this.keys,a.keys);for(var b=a.keys.length;b--;){var c=a.keys[b];this.data[c]=a.data[c]}}},{"./Utils":57}],57:[function(a,b,c){function d(){}b.exports=d,d.appendArray=function(a,b){if(b.length<15e4)a.push.apply(a,b);else for(var c=0,d=b.length;c!==d;++c)a.push(b[c])},d.splice=function(a,b,c){c=c||1;for(var d=b,e=a.length-c;d=a&&d=0;r-=2)for(var A=x.length-2;A>=0;A-=2)(z[r]===x[A]&&z[r+1]===x[A+1]||z[r+1]===x[A]&&z[r]===x[A+1])&&x.splice(A,2);var B=l.length;for(r=0;r!==B;r++){var C=l[r];if(!C.collideConnected)for(var A=x.length-2;A>=0;A-=2)(C.bodyA===x[A]&&C.bodyB===x[A+1]||C.bodyB===x[A]&&C.bodyA===x[A+1])&&x.splice(A,2)}this.postBroadphaseEvent.pairs=x,this.emit(this.postBroadphaseEvent),this.postBroadphaseEvent.pairs=null,k.reset(this);for(var r=0,D=x.length;r!==D;r+=2)for(var E=x[r],F=x[r+1],G=0,H=E.shapes.length;G!==H;G++)for(var I=E.shapes[G],J=I.position,K=I.angle,L=0,M=F.shapes.length;L!==M;L++){var N=F.shapes[L],O=N.position,P=N.angle,Q=this.defaultContactMaterial;if(I.material&&N.material){var R=this.getContactMaterial(I.material,N.material);R&&(Q=R)}this.runNarrowphase(k,E,I,J,K,F,N,O,P,Q,this.frictionGravity)}for(var r=0;r!==i;r++){var S=e[r];S._wakeUpAfterNarrowphase&&(S.wakeUp(),S._wakeUpAfterNarrowphase=!1)}if(this.has("endContact")){this.overlapKeeper.getEndOverlaps(y);for(var T=this.endContactEvent,L=y.length;L--;){var U=y[L];T.shapeA=U.shapeA,T.shapeB=U.shapeB,T.bodyA=U.bodyA,T.bodyB=U.bodyB,this.emit(T)}y.length=0}var V=this.preSolveEvent;V.contactEquations=k.contactEquations,V.frictionEquations=k.frictionEquations,this.emit(V),V.contactEquations=V.frictionEquations=null;var B=l.length;for(r=0;r!==B;r++)l[r].update();if(k.contactEquations.length||k.frictionEquations.length||B)if(this.islandSplit){for(p.equations.length=0,s.appendArray(p.equations,k.contactEquations),s.appendArray(p.equations,k.frictionEquations),r=0;r!==B;r++)s.appendArray(p.equations,l[r].equations);p.split(this);for(var r=0;r!==p.islands.length;r++){var W=p.islands[r];W.equations.length&&h.solveIsland(a,W)}}else{for(h.addEquations(k.contactEquations),h.addEquations(k.frictionEquations),r=0;r!==B;r++)h.addEquations(l[r].equations);this.solveConstraints&&h.solve(a,this),h.removeAllEquations()}for(var r=0;r!==i;r++){var S=e[r];S.integrate(a)}for(var r=0;r!==i;r++)e[r].setZeroForce();if(this.emitImpactEvent&&this.has("impact"))for(var X=this.impactEvent,r=0;r!==k.contactEquations.length;r++){var Y=k.contactEquations[r];Y.firstImpact&&(X.bodyA=Y.bodyA,X.bodyB=Y.bodyB,X.shapeA=Y.shapeA,X.shapeB=Y.shapeB,X.contactEquation=Y,this.emit(X))}if(this.sleepMode===d.BODY_SLEEPING)for(r=0;r!==i;r++)e[r].sleepTick(this.time,!1,a);else if(this.sleepMode===d.ISLAND_SLEEPING&&this.islandSplit){for(r=0;r!==i;r++)e[r].sleepTick(this.time,!0,a);for(var r=0;r0,a.frictionCoefficient=k.friction;var p;p=b.type===m.STATIC||b.type===m.KINEMATIC?g.mass:g.type===m.STATIC||g.type===m.KINEMATIC?b.mass:b.mass*g.mass/(b.mass+g.mass),a.slipForce=k.friction*l*p,a.restitution=k.restitution,a.surfaceVelocity=k.surfaceVelocity,a.frictionStiffness=k.frictionStiffness,a.frictionRelaxation=k.frictionRelaxation,a.stiffness=k.stiffness,a.relaxation=k.relaxation,a.contactSkinSize=k.contactSkinSize,a.enabledEquations=b.collisionResponse&&g.collisionResponse&&c.collisionResponse&&h.collisionResponse;var q=a[c.type|h.type],r=0;if(q){var s=c.sensor||h.sensor,t=a.frictionEquations.length;r=c.type=2*y&&(b._wakeUpAfterNarrowphase=!0)}if(g.allowSleep&&g.type===m.DYNAMIC&&g.sleepState===m.SLEEPING&&b.sleepState===m.AWAKE&&b.type!==m.STATIC){var z=f.squaredLength(b.velocity)+Math.pow(b.angularVelocity,2),A=Math.pow(b.sleepSpeedLimit,2);z>=2*A&&(g._wakeUpAfterNarrowphase=!0)}if(this.overlapKeeper.setOverlapping(b,c,g,h),this.has("beginContact")&&this.overlapKeeper.isNewOverlap(c,h)){var B=this.beginContactEvent;if(B.shapeA=c,B.shapeB=h,B.bodyA=b,B.bodyB=g,B.contactEquations.length=0,"number"==typeof r)for(var C=a.contactEquations.length-r;C1)for(var C=a.frictionEquations.length-u;C=0;b--)this.removeConstraint(a[b]);for(var c=this.bodies,b=c.length-1;b>=0;b--)this.removeBody(c[b]);for(var e=this.springs,b=e.length-1;b>=0;b--)this.removeSpring(e[b]);for(var f=this.contactMaterials,b=f.length-1;b>=0;b--)this.removeContactMaterial(f[b]);d.apply(this)};var z=f.create(),A=(f.fromValues(0,0),f.fromValues(0,0));d.prototype.hitTest=function(a,b,c){c=c||0;var d=new m({position:a}),e=new k,l=a,n=0,o=z,p=A;d.addShape(e);for(var q=this.narrowphase,r=[],s=0,t=b.length;s!==t;s++)for(var u=b[s],v=0,w=u.shapes.length;v!==w;v++){var x=u.shapes[v];f.rotate(o,x.position,u.angle),f.add(o,o,u.position);var y=x.angle+u.angle;(x instanceof g&&q.circleParticle(u,x,o,y,d,e,l,n,!0)||x instanceof h&&q.particleConvex(d,e,l,n,u,x,o,y,!0)||x instanceof i&&q.particlePlane(d,e,l,n,u,x,o,y,!0)||x instanceof j&&q.particleCapsule(d,e,l,n,u,x,o,y,!0)||x instanceof k&&f.squaredLength(f.sub(p,o,a))=0&&b<=this.children.length)return a.parent&&a.parent.removeChild(a),a.parent=this,this.children.splice(b,0,a),a;throw new Error(a+"addChildAt: The index "+b+" supplied is out of bounds "+this.children.length)},b.DisplayObjectContainer.prototype.swapChildren=function(a,b){if(a!==b){var c=this.getChildIndex(a),d=this.getChildIndex(b);if(c<0||d<0)throw new Error("swapChildren: Both the supplied DisplayObjects must be a child of the caller.");this.children[c]=b,this.children[d]=a}},b.DisplayObjectContainer.prototype.getChildIndex=function(a){var b=this.children.indexOf(a);if(b===-1)throw new Error("The supplied DisplayObject must be a child of the caller");return b},b.DisplayObjectContainer.prototype.setChildIndex=function(a,b){if(b<0||b>=this.children.length)throw new Error("The supplied index is out of bounds");var c=this.getChildIndex(a);this.children.splice(c,1),this.children.splice(b,0,a)},b.DisplayObjectContainer.prototype.getChildAt=function(a){if(a<0||a>=this.children.length)throw new Error("getChildAt: Supplied index "+a+" does not exist in the child list, or the supplied DisplayObject must be a child of the caller");return this.children[a]},b.DisplayObjectContainer.prototype.removeChild=function(a){var b=this.children.indexOf(a);if(b!==-1)return this.removeChildAt(b)},b.DisplayObjectContainer.prototype.removeChildAt=function(a){var b=this.getChildAt(a);return b&&(b.parent=void 0,this.children.splice(a,1)),b},b.DisplayObjectContainer.prototype.removeChildren=function(a,b){void 0===a&&(a=0),void 0===b&&(b=this.children.length);var c=b-a;if(c>0&&c<=b){for(var d=this.children.splice(begin,c),e=0;eh?l:h,m=m>i?m:i)}var p=this._bounds;if(!n){p=new b.Rectangle;var q=p.x,r=p.width+p.x,s=p.y,t=p.height+p.y,u=this.worldTransform,v=u.a,w=u.b,x=u.c,y=u.d,z=u.tx,A=u.ty,B=v*r+x*t+z,C=y*t+w*r+A,D=v*q+x*t+z,E=y*t+w*q+A,F=v*q+x*s+z,G=y*s+w*q+A,H=v*r+x*s+z,I=y*s+w*r+A;l=B,m=C,j=B,k=C,j=Dl?D:l,l=F>l?F:l,l=H>l?H:l,m=E>m?E:m,m=G>m?G:m,m=I>m?I:m}if(p.x=j,p.y=k,p.width=l-j,p.height=m-k,c)for(a.worldTransform=f,e=0;eo?t:o,o=v>o?v:o,o=x>o?x:o,o=z>o?z:o,p=u>p?u:p,p=w>p?w:p,p=y>p?y:p,p=A>p?A:p}var B=this._bounds;return B.x=q,B.width=o-q,B.y=r,B.height=p-r,this._currentBounds=B,B},b.Sprite.prototype.getLocalBounds=function(){var a=this.worldTransform;this.worldTransform=b.identityMatrix;for(var c=0;c>16&255)/255,(a>>8&255)/255,(255&a)/255]},b.rgb2hex=function(a){return(255*a[0]<<16)+(255*a[1]<<8)+255*a[2]},b.canUseNewCanvasBlendModes=function(){if(void 0===document)return!1;var a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABAQMAAADD8p2OAAAAA1BMVEX/",c="AAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==",d=new Image;d.src=a+"AP804Oa6"+c;var e=new Image;e.src=a+"/wCKxvRF"+c;var f=b.CanvasPool.create(this,6,1),g=f.getContext("2d");if(g.globalCompositeOperation="multiply",g.drawImage(d,0,0),g.drawImage(e,2,0),!g.getImageData(2,0,1,1))return!1;var h=g.getImageData(2,0,1,1).data;return b.CanvasPool.remove(this),255===h[0]&&0===h[1]&&0===h[2]},b.getNextPowerOfTwo=function(a){if(a>0&&0===(a&a-1))return a;for(var b=1;b0&&0===(a&a-1)&&b>0&&0===(b&b-1)},b.CanvasPool={create:function(a,c,d){var e,f=b.CanvasPool.getFirst();if(f===-1){var g={parent:a,canvas:document.createElement("canvas")};b.CanvasPool.pool.push(g),e=g.canvas}else b.CanvasPool.pool[f].parent=a,e=b.CanvasPool.pool[f].canvas;return void 0!==c&&(e.width=c,e.height=d),e},getFirst:function(){for(var a=b.CanvasPool.pool,c=0;c=this.size&&(this.flush(),this.currentBaseTexture=c.baseTexture);var e=c._uvs;if(e){var f,g,h,i,j=a.anchor.x,k=a.anchor.y;if(c.trim){var l=c.trim;g=l.x-j*l.width,f=g+c.crop.width,i=l.y-k*l.height,h=i+c.crop.height}else f=c.frame.width*(1-j),g=c.frame.width*-j,h=c.frame.height*(1-k),i=c.frame.height*-k;var m=4*this.currentBatchSize*this.vertSize,n=c.baseTexture.resolution,o=d.a/n,p=d.b/n,q=d.c/n,r=d.d/n,s=d.tx,t=d.ty,u=this.colors,v=this.positions;this.renderSession.roundPixels?(v[m]=o*g+q*i+s|0,v[m+1]=r*i+p*g+t|0,v[m+5]=o*f+q*i+s|0,v[m+6]=r*i+p*f+t|0,v[m+10]=o*f+q*h+s|0,v[m+11]=r*h+p*f+t|0,v[m+15]=o*g+q*h+s|0,v[m+16]=r*h+p*g+t|0):(v[m]=o*g+q*i+s,v[m+1]=r*i+p*g+t,v[m+5]=o*f+q*i+s,v[m+6]=r*i+p*f+t,v[m+10]=o*f+q*h+s,v[m+11]=r*h+p*f+t,v[m+15]=o*g+q*h+s,v[m+16]=r*h+p*g+t),v[m+2]=e.x0,v[m+3]=e.y0,v[m+7]=e.x1,v[m+8]=e.y1,v[m+12]=e.x2,v[m+13]=e.y2,v[m+17]=e.x3,v[m+18]=e.y3;var w=a.tint;u[m+4]=u[m+9]=u[m+14]=u[m+19]=(w>>16)+(65280&w)+((255&w)<<16)+(255*a.worldAlpha<<24),this.sprites[this.currentBatchSize++]=a}},b.WebGLSpriteBatch.prototype.renderTilingSprite=function(a){var c=a.tilingTexture;this.currentBatchSize>=this.size&&(this.flush(),this.currentBaseTexture=c.baseTexture),a._uvs||(a._uvs=new b.TextureUvs);var d=a._uvs,e=c.baseTexture.width,f=c.baseTexture.height;a.tilePosition.x%=e*a.tileScaleOffset.x,a.tilePosition.y%=f*a.tileScaleOffset.y;var g=a.tilePosition.x/(e*a.tileScaleOffset.x),h=a.tilePosition.y/(f*a.tileScaleOffset.y),i=a.width/e/(a.tileScale.x*a.tileScaleOffset.x),j=a.height/f/(a.tileScale.y*a.tileScaleOffset.y);d.x0=0-g,d.y0=0-h,d.x1=1*i-g,d.y1=0-h,d.x2=1*i-g,d.y2=1*j-h,d.x3=0-g,d.y3=1*j-h;var k=a.tint,l=(k>>16)+(65280&k)+((255&k)<<16)+(255*a.worldAlpha<<24),m=this.positions,n=this.colors,o=a.width,p=a.height,q=a.anchor.x,r=a.anchor.y,s=o*(1-q),t=o*-q,u=p*(1-r),v=p*-r,w=4*this.currentBatchSize*this.vertSize,x=c.baseTexture.resolution,y=a.worldTransform,z=y.a/x,A=y.b/x,B=y.c/x,C=y.d/x,D=y.tx,E=y.ty;m[w++]=z*t+B*v+D,m[w++]=C*v+A*t+E,m[w++]=d.x0,m[w++]=d.y0,n[w++]=l,m[w++]=z*s+B*v+D,m[w++]=C*v+A*s+E,m[w++]=d.x1,m[w++]=d.y1,n[w++]=l,m[w++]=z*s+B*u+D,m[w++]=C*u+A*s+E,m[w++]=d.x2,m[w++]=d.y2,n[w++]=l,m[w++]=z*t+B*u+D,m[w++]=C*u+A*t+E,m[w++]=d.x3,m[w++]=d.y3,n[w++]=l,this.sprites[this.currentBatchSize++]=a},b.WebGLSpriteBatch.prototype.flush=function(){if(0!==this.currentBatchSize){var a,c=this.gl;if(this.dirty){this.dirty=!1,c.activeTexture(c.TEXTURE0),c.bindBuffer(c.ARRAY_BUFFER,this.vertexBuffer),c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,this.indexBuffer),a=this.defaultShader.shaders[c.id];var d=4*this.vertSize;c.vertexAttribPointer(a.aVertexPosition,2,c.FLOAT,!1,d,0),c.vertexAttribPointer(a.aTextureCoord,2,c.FLOAT,!1,d,8),c.vertexAttribPointer(a.colorAttribute,4,c.UNSIGNED_BYTE,!0,d,16)}if(this.currentBatchSize>.5*this.size)c.bufferSubData(c.ARRAY_BUFFER,0,this.vertices);else{var e=this.positions.subarray(0,4*this.currentBatchSize*this.vertSize);c.bufferSubData(c.ARRAY_BUFFER,0,e)}for(var f,g,h,i,j=0,k=0,l=null,m=this.renderSession.blendModeManager.currentBlendMode,n=null,o=!1,p=!1,q=0,r=this.currentBatchSize;q0&&(s=!1),(l!==f&&!s||o||p)&&(this.renderBatch(l,j,k),k=q,j=0,l=f,o&&(m=g,this.renderSession.blendModeManager.setBlendMode(m)),p)){n=h,a=n.shaders[c.id],a||(a=new b.PixiShader(c),a.fragmentSrc=n.fragmentSrc,a.uniforms=n.uniforms,a.init(),n.shaders[c.id]=a),this.renderSession.shaderManager.setShader(a),a.dirty&&a.syncUniforms();var t=this.renderSession.projection;c.uniform2f(a.projectionVector,t.x,t.y);var u=this.renderSession.offset;c.uniform2f(a.offsetVector,u.x,u.y)}j++}this.renderBatch(l,j,k),this.currentBatchSize=0}},b.WebGLSpriteBatch.prototype.renderBatch=function(a,b,c){if(0!==b){var d=this.gl;if(a._dirty[d.id]){if(!this.renderSession.renderer.updateTexture(a))return}else d.bindTexture(d.TEXTURE_2D,a._glTextures[d.id]);d.drawElements(d.TRIANGLES,6*b,d.UNSIGNED_SHORT,6*c*2),this.renderSession.drawCount++}},b.WebGLSpriteBatch.prototype.stop=function(){this.flush(),this.dirty=!0},b.WebGLSpriteBatch.prototype.start=function(){this.dirty=!0},b.WebGLSpriteBatch.prototype.destroy=function(){this.vertices=null,this.indices=null,this.gl.deleteBuffer(this.vertexBuffer),this.gl.deleteBuffer(this.indexBuffer),this.currentBaseTexture=null,this.gl=null},b.WebGLFastSpriteBatch=function(a){this.vertSize=10,this.maxSize=6e3,this.size=this.maxSize;var c=4*this.size*this.vertSize,d=6*this.maxSize;this.vertices=new b.Float32Array(c),this.indices=new b.Uint16Array(d),this.vertexBuffer=null,this.indexBuffer=null,this.lastIndexCount=0;for(var e=0,f=0;e=this.size&&this.flush()}},b.WebGLFastSpriteBatch.prototype.flush=function(){if(0!==this.currentBatchSize){var a=this.gl;if(this.currentBaseTexture._glTextures[a.id]||this.renderSession.renderer.updateTexture(this.currentBaseTexture,a),a.bindTexture(a.TEXTURE_2D,this.currentBaseTexture._glTextures[a.id]),this.currentBatchSize>.5*this.size)a.bufferSubData(a.ARRAY_BUFFER,0,this.vertices);else{var b=this.vertices.subarray(0,4*this.currentBatchSize*this.vertSize);a.bufferSubData(a.ARRAY_BUFFER,0,b)}a.drawElements(a.TRIANGLES,6*this.currentBatchSize,a.UNSIGNED_SHORT,0),this.currentBatchSize=0,this.renderSession.drawCount++}},b.WebGLFastSpriteBatch.prototype.stop=function(){this.flush()},b.WebGLFastSpriteBatch.prototype.start=function(){var a=this.gl;a.activeTexture(a.TEXTURE0),a.bindBuffer(a.ARRAY_BUFFER,this.vertexBuffer),a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.indexBuffer);var b=this.renderSession.projection;a.uniform2f(this.shader.projectionVector,b.x,b.y),a.uniformMatrix3fv(this.shader.uMatrix,!1,this.matrix);var c=4*this.vertSize;a.vertexAttribPointer(this.shader.aVertexPosition,2,a.FLOAT,!1,c,0),a.vertexAttribPointer(this.shader.aPositionCoord,2,a.FLOAT,!1,c,8),a.vertexAttribPointer(this.shader.aScale,2,a.FLOAT,!1,c,16),a.vertexAttribPointer(this.shader.aRotation,1,a.FLOAT,!1,c,24),a.vertexAttribPointer(this.shader.aTextureCoord,2,a.FLOAT,!1,c,28),a.vertexAttribPointer(this.shader.colorAttribute,1,a.FLOAT,!1,c,36)},b.WebGLFilterManager=function(){this.filterStack=[],this.offsetX=0,this.offsetY=0},b.WebGLFilterManager.prototype.constructor=b.WebGLFilterManager,b.WebGLFilterManager.prototype.setContext=function(a){this.gl=a,this.texturePool=[],this.initShaderBuffers()},b.WebGLFilterManager.prototype.begin=function(a,b){this.renderSession=a,this.defaultShader=a.shaderManager.defaultShader;var c=this.renderSession.projection;this.width=2*c.x,this.height=2*-c.y,this.buffer=b},b.WebGLFilterManager.prototype.pushFilter=function(a){var c=this.gl,d=this.renderSession.projection,e=this.renderSession.offset;a._filterArea=a.target.filterArea||a.target.getBounds(),a._previous_stencil_mgr=this.renderSession.stencilManager,this.renderSession.stencilManager=new b.WebGLStencilManager,this.renderSession.stencilManager.setContext(c),c.disable(c.STENCIL_TEST),this.filterStack.push(a);var f=a.filterPasses[0];this.offsetX+=a._filterArea.x,this.offsetY+=a._filterArea.y;var g=this.texturePool.pop();g?g.resize(this.width*this.renderSession.resolution,this.height*this.renderSession.resolution):g=new b.FilterTexture(this.gl,this.width*this.renderSession.resolution,this.height*this.renderSession.resolution),c.bindTexture(c.TEXTURE_2D,g.texture);var h=a._filterArea,i=f.padding;h.x-=i,h.y-=i,h.width+=2*i,h.height+=2*i,h.x<0&&(h.x=0),h.width>this.width&&(h.width=this.width),h.y<0&&(h.y=0),h.height>this.height&&(h.height=this.height),c.bindFramebuffer(c.FRAMEBUFFER,g.frameBuffer),c.viewport(0,0,h.width*this.renderSession.resolution,h.height*this.renderSession.resolution),d.x=h.width/2,d.y=-h.height/2,e.x=-h.x,e.y=-h.y,c.colorMask(!0,!0,!0,!0),c.clearColor(0,0,0,0),c.clear(c.COLOR_BUFFER_BIT),a._glFilterTexture=g},b.WebGLFilterManager.prototype.popFilter=function(){var a=this.gl,c=this.filterStack.pop(),d=c._filterArea,e=c._glFilterTexture,f=this.renderSession.projection,g=this.renderSession.offset;if(c.filterPasses.length>1){a.viewport(0,0,d.width*this.renderSession.resolution,d.height*this.renderSession.resolution),a.bindBuffer(a.ARRAY_BUFFER,this.vertexBuffer),this.vertexArray[0]=0,this.vertexArray[1]=d.height,this.vertexArray[2]=d.width,this.vertexArray[3]=d.height,this.vertexArray[4]=0,this.vertexArray[5]=0,this.vertexArray[6]=d.width,this.vertexArray[7]=0,a.bufferSubData(a.ARRAY_BUFFER,0,this.vertexArray),a.bindBuffer(a.ARRAY_BUFFER,this.uvBuffer),this.uvArray[2]=d.width/this.width,this.uvArray[5]=d.height/this.height,this.uvArray[6]=d.width/this.width,this.uvArray[7]=d.height/this.height,a.bufferSubData(a.ARRAY_BUFFER,0,this.uvArray);var h=e,i=this.texturePool.pop();i||(i=new b.FilterTexture(this.gl,this.width*this.renderSession.resolution,this.height*this.renderSession.resolution)),i.resize(this.width*this.renderSession.resolution,this.height*this.renderSession.resolution),a.bindFramebuffer(a.FRAMEBUFFER,i.frameBuffer),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.BLEND);for(var j=0;j0?a.enable(a.STENCIL_TEST):a.disable(a.STENCIL_TEST),this.applyFilterPass(m,d,n,o),this.texturePool.push(e),c._glFilterTexture=null},b.WebGLFilterManager.prototype.applyFilterPass=function(a,c,d,e){var f=this.gl,g=a.shaders[f.id];g||(g=new b.PixiShader(f),g.fragmentSrc=a.fragmentSrc,g.uniforms=a.uniforms,g.init(),a.shaders[f.id]=g),this.renderSession.shaderManager.setShader(g),f.uniform2f(g.projectionVector,d/2,-e/2),f.uniform2f(g.offsetVector,0,0),a.uniforms.dimensions&&(a.uniforms.dimensions.value[0]=this.width,a.uniforms.dimensions.value[1]=this.height,a.uniforms.dimensions.value[2]=this.vertexArray[0],a.uniforms.dimensions.value[3]=this.vertexArray[5]),g.syncUniforms(),f.bindBuffer(f.ARRAY_BUFFER,this.vertexBuffer),f.vertexAttribPointer(g.aVertexPosition,2,f.FLOAT,!1,0,0),f.bindBuffer(f.ARRAY_BUFFER,this.uvBuffer),f.vertexAttribPointer(g.aTextureCoord,2,f.FLOAT,!1,0,0),f.bindBuffer(f.ARRAY_BUFFER,this.colorBuffer),f.vertexAttribPointer(g.colorAttribute,2,f.FLOAT,!1,0,0),f.bindBuffer(f.ELEMENT_ARRAY_BUFFER,this.indexBuffer),f.drawElements(f.TRIANGLES,6,f.UNSIGNED_SHORT,0),this.renderSession.drawCount++},b.WebGLFilterManager.prototype.initShaderBuffers=function(){var a=this.gl;this.vertexBuffer=a.createBuffer(),this.uvBuffer=a.createBuffer(),this.colorBuffer=a.createBuffer(),this.indexBuffer=a.createBuffer(),this.vertexArray=new b.Float32Array([0,0,1,0,0,1,1,1]),a.bindBuffer(a.ARRAY_BUFFER,this.vertexBuffer),a.bufferData(a.ARRAY_BUFFER,this.vertexArray,a.STATIC_DRAW),this.uvArray=new b.Float32Array([0,0,1,0,0,1,1,1]),a.bindBuffer(a.ARRAY_BUFFER,this.uvBuffer),a.bufferData(a.ARRAY_BUFFER,this.uvArray,a.STATIC_DRAW),this.colorArray=new b.Float32Array([1,16777215,1,16777215,1,16777215,1,16777215]),a.bindBuffer(a.ARRAY_BUFFER,this.colorBuffer),a.bufferData(a.ARRAY_BUFFER,this.colorArray,a.STATIC_DRAW),a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.indexBuffer),a.bufferData(a.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,1,3,2]),a.STATIC_DRAW)},b.WebGLFilterManager.prototype.destroy=function(){var a=this.gl;this.filterStack=null,this.offsetX=0,this.offsetY=0;for(var b=0;b=0;a--){var c=this._glTextures[a],d=b.glContexts[a];d&&c&&d.deleteTexture(c)}this._glTextures.length=0,this.dirty()},b.BaseTexture.fromCanvas=function(a,c){return 0===a.width&&(a.width=1),0===a.height&&(a.height=1),new b.BaseTexture(a,c)},b.TextureSilentFail=!1,b.Texture=function(a,c,d,e){this.noFrame=!1,c||(this.noFrame=!0,c=new b.Rectangle(0,0,1,1)),a instanceof b.Texture&&(a=a.baseTexture),this.baseTexture=a,this.frame=c,this.trim=e,this.valid=!1,this.isTiling=!1,this.requiresUpdate=!1,this.requiresReTint=!1,this._uvs=null,this.width=0,this.height=0,this.crop=d||new b.Rectangle(0,0,1,1),a.hasLoaded&&(this.noFrame&&(c=new b.Rectangle(0,0,a.width,a.height)),this.setFrame(c))},b.Texture.prototype.constructor=b.Texture,b.Texture.prototype.onBaseTextureLoaded=function(){var a=this.baseTexture;this.noFrame&&(this.frame=new b.Rectangle(0,0,a.width,a.height)),this.setFrame(this.frame)},b.Texture.prototype.destroy=function(a){a&&this.baseTexture.destroy(),this.valid=!1},b.Texture.prototype.setFrame=function(a){if(this.noFrame=!1,this.frame=a,this.width=a.width,this.height=a.height,this.crop.x=a.x,this.crop.y=a.y,this.crop.width=a.width,this.crop.height=a.height,!this.trim&&(a.x+a.width>this.baseTexture.width||a.y+a.height>this.baseTexture.height)){if(!b.TextureSilentFail)throw new Error("Texture Error: frame does not fit inside the base Texture dimensions "+this);return void(this.valid=!1)}this.valid=a&&a.width&&a.height&&this.baseTexture.source&&this.baseTexture.hasLoaded,this.trim&&(this.width=this.trim.width,this.height=this.trim.height,this.frame.width=this.trim.width,this.frame.height=this.trim.height),this.valid&&this._updateUvs()},b.Texture.prototype._updateUvs=function(){this._uvs||(this._uvs=new b.TextureUvs);var a=this.crop,c=this.baseTexture.width,d=this.baseTexture.height;this._uvs.x0=a.x/c,this._uvs.y0=a.y/d,this._uvs.x1=(a.x+a.width)/c,this._uvs.y1=a.y/d,this._uvs.x2=(a.x+a.width)/c,this._uvs.y2=(a.y+a.height)/d,this._uvs.x3=a.x/c,this._uvs.y3=(a.y+a.height)/d},b.Texture.fromCanvas=function(a,c){var d=b.BaseTexture.fromCanvas(a,c);return new b.Texture(d)},b.TextureUvs=function(){this.x0=0,this.y0=0,this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.x3=0,this.y3=0},b.RenderTexture=function(a,c,d,e,f){if(this.width=a||100,this.height=c||100,this.resolution=f||1,this.frame=new b.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution),this.crop=new b.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution),this.baseTexture=new b.BaseTexture,this.baseTexture.width=this.width*this.resolution,this.baseTexture.height=this.height*this.resolution,this.baseTexture._glTextures=[],this.baseTexture.resolution=this.resolution,this.baseTexture.scaleMode=e||b.scaleModes.DEFAULT,this.baseTexture.hasLoaded=!0,b.Texture.call(this,this.baseTexture,new b.Rectangle(0,0,this.width*this.resolution,this.height*this.resolution)),this.renderer=d||b.defaultRenderer,this.renderer.type===b.WEBGL_RENDERER){var g=this.renderer.gl;this.baseTexture._dirty[g.id]=!1,this.textureBuffer=new b.FilterTexture(g,this.width,this.height,this.baseTexture.scaleMode), +this.baseTexture._glTextures[g.id]=this.textureBuffer.texture,this.render=this.renderWebGL,this.projection=new b.Point(.5*this.width,.5*-this.height)}else this.render=this.renderCanvas,this.textureBuffer=new b.CanvasBuffer(this.width*this.resolution,this.height*this.resolution),this.baseTexture.source=this.textureBuffer.canvas;this.valid=!0,this.tempMatrix=new Phaser.Matrix,this._updateUvs()},b.RenderTexture.prototype=Object.create(b.Texture.prototype),b.RenderTexture.prototype.constructor=b.RenderTexture,b.RenderTexture.prototype.resize=function(a,c,d){a===this.width&&c===this.height||(this.valid=a>0&&c>0,this.width=a,this.height=c,this.frame.width=this.crop.width=a*this.resolution,this.frame.height=this.crop.height=c*this.resolution,d&&(this.baseTexture.width=this.width*this.resolution,this.baseTexture.height=this.height*this.resolution),this.renderer.type===b.WEBGL_RENDERER&&(this.projection.x=this.width/2,this.projection.y=-this.height/2),this.valid&&this.textureBuffer.resize(this.width,this.height))},b.RenderTexture.prototype.clear=function(){this.valid&&(this.renderer.type===b.WEBGL_RENDERER&&this.renderer.gl.bindFramebuffer(this.renderer.gl.FRAMEBUFFER,this.textureBuffer.frameBuffer),this.textureBuffer.clear())},b.RenderTexture.prototype.renderWebGL=function(a,b,c){if(this.valid&&0!==a.alpha){var d=a.worldTransform;d.identity(),d.translate(0,2*this.projection.y),b&&d.append(b),d.scale(1,-1);for(var e=0;e0){var v=this.canvasPadding/this.worldTransform.a,w=this.canvasPadding/this.worldTransform.d,x=(j+k+l)/3,y=(m+n+o)/3,z=j-x,A=m-y,B=Math.sqrt(z*z+A*A);j=x+z/B*(B+v),m=y+A/B*(B+w),z=k-x,A=n-y,B=Math.sqrt(z*z+A*A),k=x+z/B*(B+v),n=y+A/B*(B+w),z=l-x,A=o-y,B=Math.sqrt(z*z+A*A),l=x+z/B*(B+v),o=y+A/B*(B+w)}a.save(),a.beginPath(),a.moveTo(j,m),a.lineTo(k,n),a.lineTo(l,o),a.closePath(),a.clip();var C=p*t+s*r+q*u-t*r-s*q-p*u,D=j*t+s*l+k*u-t*l-s*k-j*u,E=p*k+j*r+q*l-k*r-j*q-p*l,F=p*t*l+s*k*r+j*q*u-j*t*r-s*q*l-p*k*u,G=m*t+s*o+n*u-t*o-s*n-m*u,H=p*n+m*r+q*o-n*r-m*q-p*o,I=p*t*o+s*n*r+m*q*u-m*t*r-s*q*o-p*n*u;a.transform(D/C,G/C,E/C,H/C,F/C,I/C),a.drawImage(g,0,0),a.restore()},b.Strip.prototype.renderStripFlat=function(a){var b=this.context,c=a.vertices,d=c.length/2;this.count++,b.beginPath();for(var e=1;ej?s:j,k=t>k?t:k}if(l===-(1/0)||k===1/0)return b.EmptyRectangle;var u=this._bounds;return u.x=l,u.width=j-l,u.y=m,u.height=k-m,this._currentBounds=u,u},b.Strip.DrawModes={TRIANGLE_STRIP:0,TRIANGLES:1},b.Rope=function(a,c){b.Strip.call(this,a),this.points=c,this.vertices=new b.Float32Array(4*c.length),this.uvs=new b.Float32Array(4*c.length),this.colors=new b.Float32Array(2*c.length),this.indices=new b.Uint16Array(2*c.length),this.refresh()},b.Rope.prototype=Object.create(b.Strip.prototype),b.Rope.prototype.constructor=b.Rope,b.Rope.prototype.refresh=function(){var a=this.points;if(!(a.length<1)){var b=this.uvs,c=a[0],d=this.indices,e=this.colors;this.count-=.2,b[0]=0,b[1]=0,b[2]=0,b[3]=1,e[0]=1,e[1]=1,d[0]=0,d[1]=1;for(var f,g,h,i=a.length,j=1;j1&&(h=1),i=Math.sqrt(e.x*e.x+e.y*e.y),j=this.texture.height/2,e.x/=i,e.y/=i,e.x*=j,e.y*=j,k[g]=f.x+e.x,k[g+1]=f.y+e.y,k[g+2]=f.x-e.x,k[g+3]=f.y-e.y,d=f;b.DisplayObjectContainer.prototype.updateTransform.call(this)}},b.Rope.prototype.setTexture=function(a){this.texture=a},b.TilingSprite=function(a,c,d){b.Sprite.call(this,a),this._width=c||128,this._height=d||128,this.tileScale=new b.Point(1,1),this.tileScaleOffset=new b.Point(1,1),this.tilePosition=new b.Point,this.renderable=!0,this.tint=16777215,this.textureDebug=!1,this.blendMode=b.blendModes.NORMAL,this.canvasBuffer=null,this.tilingTexture=null,this.tilePattern=null,this.refreshTexture=!0,this.frameWidth=0,this.frameHeight=0},b.TilingSprite.prototype=Object.create(b.Sprite.prototype),b.TilingSprite.prototype.constructor=b.TilingSprite,b.TilingSprite.prototype.setTexture=function(a){this.texture!==a&&(this.texture=a,this.refreshTexture=!0,this.cachedTint=16777215)},b.TilingSprite.prototype._renderWebGL=function(a){if(this.visible&&this.renderable&&0!==this.alpha){if(this._mask&&(a.spriteBatch.stop(),a.maskManager.pushMask(this.mask,a),a.spriteBatch.start()),this._filters&&(a.spriteBatch.flush(),a.filterManager.pushFilter(this._filterBlock)),this.refreshTexture){if(this.generateTilingTexture(!0,a),!this.tilingTexture)return;this.tilingTexture.needsUpdate&&(a.renderer.updateTexture(this.tilingTexture.baseTexture),this.tilingTexture.needsUpdate=!1)}a.spriteBatch.renderTilingSprite(this);for(var b=0;bv?n:v,v=p>v?p:v,v=r>v?r:v,v=t>v?t:v,w=o>w?o:w,w=q>w?q:w,w=s>w?s:w,w=u>w?u:w;var z=this._bounds;return z.x=x,z.width=v-x,z.y=y,z.height=w-y,this._currentBounds=z,z},b.TilingSprite.prototype.destroy=function(){b.Sprite.prototype.destroy.call(this),this.canvasBuffer&&(this.canvasBuffer.destroy(),this.canvasBuffer=null),this.tileScale=null,this.tileScaleOffset=null,this.tilePosition=null,this.tilingTexture&&(this.tilingTexture.destroy(!0),this.tilingTexture=null)},Object.defineProperty(b.TilingSprite.prototype,"width",{get:function(){return this._width},set:function(a){this._width=a}}),Object.defineProperty(b.TilingSprite.prototype,"height",{get:function(){return this._height},set:function(a){this._height=a}}),"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=b),exports.PIXI=b):"undefined"!=typeof define&&define.amd?define("PIXI",function(){return a.PIXI=b}()):a.PIXI=b,b}.call(this),function(){function a(a,b){this._scaleFactor=a,this._deltaMode=b,this.originalEvent=null}var b=this,c=c||{VERSION:"2.6.2",GAMES:[],AUTO:0,CANVAS:1,WEBGL:2,HEADLESS:3,NONE:0,LEFT:1,RIGHT:2,UP:3,DOWN:4,SPRITE:0,BUTTON:1,IMAGE:2,GRAPHICS:3,TEXT:4,TILESPRITE:5,BITMAPTEXT:6,GROUP:7,RENDERTEXTURE:8,TILEMAP:9,TILEMAPLAYER:10,EMITTER:11,POLYGON:12,BITMAPDATA:13,CANVAS_FILTER:14,WEBGL_FILTER:15,ELLIPSE:16,SPRITEBATCH:17,RETROFONT:18,POINTER:19,ROPE:20,CIRCLE:21,RECTANGLE:22,LINE:23,MATRIX:24,POINT:25,ROUNDEDRECTANGLE:26,CREATURE:27,VIDEO:28,PENDING_ATLAS:-1,HORIZONTAL:0,VERTICAL:1,LANDSCAPE:0,PORTRAIT:1,ANGLE_UP:270,ANGLE_DOWN:90,ANGLE_LEFT:180,ANGLE_RIGHT:0,ANGLE_NORTH_EAST:315,ANGLE_NORTH_WEST:225,ANGLE_SOUTH_EAST:45,ANGLE_SOUTH_WEST:135,TOP_LEFT:0,TOP_CENTER:1,TOP_RIGHT:2,LEFT_TOP:3,LEFT_CENTER:4,LEFT_BOTTOM:5,CENTER:6,RIGHT_TOP:7,RIGHT_CENTER:8,RIGHT_BOTTOM:9,BOTTOM_LEFT:10,BOTTOM_CENTER:11,BOTTOM_RIGHT:12,blendModes:{NORMAL:0,ADD:1,MULTIPLY:2,SCREEN:3,OVERLAY:4,DARKEN:5,LIGHTEN:6,COLOR_DODGE:7,COLOR_BURN:8,HARD_LIGHT:9,SOFT_LIGHT:10,DIFFERENCE:11,EXCLUSION:12,HUE:13,SATURATION:14,COLOR:15,LUMINOSITY:16},scaleModes:{DEFAULT:0,LINEAR:0,NEAREST:1},PIXI:PIXI||{}};if(Math.trunc||(Math.trunc=function(a){return a<0?Math.ceil(a):Math.floor(a)}),Function.prototype.bind||(Function.prototype.bind=function(){var a=Array.prototype.slice;return function(b){function c(){var f=e.concat(a.call(arguments));d.apply(this instanceof c?this:b,f)}var d=this,e=a.call(arguments,1);if("function"!=typeof d)throw new TypeError;return c.prototype=function a(b){if(b&&(a.prototype=b),!(this instanceof a))return new a}(d.prototype),c}}()),Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)}),Array.prototype.forEach||(Array.prototype.forEach=function(a){"use strict";if(void 0===this||null===this)throw new TypeError;var b=Object(this),c=b.length>>>0;if("function"!=typeof a)throw new TypeError;for(var d=arguments.length>=2?arguments[1]:void 0,e=0;e0&&100*Math.random()<=a},randomChoice:function(a,b){return Math.random()<.5?a:b},parseDimension:function(a,b){var c=0,d=0;return"string"==typeof a?"%"===a.substr(-1)?(c=parseInt(a,10)/100,d=0===b?window.innerWidth*c:window.innerHeight*c):d=parseInt(a,10):d=a,d},pad:function(a,b,c,d){if(void 0===b)var b=0;if(void 0===c)var c=" ";if(void 0===d)var d=3;a=a.toString();var e=0;if(b+1>=a.length)switch(d){case 1:a=new Array(b+1-a.length).join(c)+a;break;case 3:var f=Math.ceil((e=b-a.length)/2),g=e-f;a=new Array(g+1).join(c)+a+new Array(f+1).join(c);break;default:a+=new Array(b+1-a.length).join(c)}return a},isPlainObject:function(a){if("object"!=typeof a||a.nodeType||a===a.window)return!1;try{if(a.constructor&&!{}.hasOwnProperty.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(a){return!1}return!0},extend:function(){var a,b,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[1]||{},i=2),j===i&&(h=this,--i);i0&&(this._radius=.5*d),this.type=c.CIRCLE},c.Circle.prototype={circumference:function(){return 2*(Math.PI*this._radius)},random:function(a){void 0===a&&(a=new c.Point);var b=2*Math.PI*Math.random(),d=Math.random()+Math.random(),e=d>1?2-d:d,f=e*Math.cos(b),g=e*Math.sin(b);return a.x=this.x+f*this.radius,a.y=this.y+g*this.radius,a},getBounds:function(){return new c.Rectangle(this.x-this.radius,this.y-this.radius,this.diameter,this.diameter)},setTo:function(a,b,c){return this.x=a,this.y=b,this._diameter=c,this._radius=.5*c,this},copyFrom:function(a){return this.setTo(a.x,a.y,a.diameter)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.diameter=this._diameter,a},distance:function(a,b){var d=c.Math.distance(this.x,this.y,a.x,a.y);return b?Math.round(d):d},clone:function(a){return void 0===a||null===a?a=new c.Circle(this.x,this.y,this.diameter):a.setTo(this.x,this.y,this.diameter),a},contains:function(a,b){return c.Circle.contains(this,a,b)},circumferencePoint:function(a,b,d){return c.Circle.circumferencePoint(this,a,b,d)},offset:function(a,b){return this.x+=a,this.y+=b,this},offsetPoint:function(a){return this.offset(a.x,a.y)},toString:function(){return"[{Phaser.Circle (x="+this.x+" y="+this.y+" diameter="+this.diameter+" radius="+this.radius+")}]"}},c.Circle.prototype.constructor=c.Circle,Object.defineProperty(c.Circle.prototype,"diameter",{get:function(){return this._diameter},set:function(a){a>0&&(this._diameter=a,this._radius=.5*a)}}),Object.defineProperty(c.Circle.prototype,"radius",{get:function(){return this._radius},set:function(a){a>0&&(this._radius=a,this._diameter=2*a)}}),Object.defineProperty(c.Circle.prototype,"left",{get:function(){return this.x-this._radius},set:function(a){a>this.x?(this._radius=0,this._diameter=0):this.radius=this.x-a}}),Object.defineProperty(c.Circle.prototype,"right",{get:function(){return this.x+this._radius},set:function(a){athis.y?(this._radius=0,this._diameter=0):this.radius=this.y-a}}),Object.defineProperty(c.Circle.prototype,"bottom",{get:function(){return this.y+this._radius},set:function(a){a0?Math.PI*this._radius*this._radius:0}}),Object.defineProperty(c.Circle.prototype,"empty",{get:function(){return 0===this._diameter},set:function(a){a===!0&&this.setTo(0,0,0)}}),c.Circle.contains=function(a,b,c){if(a.radius>0&&b>=a.left&&b<=a.right&&c>=a.top&&c<=a.bottom){var d=(a.x-b)*(a.x-b),e=(a.y-c)*(a.y-c);return d+e<=a.radius*a.radius}return!1},c.Circle.equals=function(a,b){return a.x===b.x&&a.y===b.y&&a.diameter===b.diameter},c.Circle.intersects=function(a,b){return c.Math.distance(a.x,a.y,b.x,b.y)<=a.radius+b.radius},c.Circle.circumferencePoint=function(a,b,d,e){return void 0===d&&(d=!1),void 0===e&&(e=new c.Point),d===!0&&(b=c.Math.degToRad(b)),e.x=a.x+a.radius*Math.cos(b),e.y=a.y+a.radius*Math.sin(b),e},c.Circle.intersectsRectangle=function(a,b){var c=Math.abs(a.x-b.x-b.halfWidth),d=b.halfWidth+a.radius;if(c>d)return!1;var e=Math.abs(a.y-b.y-b.halfHeight),f=b.halfHeight+a.radius;if(e>f)return!1;if(c<=b.halfWidth||e<=b.halfHeight)return!0;var g=c-b.halfWidth,h=e-b.halfHeight,i=g*g,j=h*h,k=a.radius*a.radius;return i+j<=k},PIXI.Circle=c.Circle,c.Ellipse=function(a,b,d,e){a=a||0,b=b||0,d=d||0,e=e||0,this.x=a,this.y=b,this.width=d,this.height=e,this.type=c.ELLIPSE},c.Ellipse.prototype={setTo:function(a,b,c,d){return this.x=a,this.y=b,this.width=c,this.height=d,this},getBounds:function(){return new c.Rectangle(this.x-this.width,this.y-this.height,this.width,this.height)},copyFrom:function(a){return this.setTo(a.x,a.y,a.width,a.height)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},clone:function(a){return void 0===a||null===a?a=new c.Ellipse(this.x,this.y,this.width,this.height):a.setTo(this.x,this.y,this.width,this.height),a},contains:function(a,b){return c.Ellipse.contains(this,a,b)},random:function(a){void 0===a&&(a=new c.Point);var b=Math.random()*Math.PI*2,d=Math.random();return a.x=Math.sqrt(d)*Math.cos(b),a.y=Math.sqrt(d)*Math.sin(b),a.x=this.x+a.x*this.width/2,a.y=this.y+a.y*this.height/2,a},toString:function(){return"[{Phaser.Ellipse (x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+")}]"}},c.Ellipse.prototype.constructor=c.Ellipse,Object.defineProperty(c.Ellipse.prototype,"left",{get:function(){return this.x},set:function(a){this.x=a}}),Object.defineProperty(c.Ellipse.prototype,"right",{get:function(){return this.x+this.width},set:function(a){a=c&&a<=d&&b>=e&&b<=f},random:function(a){void 0===a&&(a=new c.Point);var b=Math.random();return a.x=this.start.x+b*(this.end.x-this.start.x),a.y=this.start.y+b*(this.end.y-this.start.y),a},coordinatesOnLine:function(a,b){void 0===a&&(a=1),void 0===b&&(b=[]);var c=Math.round(this.start.x),d=Math.round(this.start.y),e=Math.round(this.end.x),f=Math.round(this.end.y),g=Math.abs(e-c),h=Math.abs(f-d),i=c-h&&(k-=h,c+=i),m=0&&p<=1&&q>=0&&q<=1?g:null}return g},c.Line.intersects=function(a,b,d,e){return c.Line.intersectsPoints(a.start,a.end,b.start,b.end,d,e)},c.Line.intersectsRectangle=function(a,b){if(!c.Rectangle.intersects(a,b))return!1;var d=a.start.x,e=a.start.y,f=a.end.x,g=a.end.y,h=b.x,i=b.y,j=b.right,k=b.bottom,l=0;if(d>=h&&d<=j&&e>=i&&e<=k||f>=h&&f<=j&&g>=i&&g<=k)return!0;if(d=h){if(l=e+(g-e)*(h-d)/(f-d),l>i&&l<=k)return!0}else if(d>j&&f<=j&&(l=e+(g-e)*(j-d)/(f-d),l>=i&&l<=k))return!0;if(e=i){if(l=d+(f-d)*(i-e)/(g-e),l>=h&&l<=j)return!0}else if(e>k&&g<=k&&(l=d+(f-d)*(k-e)/(g-e),l>=h&&l<=j))return!0;return!1},c.Line.reflect=function(a,b){return 2*b.normalAngle-3.141592653589793-a.angle},c.Matrix=function(a,b,d,e,f,g){void 0!==a&&null!==a||(a=1),void 0!==b&&null!==b||(b=0),void 0!==d&&null!==d||(d=0),void 0!==e&&null!==e||(e=1),void 0!==f&&null!==f||(f=0),void 0!==g&&null!==g||(g=0),this.a=a,this.b=b,this.c=d,this.d=e,this.tx=f,this.ty=g,this.type=c.MATRIX},c.Matrix.prototype={fromArray:function(a){return this.setTo(a[0],a[1],a[3],a[4],a[2],a[5])},setTo:function(a,b,c,d,e,f){return this.a=a,this.b=b,this.c=c,this.d=d,this.tx=e,this.ty=f,this},clone:function(a){return void 0===a||null===a?a=new c.Matrix(this.a,this.b,this.c,this.d,this.tx,this.ty):(a.a=this.a,a.b=this.b,a.c=this.c,a.d=this.d,a.tx=this.tx,a.ty=this.ty),a},copyTo:function(a){return a.copyFrom(this),a},copyFrom:function(a){return this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.tx=a.tx,this.ty=a.ty,this},toArray:function(a,b){return void 0===b&&(b=new PIXI.Float32Array(9)),a?(b[0]=this.a,b[1]=this.b,b[2]=0,b[3]=this.c,b[4]=this.d,b[5]=0,b[6]=this.tx,b[7]=this.ty,b[8]=1):(b[0]=this.a,b[1]=this.c,b[2]=this.tx,b[3]=this.b,b[4]=this.d,b[5]=this.ty,b[6]=0,b[7]=0,b[8]=1),b},apply:function(a,b){return void 0===b&&(b=new c.Point),b.x=this.a*a.x+this.c*a.y+this.tx,b.y=this.b*a.x+this.d*a.y+this.ty,b},applyInverse:function(a,b){void 0===b&&(b=new c.Point);var d=1/(this.a*this.d+this.c*-this.b),e=a.x,f=a.y;return b.x=this.d*d*e+-this.c*d*f+(this.ty*this.c-this.tx*this.d)*d,b.y=this.a*d*f+-this.b*d*e+(-this.ty*this.a+this.tx*this.b)*d,b},translate:function(a,b){return this.tx+=a,this.ty+=b,this},scale:function(a,b){return this.a*=a,this.d*=b, +this.c*=a,this.b*=b,this.tx*=a,this.ty*=b,this},rotate:function(a){var b=Math.cos(a),c=Math.sin(a),d=this.a,e=this.c,f=this.tx;return this.a=d*b-this.b*c,this.b=d*c+this.b*b,this.c=e*b-this.d*c,this.d=e*c+this.d*b,this.tx=f*b-this.ty*c,this.ty=f*c+this.ty*b,this},append:function(a){var b=this.a,c=this.b,d=this.c,e=this.d;return this.a=a.a*b+a.b*d,this.b=a.a*c+a.b*e,this.c=a.c*b+a.d*d,this.d=a.c*c+a.d*e,this.tx=a.tx*b+a.ty*d+this.tx,this.ty=a.tx*c+a.ty*e+this.ty,this},identity:function(){return this.setTo(1,0,0,1,0,0)}},c.identityMatrix=new c.Matrix,PIXI.Matrix=c.Matrix,PIXI.identityMatrix=c.identityMatrix,c.Point=function(a,b){a=a||0,b=b||0,this.x=a,this.y=b,this.type=c.POINT},c.Point.prototype={copyFrom:function(a){return this.setTo(a.x,a.y)},invert:function(){return this.setTo(this.y,this.x)},setTo:function(a,b){return this.x=a||0,this.y=b||(0!==b?this.x:0),this},set:function(a,b){return this.x=a||0,this.y=b||(0!==b?this.x:0),this},add:function(a,b){return this.x+=a,this.y+=b,this},subtract:function(a,b){return this.x-=a,this.y-=b,this},multiply:function(a,b){return this.x*=a,this.y*=b,this},divide:function(a,b){return this.x/=a,this.y/=b,this},clampX:function(a,b){return this.x=c.Math.clamp(this.x,a,b),this},clampY:function(a,b){return this.y=c.Math.clamp(this.y,a,b),this},clamp:function(a,b){return this.x=c.Math.clamp(this.x,a,b),this.y=c.Math.clamp(this.y,a,b),this},clone:function(a){return void 0===a||null===a?a=new c.Point(this.x,this.y):a.setTo(this.x,this.y),a},copyTo:function(a){return a.x=this.x,a.y=this.y,a},distance:function(a,b){return c.Point.distance(this,a,b)},equals:function(a){return a.x===this.x&&a.y===this.y},angle:function(a,b){return void 0===b&&(b=!1),b?c.Math.radToDeg(Math.atan2(a.y-this.y,a.x-this.x)):Math.atan2(a.y-this.y,a.x-this.x)},rotate:function(a,b,d,e,f){return c.Point.rotate(this,a,b,d,e,f)},getMagnitude:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},getMagnitudeSq:function(){return this.x*this.x+this.y*this.y},setMagnitude:function(a){return this.normalize().multiply(a,a)},normalize:function(){if(!this.isZero()){var a=this.getMagnitude();this.x/=a,this.y/=a}return this},isZero:function(){return 0===this.x&&0===this.y},dot:function(a){return this.x*a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},perp:function(){return this.setTo(-this.y,this.x)},rperp:function(){return this.setTo(this.y,-this.x)},normalRightHand:function(){return this.setTo(this.y*-1,this.x)},floor:function(){return this.setTo(Math.floor(this.x),Math.floor(this.y))},ceil:function(){return this.setTo(Math.ceil(this.x),Math.ceil(this.y))},toString:function(){return"[{Point (x="+this.x+" y="+this.y+")}]"}},c.Point.prototype.constructor=c.Point,c.Point.add=function(a,b,d){return void 0===d&&(d=new c.Point),d.x=a.x+b.x,d.y=a.y+b.y,d},c.Point.subtract=function(a,b,d){return void 0===d&&(d=new c.Point),d.x=a.x-b.x,d.y=a.y-b.y,d},c.Point.multiply=function(a,b,d){return void 0===d&&(d=new c.Point),d.x=a.x*b.x,d.y=a.y*b.y,d},c.Point.divide=function(a,b,d){return void 0===d&&(d=new c.Point),d.x=a.x/b.x,d.y=a.y/b.y,d},c.Point.equals=function(a,b){return a.x===b.x&&a.y===b.y},c.Point.angle=function(a,b){return Math.atan2(a.y-b.y,a.x-b.x)},c.Point.negative=function(a,b){return void 0===b&&(b=new c.Point),b.setTo(-a.x,-a.y)},c.Point.multiplyAdd=function(a,b,d,e){return void 0===e&&(e=new c.Point),e.setTo(a.x+b.x*d,a.y+b.y*d)},c.Point.interpolate=function(a,b,d,e){return void 0===e&&(e=new c.Point),e.setTo(a.x+(b.x-a.x)*d,a.y+(b.y-a.y)*d)},c.Point.perp=function(a,b){return void 0===b&&(b=new c.Point),b.setTo(-a.y,a.x)},c.Point.rperp=function(a,b){return void 0===b&&(b=new c.Point),b.setTo(a.y,-a.x)},c.Point.distance=function(a,b,d){var e=c.Math.distance(a.x,a.y,b.x,b.y);return d?Math.round(e):e},c.Point.project=function(a,b,d){void 0===d&&(d=new c.Point);var e=a.dot(b)/b.getMagnitudeSq();return 0!==e&&d.setTo(e*b.x,e*b.y),d},c.Point.projectUnit=function(a,b,d){void 0===d&&(d=new c.Point);var e=a.dot(b);return 0!==e&&d.setTo(e*b.x,e*b.y),d},c.Point.normalRightHand=function(a,b){return void 0===b&&(b=new c.Point),b.setTo(a.y*-1,a.x)},c.Point.normalize=function(a,b){void 0===b&&(b=new c.Point);var d=a.getMagnitude();return 0!==d&&b.setTo(a.x/d,a.y/d),b},c.Point.rotate=function(a,b,d,e,f,g){if(f&&(e=c.Math.degToRad(e)),void 0===g){a.subtract(b,d);var h=Math.sin(e),i=Math.cos(e),j=i*a.x-h*a.y,k=h*a.x+i*a.y;a.x=j+b,a.y=k+d}else{var l=e+Math.atan2(a.y-d,a.x-b);a.x=b+g*Math.cos(l),a.y=d+g*Math.sin(l)}return a},c.Point.centroid=function(a,b){if(void 0===b&&(b=new c.Point),"[object Array]"!==Object.prototype.toString.call(a))throw new Error("Phaser.Point. Parameter 'points' must be an array");var d=a.length;if(d<1)throw new Error("Phaser.Point. Parameter 'points' array must not be empty");if(1===d)return b.copyFrom(a[0]),b;for(var e=0;e0&&this.setTo.apply(this,arguments),this.closed=!0,this.flattened=!1,this.type=c.POLYGON},c.Polygon.prototype={toNumberArray:function(a){void 0===a&&(a=[]);for(var b=0;b0){Array.isArray(a)||(a=Array.prototype.slice.call(arguments));for(var b=Number.MAX_VALUE,c=0,d=a.length;c=this.right?this.width=0:this.width=this.right-a,this.x=a}}),Object.defineProperty(c.Rectangle.prototype,"right",{get:function(){return this.x+this.width},set:function(a){a<=this.x?this.width=0:this.width=a-this.x}}),Object.defineProperty(c.Rectangle.prototype,"volume",{get:function(){return this.width*this.height}}),Object.defineProperty(c.Rectangle.prototype,"perimeter",{get:function(){return 2*this.width+2*this.height}}),Object.defineProperty(c.Rectangle.prototype,"centerX",{get:function(){return this.x+this.halfWidth},set:function(a){this.x=a-this.halfWidth}}),Object.defineProperty(c.Rectangle.prototype,"centerY",{get:function(){return this.y+this.halfHeight},set:function(a){this.y=a-this.halfHeight}}),Object.defineProperty(c.Rectangle.prototype,"randomX",{get:function(){return this.x+Math.random()*this.width}}),Object.defineProperty(c.Rectangle.prototype,"randomY",{get:function(){return this.y+Math.random()*this.height}}),Object.defineProperty(c.Rectangle.prototype,"top",{get:function(){return this.y},set:function(a){a>=this.bottom?(this.height=0,this.y=a):this.height=this.bottom-a}}),Object.defineProperty(c.Rectangle.prototype,"topLeft",{get:function(){return new c.Point(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}}),Object.defineProperty(c.Rectangle.prototype,"topRight",{get:function(){return new c.Point(this.x+this.width,this.y)},set:function(a){this.right=a.x,this.y=a.y}}),Object.defineProperty(c.Rectangle.prototype,"empty",{get:function(){return!this.width||!this.height},set:function(a){a===!0&&this.setTo(0,0,0,0)}}),c.Rectangle.prototype.constructor=c.Rectangle,c.Rectangle.inflate=function(a,b,c){return a.x-=b,a.width+=2*b,a.y-=c,a.height+=2*c,a},c.Rectangle.inflatePoint=function(a,b){return c.Rectangle.inflate(a,b.x,b.y)},c.Rectangle.size=function(a,b){return void 0===b||null===b?b=new c.Point(a.width,a.height):b.setTo(a.width,a.height),b},c.Rectangle.clone=function(a,b){return void 0===b||null===b?b=new c.Rectangle(a.x,a.y,a.width,a.height):b.setTo(a.x,a.y,a.width,a.height),b},c.Rectangle.contains=function(a,b,c){return!(a.width<=0||a.height<=0)&&(b>=a.x&&b=a.y&&c=a&&e=b&&fb.volume)&&(a.x>=b.x&&a.y>=b.y&&a.rightb.right||a.y>b.bottom)},c.Rectangle.intersectsRaw=function(a,b,c,d,e,f){return void 0===f&&(f=0),!(b>a.right+f||ca.bottom+f||ed&&(d=a.x),a.xf&&(f=a.y),a.y=c&&a<=c+this.width){var d=this.y;if(b>=d&&b<=d+this.height)return!0}return!1}},c.RoundedRectangle.prototype.constructor=c.RoundedRectangle,PIXI.RoundedRectangle=c.RoundedRectangle,c.Camera=function(a,b,d,e,f,g){this.game=a,this.world=a.world,this.id=0,this.view=new c.Rectangle(d,e,f,g),this.bounds=new c.Rectangle(d,e,f,g),this.deadzone=null,this.visible=!0,this.roundPx=!0,this.atLimit={x:!1,y:!1},this.target=null,this.displayObject=null,this.scale=null,this.totalInView=0,this.lerp=new c.Point(1,1),this.onShakeComplete=new c.Signal,this.onFlashComplete=new c.Signal,this.onFadeComplete=new c.Signal,this.fx=null,this._targetPosition=new c.Point,this._edge=0,this._position=new c.Point,this._shake={intensity:0,duration:0,horizontal:!1,vertical:!1,shakeBounds:!0,x:0,y:0},this._fxDuration=0,this._fxType=0},c.Camera.FOLLOW_LOCKON=0,c.Camera.FOLLOW_PLATFORMER=1,c.Camera.FOLLOW_TOPDOWN=2,c.Camera.FOLLOW_TOPDOWN_TIGHT=3,c.Camera.SHAKE_BOTH=4,c.Camera.SHAKE_HORIZONTAL=5,c.Camera.SHAKE_VERTICAL=6,c.Camera.ENABLE_FX=!0,c.Camera.prototype={boot:function(){this.displayObject=this.game.world,this.scale=this.game.world.scale,this.game.camera=this,c.Graphics&&c.Camera.ENABLE_FX&&(this.fx=new c.Graphics(this.game),this.game.stage.addChild(this.fx))},preUpdate:function(){this.totalInView=0},follow:function(a,b,d,e){void 0===b&&(b=c.Camera.FOLLOW_LOCKON),void 0===d&&(d=1),void 0===e&&(e=1),this.target=a,this.lerp.set(d,e);var f;switch(b){case c.Camera.FOLLOW_PLATFORMER:var g=this.width/8,h=this.height/3;this.deadzone=new c.Rectangle((this.width-g)/2,(this.height-h)/2-.25*h,g,h);break;case c.Camera.FOLLOW_TOPDOWN:f=Math.max(this.width,this.height)/4,this.deadzone=new c.Rectangle((this.width-f)/2,(this.height-f)/2,f,f);break;case c.Camera.FOLLOW_TOPDOWN_TIGHT:f=Math.max(this.width,this.height)/8,this.deadzone=new c.Rectangle((this.width-f)/2,(this.height-f)/2,f,f);break;case c.Camera.FOLLOW_LOCKON:this.deadzone=null;break;default:this.deadzone=null}},unfollow:function(){this.target=null},focusOn:function(a){this.setPosition(Math.round(a.x-this.view.halfWidth),Math.round(a.y-this.view.halfHeight))},focusOnXY:function(a,b){this.setPosition(Math.round(a-this.view.halfWidth),Math.round(b-this.view.halfHeight))},shake:function(a,b,d,e,f){return void 0===a&&(a=.05),void 0===b&&(b=500),void 0===d&&(d=!0),void 0===e&&(e=c.Camera.SHAKE_BOTH),void 0===f&&(f=!0),!(!d&&this._shake.duration>0)&&(this._shake.intensity=a,this._shake.duration=b,this._shake.shakeBounds=f,this._shake.x=0,this._shake.y=0,this._shake.horizontal=e===c.Camera.SHAKE_BOTH||e===c.Camera.SHAKE_HORIZONTAL,this._shake.vertical=e===c.Camera.SHAKE_BOTH||e===c.Camera.SHAKE_VERTICAL,!0)},flash:function(a,b,c){return void 0===a&&(a=16777215),void 0===b&&(b=500),void 0===c&&(c=!1),!(!this.fx||!c&&this._fxDuration>0)&&(this.fx.clear(),this.fx.beginFill(a),this.fx.drawRect(0,0,this.width,this.height),this.fx.endFill(),this.fx.alpha=1,this._fxDuration=b,this._fxType=0,!0)},fade:function(a,b,c){return void 0===a&&(a=0),void 0===b&&(b=500),void 0===c&&(c=!1),!(!this.fx||!c&&this._fxDuration>0)&&(this.fx.clear(),this.fx.beginFill(a),this.fx.drawRect(0,0,this.width,this.height),this.fx.endFill(),this.fx.alpha=0,this._fxDuration=b,this._fxType=1,!0)},update:function(){this._fxDuration>0&&this.updateFX(),this._shake.duration>0&&this.updateShake(),this.bounds&&this.checkBounds(),this.roundPx&&(this.view.floor(),this._shake.x=Math.floor(this._shake.x),this._shake.y=Math.floor(this._shake.y)),this.displayObject.position.x=-this.view.x,this.displayObject.position.y=-this.view.y},updateFX:function(){0===this._fxType?(this.fx.alpha-=this.game.time.elapsedMS/this._fxDuration,this.fx.alpha<=0&&(this._fxDuration=0,this.fx.alpha=0,this.onFlashComplete.dispatch())):(this.fx.alpha+=this.game.time.elapsedMS/this._fxDuration,this.fx.alpha>=1&&(this._fxDuration=0,this.fx.alpha=1,this.onFadeComplete.dispatch()))},updateShake:function(){this._shake.duration-=this.game.time.elapsedMS,this._shake.duration<=0?(this.onShakeComplete.dispatch(),this._shake.x=0,this._shake.y=0):(this._shake.horizontal&&(this._shake.x=this.game.rnd.frac()*this._shake.intensity*this.view.width*2-this._shake.intensity*this.view.width),this._shake.vertical&&(this._shake.y=this.game.rnd.frac()*this._shake.intensity*this.view.height*2-this._shake.intensity*this.view.height))},updateTarget:function(){this._targetPosition.x=this.view.x+this.target.worldPosition.x,this._targetPosition.y=this.view.y+this.target.worldPosition.y,this.deadzone?(this._edge=this._targetPosition.x-this.view.x,this._edgethis.deadzone.right&&(this.view.x=this.game.math.linear(this.view.x,this._targetPosition.x-this.deadzone.right,this.lerp.x)),this._edge=this._targetPosition.y-this.view.y,this._edgethis.deadzone.bottom&&(this.view.y=this.game.math.linear(this.view.y,this._targetPosition.y-this.deadzone.bottom,this.lerp.y))):(this.view.x=this.game.math.linear(this.view.x,this._targetPosition.x-this.view.halfWidth,this.lerp.x),this.view.y=this.game.math.linear(this.view.y,this._targetPosition.y-this.view.halfHeight,this.lerp.y)),this.bounds&&this.checkBounds(),this.roundPx&&this.view.floor(),this.displayObject.position.x=-this.view.x,this.displayObject.position.y=-this.view.y},setBoundsToWorld:function(){this.bounds&&this.bounds.copyFrom(this.game.world.bounds)},checkBounds:function(){this.atLimit.x=!1,this.atLimit.y=!1;var a=this.view.x+this._shake.x,b=this.view.right+this._shake.x,c=this.view.y+this._shake.y,d=this.view.bottom+this._shake.y;a<=this.bounds.x*this.scale.x&&(this.atLimit.x=!0,this.view.x=this.bounds.x*this.scale.x,this._shake.shakeBounds||(this._shake.x=0)),b>=this.bounds.right*this.scale.x&&(this.atLimit.x=!0,this.view.x=this.bounds.right*this.scale.x-this.width,this._shake.shakeBounds||(this._shake.x=0)),c<=this.bounds.top*this.scale.y&&(this.atLimit.y=!0,this.view.y=this.bounds.top*this.scale.y,this._shake.shakeBounds||(this._shake.y=0)),d>=this.bounds.bottom*this.scale.y&&(this.atLimit.y=!0,this.view.y=this.bounds.bottom*this.scale.y-this.height,this._shake.shakeBounds||(this._shake.y=0))},setPosition:function(a,b){this.view.x=a,this.view.y=b,this.bounds&&this.checkBounds()},setSize:function(a,b){this.view.width=a,this.view.height=b},reset:function(){this.target=null,this.view.x=0,this.view.y=0,this._shake.duration=0,this.resetFX()},resetFX:function(){this.fx.clear(),this.fx.alpha=0,this._fxDuration=0}},c.Camera.prototype.constructor=c.Camera,Object.defineProperty(c.Camera.prototype,"x",{get:function(){return this.view.x},set:function(a){this.view.x=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(c.Camera.prototype,"y",{get:function(){return this.view.y},set:function(a){this.view.y=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(c.Camera.prototype,"position",{get:function(){return this._position.set(this.view.x,this.view.y),this._position},set:function(a){"undefined"!=typeof a.x&&(this.view.x=a.x),"undefined"!=typeof a.y&&(this.view.y=a.y),this.bounds&&this.checkBounds()}}),Object.defineProperty(c.Camera.prototype,"width",{get:function(){return this.view.width},set:function(a){this.view.width=a}}),Object.defineProperty(c.Camera.prototype,"height",{get:function(){return this.view.height},set:function(a){this.view.height=a}}),Object.defineProperty(c.Camera.prototype,"shakeIntensity",{get:function(){return this._shake.intensity},set:function(a){this._shake.intensity=a}}),c.State=function(){this.game=null,this.key="",this.add=null,this.make=null,this.camera=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.sound=null,this.scale=null,this.stage=null,this.state=null,this.time=null,this.tweens=null,this.world=null,this.particles=null,this.physics=null,this.rnd=null},c.State.prototype={init:function(){},preload:function(){},loadUpdate:function(){},loadRender:function(){},create:function(){},update:function(){},preRender:function(){},render:function(){},resize:function(){},paused:function(){},resumed:function(){},pauseUpdate:function(){},shutdown:function(){}},c.State.prototype.constructor=c.State,c.StateManager=function(a,b){this.game=a,this.states={},this._pendingState=null,"undefined"!=typeof b&&null!==b&&(this._pendingState=b),this._clearWorld=!1,this._clearCache=!1,this._created=!1,this._args=[],this.current="",this.onStateChange=new c.Signal,this.onInitCallback=null,this.onPreloadCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onResizeCallback=null,this.onPreRenderCallback=null,this.onLoadUpdateCallback=null,this.onLoadRenderCallback=null,this.onPausedCallback=null,this.onResumedCallback=null,this.onPauseUpdateCallback=null,this.onShutDownCallback=null},c.StateManager.prototype={boot:function(){this.game.onPause.add(this.pause,this),this.game.onResume.add(this.resume,this),null!==this._pendingState&&"string"!=typeof this._pendingState&&this.add("default",this._pendingState,!0)},add:function(a,b,d){void 0===d&&(d=!1);var e;return b instanceof c.State?e=b:"object"==typeof b?(e=b,e.game=this.game):"function"==typeof b&&(e=new b(this.game)),this.states[a]=e,d&&(this.game.isBooted?this.start(a):this._pendingState=a),e},remove:function(a){this.current===a&&(this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onPreRenderCallback=null,this.onRenderCallback=null,this.onResizeCallback=null,this.onPausedCallback=null,this.onResumedCallback=null,this.onPauseUpdateCallback=null),delete this.states[a]},start:function(a,b,c){void 0===b&&(b=!0),void 0===c&&(c=!1),this.checkState(a)&&(this._pendingState=a,this._clearWorld=b,this._clearCache=c,arguments.length>3&&(this._args=Array.prototype.splice.call(arguments,3)))},restart:function(a,b){void 0===a&&(a=!0),void 0===b&&(b=!1),this._pendingState=this.current,this._clearWorld=a,this._clearCache=b,arguments.length>2&&(this._args=Array.prototype.slice.call(arguments,2))},dummy:function(){},preUpdate:function(){if(this._pendingState&&this.game.isBooted){var a=this.current;if(this.clearCurrentState(),this.setCurrentState(this._pendingState),this.onStateChange.dispatch(this.current,a),this.current!==this._pendingState)return;this._pendingState=null,this.onPreloadCallback?(this.game.load.reset(!0),this.onPreloadCallback.call(this.callbackContext,this.game),0===this.game.load.totalQueuedFiles()&&0===this.game.load.totalQueuedPacks()?this.loadComplete():this.game.load.start()):this.loadComplete()}},clearCurrentState:function(){this.current&&(this.onShutDownCallback&&this.onShutDownCallback.call(this.callbackContext,this.game),this.game.tweens.removeAll(),this.game.camera.reset(),this.game.input.reset(!0),this.game.physics.clear(),this.game.time.removeAll(),this.game.scale.reset(this._clearWorld),this.game.debug&&this.game.debug.reset(),this._clearWorld&&(this.game.world.shutdown(),this._clearCache&&this.game.cache.destroy()))},checkState:function(a){return this.states[a]?!!(this.states[a].preload||this.states[a].create||this.states[a].update||this.states[a].render)||(console.warn("Invalid Phaser State object given. Must contain at least a one of the required functions: preload, create, update or render"),!1):(console.warn("Phaser.StateManager - No state found with the key: "+a),!1)},link:function(a){this.states[a].game=this.game,this.states[a].add=this.game.add,this.states[a].make=this.game.make,this.states[a].camera=this.game.camera,this.states[a].cache=this.game.cache,this.states[a].input=this.game.input,this.states[a].load=this.game.load,this.states[a].math=this.game.math,this.states[a].sound=this.game.sound,this.states[a].scale=this.game.scale,this.states[a].state=this,this.states[a].stage=this.game.stage,this.states[a].time=this.game.time,this.states[a].tweens=this.game.tweens,this.states[a].world=this.game.world,this.states[a].particles=this.game.particles,this.states[a].rnd=this.game.rnd,this.states[a].physics=this.game.physics,this.states[a].key=a},unlink:function(a){this.states[a]&&(this.states[a].game=null,this.states[a].add=null,this.states[a].make=null,this.states[a].camera=null,this.states[a].cache=null,this.states[a].input=null,this.states[a].load=null,this.states[a].math=null,this.states[a].sound=null,this.states[a].scale=null,this.states[a].state=null,this.states[a].stage=null,this.states[a].time=null,this.states[a].tweens=null,this.states[a].world=null,this.states[a].particles=null,this.states[a].rnd=null,this.states[a].physics=null)},setCurrentState:function(a){this.callbackContext=this.states[a],this.link(a),this.onInitCallback=this.states[a].init||this.dummy,this.onPreloadCallback=this.states[a].preload||null,this.onLoadRenderCallback=this.states[a].loadRender||null,this.onLoadUpdateCallback=this.states[a].loadUpdate||null,this.onCreateCallback=this.states[a].create||null,this.onUpdateCallback=this.states[a].update||null,this.onPreRenderCallback=this.states[a].preRender||null,this.onRenderCallback=this.states[a].render||null,this.onResizeCallback=this.states[a].resize||null,this.onPausedCallback=this.states[a].paused||null,this.onResumedCallback=this.states[a].resumed||null,this.onPauseUpdateCallback=this.states[a].pauseUpdate||null,this.onShutDownCallback=this.states[a].shutdown||this.dummy,""!==this.current&&this.game.physics.reset(),this.current=a,this._created=!1,this.onInitCallback.apply(this.callbackContext,this._args),a===this._pendingState&&(this._args=[]),this.game._kickstart=!0},getCurrentState:function(){return this.states[this.current]},loadComplete:function(){this._created===!1&&this.onLoadUpdateCallback&&this.onLoadUpdateCallback.call(this.callbackContext,this.game),this._created===!1&&this.onCreateCallback?(this._created=!0,this.onCreateCallback.call(this.callbackContext,this.game)):this._created=!0},pause:function(){this._created&&this.onPausedCallback&&this.onPausedCallback.call(this.callbackContext,this.game)},resume:function(){this._created&&this.onResumedCallback&&this.onResumedCallback.call(this.callbackContext,this.game)},update:function(){this._created?this.onUpdateCallback&&this.onUpdateCallback.call(this.callbackContext,this.game):this.onLoadUpdateCallback&&this.onLoadUpdateCallback.call(this.callbackContext,this.game)},pauseUpdate:function(){this._created?this.onPauseUpdateCallback&&this.onPauseUpdateCallback.call(this.callbackContext,this.game):this.onLoadUpdateCallback&&this.onLoadUpdateCallback.call(this.callbackContext,this.game)},preRender:function(a){this._created&&this.onPreRenderCallback&&this.onPreRenderCallback.call(this.callbackContext,this.game,a)},resize:function(a,b){this.onResizeCallback&&this.onResizeCallback.call(this.callbackContext,a,b)},render:function(){this._created?this.onRenderCallback&&(this.game.renderType===c.CANVAS?(this.game.context.save(),this.game.context.setTransform(1,0,0,1,0,0),this.onRenderCallback.call(this.callbackContext,this.game),this.game.context.restore()):this.onRenderCallback.call(this.callbackContext,this.game)):this.onLoadRenderCallback&&this.onLoadRenderCallback.call(this.callbackContext,this.game)},destroy:function(){this._clearWorld=!0,this._clearCache=!0,this.clearCurrentState(),this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPausedCallback=null,this.onResumedCallback=null,this.onPauseUpdateCallback=null,this.game=null,this.states={},this._pendingState=null,this.current=""}},c.StateManager.prototype.constructor=c.StateManager,Object.defineProperty(c.StateManager.prototype,"created",{get:function(){return this._created}}),c.Signal=function(){},c.Signal.prototype={_bindings:null,_prevParams:null,memorize:!1,_shouldPropagate:!0,active:!0,_boundDispatch:!1,validateListener:function(a,b){if("function"!=typeof a)throw new Error("Phaser.Signal: listener is a required param of {fn}() and should be a Function.".replace("{fn}",b))},_registerListener:function(a,b,d,e,f){var g,h=this._indexOfListener(a,d);if(h!==-1){if(g=this._bindings[h],g.isOnce()!==b)throw new Error("You cannot add"+(b?"":"Once")+"() then add"+(b?"Once":"")+"() the same listener without removing the relationship first.")}else g=new c.SignalBinding(this,a,b,d,e,f),this._addBinding(g);return this.memorize&&this._prevParams&&g.execute(this._prevParams),g},_addBinding:function(a){this._bindings||(this._bindings=[]);var b=this._bindings.length;do b--;while(this._bindings[b]&&a._priority<=this._bindings[b]._priority);this._bindings.splice(b+1,0,a)},_indexOfListener:function(a,b){if(!this._bindings)return-1;void 0===b&&(b=null);for(var c,d=this._bindings.length;d--;)if(c=this._bindings[d],c._listener===a&&c.context===b)return d;return-1},has:function(a,b){return this._indexOfListener(a,b)!==-1},add:function(a,b,c){this.validateListener(a,"add");var d=[];if(arguments.length>3)for(var e=3;e3)for(var e=3;e=this.children.length?-1:this.getChildAt(a)},c.Group.prototype.create=function(a,b,c,d,e,f){void 0===e&&(e=!0);var g=new this.classType(this.game,a,b,c,d);return g.exists=e,g.visible=e,g.alive=e,this.add(g,!1,f)},c.Group.prototype.createMultiple=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=!1),Array.isArray(b)||(b=[b]),Array.isArray(c)||(c=[c]);var e=this,f=[];return b.forEach(function(b){c.forEach(function(c){for(var g=0;gthis.children.length||a===-1&&b===-1)return!1;for(var h=new c.Rectangle(0,0,d,e),i=a*d,j=b*e,k=g;kthis.children.length-1&&(a=0),this.cursor)return this.cursorIndex=a,this.cursor=this.children[this.cursorIndex],this.cursor};c.Group.prototype.next=function(){if(this.cursor)return this.cursorIndex>=this.children.length-1?this.cursorIndex=0:this.cursorIndex++,this.cursor=this.children[this.cursorIndex],this.cursor},c.Group.prototype.previous=function(){if(this.cursor)return 0===this.cursorIndex?this.cursorIndex=this.children.length-1:this.cursorIndex--,this.cursor=this.children[this.cursorIndex],this.cursor},c.Group.prototype.swap=function(a,b){this.swapChildren(a,b),this.updateZ()},c.Group.prototype.bringToTop=function(a){return a.parent===this&&this.getIndex(a)0&&(this.remove(a,!1,!0),this.addAt(a,0,!0)),a},c.Group.prototype.moveUp=function(a){if(a.parent===this&&this.getIndex(a)0){var b=this.getIndex(a),c=this.getAt(b-1);c&&this.swap(a,c)}return a},c.Group.prototype.xy=function(a,b,c){return a<0||a>this.children.length?-1:(this.getChildAt(a).x=b,void(this.getChildAt(a).y=c))},c.Group.prototype.reverse=function(){this.children.reverse(),this.updateZ()},c.Group.prototype.getIndex=function(a){return this.children.indexOf(a)},c.Group.prototype.getByName=function(a){for(var b=0;b0))return!1;var f=b.length;return 1===f?0===d?a[b[0]]=c:1===d?a[b[0]]+=c:2===d?a[b[0]]-=c:3===d?a[b[0]]*=c:4===d&&(a[b[0]]/=c):2===f?0===d?a[b[0]][b[1]]=c:1===d?a[b[0]][b[1]]+=c:2===d?a[b[0]][b[1]]-=c:3===d?a[b[0]][b[1]]*=c:4===d&&(a[b[0]][b[1]]/=c):3===f?0===d?a[b[0]][b[1]][b[2]]=c:1===d?a[b[0]][b[1]][b[2]]+=c:2===d?a[b[0]][b[1]][b[2]]-=c:3===d?a[b[0]][b[1]][b[2]]*=c:4===d&&(a[b[0]][b[1]][b[2]]/=c):4===f&&(0===d?a[b[0]][b[1]][b[2]][b[3]]=c:1===d?a[b[0]][b[1]][b[2]][b[3]]+=c:2===d?a[b[0]][b[1]][b[2]][b[3]]-=c:3===d?a[b[0]][b[1]][b[2]][b[3]]*=c:4===d&&(a[b[0]][b[1]][b[2]][b[3]]/=c)),!0},c.Group.prototype.checkProperty=function(a,b,d,e){return void 0===e&&(e=!1),!(!c.Utils.getProperty(a,b)&&e)&&c.Utils.getProperty(a,b)===d},c.Group.prototype.set=function(a,b,c,d,e,f,g){if(void 0===g&&(g=!1),b=b.split("."),void 0===d&&(d=!1),void 0===e&&(e=!1),(d===!1||d&&a.alive)&&(e===!1||e&&a.visible))return this.setProperty(a,b,c,f,g)},c.Group.prototype.setAll=function(a,b,c,d,e,f){void 0===c&&(c=!1),void 0===d&&(d=!1),void 0===f&&(f=!1),a=a.split("."),e=e||0;for(var g=0;g2){c=[];for(var d=2;d2){e=[];for(var f=2;f2){d=[null];for(var e=2;e2){d=[null];for(var e=2;e2){d=[null];for(var e=2;eb[this._sortProperty]?1:a.zb[this._sortProperty]?-1:0},c.Group.prototype.iterate=function(a,b,d,e,f,g){if(0===this.children.length){if(d===c.Group.RETURN_TOTAL)return 0;if(d===c.Group.RETURN_ALL)return[]}var h=0;if(d===c.Group.RETURN_ALL)var i=[];for(var j=0;j0)return this.children[this.children.length-1]},c.Group.prototype.getBottom=function(){if(this.children.length>0)return this.children[0]},c.Group.prototype.getClosestTo=function(a,b,d){for(var e=Number.MAX_VALUE,f=0,g=null,h=0;he&&(!b||b.call(d,i,f))&&(e=f,g=i))}return g},c.Group.prototype.countLiving=function(){return this.iterate("alive",!0,c.Group.RETURN_TOTAL)},c.Group.prototype.countDead=function(){return this.iterate("alive",!1,c.Group.RETURN_TOTAL)},c.Group.prototype.getRandom=function(a,b){return void 0===a&&(a=0),void 0===b&&(b=this.children.length),0===b?null:c.ArrayUtils.getRandomItem(this.children,a,b)},c.Group.prototype.getRandomExists=function(a,b){var c=this.getAll("exists",!0,a,b);return this.game.rnd.pick(c)},c.Group.prototype.getAll=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=this.children.length);for(var e=[],f=c;f0&&a instanceof c.Group){do a.add(this.children[0],b);while(this.children.length>0);this.hash=[],this.cursor=null}return a},c.Group.prototype.removeAll=function(a,b,c){if(void 0===a&&(a=!1),void 0===b&&(b=!1),void 0===c&&(c=!1),0!==this.children.length){do{!b&&this.children[0].events&&this.children[0].events.onRemovedFromGroup$dispatch(this.children[0],this);var d=this.removeChild(this.children[0]);this.removeFromHash(d),a&&d&&d.destroy(!0,c)}while(this.children.length>0);this.hash=[],this.cursor=null}},c.Group.prototype.removeBetween=function(a,b,c,d){if(void 0===b&&(b=this.children.length-1),void 0===c&&(c=!1),void 0===d&&(d=!1),0!==this.children.length){if(a>b||a<0||b>this.children.length)return!1;for(var e=b;e>=a;){!d&&this.children[e].events&&this.children[e].events.onRemovedFromGroup$dispatch(this.children[e],this);var f=this.removeChild(this.children[e]);this.removeFromHash(f),c&&f&&f.destroy(!0),this.cursor===this.children[e]&&(this.cursor=null),e--}this.updateZ()}},c.Group.prototype.destroy=function(a,b){null===this.game||this.ignoreDestroy||(void 0===a&&(a=!0),void 0===b&&(b=!1),this.onDestroy.dispatch(this,a,b),this.removeAll(a),this.cursor=null,this.filters=null,this.pendingDestroy=!1,b||(this.parent&&this.parent.removeChild(this),this.game=null,this.exists=!1))},Object.defineProperty(c.Group.prototype,"total",{get:function(){return this.iterate("exists",!0,c.Group.RETURN_TOTAL)}}),Object.defineProperty(c.Group.prototype,"length",{get:function(){return this.children.length}}),Object.defineProperty(c.Group.prototype,"angle",{get:function(){return c.Math.radToDeg(this.rotation)},set:function(a){this.rotation=c.Math.degToRad(a)}}),Object.defineProperty(c.Group.prototype,"centerX",{get:function(){return this.getBounds(this.parent).centerX},set:function(a){var b=this.getBounds(this.parent),c=this.x-b.x;this.x=a+c-b.halfWidth}}),Object.defineProperty(c.Group.prototype,"centerY",{get:function(){return this.getBounds(this.parent).centerY},set:function(a){var b=this.getBounds(this.parent),c=this.y-b.y;this.y=a+c-b.halfHeight}}),Object.defineProperty(c.Group.prototype,"left",{get:function(){return this.getBounds(this.parent).left},set:function(a){var b=this.getBounds(this.parent),c=this.x-b.x;this.x=a+c}}),Object.defineProperty(c.Group.prototype,"right",{get:function(){return this.getBounds(this.parent).right},set:function(a){var b=this.getBounds(this.parent),c=this.x-b.x;this.x=a+c-b.width}}),Object.defineProperty(c.Group.prototype,"top",{get:function(){return this.getBounds(this.parent).top},set:function(a){var b=this.getBounds(this.parent),c=this.y-b.y;this.y=a+c}}),Object.defineProperty(c.Group.prototype,"bottom",{get:function(){return this.getBounds(this.parent).bottom},set:function(a){var b=this.getBounds(this.parent),c=this.y-b.y;this.y=a+c-b.height}}),c.World=function(a){c.Group.call(this,a,null,"__world",!1),this.bounds=new c.Rectangle(0,0,a.width,a.height),this.camera=null,this._definedSize=!1,this._width=a.width,this._height=a.height,this.game.state.onStateChange.add(this.stateChange,this)},c.World.prototype=Object.create(c.Group.prototype),c.World.prototype.constructor=c.World,c.World.prototype.boot=function(){this.camera=new c.Camera(this.game,0,0,0,this.game.width,this.game.height),this.game.stage.addChild(this),this.camera.boot()},c.World.prototype.stateChange=function(){this.x=0,this.y=0,this.camera.reset()},c.World.prototype.setBounds=function(a,b,c,d){this._definedSize=!0,this._width=c,this._height=d,this.bounds.setTo(a,b,c,d),this.x=a,this.y=b,this.camera.bounds&&this.camera.bounds.setTo(a,b,Math.max(c,this.game.width),Math.max(d,this.game.height)),this.game.physics.setBoundsToWorld()},c.World.prototype.resize=function(a,b){this._definedSize&&(athis.bounds.right&&(a.x=this.bounds.left)),e&&(a.y+a._currentBounds.heightthis.bounds.bottom&&(a.y=this.bounds.top))):(d&&a.x+bthis.bounds.right&&(a.x=this.bounds.left-b),e&&a.y+bthis.bounds.bottom&&(a.y=this.bounds.top-b))},Object.defineProperty(c.World.prototype,"width",{get:function(){return this.bounds.width},set:function(a){a1&&!this.forceSingleUpdate)this.time.time>this._nextFpsNotification&&(this._nextFpsNotification=this.time.time+1e4,this.fpsProblemNotifier.dispatch()),this._deltaTime=0,this._spiraling=0,this.updateRender(this.time.slowMotion*this.time.desiredFps);else{var b=1e3*this.time.slowMotion/this.time.desiredFps;this._deltaTime+=Math.max(Math.min(3*b,this.time.elapsed),0);var c=0;for(this.updatesThisFrame=Math.floor(this._deltaTime/b),this.forceSingleUpdate&&(this.updatesThisFrame=Math.min(1,this.updatesThisFrame));this._deltaTime>=b&&(this._deltaTime-=b,this.currentUpdateID=c,this.updateLogic(this.time.desiredFpsMult),c++,!this.forceSingleUpdate||1!==c);)this.time.refresh();c>this._lastCount?this._spiraling++:c=c.Input.MAX_POINTERS)return console.warn("Phaser.Input.addPointer: Maximum limit of "+c.Input.MAX_POINTERS+" pointers reached."),null;var a=this.pointers.length+1,b=new c.Pointer(this.game,a,c.PointerMode.TOUCH);return this.pointers.push(b),this["pointer"+a]=b,b},update:function(){if(this.keyboard&&this.keyboard.update(),this.pollRate>0&&this._pollCounter=0&&this.countActivePointers(this.maxPointers)>=this.maxPointers)return null;if(!this.pointer1.active)return this.pointer1.start(a);if(!this.pointer2.active)return this.pointer2.start(a);for(var b=2;b0;c++){var d=this.pointers[c];d.active&&b--}return a-b},getPointer:function(a){void 0===a&&(a=!1);for(var b=0;b=g&&this._localPoint.x=h&&this._localPoint.y=g&&this._localPoint.x=h&&this._localPoint.y0&&this._pollCounterthis.game.time.time},justReleased:function(a){return a=a||250,this.isUp&&this.timeUp+a>this.game.time.time},reset:function(){this.isDown=!1,this.isUp=!0,this.timeDown=this.game.time.time,this.repeats=0,this.altKey=!1,this.shiftKey=!1,this.ctrlKey=!1},destroy:function(){this.onDown.dispose(),this.onUp.dispose(),this.onFloat.dispose(),this.parent=null,this.game=null}},c.DeviceButton.prototype.constructor=c.DeviceButton,Object.defineProperty(c.DeviceButton.prototype,"duration",{get:function(){return this.isUp?-1:this.game.time.time-this.timeDown}}),c.Pointer=function(a,b,d){this.game=a,this.id=b,this.type=c.POINTER,this.exists=!0,this.identifier=0,this.pointerId=null,this.pointerMode=d||c.PointerMode.CURSOR|c.PointerMode.CONTACT,this.target=null,this.button=null,this.leftButton=new c.DeviceButton(this,c.Pointer.LEFT_BUTTON),this.middleButton=new c.DeviceButton(this,c.Pointer.MIDDLE_BUTTON),this.rightButton=new c.DeviceButton(this,c.Pointer.RIGHT_BUTTON),this.backButton=new c.DeviceButton(this,c.Pointer.BACK_BUTTON),this.forwardButton=new c.DeviceButton(this,c.Pointer.FORWARD_BUTTON),this.eraserButton=new c.DeviceButton(this,c.Pointer.ERASER_BUTTON),this._holdSent=!1,this._history=[],this._nextDrop=0,this._stateReset=!1,this.withinGame=!1,this.clientX=-1,this.clientY=-1,this.pageX=-1,this.pageY=-1,this.screenX=-1,this.screenY=-1,this.rawMovementX=0,this.rawMovementY=0,this.movementX=0,this.movementY=0,this.x=-1,this.y=-1,this.isMouse=0===b,this.isDown=!1,this.isUp=!0,this.timeDown=0,this.timeUp=0,this.previousTapTime=0,this.totalTouches=0,this.msSinceLastClick=Number.MAX_VALUE,this.targetObject=null,this.interactiveCandidates=[],this.active=!1,this.dirty=!1,this.position=new c.Point,this.positionDown=new c.Point,this.positionUp=new c.Point,this.circle=new c.Circle(0,0,44),this._clickTrampolines=null,this._trampolineTargetObject=null},c.Pointer.NO_BUTTON=0,c.Pointer.LEFT_BUTTON=1,c.Pointer.RIGHT_BUTTON=2,c.Pointer.MIDDLE_BUTTON=4,c.Pointer.BACK_BUTTON=8,c.Pointer.FORWARD_BUTTON=16,c.Pointer.ERASER_BUTTON=32,c.Pointer.prototype={resetButtons:function(){this.isDown=!1,this.isUp=!0,this.isMouse&&(this.leftButton.reset(),this.middleButton.reset(),this.rightButton.reset(),this.backButton.reset(),this.forwardButton.reset(),this.eraserButton.reset())},processButtonsDown:function(a,b){c.Pointer.LEFT_BUTTON&a&&this.leftButton.start(b),c.Pointer.RIGHT_BUTTON&a&&this.rightButton.start(b),c.Pointer.MIDDLE_BUTTON&a&&this.middleButton.start(b),c.Pointer.BACK_BUTTON&a&&this.backButton.start(b),c.Pointer.FORWARD_BUTTON&a&&this.forwardButton.start(b),c.Pointer.ERASER_BUTTON&a&&this.eraserButton.start(b)},processButtonsUp:function(a,b){a===c.Mouse.LEFT_BUTTON&&this.leftButton.stop(b),a===c.Mouse.RIGHT_BUTTON&&this.rightButton.stop(b),a===c.Mouse.MIDDLE_BUTTON&&this.middleButton.stop(b),a===c.Mouse.BACK_BUTTON&&this.backButton.stop(b),a===c.Mouse.FORWARD_BUTTON&&this.forwardButton.stop(b),5===a&&this.eraserButton.stop(b)},updateButtons:function(a){this.button=a.button;var b="down"===a.type.toLowerCase().substr(-4);void 0!==a.buttons?b?this.processButtonsDown(a.buttons,a):this.processButtonsUp(a.button,a):b?this.leftButton.start(a):(this.leftButton.stop(a),this.rightButton.stop(a)),1===a.buttons&&a.ctrlKey&&this.leftButton.isDown&&(this.leftButton.stop(a),this.rightButton.start(a)),this.isUp=!0,this.isDown=!1,(this.leftButton.isDown||this.rightButton.isDown||this.middleButton.isDown||this.backButton.isDown||this.forwardButton.isDown||this.eraserButton.isDown)&&(this.isUp=!1,this.isDown=!0)},start:function(a){var b=this.game.input;return a.pointerId&&(this.pointerId=a.pointerId),this.identifier=a.identifier,this.target=a.target,this.isMouse?this.updateButtons(a):(this.isDown=!0,this.isUp=!1),this.active=!0,this.withinGame=!0,this.dirty=!1,this._history=[],this._clickTrampolines=null,this._trampolineTargetObject=null,this.msSinceLastClick=this.game.time.time-this.timeDown,this.timeDown=this.game.time.time,this._holdSent=!1,this.move(a,!0),this.positionDown.setTo(this.x,this.y),(b.multiInputOverride===c.Input.MOUSE_OVERRIDES_TOUCH||b.multiInputOverride===c.Input.MOUSE_TOUCH_COMBINE||b.multiInputOverride===c.Input.TOUCH_OVERRIDES_MOUSE&&0===b.totalActivePointers)&&(b.x=this.x,b.y=this.y,b.position.setTo(this.x,this.y),b.onDown.dispatch(this,a),b.resetSpeed(this.x,this.y)),this._stateReset=!1,this.totalTouches++,null!==this.targetObject&&this.targetObject._touchedHandler(this),this},update:function(){var a=this.game.input;this.active&&(this.dirty&&(a.interactiveItems.total>0&&this.processInteractiveObjects(!1),this.dirty=!1),this._holdSent===!1&&this.duration>=a.holdRate&&((a.multiInputOverride===c.Input.MOUSE_OVERRIDES_TOUCH||a.multiInputOverride===c.Input.MOUSE_TOUCH_COMBINE||a.multiInputOverride===c.Input.TOUCH_OVERRIDES_MOUSE&&0===a.totalActivePointers)&&a.onHold.dispatch(this), +this._holdSent=!0),a.recordPointerHistory&&this.game.time.time>=this._nextDrop&&(this._nextDrop=this.game.time.time+a.recordRate,this._history.push({x:this.position.x,y:this.position.y}),this._history.length>a.recordLimit&&this._history.shift()))},move:function(a,b){var d=this.game.input;if(!d.pollLocked){if(void 0===b&&(b=!1),void 0!==a.button&&(this.button=a.button),b&&this.isMouse&&this.updateButtons(a),this.clientX=a.clientX,this.clientY=a.clientY,this.pageX=a.pageX,this.pageY=a.pageY,this.screenX=a.screenX,this.screenY=a.screenY,this.isMouse&&d.mouse.locked&&!b&&(this.rawMovementX=a.movementX||a.mozMovementX||a.webkitMovementX||0,this.rawMovementY=a.movementY||a.mozMovementY||a.webkitMovementY||0,this.movementX+=this.rawMovementX,this.movementY+=this.rawMovementY),this.x=(this.pageX-this.game.scale.offset.x)*d.scale.x,this.y=(this.pageY-this.game.scale.offset.y)*d.scale.y,this.position.setTo(this.x,this.y),this.circle.x=this.x,this.circle.y=this.y,(d.multiInputOverride===c.Input.MOUSE_OVERRIDES_TOUCH||d.multiInputOverride===c.Input.MOUSE_TOUCH_COMBINE||d.multiInputOverride===c.Input.TOUCH_OVERRIDES_MOUSE&&0===d.totalActivePointers)&&(d.activePointer=this,d.x=this.x,d.y=this.y,d.position.setTo(d.x,d.y),d.circle.x=d.x,d.circle.y=d.y),this.withinGame=this.game.scale.bounds.contains(this.pageX,this.pageY),this.game.paused)return this;for(var e=d.moveCallbacks.length;e--;)d.moveCallbacks[e].callback.call(d.moveCallbacks[e].context,this,this.x,this.y,b);return null!==this.targetObject&&this.targetObject.isDragged===!0?this.targetObject.update(this)===!1&&(this.targetObject=null):d.interactiveItems.total>0&&this.processInteractiveObjects(b),this}},processInteractiveObjects:function(a){var b=0,c=-1,d=null,e=this.game.input.interactiveItems.first;for(this.interactiveCandidates=[];e;)e.checked=!1,e.validForInput(c,b,!1)&&(e.checked=!0,(a&&e.checkPointerDown(this,!0)||!a&&e.checkPointerOver(this,!0))&&(b=e.sprite.renderOrderID,c=e.priorityID,d=e,this.interactiveCandidates.push(e))),e=this.game.input.interactiveItems.next;for(e=this.game.input.interactiveItems.first;e;)!e.checked&&e.validForInput(c,b,!0)&&(a&&e.checkPointerDown(this,!1)||!a&&e.checkPointerOver(this,!1))&&(b=e.sprite.renderOrderID,c=e.priorityID,d=e,this.interactiveCandidates.push(e)),e=this.game.input.interactiveItems.next;return this.game.input.customCandidateHandler&&(d=this.game.input.customCandidateHandler.call(this.game.input.customCandidateHandlerContext,this,this.interactiveCandidates,d)),this.swapTarget(d,!1),null!==this.targetObject},swapTarget:function(a,b){void 0===b&&(b=!1),null===a?this.targetObject&&(this.targetObject._pointerOutHandler(this,b),this.targetObject=null):null===this.targetObject?(this.targetObject=a,a._pointerOverHandler(this,b)):this.targetObject===a?a.update(this)===!1&&(this.targetObject=null):(this.targetObject._pointerOutHandler(this,b),this.targetObject=a,this.targetObject._pointerOverHandler(this,b))},leave:function(a){this.withinGame=!1,this.move(a,!1)},stop:function(a){var b=this.game.input;return this._stateReset&&this.withinGame?void a.preventDefault():(this.timeUp=this.game.time.time,(b.multiInputOverride===c.Input.MOUSE_OVERRIDES_TOUCH||b.multiInputOverride===c.Input.MOUSE_TOUCH_COMBINE||b.multiInputOverride===c.Input.TOUCH_OVERRIDES_MOUSE&&0===b.totalActivePointers)&&(b.onUp.dispatch(this,a),this.duration>=0&&this.duration<=b.tapRate&&(this.timeUp-this.previousTapTime0&&(this.active=!1),this.withinGame=this.game.scale.bounds.contains(a.pageX,a.pageY),this.pointerId=null,this.identifier=null,this.positionUp.setTo(this.x,this.y),this.isMouse===!1&&b.currentPointers--,b.interactiveItems.callAll("_releasedHandler",this),this._clickTrampolines&&(this._trampolineTargetObject=this.targetObject),this.targetObject=null,this)},justPressed:function(a){return a=a||this.game.input.justPressedRate,this.isDown===!0&&this.timeDown+a>this.game.time.time},justReleased:function(a){return a=a||this.game.input.justReleasedRate,this.isUp&&this.timeUp+a>this.game.time.time},addClickTrampoline:function(a,b,c,d){if(this.isDown){for(var e=this._clickTrampolines=this._clickTrampolines||[],f=0;fa||this.priorityID===a&&this.sprite.renderOrderID>b))},isPixelPerfect:function(){return this.pixelPerfectClick||this.pixelPerfectOver},pointerX:function(a){return a=a||0,this._pointerData[a].x},pointerY:function(a){return a=a||0,this._pointerData[a].y},pointerDown:function(a){return a=a||0,this._pointerData[a].isDown},pointerUp:function(a){return a=a||0,this._pointerData[a].isUp},pointerTimeDown:function(a){return a=a||0,this._pointerData[a].timeDown},pointerTimeUp:function(a){return a=a||0,this._pointerData[a].timeUp},pointerOver:function(a){if(!this.enabled)return!1;if(void 0===a){for(var b=0;b<10;b++)if(this._pointerData[b].isOver)return!0;return!1}return this._pointerData[a].isOver},pointerOut:function(a){if(!this.enabled)return!1;if(void 0!==a)return this._pointerData[a].isOut;for(var b=0;b<10;b++)if(this._pointerData[b].isOut)return!0},pointerTimeOver:function(a){return a=a||0,this._pointerData[a].timeOver},pointerTimeOut:function(a){return a=a||0,this._pointerData[a].timeOut},pointerDragged:function(a){return a=a||0,this._pointerData[a].isDragged},checkPointerDown:function(a,b){return!!(a.isDown&&this.enabled&&this.sprite&&this.sprite.parent&&this.sprite.visible&&this.sprite.parent.visible&&0!==this.sprite.worldScale.x&&0!==this.sprite.worldScale.y)&&(!!this.game.input.hitTest(this.sprite,a,this._tempPoint)&&(void 0===b&&(b=!1),!(!b&&this.pixelPerfectClick)||this.checkPixel(this._tempPoint.x,this._tempPoint.y)))},checkPointerOver:function(a,b){return!!(this.enabled&&this.sprite&&this.sprite.parent&&this.sprite.visible&&this.sprite.parent.visible&&0!==this.sprite.worldScale.x&&0!==this.sprite.worldScale.y)&&(!!this.game.input.hitTest(this.sprite,a,this._tempPoint)&&(void 0===b&&(b=!1),!(!b&&this.pixelPerfectOver)||this.checkPixel(this._tempPoint.x,this._tempPoint.y)))},checkPixel:function(a,b,c){if(this.sprite.texture.baseTexture.source){if(null===a&&null===b){this.game.input.getLocalPosition(this.sprite,c,this._tempPoint);var a=this._tempPoint.x,b=this._tempPoint.y}if(0!==this.sprite.anchor.x&&(a-=-this.sprite.texture.frame.width*this.sprite.anchor.x),0!==this.sprite.anchor.y&&(b-=-this.sprite.texture.frame.height*this.sprite.anchor.y),a+=this.sprite.texture.frame.x,b+=this.sprite.texture.frame.y,this.sprite.texture.trim&&(a-=this.sprite.texture.trim.x,b-=this.sprite.texture.trim.y,athis.sprite.texture.crop.right||bthis.sprite.texture.crop.bottom))return this._dx=a,this._dy=b,!1;this._dx=a,this._dy=b,this.game.input.hitContext.clearRect(0,0,1,1),this.game.input.hitContext.drawImage(this.sprite.texture.baseTexture.source,a,b,1,1,0,0,1,1);var d=this.game.input.hitContext.getImageData(0,0,1,1);if(d.data[3]>=this.pixelPerfectAlpha)return!0}return!1},update:function(a){if(null!==this.sprite&&void 0!==this.sprite.parent)return this.enabled&&this.sprite.visible&&this.sprite.parent.visible?this._pendingDrag?(this._dragDistancePass||(this._dragDistancePass=c.Math.distance(a.x,a.y,this.downPoint.x,this.downPoint.y)>=this.dragDistanceThreshold),this._dragDistancePass&&this._dragTimePass&&this.startDrag(a),!0):this.draggable&&this._draggedPointerID===a.id?this.updateDrag(a,!1):this._pointerData[a.id].isOver?this.checkPointerOver(a)?(this._pointerData[a.id].x=a.x-this.sprite.x,this._pointerData[a.id].y=a.y-this.sprite.y,!0):(this._pointerOutHandler(a),!1):void 0:(this._pointerOutHandler(a),!1)},_pointerOverHandler:function(a,b){if(null!==this.sprite){var d=this._pointerData[a.id];if(d.isOver===!1||a.dirty){var e=d.isOver===!1;d.isOver=!0,d.isOut=!1,d.timeOver=this.game.time.time,d.x=a.x-this.sprite.x,d.y=a.y-this.sprite.y,this.useHandCursor&&d.isDragged===!1&&(this.game.canvas.style.cursor="pointer",this._setHandCursor=!0),!b&&e&&this.sprite&&this.sprite.events&&this.sprite.events.onInputOver$dispatch(this.sprite,a),this.sprite.parent&&this.sprite.parent.type===c.GROUP&&this.sprite.parent.onChildInputOver.dispatch(this.sprite,a)}}},_pointerOutHandler:function(a,b){if(null!==this.sprite){var d=this._pointerData[a.id];d.isOver=!1,d.isOut=!0,d.timeOut=this.game.time.time,this.useHandCursor&&d.isDragged===!1&&(this.game.canvas.style.cursor="default",this._setHandCursor=!1),!b&&this.sprite&&this.sprite.events&&(this.sprite.events.onInputOut$dispatch(this.sprite,a),this.sprite&&this.sprite.parent&&this.sprite.parent.type===c.GROUP&&this.sprite.parent.onChildInputOut.dispatch(this.sprite,a))}},_touchedHandler:function(a){if(null!==this.sprite){var b=this._pointerData[a.id];if(!b.isDown&&b.isOver){if(this.pixelPerfectClick&&!this.checkPixel(null,null,a))return;if(b.isDown=!0,b.isUp=!1,b.timeDown=this.game.time.time,this.downPoint.set(a.x,a.y),a.dirty=!0,this.sprite&&this.sprite.events&&(this.sprite.events.onInputDown$dispatch(this.sprite,a),this.sprite&&this.sprite.parent&&this.sprite.parent.type===c.GROUP&&this.sprite.parent.onChildInputDown.dispatch(this.sprite,a),null===this.sprite))return;this.draggable&&this.isDragged===!1&&(0===this.dragTimeThreshold&&0===this.dragDistanceThreshold?this.startDrag(a):(this._pendingDrag=!0,this._dragDistancePass=0===this.dragDistanceThreshold,this.dragTimeThreshold>0?(this._dragTimePass=!1,this.game.time.events.add(this.dragTimeThreshold,this.dragTimeElapsed,this,a)):this._dragTimePass=!0)),this.bringToTop&&this.sprite.bringToTop()}}},dragTimeElapsed:function(a){this._dragTimePass=!0,this._pendingDrag&&this.sprite&&this._dragDistancePass&&this.startDrag(a)},_releasedHandler:function(a){if(null!==this.sprite){var b=this._pointerData[a.id];if(b.isDown&&a.isUp){b.isDown=!1,b.isUp=!0,b.timeUp=this.game.time.time,b.downDuration=b.timeUp-b.timeDown;var d=this.checkPointerOver(a);this.sprite&&this.sprite.events&&(this.dragStopBlocksInputUp&&(!this.dragStopBlocksInputUp||this.draggable&&this.isDragged&&this._draggedPointerID===a.id)||this.sprite.events.onInputUp$dispatch(this.sprite,a,d),this.sprite&&this.sprite.parent&&this.sprite.parent.type===c.GROUP&&this.sprite.parent.onChildInputUp.dispatch(this.sprite,a,d),d&&(d=this.checkPointerOver(a))),b.isOver=d,!d&&this.useHandCursor&&(this.game.canvas.style.cursor="default",this._setHandCursor=!1),a.dirty=!0,this._pendingDrag=!1,this.draggable&&this.isDragged&&this._draggedPointerID===a.id&&this.stopDrag(a)}}},updateDrag:function(a,b){if(void 0===b&&(b=!1),a.isUp)return this.stopDrag(a),!1;var c=this.globalToLocalX(a.x)+this._dragPoint.x+this.dragOffset.x,d=this.globalToLocalY(a.y)+this._dragPoint.y+this.dragOffset.y;if(this.sprite.fixedToCamera)this.allowHorizontalDrag&&(this.sprite.cameraOffset.x=c),this.allowVerticalDrag&&(this.sprite.cameraOffset.y=d),this.boundsRect&&this.checkBoundsRect(),this.boundsSprite&&this.checkBoundsSprite(),this.snapOnDrag&&(this.sprite.cameraOffset.x=Math.round((this.sprite.cameraOffset.x-this.snapOffsetX%this.snapX)/this.snapX)*this.snapX+this.snapOffsetX%this.snapX,this.sprite.cameraOffset.y=Math.round((this.sprite.cameraOffset.y-this.snapOffsetY%this.snapY)/this.snapY)*this.snapY+this.snapOffsetY%this.snapY,this.snapPoint.set(this.sprite.cameraOffset.x,this.sprite.cameraOffset.y));else{var e=this.game.camera.x-this._pointerData[a.id].camX,f=this.game.camera.y-this._pointerData[a.id].camY;this.allowHorizontalDrag&&(this.sprite.x=c+e),this.allowVerticalDrag&&(this.sprite.y=d+f),this.boundsRect&&this.checkBoundsRect(),this.boundsSprite&&this.checkBoundsSprite(),this.snapOnDrag&&(this.sprite.x=Math.round((this.sprite.x-this.snapOffsetX%this.snapX)/this.snapX)*this.snapX+this.snapOffsetX%this.snapX,this.sprite.y=Math.round((this.sprite.y-this.snapOffsetY%this.snapY)/this.snapY)*this.snapY+this.snapOffsetY%this.snapY,this.snapPoint.set(this.sprite.x,this.sprite.y))}return this.sprite.events.onDragUpdate.dispatch(this.sprite,a,c,d,this.snapPoint,b),!0},justOver:function(a,b){return a=a||0,b=b||500,this._pointerData[a].isOver&&this.overDuration(a)this.boundsRect.right&&(this.sprite.cameraOffset.x=this.boundsRect.right-this.sprite.width),this.sprite.cameraOffset.ythis.boundsRect.bottom&&(this.sprite.cameraOffset.y=this.boundsRect.bottom-this.sprite.height)):(this.sprite.leftthis.boundsRect.right&&(this.sprite.x=this.boundsRect.right-(this.sprite.width-this.sprite.offsetX)),this.sprite.topthis.boundsRect.bottom&&(this.sprite.y=this.boundsRect.bottom-(this.sprite.height-this.sprite.offsetY)))},checkBoundsSprite:function(){this.sprite.fixedToCamera&&this.boundsSprite.fixedToCamera?(this.sprite.cameraOffset.xthis.boundsSprite.cameraOffset.x+this.boundsSprite.width&&(this.sprite.cameraOffset.x=this.boundsSprite.cameraOffset.x+this.boundsSprite.width-this.sprite.width),this.sprite.cameraOffset.ythis.boundsSprite.cameraOffset.y+this.boundsSprite.height&&(this.sprite.cameraOffset.y=this.boundsSprite.cameraOffset.y+this.boundsSprite.height-this.sprite.height)):(this.sprite.leftthis.boundsSprite.right&&(this.sprite.x=this.boundsSprite.right-(this.sprite.width-this.sprite.offsetX)),this.sprite.topthis.boundsSprite.bottom&&(this.sprite.y=this.boundsSprite.bottom-(this.sprite.height-this.sprite.offsetY)))}},c.InputHandler.prototype.constructor=c.InputHandler,c.Gamepad=function(a){this.game=a,this._gamepadIndexMap={},this._rawPads=[],this._active=!1,this.enabled=!0,this._gamepadSupportAvailable=!!navigator.webkitGetGamepads||!!navigator.webkitGamepads||navigator.userAgent.indexOf("Firefox/")!==-1||!!navigator.getGamepads,this._prevRawGamepadTypes=[],this._prevTimestamps=[],this.callbackContext=this,this.onConnectCallback=null,this.onDisconnectCallback=null,this.onDownCallback=null,this.onUpCallback=null,this.onAxisCallback=null,this.onFloatCallback=null,this._ongamepadconnected=null,this._gamepaddisconnected=null,this._gamepads=[new c.SinglePad(a,this),new c.SinglePad(a,this),new c.SinglePad(a,this),new c.SinglePad(a,this)]},c.Gamepad.prototype={addCallbacks:function(a,b){"undefined"!=typeof b&&(this.onConnectCallback="function"==typeof b.onConnect?b.onConnect:this.onConnectCallback,this.onDisconnectCallback="function"==typeof b.onDisconnect?b.onDisconnect:this.onDisconnectCallback,this.onDownCallback="function"==typeof b.onDown?b.onDown:this.onDownCallback,this.onUpCallback="function"==typeof b.onUp?b.onUp:this.onUpCallback,this.onAxisCallback="function"==typeof b.onAxis?b.onAxis:this.onAxisCallback,this.onFloatCallback="function"==typeof b.onFloat?b.onFloat:this.onFloatCallback,this.callbackContext=a)},start:function(){if(!this._active){this._active=!0;var a=this;this._onGamepadConnected=function(b){return a.onGamepadConnected(b)},this._onGamepadDisconnected=function(b){return a.onGamepadDisconnected(b)},window.addEventListener("gamepadconnected",this._onGamepadConnected,!1),window.addEventListener("gamepaddisconnected",this._onGamepadDisconnected,!1)}},onGamepadConnected:function(a){var b=a.gamepad;this._rawPads.push(b),this._gamepads[b.index].connect(b)},onGamepadDisconnected:function(a){var b=a.gamepad;for(var c in this._rawPads)this._rawPads[c].index===b.index&&this._rawPads.splice(c,1);this._gamepads[b.index].disconnect()},update:function(){this._pollGamepads(),this.pad1.pollStatus(),this.pad2.pollStatus(),this.pad3.pollStatus(),this.pad4.pollStatus()},_pollGamepads:function(){if(this._active){if(navigator.getGamepads)var a=navigator.getGamepads();else if(navigator.webkitGetGamepads)var a=navigator.webkitGetGamepads();else if(navigator.webkitGamepads)var a=navigator.webkitGamepads();if(a){this._rawPads=[];for(var b=!1,c=0;c0&&d>this.deadZone||d<0&&d<-this.deadZone?this.processAxisChange(c,d):this.processAxisChange(c,0)}this._prevTimestamp=this._rawPad.timestamp}},connect:function(a){var b=!this.connected;this.connected=!0,this.index=a.index,this._rawPad=a,this._buttons=[],this._buttonsLen=a.buttons.length,this._axes=[],this._axesLen=a.axes.length;for(var d=0;dthis.maxHealth&&(this.health=this.maxHealth),this},heal:function(a){return this.alive&&(this.health+=a,this.health>this.maxHealth&&(this.health=this.maxHealth)),this}},c.Component.InCamera=function(){},c.Component.InCamera.prototype={inCamera:{get:function(){return this.game.world.camera.view.intersects(this._bounds)}}},c.Component.InputEnabled=function(){},c.Component.InputEnabled.prototype={input:null,inputEnabled:{get:function(){return this.input&&this.input.enabled},set:function(a){a?null===this.input?(this.input=new c.InputHandler(this),this.input.start()):this.input&&!this.input.enabled&&this.input.start():this.input&&this.input.enabled&&this.input.stop()}}},c.Component.InWorld=function(){},c.Component.InWorld.preUpdate=function(){if(this.autoCull||this.checkWorldBounds){if(this._bounds.copyFrom(this.getBounds()),this._bounds.x+=this.game.camera.view.x,this._bounds.y+=this.game.camera.view.y,this.autoCull)if(this.game.world.camera.view.intersects(this._bounds))this.renderable=!0,this.game.world.camera.totalInView++;else if(this.renderable=!1,this.outOfCameraBoundsKill)return this.kill(),!1;if(this.checkWorldBounds)if(this._outOfBoundsFired&&this.game.world.bounds.intersects(this._bounds))this._outOfBoundsFired=!1,this.events.onEnterBounds$dispatch(this);else if(!this._outOfBoundsFired&&!this.game.world.bounds.intersects(this._bounds)&&(this._outOfBoundsFired=!0,this.events.onOutOfBounds$dispatch(this),this.outOfBoundsKill))return this.kill(),!1}return!0},c.Component.InWorld.prototype={checkWorldBounds:!1,outOfBoundsKill:!1,outOfCameraBoundsKill:!1,_outOfBoundsFired:!1,inWorld:{get:function(){return this.game.world.bounds.intersects(this.getBounds())}}},c.Component.LifeSpan=function(){},c.Component.LifeSpan.preUpdate=function(){return!(this.lifespan>0&&(this.lifespan-=this.game.time.physicsElapsedMS,this.lifespan<=0))||(this.kill(),!1)},c.Component.LifeSpan.prototype={alive:!0,lifespan:0,revive:function(a){return void 0===a&&(a=100),this.alive=!0,this.exists=!0,this.visible=!0,"function"==typeof this.setHealth&&this.setHealth(a),this.events&&this.events.onRevived$dispatch(this),this},kill:function(){return this.alive=!1,this.exists=!1,this.visible=!1,this.events&&this.events.onKilled$dispatch(this),this}},c.Component.LoadTexture=function(){},c.Component.LoadTexture.prototype={customRender:!1,_frame:null,loadTexture:function(a,b,d){a===c.PENDING_ATLAS?(a=b,b=0):b=b||0,(d||void 0===d)&&this.animations&&this.animations.stop(),this.key=a,this.customRender=!1;var e=this.game.cache,f=!0,g=!this.texture.baseTexture.scaleMode;if(c.RenderTexture&&a instanceof c.RenderTexture)this.key=a.key,this.setTexture(a);else if(c.BitmapData&&a instanceof c.BitmapData)this.customRender=!0,this.setTexture(a.texture),f=e.hasFrameData(a.key,c.Cache.BITMAPDATA)?!this.animations.loadFrameData(e.getFrameData(a.key,c.Cache.BITMAPDATA),b):!this.animations.loadFrameData(a.frameData,0);else if(c.Video&&a instanceof c.Video){this.customRender=!0;var h=a.texture.valid;this.setTexture(a.texture),this.setFrame(a.texture.frame.clone()),a.onChangeSource.add(this.resizeFrame,this),this.texture.valid=h}else if(c.Tilemap&&a instanceof c.TilemapLayer)this.setTexture(PIXI.Texture.fromCanvas(a.canvas));else if(a instanceof PIXI.Texture)this.setTexture(a);else{var i=e.getImage(a,!0);this.key=i.key,this.setTexture(new PIXI.Texture(i.base)),"__default"===a?this.texture.baseTexture.skipRender=!0:this.texture.baseTexture.skipRender=!1,f=!this.animations.loadFrameData(i.frameData,b)}f&&(this._frame=c.Rectangle.clone(this.texture.frame)),g||(this.texture.baseTexture.scaleMode=1)},setFrame:function(a){this._frame=a,this.texture.frame.x=a.x,this.texture.frame.y=a.y,this.texture.frame.width=a.width,this.texture.frame.height=a.height,this.texture.crop.x=a.x,this.texture.crop.y=a.y,this.texture.crop.width=a.width,this.texture.crop.height=a.height,a.trimmed?(this.texture.trim?(this.texture.trim.x=a.spriteSourceSizeX,this.texture.trim.y=a.spriteSourceSizeY,this.texture.trim.width=a.sourceSizeW,this.texture.trim.height=a.sourceSizeH):this.texture.trim={x:a.spriteSourceSizeX,y:a.spriteSourceSizeY,width:a.sourceSizeW,height:a.sourceSizeH},this.texture.width=a.sourceSizeW,this.texture.height=a.sourceSizeH,this.texture.frame.width=a.sourceSizeW,this.texture.frame.height=a.sourceSizeH):!a.trimmed&&this.texture.trim&&(this.texture.trim=null),this.cropRect&&this.updateCrop(),this.texture.requiresReTint=!0,this.texture._updateUvs(),this.tilingTexture&&(this.refreshTexture=!0)},resizeFrame:function(a,b,c){this.texture.frame.resize(b,c),this.texture.setFrame(this.texture.frame)},resetFrame:function(){this._frame&&this.setFrame(this._frame)},frame:{get:function(){return this.animations.frame},set:function(a){this.animations.frame=a}},frameName:{get:function(){return this.animations.frameName},set:function(a){this.animations.frameName=a}}},c.Component.Overlap=function(){},c.Component.Overlap.prototype={overlap:function(a){return c.Rectangle.intersects(this.getBounds(),a.getBounds())}},c.Component.PhysicsBody=function(){},c.Component.PhysicsBody.preUpdate=function(){return this.fresh&&this.exists?(this.world.setTo(this.parent.position.x+this.position.x,this.parent.position.y+this.position.y),this.worldTransform.tx=this.world.x,this.worldTransform.ty=this.world.y,this.previousPosition.set(this.world.x,this.world.y),this.previousRotation=this.rotation,this.body&&this.body.preUpdate(),this.fresh=!1,!1):(this.previousPosition.set(this.world.x,this.world.y),this.previousRotation=this.rotation,!(!this._exists||!this.parent.exists)||(this.renderOrderID=-1,!1))},c.Component.PhysicsBody.postUpdate=function(){this.exists&&this.body&&this.body.postUpdate()},c.Component.PhysicsBody.prototype={body:null,x:{get:function(){return this.position.x},set:function(a){this.position.x=a,this.body&&!this.body.dirty&&(this.body._reset=!0)}},y:{get:function(){return this.position.y},set:function(a){this.position.y=a,this.body&&!this.body.dirty&&(this.body._reset=!0)}}},c.Component.Reset=function(){},c.Component.Reset.prototype.reset=function(a,b,c){return void 0===c&&(c=1),this.world.set(a,b),this.position.set(a,b),this.fresh=!0,this.exists=!0,this.visible=!0,this.renderable=!0,this.components.InWorld&&(this._outOfBoundsFired=!1),this.components.LifeSpan&&(this.alive=!0,this.health=c),this.components.PhysicsBody&&this.body&&this.body.reset(a,b,!1,!1),this},c.Component.ScaleMinMax=function(){},c.Component.ScaleMinMax.prototype={transformCallback:null,transformCallbackContext:this,scaleMin:null,scaleMax:null,checkTransform:function(a){this.scaleMin&&(a.athis.scaleMax.x&&(a.a=this.scaleMax.x),a.d>this.scaleMax.y&&(a.d=this.scaleMax.y))},setScaleMinMax:function(a,b,d,e){void 0===b?b=d=e=a:void 0===d&&(d=e=b,b=a),null===a?this.scaleMin=null:this.scaleMin?this.scaleMin.set(a,b):this.scaleMin=new c.Point(a,b),null===d?this.scaleMax=null:this.scaleMax?this.scaleMax.set(d,e):this.scaleMax=new c.Point(d,e),null===this.scaleMin?this.transformCallback=null:(this.transformCallback=this.checkTransform,this.transformCallbackContext=this)}},c.Component.Smoothed=function(){},c.Component.Smoothed.prototype={smoothed:{get:function(){return!this.texture.baseTexture.scaleMode},set:function(a){a?this.texture&&(this.texture.baseTexture.scaleMode=0):this.texture&&(this.texture.baseTexture.scaleMode=1)}}},c.GameObjectFactory=function(a){this.game=a,this.world=this.game.world},c.GameObjectFactory.prototype={existing:function(a){return this.world.add(a)},weapon:function(a,b,d,e){var f=this.game.plugins.add(c.Weapon);return f.createBullets(a,b,d,e),f},image:function(a,b,d,e,f){return void 0===f&&(f=this.world),f.add(new c.Image(this.game,a,b,d,e))},sprite:function(a,b,c,d,e){return void 0===e&&(e=this.world),e.create(a,b,c,d)},creature:function(a,b,d,e,f){void 0===f&&(f=this.world);var g=new c.Creature(this.game,a,b,d,e);return f.add(g),g},tween:function(a){return this.game.tweens.create(a)},group:function(a,b,d,e,f){return new c.Group(this.game,a,b,d,e,f)},physicsGroup:function(a,b,d,e){return new c.Group(this.game,b,d,e,(!0),a)},spriteBatch:function(a,b,d){return void 0===a&&(a=null),void 0===b&&(b="group"),void 0===d&&(d=!1),new c.SpriteBatch(this.game,a,b,d)},audio:function(a,b,c,d){return this.game.sound.add(a,b,c,d)},sound:function(a,b,c,d){return this.game.sound.add(a,b,c,d)},audioSprite:function(a){return this.game.sound.addSprite(a)},tileSprite:function(a,b,d,e,f,g,h){return void 0===h&&(h=this.world),h.add(new c.TileSprite(this.game,a,b,d,e,f,g))},rope:function(a,b,d,e,f,g){return void 0===g&&(g=this.world),g.add(new c.Rope(this.game,a,b,d,e,f))},text:function(a,b,d,e,f){return void 0===f&&(f=this.world),f.add(new c.Text(this.game,a,b,d,e))},button:function(a,b,d,e,f,g,h,i,j,k){ +return void 0===k&&(k=this.world),k.add(new c.Button(this.game,a,b,d,e,f,g,h,i,j))},graphics:function(a,b,d){return void 0===d&&(d=this.world),d.add(new c.Graphics(this.game,a,b))},emitter:function(a,b,d){return this.game.particles.add(new c.Particles.Arcade.Emitter(this.game,a,b,d))},retroFont:function(a,b,d,e,f,g,h,i,j){return new c.RetroFont(this.game,a,b,d,e,f,g,h,i,j)},bitmapText:function(a,b,d,e,f,g){return void 0===g&&(g=this.world),g.add(new c.BitmapText(this.game,a,b,d,e,f))},tilemap:function(a,b,d,e,f){return new c.Tilemap(this.game,a,b,d,e,f)},renderTexture:function(a,b,d,e){void 0!==d&&""!==d||(d=this.game.rnd.uuid()),void 0===e&&(e=!1);var f=new c.RenderTexture(this.game,a,b,d);return e&&this.game.cache.addRenderTexture(d,f),f},video:function(a,b){return new c.Video(this.game,a,b)},bitmapData:function(a,b,d,e){void 0===e&&(e=!1),void 0!==d&&""!==d||(d=this.game.rnd.uuid());var f=new c.BitmapData(this.game,d,a,b);return e&&this.game.cache.addBitmapData(d,f),f},filter:function(a){var b=Array.prototype.slice.call(arguments,1),a=new c.Filter[a](this.game);return a.init.apply(a,b),a},plugin:function(a){return this.game.plugins.add(a)}},c.GameObjectFactory.prototype.constructor=c.GameObjectFactory,c.GameObjectCreator=function(a){this.game=a,this.world=this.game.world},c.GameObjectCreator.prototype={image:function(a,b,d,e){return new c.Image(this.game,a,b,d,e)},sprite:function(a,b,d,e){return new c.Sprite(this.game,a,b,d,e)},tween:function(a){return new c.Tween(a,this.game,this.game.tweens)},group:function(a,b,d,e,f){return new c.Group(this.game,a,b,d,e,f)},spriteBatch:function(a,b,d){return void 0===b&&(b="group"),void 0===d&&(d=!1),new c.SpriteBatch(this.game,a,b,d)},audio:function(a,b,c,d){return this.game.sound.add(a,b,c,d)},audioSprite:function(a){return this.game.sound.addSprite(a)},sound:function(a,b,c,d){return this.game.sound.add(a,b,c,d)},tileSprite:function(a,b,d,e,f,g){return new c.TileSprite(this.game,a,b,d,e,f,g)},rope:function(a,b,d,e,f){return new c.Rope(this.game,a,b,d,e,f)},text:function(a,b,d,e){return new c.Text(this.game,a,b,d,e)},button:function(a,b,d,e,f,g,h,i,j){return new c.Button(this.game,a,b,d,e,f,g,h,i,j)},graphics:function(a,b){return new c.Graphics(this.game,a,b)},emitter:function(a,b,d){return new c.Particles.Arcade.Emitter(this.game,a,b,d)},retroFont:function(a,b,d,e,f,g,h,i,j){return new c.RetroFont(this.game,a,b,d,e,f,g,h,i,j)},bitmapText:function(a,b,d,e,f,g){return new c.BitmapText(this.game,a,b,d,e,f,g)},tilemap:function(a,b,d,e,f){return new c.Tilemap(this.game,a,b,d,e,f)},renderTexture:function(a,b,d,e){void 0!==d&&""!==d||(d=this.game.rnd.uuid()),void 0===e&&(e=!1);var f=new c.RenderTexture(this.game,a,b,d);return e&&this.game.cache.addRenderTexture(d,f),f},bitmapData:function(a,b,d,e){void 0===e&&(e=!1),void 0!==d&&""!==d||(d=this.game.rnd.uuid());var f=new c.BitmapData(this.game,d,a,b);return e&&this.game.cache.addBitmapData(d,f),f},filter:function(a){var b=Array.prototype.slice.call(arguments,1),a=new c.Filter[a](this.game);return a.init.apply(a,b),a}},c.GameObjectCreator.prototype.constructor=c.GameObjectCreator,c.Sprite=function(a,b,d,e,f){b=b||0,d=d||0,e=e||null,f=f||null,this.type=c.SPRITE,this.physicsType=c.SPRITE,PIXI.Sprite.call(this,c.Cache.DEFAULT),c.Component.Core.init.call(this,a,b,d,e,f)},c.Sprite.prototype=Object.create(PIXI.Sprite.prototype),c.Sprite.prototype.constructor=c.Sprite,c.Component.Core.install.call(c.Sprite.prototype,["Angle","Animation","AutoCull","Bounds","BringToTop","Crop","Delta","Destroy","FixedToCamera","Health","InCamera","InputEnabled","InWorld","LifeSpan","LoadTexture","Overlap","PhysicsBody","Reset","ScaleMinMax","Smoothed"]),c.Sprite.prototype.preUpdatePhysics=c.Component.PhysicsBody.preUpdate,c.Sprite.prototype.preUpdateLifeSpan=c.Component.LifeSpan.preUpdate,c.Sprite.prototype.preUpdateInWorld=c.Component.InWorld.preUpdate,c.Sprite.prototype.preUpdateCore=c.Component.Core.preUpdate,c.Sprite.prototype.preUpdate=function(){return!!(this.preUpdatePhysics()&&this.preUpdateLifeSpan()&&this.preUpdateInWorld())&&this.preUpdateCore()},c.Image=function(a,b,d,e,f){b=b||0,d=d||0,e=e||null,f=f||null,this.type=c.IMAGE,PIXI.Sprite.call(this,c.Cache.DEFAULT),c.Component.Core.init.call(this,a,b,d,e,f)},c.Image.prototype=Object.create(PIXI.Sprite.prototype),c.Image.prototype.constructor=c.Image,c.Component.Core.install.call(c.Image.prototype,["Angle","Animation","AutoCull","Bounds","BringToTop","Crop","Destroy","FixedToCamera","InputEnabled","LifeSpan","LoadTexture","Overlap","Reset","ScaleMinMax","Smoothed"]),c.Image.prototype.preUpdateInWorld=c.Component.InWorld.preUpdate,c.Image.prototype.preUpdateCore=c.Component.Core.preUpdate,c.Image.prototype.preUpdate=function(){return!!this.preUpdateInWorld()&&this.preUpdateCore()},c.Button=function(a,b,d,e,f,g,h,i,j,k){b=b||0,d=d||0,e=e||null,f=f||null,g=g||this,c.Image.call(this,a,b,d,e,i),this.type=c.BUTTON,this.physicsType=c.SPRITE,this._onOverFrame=null,this._onOutFrame=null,this._onDownFrame=null,this._onUpFrame=null,this.onOverSound=null,this.onOutSound=null,this.onDownSound=null,this.onUpSound=null,this.onOverSoundMarker="",this.onOutSoundMarker="",this.onDownSoundMarker="",this.onUpSoundMarker="",this.onInputOver=new c.Signal,this.onInputOut=new c.Signal,this.onInputDown=new c.Signal,this.onInputUp=new c.Signal,this.onOverMouseOnly=!0,this.justReleasedPreventsOver=c.PointerMode.TOUCH,this.freezeFrames=!1,this.forceOut=!1,this.inputEnabled=!0,this.input.start(0,!0),this.input.useHandCursor=!0,this.setFrames(h,i,j,k),null!==f&&this.onInputUp.add(f,g),this.events.onInputOver.add(this.onInputOverHandler,this),this.events.onInputOut.add(this.onInputOutHandler,this),this.events.onInputDown.add(this.onInputDownHandler,this),this.events.onInputUp.add(this.onInputUpHandler,this),this.events.onRemovedFromWorld.add(this.removedFromWorld,this)},c.Button.prototype=Object.create(c.Image.prototype),c.Button.prototype.constructor=c.Button;var g="Over",h="Out",i="Down",j="Up";c.Button.prototype.clearFrames=function(){this.setFrames(null,null,null,null)},c.Button.prototype.removedFromWorld=function(){this.inputEnabled=!1},c.Button.prototype.setStateFrame=function(a,b,c){var d="_on"+a+"Frame";null!==b?(this[d]=b,c&&this.changeStateFrame(a)):this[d]=null},c.Button.prototype.changeStateFrame=function(a){if(this.freezeFrames)return!1;var b="_on"+a+"Frame",c=this[b];return"string"==typeof c?(this.frameName=c,!0):"number"==typeof c&&(this.frame=c,!0)},c.Button.prototype.setFrames=function(a,b,c,d){this.setStateFrame(g,a,this.input.pointerOver()),this.setStateFrame(h,b,!this.input.pointerOver()),this.setStateFrame(i,c,this.input.pointerDown()),this.setStateFrame(j,d,this.input.pointerUp())},c.Button.prototype.setStateSound=function(a,b,d){var e="on"+a+"Sound",f="on"+a+"SoundMarker";b instanceof c.Sound||b instanceof c.AudioSprite?(this[e]=b,this[f]="string"==typeof d?d:""):(this[e]=null,this[f]="")},c.Button.prototype.playStateSound=function(a){var b="on"+a+"Sound",c=this[b];if(c){var d="on"+a+"SoundMarker",e=this[d];return c.play(e),!0}return!1},c.Button.prototype.setSounds=function(a,b,c,d,e,f,k,l){this.setStateSound(g,a,b),this.setStateSound(h,e,f),this.setStateSound(i,c,d),this.setStateSound(j,k,l)},c.Button.prototype.setOverSound=function(a,b){this.setStateSound(g,a,b)},c.Button.prototype.setOutSound=function(a,b){this.setStateSound(h,a,b)},c.Button.prototype.setDownSound=function(a,b){this.setStateSound(i,a,b)},c.Button.prototype.setUpSound=function(a,b){this.setStateSound(j,a,b)},c.Button.prototype.onInputOverHandler=function(a,b){b.justReleased()&&(this.justReleasedPreventsOver&b.pointerMode)===b.pointerMode||(this.changeStateFrame(g),this.onOverMouseOnly&&!b.isMouse||(this.playStateSound(g),this.onInputOver&&this.onInputOver.dispatch(this,b)))},c.Button.prototype.onInputOutHandler=function(a,b){this.changeStateFrame(h),this.playStateSound(h),this.onInputOut&&this.onInputOut.dispatch(this,b)},c.Button.prototype.onInputDownHandler=function(a,b){this.changeStateFrame(i),this.playStateSound(i),this.onInputDown&&this.onInputDown.dispatch(this,b)},c.Button.prototype.onInputUpHandler=function(a,b,c){if(this.playStateSound(j),this.onInputUp&&this.onInputUp.dispatch(this,b,c),!this.freezeFrames)if(this.forceOut===!0||(this.forceOut&b.pointerMode)===b.pointerMode)this.changeStateFrame(h);else{var d=this.changeStateFrame(j);d||(c?this.changeStateFrame(g):this.changeStateFrame(h))}},c.SpriteBatch=function(a,b,d,e){void 0!==b&&null!==b||(b=a.world),PIXI.SpriteBatch.call(this),c.Group.call(this,a,b,d,e),this.type=c.SPRITEBATCH},c.SpriteBatch.prototype=c.Utils.extend(!0,c.SpriteBatch.prototype,PIXI.SpriteBatch.prototype,c.Group.prototype),c.SpriteBatch.prototype.constructor=c.SpriteBatch,c.BitmapData=function(a,b,d,e,f){void 0!==d&&0!==d||(d=256),void 0!==e&&0!==e||(e=256),void 0===f&&(f=!1),this.game=a,this.key=b,this.width=d,this.height=e,this.canvas=c.Canvas.create(this,d,e,null,f),this.context=this.canvas.getContext("2d",{alpha:!0}),this.ctx=this.context,this.smoothProperty=a.renderType===c.CANVAS?a.renderer.renderSession.smoothProperty:c.Canvas.getSmoothingPrefix(this.context),this.imageData=this.context.getImageData(0,0,d,e),this.data=null,this.imageData&&(this.data=this.imageData.data),this.pixels=null,this.data&&(this.imageData.data.buffer?(this.buffer=this.imageData.data.buffer,this.pixels=new Uint32Array(this.buffer)):window.ArrayBuffer?(this.buffer=new ArrayBuffer(this.imageData.data.length),this.pixels=new Uint32Array(this.buffer)):this.pixels=this.imageData.data),this.baseTexture=new PIXI.BaseTexture(this.canvas),this.texture=new PIXI.Texture(this.baseTexture),this.frameData=new c.FrameData,this.textureFrame=this.frameData.addFrame(new c.Frame(0,0,0,d,e,"bitmapData")),this.texture.frame=this.textureFrame,this.type=c.BITMAPDATA,this.disableTextureUpload=!1,this.dirty=!1,this.cls=this.clear,this._image=null,this._pos=new c.Point,this._size=new c.Point,this._scale=new c.Point,this._rotate=0,this._alpha={prev:1,current:1},this._anchor=new c.Point,this._tempR=0,this._tempG=0,this._tempB=0,this._circle=new c.Circle,this._swapCanvas=void 0},c.BitmapData.prototype={move:function(a,b,c){return 0!==a&&this.moveH(a,c),0!==b&&this.moveV(b,c),this},moveH:function(a,b){void 0===b&&(b=!0),void 0===this._swapCanvas&&(this._swapCanvas=PIXI.CanvasPool.create(this,this.width,this.height));var c=this._swapCanvas,d=c.getContext("2d"),e=this.height,f=this.canvas;if(d.clearRect(0,0,this.width,this.height),a<0){a=Math.abs(a);var g=this.width-a;b&&d.drawImage(f,0,0,a,e,g,0,a,e),d.drawImage(f,a,0,g,e,0,0,g,e)}else{var g=this.width-a;b&&d.drawImage(f,g,0,a,e,0,0,a,e),d.drawImage(f,0,0,g,e,a,0,g,e)}return this.clear(),this.copy(this._swapCanvas)},moveV:function(a,b){void 0===b&&(b=!0),void 0===this._swapCanvas&&(this._swapCanvas=PIXI.CanvasPool.create(this,this.width,this.height));var c=this._swapCanvas,d=c.getContext("2d"),e=this.width,f=this.canvas;if(d.clearRect(0,0,this.width,this.height),a<0){a=Math.abs(a);var g=this.height-a;b&&d.drawImage(f,0,0,e,a,0,g,e,a),d.drawImage(f,0,a,e,g,0,0,e,g)}else{var g=this.height-a;b&&d.drawImage(f,0,g,e,a,0,0,e,a),d.drawImage(f,0,0,e,g,0,a,e,g)}return this.clear(),this.copy(this._swapCanvas)},add:function(a){if(Array.isArray(a))for(var b=0;b=0&&a<=this.width&&b>=0&&b<=this.height&&(c.Device.LITTLE_ENDIAN?this.pixels[b*this.width+a]=g<<24|f<<16|e<<8|d:this.pixels[b*this.width+a]=d<<24|e<<16|f<<8|g,h&&(this.context.putImageData(this.imageData,0,0),this.dirty=!0)),this},setPixel:function(a,b,c,d,e,f){return this.setPixel32(a,b,c,d,e,255,f)},getPixel:function(a,b,d){d||(d=c.Color.createColor());var e=~~(a+b*this.width);return e*=4,d.r=this.data[e],d.g=this.data[++e],d.b=this.data[++e],d.a=this.data[++e],d},getPixel32:function(a,b){if(a>=0&&a<=this.width&&b>=0&&b<=this.height)return this.pixels[b*this.width+a]},getPixelRGB:function(a,b,d,e,f){return c.Color.unpackPixel(this.getPixel32(a,b),d,e,f)},getPixels:function(a){return this.context.getImageData(a.x,a.y,a.width,a.height)},getFirstPixel:function(a){void 0===a&&(a=0);var b=c.Color.createColor(),d=0,e=0,f=1,g=!1;1===a?(f=-1,e=this.height):3===a&&(f=-1,d=this.width);do c.Color.unpackPixel(this.getPixel32(d,e),b),0===a||1===a?(d++,d===this.width&&(d=0,e+=f,(e>=this.height||e<=0)&&(g=!0))):2!==a&&3!==a||(e++,e===this.height&&(e=0,d+=f,(d>=this.width||d<=0)&&(g=!0)));while(0===b.a&&!g);return b.x=d,b.y=e,b},getBounds:function(a){return void 0===a&&(a=new c.Rectangle),a.x=this.getFirstPixel(2).x,a.x===this.width?a.setTo(0,0,0,0):(a.y=this.getFirstPixel(0).y,a.width=this.getFirstPixel(3).x-a.x+1,a.height=this.getFirstPixel(1).y-a.y+1,a)},addToWorld:function(a,b,c,d,e,f){e=e||1,f=f||1;var g=this.game.add.image(a,b,this);return g.anchor.set(c,d),g.scale.set(e,f),g},copy:function(a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){if(void 0!==a&&null!==a||(a=this),(a instanceof c.RenderTexture||a instanceof PIXI.RenderTexture)&&(a=a.getCanvas()),this._image=a,a instanceof c.Sprite||a instanceof c.Image||a instanceof c.Text||a instanceof PIXI.Sprite)this._pos.set(a.texture.crop.x,a.texture.crop.y),this._size.set(a.texture.crop.width,a.texture.crop.height),this._scale.set(a.scale.x,a.scale.y),this._anchor.set(a.anchor.x,a.anchor.y),this._rotate=a.rotation,this._alpha.current=a.alpha,a.texture instanceof c.RenderTexture||a.texture instanceof PIXI.RenderTexture?this._image=a.texture.getCanvas():this._image=a.texture.baseTexture.source,void 0!==g&&null!==g||(g=a.x),void 0!==h&&null!==h||(h=a.y),a.texture.trim&&(g+=a.texture.trim.x-a.anchor.x*a.texture.trim.width,h+=a.texture.trim.y-a.anchor.y*a.texture.trim.height),16777215!==a.tint&&(a.cachedTint!==a.tint&&(a.cachedTint=a.tint,a.tintedTexture=PIXI.CanvasTinter.getTintedTexture(a,a.tint)),this._image=a.tintedTexture,this._pos.set(0));else{if(this._pos.set(0),this._scale.set(1),this._anchor.set(0),this._rotate=0,this._alpha.current=1,a instanceof c.BitmapData)this._image=a.canvas;else if("string"==typeof a){if(a=this.game.cache.getImage(a),null===a)return;this._image=a}this._size.set(this._image.width,this._image.height)}if(void 0!==b&&null!==b||(b=0),void 0!==d&&null!==d||(d=0),e&&(this._size.x=e),f&&(this._size.y=f),void 0!==g&&null!==g||(g=b),void 0!==h&&null!==h||(h=d),void 0!==i&&null!==i||(i=this._size.x),void 0!==j&&null!==j||(j=this._size.y),"number"==typeof k&&(this._rotate=k),"number"==typeof l&&(this._anchor.x=l),"number"==typeof m&&(this._anchor.y=m),"number"==typeof n&&(this._scale.x=n),"number"==typeof o&&(this._scale.y=o),"number"==typeof p&&(this._alpha.current=p),void 0===q&&(q=null),void 0===r&&(r=!1),!(this._alpha.current<=0||0===this._scale.x||0===this._scale.y||0===this._size.x||0===this._size.y)){var s=this.context;return this._alpha.prev=s.globalAlpha,s.save(),s.globalAlpha=this._alpha.current,q&&(this.op=q),r&&(g|=0,h|=0),s.translate(g,h),s.scale(this._scale.x,this._scale.y),s.rotate(this._rotate),s.drawImage(this._image,this._pos.x+b,this._pos.y+d,this._size.x,this._size.y,-i*this._anchor.x,-j*this._anchor.y,i,j),s.restore(),s.globalAlpha=this._alpha.prev,this.dirty=!0,this}},copyTransform:function(a,b,d){if(void 0===b&&(b=null),void 0===d&&(d=!1),!a.hasOwnProperty("worldTransform")||!a.worldVisible||0===a.worldAlpha)return this;var e=a.worldTransform;if(this._pos.set(a.texture.crop.x,a.texture.crop.y),this._size.set(a.texture.crop.width,a.texture.crop.height),0===e.a||0===e.d||0===this._size.x||0===this._size.y)return this;a.texture instanceof c.RenderTexture||a.texture instanceof PIXI.RenderTexture?this._image=a.texture.getCanvas():this._image=a.texture.baseTexture.source;var f=e.tx,g=e.ty;a.texture.trim&&(f+=a.texture.trim.x-a.anchor.x*a.texture.trim.width,g+=a.texture.trim.y-a.anchor.y*a.texture.trim.height),16777215!==a.tint&&(a.cachedTint!==a.tint&&(a.cachedTint=a.tint,a.tintedTexture=PIXI.CanvasTinter.getTintedTexture(a,a.tint)),this._image=a.tintedTexture,this._pos.set(0)),d&&(f|=0,g|=0);var h=this.context;return this._alpha.prev=h.globalAlpha,h.save(),h.globalAlpha=this._alpha.current,b&&(this.op=b),h[this.smoothProperty]=a.texture.baseTexture.scaleMode===PIXI.scaleModes.LINEAR,h.setTransform(e.a,e.b,e.c,e.d,f,g),h.drawImage(this._image,this._pos.x,this._pos.y,this._size.x,this._size.y,-this._size.x*a.anchor.x,-this._size.y*a.anchor.y,this._size.x,this._size.y),h.restore(),h.globalAlpha=this._alpha.prev,this.dirty=!0,this},copyRect:function(a,b,c,d,e,f,g){return this.copy(a,b.x,b.y,b.width,b.height,c,d,b.width,b.height,0,0,0,1,1,e,f,g)},draw:function(a,b,c,d,e,f,g){return this.copy(a,null,null,null,null,b,c,d,e,null,null,null,null,null,null,f,g)},drawGroup:function(a,b,c){return a.total>0&&a.forEachExists(this.drawGroupProxy,this,b,c),this},drawGroupProxy:function(a,b,d){if(a.hasOwnProperty("texture")&&this.copyTransform(a,b,d),a.type===c.GROUP&&a.exists)this.drawGroup(a,b,d);else if(a.hasOwnProperty("children")&&a.children.length>0)for(var e=0;eb.width&&(e=b.width);var f=this.context;return f.fillStyle=f.createPattern(b,d),this._circle=new c.Circle(a.start.x,a.start.y,b.height),this._circle.circumferencePoint(a.angle-1.5707963267948966,!1,this._pos),f.save(),f.translate(this._pos.x,this._pos.y),f.rotate(a.angle),f.fillRect(0,0,e,b.height),f.restore(),this.dirty=!0,this}},render:function(){return!this.disableTextureUpload&&this.dirty&&(this.baseTexture.dirty(),this.dirty=!1),this},destroy:function(){this.frameData.destroy(),this.texture.destroy(!0),PIXI.CanvasPool.remove(this)},blendReset:function(){return this.op="source-over",this},blendSourceOver:function(){return this.op="source-over",this},blendSourceIn:function(){return this.op="source-in",this},blendSourceOut:function(){return this.op="source-out",this},blendSourceAtop:function(){return this.op="source-atop",this},blendDestinationOver:function(){return this.op="destination-over",this},blendDestinationIn:function(){return this.op="destination-in",this},blendDestinationOut:function(){return this.op="destination-out",this},blendDestinationAtop:function(){return this.op="destination-atop",this},blendXor:function(){return this.op="xor",this},blendAdd:function(){return this.op="lighter",this},blendMultiply:function(){return this.op="multiply",this},blendScreen:function(){return this.op="screen",this},blendOverlay:function(){return this.op="overlay",this},blendDarken:function(){return this.op="darken",this},blendLighten:function(){return this.op="lighten",this},blendColorDodge:function(){return this.op="color-dodge",this},blendColorBurn:function(){return this.op="color-burn",this},blendHardLight:function(){return this.op="hard-light",this},blendSoftLight:function(){return this.op="soft-light",this},blendDifference:function(){return this.op="difference",this},blendExclusion:function(){return this.op="exclusion",this},blendHue:function(){return this.op="hue",this},blendSaturation:function(){return this.op="saturation",this},blendColor:function(){return this.op="color",this},blendLuminosity:function(){return this.op="luminosity",this}},Object.defineProperty(c.BitmapData.prototype,"smoothed",{get:function(){c.Canvas.getSmoothingEnabled(this.context)},set:function(a){c.Canvas.setSmoothingEnabled(this.context,a)}}),Object.defineProperty(c.BitmapData.prototype,"op",{get:function(){return this.context.globalCompositeOperation},set:function(a){this.context.globalCompositeOperation=a}}),c.BitmapData.getTransform=function(a,b,c,d,e,f){return"number"!=typeof a&&(a=0),"number"!=typeof b&&(b=0),"number"!=typeof c&&(c=1),"number"!=typeof d&&(d=1),"number"!=typeof e&&(e=0),"number"!=typeof f&&(f=0),{sx:c,sy:d,scaleX:c,scaleY:d,skewX:e,skewY:f,translateX:a,translateY:b,tx:a,ty:b}},c.BitmapData.prototype.constructor=c.BitmapData,PIXI.Graphics=function(){PIXI.DisplayObjectContainer.call(this),this.renderable=!0,this.fillAlpha=1,this.lineWidth=0,this.lineColor=0,this.graphicsData=[],this.tint=16777215,this.blendMode=PIXI.blendModes.NORMAL,this.currentPath=null,this._webGL=[],this.isMask=!1,this.boundsPadding=0,this._localBounds=new PIXI.Rectangle(0,0,1,1),this.dirty=!0,this._boundsDirty=!1,this.webGLDirty=!1,this.cachedSpriteDirty=!1},PIXI.Graphics.prototype=Object.create(PIXI.DisplayObjectContainer.prototype),PIXI.Graphics.prototype.constructor=PIXI.Graphics,PIXI.Graphics.prototype.lineStyle=function(a,b,c){return this.lineWidth=a||0,this.lineColor=b||0,this.lineAlpha=void 0===c?1:c,this.currentPath&&(this.currentPath.shape.points.length?this.drawShape(new PIXI.Polygon(this.currentPath.shape.points.slice(-2))):(this.currentPath.lineWidth=this.lineWidth,this.currentPath.lineColor=this.lineColor,this.currentPath.lineAlpha=this.lineAlpha)),this},PIXI.Graphics.prototype.moveTo=function(a,b){return this.drawShape(new PIXI.Polygon([a,b])),this},PIXI.Graphics.prototype.lineTo=function(a,b){return this.currentPath||this.moveTo(0,0),this.currentPath.shape.points.push(a,b),this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.quadraticCurveTo=function(a,b,c,d){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var e,f,g=20,h=this.currentPath.shape.points;0===h.length&&this.moveTo(0,0);for(var i=h[h.length-2],j=h[h.length-1],k=0,l=1;l<=g;++l)k=l/g,e=i+(a-i)*k,f=j+(b-j)*k,h.push(e+(a+(c-a)*k-e)*k,f+(b+(d-b)*k-f)*k);return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.bezierCurveTo=function(a,b,c,d,e,f){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);for(var g,h,i,j,k,l=20,m=this.currentPath.shape.points,n=m[m.length-2],o=m[m.length-1],p=0,q=1;q<=l;++q)p=q/l,g=1-p,h=g*g,i=h*g,j=p*p,k=j*p,m.push(i*n+3*h*p*a+3*g*j*c+k*e,i*o+3*h*p*b+3*g*j*d+k*f);return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.arcTo=function(a,b,c,d,e){this.currentPath?0===this.currentPath.shape.points.length&&this.currentPath.shape.points.push(a,b):this.moveTo(a,b);var f=this.currentPath.shape.points,g=f[f.length-2],h=f[f.length-1],i=h-b,j=g-a,k=d-b,l=c-a,m=Math.abs(i*l-j*k);if(m<1e-8||0===e)f[f.length-2]===a&&f[f.length-1]===b||f.push(a,b);else{var n=i*i+j*j,o=k*k+l*l,p=i*k+j*l,q=e*Math.sqrt(n)/m,r=e*Math.sqrt(o)/m,s=q*p/n,t=r*p/o,u=q*l+r*j,v=q*k+r*i,w=j*(r+s),x=i*(r+s),y=l*(q+t),z=k*(q+t),A=Math.atan2(x-v,w-u),B=Math.atan2(z-v,y-u);this.arc(u+a,v+b,e,A,B,j*k>l*i)}return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.arc=function(a,b,c,d,e,f,g){if(d===e)return this;void 0===f&&(f=!1),void 0===g&&(g=40),!f&&e<=d?e+=2*Math.PI:f&&d<=e&&(d+=2*Math.PI);var h=f?(d-e)*-1:e-d,i=Math.ceil(Math.abs(h)/(2*Math.PI))*g;if(0===h)return this;var j=a+Math.cos(d)*c,k=b+Math.sin(d)*c;f&&this.filling?this.moveTo(a,b):this.moveTo(j,k);for(var l=this.currentPath.shape.points,m=h/(2*i),n=2*m,o=Math.cos(m),p=Math.sin(m),q=i-1,r=q%1/q,s=0;s<=q;s++){var t=s+r*s,u=m+d+n*t,v=Math.cos(u),w=-Math.sin(u);l.push((o*v+p*w)*c+a,(o*-w+p*v)*c+b)}return this.dirty=!0,this._boundsDirty=!0,this},PIXI.Graphics.prototype.beginFill=function(a,b){return this.filling=!0,this.fillColor=a||0,this.fillAlpha=void 0===b?1:b,this.currentPath&&this.currentPath.shape.points.length<=2&&(this.currentPath.fill=this.filling,this.currentPath.fillColor=this.fillColor,this.currentPath.fillAlpha=this.fillAlpha),this},PIXI.Graphics.prototype.endFill=function(){return this.filling=!1,this.fillColor=null,this.fillAlpha=1,this},PIXI.Graphics.prototype.drawRect=function(a,b,c,d){return this.drawShape(new PIXI.Rectangle(a,b,c,d)),this},PIXI.Graphics.prototype.drawRoundedRect=function(a,b,c,d,e){return this.drawShape(new PIXI.RoundedRectangle(a,b,c,d,e)),this},PIXI.Graphics.prototype.drawCircle=function(a,b,c){return this.drawShape(new PIXI.Circle(a,b,c)),this},PIXI.Graphics.prototype.drawEllipse=function(a,b,c,d){return this.drawShape(new PIXI.Ellipse(a,b,c,d)),this},PIXI.Graphics.prototype.drawPolygon=function(a){(a instanceof c.Polygon||a instanceof PIXI.Polygon)&&(a=a.points);var b=a;if(!Array.isArray(b)){b=new Array(arguments.length);for(var d=0;dv?p:v,v=r>v?r:v,v=t>v?t:v,w=q>w?q:w,w=s>w?s:w,w=u>w?u:w,this._bounds.x=x,this._bounds.width=v-x,this._bounds.y=y,this._bounds.height=w-y,this._currentBounds=this._bounds}return this._currentBounds},PIXI.Graphics.prototype.getLocalBounds=function(){var a=this.worldTransform;this.worldTransform=PIXI.identityMatrix;for(var b=0;bb?h+j:b,d=ie?i+k:e;else if(n===PIXI.Graphics.CIRC)h=f.x,i=f.y,j=f.radius+o/2,k=f.radius+o/2,a=h-jb?h+j:b,d=i-ke?i+k:e;else if(n===PIXI.Graphics.ELIP)h=f.x,i=f.y,j=f.width+o/2,k=f.height+o/2,a=h-jb?h+j:b,d=i-ke?i+k:e;else{g=f.points;for(var p=0;pb?h+o:b,d=i-oe?i+o:e}}else a=0,b=0,d=0,e=0;var q=this.boundsPadding;this._localBounds.x=a-q,this._localBounds.width=b-a+2*q,this._localBounds.y=d-q,this._localBounds.height=e-d+2*q},PIXI.Graphics.prototype._generateCachedSprite=function(){var a=this.getLocalBounds();if(this._cachedSprite)this._cachedSprite.buffer.resize(a.width,a.height);else{var b=new PIXI.CanvasBuffer(a.width,a.height),c=PIXI.Texture.fromCanvas(b.canvas);this._cachedSprite=new PIXI.Sprite(c),this._cachedSprite.buffer=b,this._cachedSprite.worldTransform=this.worldTransform}this._cachedSprite.anchor.x=-(a.x/a.width),this._cachedSprite.anchor.y=-(a.y/a.height),this._cachedSprite.buffer.context.translate(-a.x,-a.y),this.worldAlpha=1,PIXI.CanvasGraphics.renderGraphics(this,this._cachedSprite.buffer.context),this._cachedSprite.alpha=this.alpha},PIXI.Graphics.prototype.updateCachedSpriteTexture=function(){var a=this._cachedSprite,b=a.texture,c=a.buffer.canvas;b.baseTexture.width=c.width,b.baseTexture.height=c.height,b.crop.width=b.frame.width=c.width,b.crop.height=b.frame.height=c.height,a._width=c.width,a._height=c.height,b.baseTexture.dirty()},PIXI.Graphics.prototype.destroyCachedSprite=function(){this._cachedSprite.texture.destroy(!0),this._cachedSprite=null},PIXI.Graphics.prototype.drawShape=function(a){this.currentPath&&this.currentPath.shape.points.length<=2&&this.graphicsData.pop(),this.currentPath=null,a instanceof c.Polygon&&(a=a.clone(),a.flatten());var b=new PIXI.GraphicsData(this.lineWidth,this.lineColor,this.lineAlpha,this.fillColor,this.fillAlpha,this.filling,a);return this.graphicsData.push(b),b.type===PIXI.Graphics.POLY&&(b.shape.closed=this.filling,this.currentPath=b),this.dirty=!0,this._boundsDirty=!0,b},Object.defineProperty(PIXI.Graphics.prototype,"cacheAsBitmap",{get:function(){return this._cacheAsBitmap},set:function(a){this._cacheAsBitmap=a,this._cacheAsBitmap?this._generateCachedSprite():this.destroyCachedSprite(),this.dirty=!0,this.webGLDirty=!0}}),PIXI.GraphicsData=function(a,b,c,d,e,f,g){this.lineWidth=a,this.lineColor=b,this.lineAlpha=c,this._lineTint=b,this.fillColor=d,this.fillAlpha=e,this._fillTint=d,this.fill=f,this.shape=g,this.type=g.type},PIXI.GraphicsData.prototype.constructor=PIXI.GraphicsData,PIXI.GraphicsData.prototype.clone=function(){return new GraphicsData(this.lineWidth,this.lineColor,this.lineAlpha,this.fillColor,this.fillAlpha,this.fill,this.shape)},PIXI.EarCut={},PIXI.EarCut.Triangulate=function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=PIXI.EarCut.linkedList(a,0,e,c,!0),g=[];if(!f)return g;var h,i,j,k,l,m,n;if(d&&(f=PIXI.EarCut.eliminateHoles(a,b,f,c)),a.length>80*c){h=j=a[0],i=k=a[1];for(var o=c;oj&&(j=l),m>k&&(k=m);n=Math.max(j-h,k-i)}return PIXI.EarCut.earcutLinked(f,g,c,h,i,n),g},PIXI.EarCut.linkedList=function(a,b,c,d,e){var f,g,h,i=0;for(f=b,g=c-d;f0)for(f=b;f=b;f-=d)h=PIXI.EarCut.insertNode(f,a[f],a[f+1],h);return h},PIXI.EarCut.filterPoints=function(a,b){if(!a)return a;b||(b=a);var c,d=a;do if(c=!1,d.steiner||!PIXI.EarCut.equals(d,d.next)&&0!==PIXI.EarCut.area(d.prev,d,d.next))d=d.next;else{if(PIXI.EarCut.removeNode(d),d=b=d.prev,d===d.next)return null;c=!0}while(c||d!==b);return b},PIXI.EarCut.earcutLinked=function(a,b,c,d,e,f,g){if(a){!g&&f&&PIXI.EarCut.indexCurve(a,d,e,f);for(var h,i,j=a;a.prev!==a.next;)if(h=a.prev,i=a.next,f?PIXI.EarCut.isEarHashed(a,d,e,f):PIXI.EarCut.isEar(a))b.push(h.i/c),b.push(a.i/c),b.push(i.i/c),PIXI.EarCut.removeNode(a),a=i.next,j=i.next;else if(a=i,a===j){g?1===g?(a=PIXI.EarCut.cureLocalIntersections(a,b,c),PIXI.EarCut.earcutLinked(a,b,c,d,e,f,2)):2===g&&PIXI.EarCut.splitEarcut(a,b,c,d,e,f):PIXI.EarCut.earcutLinked(PIXI.EarCut.filterPoints(a),b,c,d,e,f,1);break}}},PIXI.EarCut.isEar=function(a){var b=a.prev,c=a,d=a.next;if(PIXI.EarCut.area(b,c,d)>=0)return!1;for(var e=a.next.next;e!==a.prev;){if(PIXI.EarCut.pointInTriangle(b.x,b.y,c.x,c.y,d.x,d.y,e.x,e.y)&&PIXI.EarCut.area(e.prev,e,e.next)>=0)return!1;e=e.next}return!0},PIXI.EarCut.isEarHashed=function(a,b,c,d){var e=a.prev,f=a,g=a.next;if(PIXI.EarCut.area(e,f,g)>=0)return!1;for(var h=e.xf.x?e.x>g.x?e.x:g.x:f.x>g.x?f.x:g.x,k=e.y>f.y?e.y>g.y?e.y:g.y:f.y>g.y?f.y:g.y,l=PIXI.EarCut.zOrder(h,i,b,c,d),m=PIXI.EarCut.zOrder(j,k,b,c,d),n=a.nextZ;n&&n.z<=m;){if(n!==a.prev&&n!==a.next&&PIXI.EarCut.pointInTriangle(e.x,e.y,f.x,f.y,g.x,g.y,n.x,n.y)&&PIXI.EarCut.area(n.prev,n,n.next)>=0)return!1;n=n.nextZ}for(n=a.prevZ;n&&n.z>=l;){if(n!==a.prev&&n!==a.next&&PIXI.EarCut.pointInTriangle(e.x,e.y,f.x,f.y,g.x,g.y,n.x,n.y)&&PIXI.EarCut.area(n.prev,n,n.next)>=0)return!1;n=n.prevZ}return!0},PIXI.EarCut.cureLocalIntersections=function(a,b,c){var d=a;do{var e=d.prev,f=d.next.next;PIXI.EarCut.intersects(e,d,d.next,f)&&PIXI.EarCut.locallyInside(e,f)&&PIXI.EarCut.locallyInside(f,e)&&(b.push(e.i/c),b.push(d.i/c),b.push(f.i/c),PIXI.EarCut.removeNode(d),PIXI.EarCut.removeNode(d.next),d=a=f),d=d.next}while(d!==a);return d},PIXI.EarCut.splitEarcut=function(a,b,c,d,e,f){var g=a;do{for(var h=g.next.next;h!==g.prev;){if(g.i!==h.i&&PIXI.EarCut.isValidDiagonal(g,h)){var i=PIXI.EarCut.splitPolygon(g,h);return g=PIXI.EarCut.filterPoints(g,g.next),i=PIXI.EarCut.filterPoints(i,i.next),PIXI.EarCut.earcutLinked(g,b,c,d,e,f),void PIXI.EarCut.earcutLinked(i,b,c,d,e,f)}h=h.next}g=g.next}while(g!==a)},PIXI.EarCut.eliminateHoles=function(a,b,c,d){var e,f,g,h,i,j=[];for(e=0,f=b.length;e=d.next.y){var h=d.x+(f-d.y)*(d.next.x-d.x)/(d.next.y-d.y);h<=e&&h>g&&(g=h,c=d.x=d.x&&d.x>=c.x&&PIXI.EarCut.pointInTriangle(fc.x)&&PIXI.EarCut.locallyInside(d,a)&&(c=d,k=i)),d=d.next;return c},PIXI.EarCut.indexCurve=function(a,b,c,d){var e=a;do null===e.z&&(e.z=PIXI.EarCut.zOrder(e.x,e.y,b,c,d)),e.prevZ=e.prev,e.nextZ=e.next,e=e.next;while(e!==a);e.prevZ.nextZ=null,e.prevZ=null,PIXI.EarCut.sortLinked(e)},PIXI.EarCut.sortLinked=function(a){var b,c,d,e,f,g,h,i,j=1;do{for(c=a,a=null,f=null,g=0;c;){for(g++,d=c,h=0,b=0;b0||i>0&&d;)0===h?(e=d,d=d.nextZ,i--):0!==i&&d?c.z<=d.z?(e=c,c=c.nextZ,h--):(e=d,d=d.nextZ,i--):(e=c,c=c.nextZ,h--),f?f.nextZ=e:a=e,e.prevZ=f,f=e;c=d}f.nextZ=null,j*=2}while(g>1);return a},PIXI.EarCut.zOrder=function(a,b,c,d,e){return a=32767*(a-c)/e,b=32767*(b-d)/e,a=16711935&(a|a<<8),a=252645135&(a|a<<4),a=858993459&(a|a<<2),a=1431655765&(a|a<<1),b=16711935&(b|b<<8),b=252645135&(b|b<<4),b=858993459&(b|b<<2),b=1431655765&(b|b<<1),a|b<<1},PIXI.EarCut.getLeftmost=function(a){var b=a,c=a;do b.x=0&&(a-g)*(d-h)-(c-g)*(b-h)>=0&&(c-g)*(f-h)-(e-g)*(d-h)>=0},PIXI.EarCut.isValidDiagonal=function(a,b){return PIXI.EarCut.equals(a,b)||a.next.i!==b.i&&a.prev.i!==b.i&&!PIXI.EarCut.intersectsPolygon(a,b)&&PIXI.EarCut.locallyInside(a,b)&&PIXI.EarCut.locallyInside(b,a)&&PIXI.EarCut.middleInside(a,b)},PIXI.EarCut.area=function(a,b,c){return(b.y-a.y)*(c.x-b.x)-(b.x-a.x)*(c.y-b.y)},PIXI.EarCut.equals=function(a,b){return a.x===b.x&&a.y===b.y},PIXI.EarCut.intersects=function(a,b,c,d){return PIXI.EarCut.area(a,b,c)>0!=PIXI.EarCut.area(a,b,d)>0&&PIXI.EarCut.area(c,d,a)>0!=PIXI.EarCut.area(c,d,b)>0},PIXI.EarCut.intersectsPolygon=function(a,b){var c=a;do{if(c.i!==a.i&&c.next.i!==a.i&&c.i!==b.i&&c.next.i!==b.i&&PIXI.EarCut.intersects(c,c.next,a,b))return!0;c=c.next}while(c!==a);return!1},PIXI.EarCut.locallyInside=function(a,b){return PIXI.EarCut.area(a.prev,a,a.next)<0?PIXI.EarCut.area(a,b,a.next)>=0&&PIXI.EarCut.area(a,a.prev,b)>=0:PIXI.EarCut.area(a,b,a.prev)<0||PIXI.EarCut.area(a,a.next,b)<0},PIXI.EarCut.middleInside=function(a,b){var c=a,d=!1,e=(a.x+b.x)/2,f=(a.y+b.y)/2;do c.y>f!=c.next.y>f&&e<(c.next.x-c.x)*(f-c.y)/(c.next.y-c.y)+c.x&&(d=!d),c=c.next;while(c!==a);return d},PIXI.EarCut.splitPolygon=function(a,b){var c=new PIXI.EarCut.Node(a.i,a.x,a.y),d=new PIXI.EarCut.Node(b.i,b.x,b.y),e=a.next,f=b.prev;return a.next=b,b.prev=a,c.next=e,e.prev=c,d.next=c,c.prev=d,f.next=d,d.prev=f,d},PIXI.EarCut.insertNode=function(a,b,c,d){var e=new PIXI.EarCut.Node(a,b,c);return d?(e.next=d.next,e.prev=d,d.next.prev=e,d.next=e):(e.prev=e,e.next=e),e},PIXI.EarCut.removeNode=function(a){a.next.prev=a.prev,a.prev.next=a.next,a.prevZ&&(a.prevZ.nextZ=a.nextZ),a.nextZ&&(a.nextZ.prevZ=a.prevZ)},PIXI.EarCut.Node=function(a,b,c){this.i=a,this.x=b,this.y=c,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1},PIXI.WebGLGraphics=function(){},PIXI.WebGLGraphics.stencilBufferLimit=6,PIXI.WebGLGraphics.renderGraphics=function(a,b){var c,d=b.gl,e=b.projection,f=b.offset,g=b.shaderManager.primitiveShader;a.dirty&&PIXI.WebGLGraphics.updateGraphics(a,d);for(var h=a._webGL[d.id],i=0;i=PIXI.WebGLGraphics.stencilBufferLimit)if(g.points.length<2*PIXI.WebGLGraphics.stencilBufferLimit){f=PIXI.WebGLGraphics.switchMode(c,0);var h=PIXI.WebGLGraphics.buildPoly(g,f);h||(f=PIXI.WebGLGraphics.switchMode(c,1),PIXI.WebGLGraphics.buildComplexPoly(g,f))}else f=PIXI.WebGLGraphics.switchMode(c,1),PIXI.WebGLGraphics.buildComplexPoly(g,f);g.lineWidth>0&&(f=PIXI.WebGLGraphics.switchMode(c,0),PIXI.WebGLGraphics.buildLine(g,f))}else f=PIXI.WebGLGraphics.switchMode(c,0),g.type===PIXI.Graphics.RECT?PIXI.WebGLGraphics.buildRectangle(g,f):g.type===PIXI.Graphics.CIRC||g.type===PIXI.Graphics.ELIP?PIXI.WebGLGraphics.buildCircle(g,f):g.type===PIXI.Graphics.RREC&&PIXI.WebGLGraphics.buildRoundedRectangle(g,f);c.lastIndex++}for(d=0;d19600?(u=q-s,v=r-t,E=Math.sqrt(u*u+v*v),u/=E,v/=E,u*=K,v*=K,F.push(m-u,n-v),F.push(N,O,P,M),F.push(m+u,n+v),F.push(N,O,P,M),F.push(m-u,n-v),F.push(N,O,P,M),I++):(F.push(i,j),F.push(N,O,P,M),F.push(m-(i-m),n-(j-n)),F.push(N,O,P,M)));for(k=d[2*(H-2)],l=d[2*(H-2)+1],m=d[2*(H-1)],n=d[2*(H-1)+1],q=-(l-n),r=k-m,E=Math.sqrt(q*q+r*r),q/=E,r/=E,q*=K,r*=K,F.push(m-q,n-r),F.push(N,O,P,M),F.push(m+q,n+r),F.push(N,O,P,M),G.push(J),c=0;ch?e:h,i=fj?f:j;c.push(g,i,h,i,h,j,g,j);var l=c.length/2;for(k=0;kA?A:z,b.beginPath(),b.moveTo(v,w+z),b.lineTo(v,w+y-z),b.quadraticCurveTo(v,w+y,v+z,w+y),b.lineTo(v+x-z,w+y),b.quadraticCurveTo(v+x,w+y,v+x,w+y-z),b.lineTo(v+x,w+z),b.quadraticCurveTo(v+x,w,v+x-z,w),b.lineTo(v+z,w),b.quadraticCurveTo(v,w,v,w+z),b.closePath(),(e.fillColor||0===e.fillColor)&&(b.globalAlpha=e.fillAlpha*c,b.fillStyle="#"+("00000"+(0|g).toString(16)).substr(-6),b.fill()),e.lineWidth&&(b.globalAlpha=e.lineAlpha*c,b.strokeStyle="#"+("00000"+(0|h).toString(16)).substr(-6),b.stroke())}}},PIXI.CanvasGraphics.renderGraphicsMask=function(a,b){var c=a.graphicsData.length;if(0!==c){b.beginPath();for(var d=0;dy?y:x,b.moveTo(t,u+x),b.lineTo(t,u+w-x),b.quadraticCurveTo(t,u+w,t+x,u+w),b.lineTo(t+v-x,u+w),b.quadraticCurveTo(t+v,u+w,t+v,u+w-x),b.lineTo(t+v,u+x),b.quadraticCurveTo(t+v,u,t+v-x,u),b.lineTo(t+x,u),b.quadraticCurveTo(t,u,t,u+x),b.closePath()}}}},PIXI.CanvasGraphics.updateGraphicsTint=function(a){if(16777215!==a.tint)for(var b=(a.tint>>16&255)/255,c=(a.tint>>8&255)/255,d=(255&a.tint)/255,e=0;e>16&255)/255*b*255<<16)+((g>>8&255)/255*c*255<<8)+(255&g)/255*d*255,f._lineTint=((h>>16&255)/255*b*255<<16)+((h>>8&255)/255*c*255<<8)+(255&h)/255*d*255}},c.Graphics=function(a,b,d){void 0===b&&(b=0),void 0===d&&(d=0),this.type=c.GRAPHICS,this.physicsType=c.SPRITE,this.anchor=new c.Point,PIXI.Graphics.call(this),c.Component.Core.init.call(this,a,b,d,"",null)},c.Graphics.prototype=Object.create(PIXI.Graphics.prototype),c.Graphics.prototype.constructor=c.Graphics,c.Component.Core.install.call(c.Graphics.prototype,["Angle","AutoCull","Bounds","Destroy","FixedToCamera","InputEnabled","InWorld","LifeSpan","PhysicsBody","Reset"]),c.Graphics.prototype.preUpdatePhysics=c.Component.PhysicsBody.preUpdate,c.Graphics.prototype.preUpdateLifeSpan=c.Component.LifeSpan.preUpdate,c.Graphics.prototype.preUpdateInWorld=c.Component.InWorld.preUpdate,c.Graphics.prototype.preUpdateCore=c.Component.Core.preUpdate,c.Graphics.prototype.preUpdate=function(){return!!(this.preUpdatePhysics()&&this.preUpdateLifeSpan()&&this.preUpdateInWorld())&&this.preUpdateCore()},c.Graphics.prototype.postUpdate=function(){c.Component.PhysicsBody.postUpdate.call(this),c.Component.FixedToCamera.postUpdate.call(this),this._boundsDirty&&(this.updateLocalBounds(),this._boundsDirty=!1);for(var a=0;a0&&this.drawPolygon(d)}else this.drawPolygon(d)},c.Graphics.prototype.drawTriangles=function(a,b,d){void 0===d&&(d=!1);var e,f=new c.Point,g=new c.Point,h=new c.Point,i=[];if(b)if(a[0]instanceof c.Point)for(e=0;e0&&this.style.maxLines0||this.strokeColors.length>0||this.fontWeights.length>0||this.fontStyles.length>0?this.measureLine(b[h]):this.context.measureText(b[h]).width,this.style.wordWrap&&(i-=this.context.measureText(" ").width)}else{var j=b[h].split(/(?:\t)/),i=this.padding.x+this.style.strokeThickness;if(Array.isArray(c))for(var k=0,l=0;l0||this.strokeColors.length>0||this.fontWeights.length>0||this.fontStyles.length>0?this.measureLine(j[l]):Math.ceil(this.context.measureText(j[l]).width),l>0&&(k+=c[l-1]),i=k+m}else for(var l=0;l0||this.strokeColors.length>0||this.fontWeights.length>0||this.fontStyles.length>0?this.measureLine(j[l]):Math.ceil(this.context.measureText(j[l]).width);var n=this.game.math.snapToCeil(i,c)-i;i+=n}}d[h]=Math.ceil(i),e=Math.max(e,d[h])}this.canvas.width=e*this._res;var o=f.fontSize+this.style.strokeThickness+this.padding.y,p=o*g,q=this._lineSpacing;q<0&&Math.abs(q)>o&&(q=-o),0!==q&&(p+=q>0?q*b.length:q*(b.length-1)),this.canvas.height=p*this._res,this.context.scale(this._res,this._res),navigator.isCocoonJS&&this.context.clearRect(0,0,this.canvas.width,this.canvas.height), +this.style.backgroundColor&&(this.context.fillStyle=this.style.backgroundColor,this.context.fillRect(0,0,this.canvas.width,this.canvas.height)),this.context.fillStyle=this.style.fill,this.context.font=this.style.font,this.context.strokeStyle=this.style.stroke,this.context.textBaseline="alphabetic",this.context.lineWidth=this.style.strokeThickness,this.context.lineCap="round",this.context.lineJoin="round";var r,s;for(this._charCount=0,h=0;h0&&(s+=q*h),"right"===this.style.align?r+=e-d[h]:"center"===this.style.align&&(r+=(e-d[h])/2),this.autoRound&&(r=Math.round(r),s=Math.round(s)),this.colors.length>0||this.strokeColors.length>0||this.fontWeights.length>0||this.fontStyles.length>0?this.updateLine(b[h],r,s):(this.style.stroke&&this.style.strokeThickness&&(this.updateShadow(this.style.shadowStroke),0===c?this.context.strokeText(b[h],r,s):this.renderTabLine(b[h],r,s,!1)),this.style.fill&&(this.updateShadow(this.style.shadowFill),0===c?this.context.fillText(b[h],r,s):this.renderTabLine(b[h],r,s,!0)));this.updateTexture(),this.dirty=!1},c.Text.prototype.renderTabLine=function(a,b,c,d){var e=a.split(/(?:\t)/),f=this.style.tabs,g=0;if(Array.isArray(f))for(var h=0,i=0;i0&&(h+=f[i-1]),g=b+h,d?this.context.fillText(e[i],g,c):this.context.strokeText(e[i],g,c);else for(var i=0;i0||this.fontStyles.length>0){var e=this.fontToComponents(this.context.font);this.fontStyles[this._charCount]&&(e.fontStyle=this.fontStyles[this._charCount]),this.fontWeights[this._charCount]&&(e.fontWeight=this.fontWeights[this._charCount]),this.context.font=this.componentsToFont(e)}this.style.stroke&&this.style.strokeThickness&&(this.strokeColors[this._charCount]&&(this.context.strokeStyle=this.strokeColors[this._charCount]),this.updateShadow(this.style.shadowStroke)),this.style.fill&&(this.colors[this._charCount]&&(this.context.fillStyle=this.colors[this._charCount]),this.updateShadow(this.style.shadowFill)),b+=this.context.measureText(d).width,this._charCount++}return Math.ceil(b)},c.Text.prototype.updateLine=function(a,b,c){for(var d=0;d0||this.fontStyles.length>0){var f=this.fontToComponents(this.context.font);this.fontStyles[this._charCount]&&(f.fontStyle=this.fontStyles[this._charCount]),this.fontWeights[this._charCount]&&(f.fontWeight=this.fontWeights[this._charCount]),this.context.font=this.componentsToFont(f)}this.style.stroke&&this.style.strokeThickness&&(this.strokeColors[this._charCount]&&(this.context.strokeStyle=this.strokeColors[this._charCount]),this.updateShadow(this.style.shadowStroke),this.context.strokeText(e,b,c)),this.style.fill&&(this.colors[this._charCount]&&(this.context.fillStyle=this.colors[this._charCount]),this.updateShadow(this.style.shadowFill),this.context.fillText(e,b,c)),b+=this.context.measureText(e).width,this._charCount++}},c.Text.prototype.clearColors=function(){return this.colors=[],this.strokeColors=[],this.dirty=!0,this},c.Text.prototype.clearFontValues=function(){return this.fontStyles=[],this.fontWeights=[],this.dirty=!0,this},c.Text.prototype.addColor=function(a,b){return this.colors[b]=a,this.dirty=!0,this},c.Text.prototype.addStrokeColor=function(a,b){return this.strokeColors[b]=a,this.dirty=!0,this},c.Text.prototype.addFontStyle=function(a,b){return this.fontStyles[b]=a,this.dirty=!0,this},c.Text.prototype.addFontWeight=function(a,b){return this.fontWeights[b]=a,this.dirty=!0,this},c.Text.prototype.precalculateWordWrap=function(a){this.texture.baseTexture.resolution=this._res,this.context.font=this.style.font;var b=this.runWordWrap(a);return b.split(/(?:\r\n|\r|\n)/)},c.Text.prototype.runWordWrap=function(a){return this.useAdvancedWrap?this.advancedWordWrap(a):this.basicWordWrap(a)},c.Text.prototype.advancedWordWrap=function(a){for(var b=this.context,c=this.style.wordWrapWidth,d="",e=a.replace(/ +/gi," ").split(/\r?\n/gi),f=e.length,g=0;gk){if(0===m){for(var q=o;q.length&&(q=q.slice(0,-1),p=b.measureText(q).width,!(p<=k)););if(!q.length)throw new Error("This text's wordWrapWidth setting is less than a single character!");var r=n.substr(q.length);l[m]=r,i+=q}var s=l[m].length?m:m+1,t=l.slice(s).join(" ").replace(/[ \n]*$/gi,"");e[g+1]=t+" "+(e[g+1]||""),f=e.length;break}i+=o,k-=p}d+=i.replace(/[ \n]*$/gi,"")+"\n"}}return d=d.replace(/[\s|\n]*$/gi,"")},c.Text.prototype.basicWordWrap=function(a){for(var b="",c=a.split("\n"),d=0;de?(g>0&&(b+="\n"),b+=f[g]+" ",e=this.style.wordWrapWidth-h):(e-=i,b+=f[g]+" ")}dd&&(this.style.wordWrapWidth=d)),this.updateTexture(),this},c.Text.prototype.updateTexture=function(){var a=this.texture.baseTexture,b=this.texture.crop,c=this.texture.frame,d=this.canvas.width,e=this.canvas.height;if(a.width=d,a.height=e,b.width=d,b.height=e,c.width=d,c.height=e,this.texture.width=d,this.texture.height=e,this._width=d,this._height=e,this.textBounds){var f=this.textBounds.x,g=this.textBounds.y;"right"===this.style.boundsAlignH?f+=this.textBounds.width-this.canvas.width/this.resolution:"center"===this.style.boundsAlignH&&(f+=this.textBounds.halfWidth-this.canvas.width/this.resolution/2),"bottom"===this.style.boundsAlignV?g+=this.textBounds.height-this.canvas.height/this.resolution:"middle"===this.style.boundsAlignV&&(g+=this.textBounds.halfHeight-this.canvas.height/this.resolution/2),this.pivot.x=-f,this.pivot.y=-g}this.renderable=0!==d&&0!==e,this.texture.requiresReTint=!0,this.texture.baseTexture.dirty()},c.Text.prototype._renderWebGL=function(a){this.dirty&&(this.updateText(),this.dirty=!1),PIXI.Sprite.prototype._renderWebGL.call(this,a)},c.Text.prototype._renderCanvas=function(a){this.dirty&&(this.updateText(),this.dirty=!1),PIXI.Sprite.prototype._renderCanvas.call(this,a)},c.Text.prototype.determineFontProperties=function(a){var b=c.Text.fontPropertiesCache[a];if(!b){b={};var d=c.Text.fontPropertiesCanvas,e=c.Text.fontPropertiesContext;e.font=a;var f=Math.ceil(e.measureText("|MÉq").width),g=Math.ceil(e.measureText("|MÉq").width),h=2*g;if(g=1.4*g|0,d.width=f,d.height=h,e.fillStyle="#f00",e.fillRect(0,0,f,h),e.font=a,e.textBaseline="alphabetic",e.fillStyle="#000",e.fillText("|MÉq",0,g),!e.getImageData(0,0,f,h))return b.ascent=g,b.descent=g+6,b.fontSize=b.ascent+b.descent,c.Text.fontPropertiesCache[a]=b,b;var i,j,k=e.getImageData(0,0,f,h).data,l=k.length,m=4*f,n=0,o=!1;for(i=0;ig;i--){for(j=0;j0?this._maxWidth:null,j=[],k=0;k=i&&f>-1)return{width:g||e,text:c.substr(0,k-(k-f)),end:l,chars:j};e+=(n.xAdvance+p)*b,j.push(d+(n.xOffset+p)*b),d+=(n.xAdvance+p)*b,h=m}return{width:e,text:c,end:l,chars:j}};c.BitmapText.prototype.cleanText=function(a,b){void 0===b&&(b="");var c=this._data.font;if(!c)return"";for(var d=/\r\n|\n\r|\n|\r/g,e=a.replace(d,"\n").split("\n"),f=0;fthis.textWidth&&(this.textWidth=f.width),e+=a.lineHeight*c,b=b.substr(f.text.length+1)}while(f.end===!1);this.textHeight=e;for(var g=0,h=0,i=this.textWidth*this.anchor.x,j=this.textHeight*this.anchor.y,k=0;k0&&(this._fontSize=a,this.updateText())}}),Object.defineProperty(c.BitmapText.prototype,"text",{get:function(){return this._text},set:function(a){a!==this._text&&(this._text=a.toString()||"",this.updateText())}}),Object.defineProperty(c.BitmapText.prototype,"maxWidth",{get:function(){return this._maxWidth},set:function(a){a!==this._maxWidth&&(this._maxWidth=a,this.updateText())}}),Object.defineProperty(c.BitmapText.prototype,"smoothed",{get:function(){return!this._data.base.scaleMode},set:function(a){a?this._data.base.scaleMode=0:this._data.base.scaleMode=1}}),c.RetroFont=function(a,b,d,e,f,g,h,i,j,k){if(!a.cache.checkImageKey(b))return!1;void 0!==g&&null!==g||(g=a.cache.getImage(b).width/d),this.characterWidth=d,this.characterHeight=e,this.characterSpacingX=h||0,this.characterSpacingY=i||0,this.characterPerRow=g,this.offsetX=j||0,this.offsetY=k||0,this.align="left",this.multiLine=!1,this.autoUpperCase=!0,this.customSpacingX=0,this.customSpacingY=0,this.fixedWidth=0,this.fontSet=a.cache.getImage(b),this._text="",this.grabData=[],this.frameData=new c.FrameData;for(var l=this.offsetX,m=this.offsetY,n=0,o=0;o?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",c.RetroFont.TEXT_SET2=" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ",c.RetroFont.TEXT_SET3="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",c.RetroFont.TEXT_SET4="ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",c.RetroFont.TEXT_SET5="ABCDEFGHIJKLMNOPQRSTUVWXYZ.,/() '!?-*:0123456789",c.RetroFont.TEXT_SET6="ABCDEFGHIJKLMNOPQRSTUVWXYZ!?:;0123456789\"(),-.' ",c.RetroFont.TEXT_SET7="AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW\")28FLRX-'39",c.RetroFont.TEXT_SET8="0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ",c.RetroFont.TEXT_SET9="ABCDEFGHIJKLMNOPQRSTUVWXYZ()-0123456789.:,'\"?!",c.RetroFont.TEXT_SET10="ABCDEFGHIJKLMNOPQRSTUVWXYZ",c.RetroFont.TEXT_SET11="ABCDEFGHIJKLMNOPQRSTUVWXYZ.,\"-+!?()':;0123456789",c.RetroFont.prototype.setFixedWidth=function(a,b){void 0===b&&(b="left"),this.fixedWidth=a,this.align=b},c.RetroFont.prototype.setText=function(a,b,c,d,e,f){this.multiLine=b||!1,this.customSpacingX=c||0,this.customSpacingY=d||0,this.align=e||"left",f?this.autoUpperCase=!1:this.autoUpperCase=!0,a.length>0&&(this.text=a)},c.RetroFont.prototype.buildRetroFontText=function(){var a=0,b=0;if(this.clear(),this.multiLine){var d=this._text.split("\n");this.fixedWidth>0?this.resize(this.fixedWidth,d.length*(this.characterHeight+this.customSpacingY)-this.customSpacingY,!0):this.resize(this.getLongestLine()*(this.characterWidth+this.customSpacingX),d.length*(this.characterHeight+this.customSpacingY)-this.customSpacingY,!0);for(var e=0;e0?this.resize(this.fixedWidth,this.characterHeight,!0):this.resize(this._text.length*(this.characterWidth+this.customSpacingX),this.characterHeight,!0),a=0,this.align===c.RetroFont.ALIGN_RIGHT?a=this.width-this._text.length*(this.characterWidth+this.customSpacingX):this.align===c.RetroFont.ALIGN_CENTER&&(a=this.width/2-this._text.length*(this.characterWidth+this.customSpacingX)/2,a+=this.customSpacingX/2),a<0&&(a=0),this.pasteLine(this._text,a,0,this.customSpacingX);this.requiresReTint=!0},c.RetroFont.prototype.pasteLine=function(a,b,c,d){for(var e=0;e=0&&(this.stamp.frame=this.grabData[a.charCodeAt(e)],this.renderXY(this.stamp,b,c,!1),b+=this.characterWidth+d,b>this.width))break},c.RetroFont.prototype.getLongestLine=function(){var a=0;if(this._text.length>0)for(var b=this._text.split("\n"),c=0;ca&&(a=b[c].length);return a},c.RetroFont.prototype.removeUnsupportedCharacters=function(a){for(var b="",c=0;c=0||!a&&"\n"===d)&&(b=b.concat(d))}return b},c.RetroFont.prototype.updateOffset=function(a,b){if(this.offsetX!==a||this.offsetY!==b){for(var c=a-this.offsetX,d=b-this.offsetY,e=this.game.cache.getFrameData(this.stamp.key).getFrames(),f=e.length;f--;)e[f].x+=c,e[f].y+=d;this.buildRetroFontText()}},Object.defineProperty(c.RetroFont.prototype,"text",{get:function(){return this._text},set:function(a){var b;b=this.autoUpperCase?a.toUpperCase():a,b!==this._text&&(this._text=b,this.removeUnsupportedCharacters(this.multiLine),this.buildRetroFontText())}}),Object.defineProperty(c.RetroFont.prototype,"smoothed",{get:function(){return this.stamp.smoothed},set:function(a){this.stamp.smoothed=a,this.buildRetroFontText()}}),c.Rope=function(a,b,d,e,f,g){this.points=[],this.points=g,this._hasUpdateAnimation=!1,this._updateAnimationCallback=null,b=b||0,d=d||0,e=e||null,f=f||null,this.type=c.ROPE,PIXI.Rope.call(this,c.Cache.DEFAULT,this.points),c.Component.Core.init.call(this,a,b,d,e,f)},c.Rope.prototype=Object.create(PIXI.Rope.prototype),c.Rope.prototype.constructor=c.Rope,c.Component.Core.install.call(c.Rope.prototype,["Angle","Animation","AutoCull","Bounds","BringToTop","Crop","Delta","Destroy","FixedToCamera","InWorld","LifeSpan","LoadTexture","Overlap","PhysicsBody","Reset","ScaleMinMax","Smoothed"]),c.Rope.prototype.preUpdatePhysics=c.Component.PhysicsBody.preUpdate,c.Rope.prototype.preUpdateLifeSpan=c.Component.LifeSpan.preUpdate,c.Rope.prototype.preUpdateInWorld=c.Component.InWorld.preUpdate,c.Rope.prototype.preUpdateCore=c.Component.Core.preUpdate,c.Rope.prototype.preUpdate=function(){return!!(this.preUpdatePhysics()&&this.preUpdateLifeSpan()&&this.preUpdateInWorld())&&this.preUpdateCore()},c.Rope.prototype.update=function(){this._hasUpdateAnimation&&this.updateAnimation.call(this)},c.Rope.prototype.reset=function(a,b){return c.Component.Reset.prototype.reset.call(this,a,b),this},Object.defineProperty(c.Rope.prototype,"updateAnimation",{get:function(){return this._updateAnimation},set:function(a){a&&"function"==typeof a?(this._hasUpdateAnimation=!0,this._updateAnimation=a):(this._hasUpdateAnimation=!1,this._updateAnimation=null)}}),Object.defineProperty(c.Rope.prototype,"segments",{get:function(){for(var a,b,d,e,f,g,h,i,j=[],k=0;k=1)&&(l.touch=!0),(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&(l.mspointer=!0),l.cocoonJS||("onwheel"in window||l.ie&&"WheelEvent"in window?l.wheelEvent="wheel":"onmousewheel"in window?l.wheelEvent="mousewheel":l.firefox&&"MouseScrollEvent"in window&&(l.wheelEvent="DOMMouseScroll"))}function d(){for(var a=["requestFullscreen","requestFullScreen","webkitRequestFullscreen","webkitRequestFullScreen","msRequestFullscreen","msRequestFullScreen","mozRequestFullScreen","mozRequestFullscreen"],b=document.createElement("div"),c=0;c=9&&/Mac OS X (\d+)_(\d+)/.test(navigator.userAgent)){var c=parseInt(RegExp.$1,10),d=parseInt(RegExp.$2,10);(10===c&&d>=11||c>10)&&(l.dolby=!0)}}catch(a){}}function h(){var a=new ArrayBuffer(4),b=new Uint8Array(a),c=new Uint32Array(a);return b[0]=161,b[1]=178,b[2]=195,b[3]=212,3569595041===c[0]||2712847316!==c[0]&&null}function i(){if(void 0===Uint8ClampedArray)return!1;var a=PIXI.CanvasPool.create(this,1,1),b=a.getContext("2d");if(!b)return!1;var c=b.createImageData(1,1);return PIXI.CanvasPool.remove(this),c.data instanceof Uint8ClampedArray}function j(){l.pixelRatio=window.devicePixelRatio||1,l.iPhone=navigator.userAgent.toLowerCase().indexOf("iphone")!==-1,l.iPhone4=2===l.pixelRatio&&l.iPhone,l.iPad=navigator.userAgent.toLowerCase().indexOf("ipad")!==-1,"undefined"!=typeof Int8Array?l.typedArray=!0:l.typedArray=!1,"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint32Array&&(l.littleEndian=h(),l.LITTLE_ENDIAN=l.littleEndian),l.support32bit="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof Int32Array&&null!==l.littleEndian&&i(),navigator.vibrate=navigator.vibrate||navigator.webkitVibrate||navigator.mozVibrate||navigator.msVibrate,navigator.vibrate&&(l.vibration=!0)}function k(){var a,b=document.createElement("p"),c={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(b,null);for(var d in c)void 0!==b.style[d]&&(b.style[d]="translate3d(1px,1px,1px)",a=window.getComputedStyle(b).getPropertyValue(c[d]));document.body.removeChild(b),l.css3D=void 0!==a&&a.length>0&&"none"!==a}var l=this;a(),e(),g(),f(),k(),j(),b(),d(),c()},c.Device.canPlayAudio=function(a){return!("mp3"!==a||!this.mp3)||(!("ogg"!==a||!this.ogg&&!this.opus)||(!("m4a"!==a||!this.m4a)||(!("opus"!==a||!this.opus)||(!("wav"!==a||!this.wav)||(!("webm"!==a||!this.webm)||!("mp4"!==a||!this.dolby))))))},c.Device.canPlayVideo=function(a){return!("webm"!==a||!this.webmVideo&&!this.vp9Video)||(!("mp4"!==a||!this.mp4Video&&!this.h264Video)||(!("ogg"!==a&&"ogv"!==a||!this.oggVideo)||!("mpeg"!==a||!this.hlsVideo)))},c.Device.isConsoleOpen=function(){return!(!window.console||!window.console.firebug)||!(!window.console||(console.profile(),console.profileEnd(),console.clear&&console.clear(),!console.profiles))&&console.profiles.length>0},c.Device.isAndroidStockBrowser=function(){var a=window.navigator.userAgent.match(/Android.*AppleWebKit\/([\d.]+)/);return a&&a[1]<537},c.Canvas={create:function(a,b,c,d,e){b=b||256,c=c||256;var f=e?document.createElement("canvas"):PIXI.CanvasPool.create(a,b,c);return"string"==typeof d&&""!==d&&(f.id=d),f.width=b,f.height=c,f.style.display="block",f},setBackgroundColor:function(a,b){return b=b||"rgb(0,0,0)",a.style.backgroundColor=b,a},setTouchAction:function(a,b){return b=b||"none",a.style.msTouchAction=b,a.style["ms-touch-action"]=b,a.style["touch-action"]=b,a},setUserSelect:function(a,b){return b=b||"none",a.style["-webkit-touch-callout"]=b,a.style["-webkit-user-select"]=b,a.style["-khtml-user-select"]=b,a.style["-moz-user-select"]=b,a.style["-ms-user-select"]=b,a.style["user-select"]=b,a.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",a},addToDOM:function(a,b,c){var d;return void 0===c&&(c=!0),b&&("string"==typeof b?d=document.getElementById(b):"object"==typeof b&&1===b.nodeType&&(d=b)),d||(d=document.body),c&&d.style&&(d.style.overflow="hidden"),d.appendChild(a),a},removeFromDOM:function(a){a.parentNode&&a.parentNode.removeChild(a)},setTransform:function(a,b,c,d,e,f,g){return a.setTransform(d,f,g,e,b,c),a},setSmoothingEnabled:function(a,b){var d=c.Canvas.getSmoothingPrefix(a);return d&&(a[d]=b),a},getSmoothingPrefix:function(a){var b=["i","webkitI","msI","mozI","oI"];for(var c in b){var d=b[c]+"mageSmoothingEnabled";if(d in a)return d}return null},getSmoothingEnabled:function(a){var b=c.Canvas.getSmoothingPrefix(a);if(b)return a[b]},setImageRenderingCrisp:function(a){for(var b=["optimizeSpeed","crisp-edges","-moz-crisp-edges","-webkit-optimize-contrast","optimize-contrast","pixelated"],c=0;cb-c},fuzzyCeil:function(a,b){return void 0===b&&(b=1e-4),Math.ceil(a-b)},fuzzyFloor:function(a,b){return void 0===b&&(b=1e-4),Math.floor(a+b)},average:function(){for(var a=0,b=arguments.length,c=0;c=c.Math.PI2-d?a=b:(Math.abs(b-a)>Math.PI&&(ba?a+=d:b=0?a:a+2*Math.PI},maxAdd:function(a,b,c){return Math.min(a+b,c)},minSub:function(a,b,c){return Math.max(a-b,c)},wrap:function(a,b,c){var d=c-b;if(d<=0)return 0;var e=(a-b)%d;return e<0&&(e+=d),e+b},wrapValue:function(a,b,c){var d;return a=Math.abs(a),b=Math.abs(b),c=Math.abs(c),d=(a+b)%c},isOdd:function(a){return!!(1&a)},isEven:function(a){return!(1&a)},min:function(){if(1===arguments.length&&"object"==typeof arguments[0])var a=arguments[0];else var a=arguments;for(var b=1,c=0,d=a.length;ba[c]&&(c=b);return a[c]},minProperty:function(a){if(2===arguments.length&&"object"==typeof arguments[1])var b=arguments[1];else var b=arguments.slice(1);for(var c=1,d=0,e=b.length;cb[d][a]&&(d=c);return b[d][a]},wrapAngle:function(a,b){return b?this.wrap(a,-Math.PI,Math.PI):this.wrap(a,-180,180)},linearInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return b<0?this.linear(a[0],a[1],d):b>1?this.linear(a[c],a[c-1],c-d):this.linear(a[e],a[e+1>c?c:e+1],d-e)},bezierInterpolation:function(a,b){for(var c=0,d=a.length-1,e=0;e<=d;e++)c+=Math.pow(1-b,d-e)*Math.pow(b,e)*a[e]*this.bernstein(d,e);return c},catmullRomInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return a[0]===a[c]?(b<0&&(e=Math.floor(d=c*(1+b))),this.catmullRom(a[(e-1+c)%c],a[e],a[(e+1)%c],a[(e+2)%c],d-e)):b<0?a[0]-(this.catmullRom(a[0],a[0],a[1],a[1],-d)-a[0]):b>1?a[c]-(this.catmullRom(a[c],a[c],a[c-1],a[c-1],d-c)-a[c]):this.catmullRom(a[e?e-1:0],a[e],a[c0?Math.ceil(a):Math.floor(a)},sinCosGenerator:function(a,b,c,d){void 0===b&&(b=1),void 0===c&&(c=1),void 0===d&&(d=1);for(var e=b,f=c,g=d*Math.PI/a,h=[],i=[],j=0;j0?1:0},percent:function(a,b,c){return void 0===c&&(c=0),a>b||c>b?1:aa?0:(a-c)/b}};var k=Math.PI/180,l=180/Math.PI;return c.Math.degToRad=function(a){return a*k},c.Math.radToDeg=function(a){return a*l},c.RandomDataGenerator=function(a){void 0===a&&(a=[]),this.c=1,this.s0=0,this.s1=0,this.s2=0,"string"==typeof a?this.state(a):this.sow(a)},c.RandomDataGenerator.prototype={rnd:function(){var a=2091639*this.s0+2.3283064365386963e-10*this.c;return this.c=0|a,this.s0=this.s1,this.s1=this.s2,this.s2=a-this.c,this.s2},sow:function(a){if(this.s0=this.hash(" "),this.s1=this.hash(this.s0),this.s2=this.hash(this.s1),this.c=1,a)for(var b=0;b>>0,b-=d,b*=d,d=b>>>0,b-=d,d+=4294967296*b;return 2.3283064365386963e-10*(d>>>0)},integer:function(){return 4294967296*this.rnd.apply(this)},frac:function(){return this.rnd.apply(this)+1.1102230246251565e-16*(2097152*this.rnd.apply(this)|0)},real:function(){return this.integer()+this.frac()},integerInRange:function(a,b){return Math.floor(this.realInRange(0,b-a+1)+a)},between:function(a,b){return this.integerInRange(a,b)},realInRange:function(a,b){return this.frac()*(b-a)+a},normal:function(){return 1-2*this.frac()},uuid:function(){var a="",b="";for(b=a="";a++<36;b+=~a%5|3*a&4?(15^a?8^this.frac()*(20^a?16:4):4).toString(16):"-");return b},pick:function(a){return a[this.integerInRange(0,a.length-1)]},sign:function(){return this.pick([-1,1])},weightedPick:function(a){return a[~~(Math.pow(this.frac(),2)*(a.length-1)+.5)]},timestamp:function(a,b){return this.realInRange(a||9466848e5,b||1577862e6)},angle:function(){return this.integerInRange(-180,180)},state:function(a){return"string"==typeof a&&a.match(/^!rnd/)&&(a=a.split(","),this.c=parseFloat(a[1]),this.s0=parseFloat(a[2]),this.s1=parseFloat(a[3]),this.s2=parseFloat(a[4])),["!rnd",this.c,this.s0,this.s1,this.s2].join(",")}},c.RandomDataGenerator.prototype.constructor=c.RandomDataGenerator,c.QuadTree=function(a,b,c,d,e,f,g){this.maxObjects=10,this.maxLevels=4,this.level=0,this.bounds={},this.objects=[],this.nodes=[],this._empty=[],this.reset(a,b,c,d,e,f,g)},c.QuadTree.prototype={reset:function(a,b,c,d,e,f,g){this.maxObjects=e||10,this.maxLevels=f||4,this.level=g||0,this.bounds={x:Math.round(a),y:Math.round(b),width:c,height:d,subWidth:Math.floor(c/2),subHeight:Math.floor(d/2),right:Math.round(a)+Math.floor(c/2),bottom:Math.round(b)+Math.floor(d/2)},this.objects.length=0,this.nodes.length=0},populate:function(a){a.forEach(this.populateHandler,this,!0)},populateHandler:function(a){a.body&&a.exists&&this.insert(a.body)},split:function(){this.nodes[0]=new c.QuadTree(this.bounds.right,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[1]=new c.QuadTree(this.bounds.x,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[2]=new c.QuadTree(this.bounds.x,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1),this.nodes[3]=new c.QuadTree(this.bounds.right,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level+1)},insert:function(a){var b,c=0;if(null!=this.nodes[0]&&(b=this.getIndex(a),b!==-1))return void this.nodes[b].insert(a);if(this.objects.push(a),this.objects.length>this.maxObjects&&this.levelthis.bounds.bottom&&(b=2):a.x>this.bounds.right&&(a.ythis.bounds.bottom&&(b=3)),b},retrieve:function(a){if(a instanceof c.Rectangle)var b=this.objects,d=this.getIndex(a);else{if(!a.body)return this._empty;var b=this.objects,d=this.getIndex(a.body)}return this.nodes[0]&&(d!==-1?b=b.concat(this.nodes[d].retrieve(a)):(b=b.concat(this.nodes[0].retrieve(a)),b=b.concat(this.nodes[1].retrieve(a)),b=b.concat(this.nodes[2].retrieve(a)),b=b.concat(this.nodes[3].retrieve(a)))),b},clear:function(){this.objects.length=0;for(var a=this.nodes.length;a--;)this.nodes[a].clear(),this.nodes.splice(a,1);this.nodes.length=0}},c.QuadTree.prototype.constructor=c.QuadTree,c.Net=function(a){this.game=a},c.Net.prototype={getHostName:function(){return window.location&&window.location.hostname?window.location.hostname:null},checkDomainName:function(a){return window.location.hostname.indexOf(a)!==-1},updateQueryString:function(a,b,c,d){void 0===c&&(c=!1),void 0!==d&&""!==d||(d=window.location.href);var e="",f=new RegExp("([?|&])"+a+"=.*?(&|#|$)(.*)","gi");if(f.test(d))e="undefined"!=typeof b&&null!==b?d.replace(f,"$1"+a+"="+b+"$2$3"):d.replace(f,"$1$3").replace(/(&|\?)$/,"");else if("undefined"!=typeof b&&null!==b){var g=d.indexOf("?")!==-1?"&":"?",h=d.split("#");d=h[0]+g+a+"="+b,h[1]&&(d+="#"+h[1]),e=d}else e=d;return c?void(window.location.href=e):e},getQueryString:function(a){void 0===a&&(a="");var b={},c=location.search.substring(1).split("&");for(var d in c){var e=c[d].split("=");if(e.length>1){if(a&&a===this.decodeURI(e[0]))return this.decodeURI(e[1]);b[this.decodeURI(e[0])]=this.decodeURI(e[1])}}return b},decodeURI:function(a){return decodeURIComponent(a.replace(/\+/g," "))}},c.Net.prototype.constructor=c.Net,c.TweenManager=function(a){this.game=a,this.frameBased=!1,this._tweens=[],this._add=[],this.easeMap={Power0:c.Easing.Power0,Power1:c.Easing.Power1,Power2:c.Easing.Power2,Power3:c.Easing.Power3,Power4:c.Easing.Power4,Linear:c.Easing.Linear.None,Quad:c.Easing.Quadratic.Out,Cubic:c.Easing.Cubic.Out,Quart:c.Easing.Quartic.Out,Quint:c.Easing.Quintic.Out,Sine:c.Easing.Sinusoidal.Out,Expo:c.Easing.Exponential.Out,Circ:c.Easing.Circular.Out,Elastic:c.Easing.Elastic.Out,Back:c.Easing.Back.Out,Bounce:c.Easing.Bounce.Out,"Quad.easeIn":c.Easing.Quadratic.In,"Cubic.easeIn":c.Easing.Cubic.In,"Quart.easeIn":c.Easing.Quartic.In,"Quint.easeIn":c.Easing.Quintic.In,"Sine.easeIn":c.Easing.Sinusoidal.In,"Expo.easeIn":c.Easing.Exponential.In,"Circ.easeIn":c.Easing.Circular.In,"Elastic.easeIn":c.Easing.Elastic.In,"Back.easeIn":c.Easing.Back.In,"Bounce.easeIn":c.Easing.Bounce.In,"Quad.easeOut":c.Easing.Quadratic.Out,"Cubic.easeOut":c.Easing.Cubic.Out,"Quart.easeOut":c.Easing.Quartic.Out,"Quint.easeOut":c.Easing.Quintic.Out,"Sine.easeOut":c.Easing.Sinusoidal.Out,"Expo.easeOut":c.Easing.Exponential.Out,"Circ.easeOut":c.Easing.Circular.Out,"Elastic.easeOut":c.Easing.Elastic.Out,"Back.easeOut":c.Easing.Back.Out,"Bounce.easeOut":c.Easing.Bounce.Out,"Quad.easeInOut":c.Easing.Quadratic.InOut,"Cubic.easeInOut":c.Easing.Cubic.InOut,"Quart.easeInOut":c.Easing.Quartic.InOut,"Quint.easeInOut":c.Easing.Quintic.InOut,"Sine.easeInOut":c.Easing.Sinusoidal.InOut,"Expo.easeInOut":c.Easing.Exponential.InOut,"Circ.easeInOut":c.Easing.Circular.InOut,"Elastic.easeInOut":c.Easing.Elastic.InOut,"Back.easeInOut":c.Easing.Back.InOut,"Bounce.easeInOut":c.Easing.Bounce.InOut},this.game.onPause.add(this._pauseAll,this),this.game.onResume.add(this._resumeAll,this)},c.TweenManager.prototype={getAll:function(){return this._tweens},removeAll:function(){for(var a=0;a0&&(this._tweens=this._tweens.concat(this._add),this._add.length=0),!0},isTweening:function(a){return this._tweens.some(function(b){return b.target===a})},_pauseAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a]._pause()},_resumeAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a]._resume()},pauseAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].pause()},resumeAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].resume(!0)}},c.TweenManager.prototype.constructor=c.TweenManager,c.Tween=function(a,b,d){this.game=b,this.target=a,this.manager=d,this.timeline=[],this.reverse=!1,this.timeScale=1,this.repeatCounter=0,this.pendingDelete=!1,this.onStart=new c.Signal,this.onLoop=new c.Signal,this.onRepeat=new c.Signal,this.onChildComplete=new c.Signal,this.onComplete=new c.Signal,this.isRunning=!1,this.current=0,this.properties={},this.chainedTween=null,this.isPaused=!1,this.frameBased=d.frameBased,this._onUpdateCallback=null,this._onUpdateCallbackContext=null,this._pausedTime=0,this._codePaused=!1,this._hasStarted=!1},c.Tween.prototype={to:function(a,b,d,e,f,g,h){return(void 0===b||b<=0)&&(b=1e3),void 0!==d&&null!==d||(d=c.Easing.Default),void 0===e&&(e=!1),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=!1),"string"==typeof d&&this.manager.easeMap[d]&&(d=this.manager.easeMap[d]),this.isRunning?(console.warn("Phaser.Tween.to cannot be called after Tween.start"),this):(this.timeline.push(new c.TweenData(this).to(a,b,d,f,g,h)),e&&this.start(),this)},from:function(a,b,d,e,f,g,h){return void 0===b&&(b=1e3),void 0!==d&&null!==d||(d=c.Easing.Default),void 0===e&&(e=!1),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=!1),"string"==typeof d&&this.manager.easeMap[d]&&(d=this.manager.easeMap[d]),this.isRunning?(console.warn("Phaser.Tween.from cannot be called after Tween.start"),this):(this.timeline.push(new c.TweenData(this).from(a,b,d,f,g,h)),e&&this.start(),this)},start:function(a){if(void 0===a&&(a=0),null===this.game||null===this.target||0===this.timeline.length||this.isRunning)return this;for(var b=0;bthis.timeline.length-1)&&(a=0),this.current=a,this.timeline[this.current].start(),this},stop:function(a){return void 0===a&&(a=!1),this.isRunning=!1,this._onUpdateCallback=null,this._onUpdateCallbackContext=null,a&&(this.onComplete.dispatch(this.target,this),this._hasStarted=!1,this.chainedTween&&this.chainedTween.start()),this.manager.remove(this),this},updateTweenData:function(a,b,c){if(0===this.timeline.length)return this;if(void 0===c&&(c=0),c===-1)for(var d=0;d0?arguments[a-1].chainedTween=arguments[a]:this.chainedTween=arguments[a];return this},loop:function(a){return void 0===a&&(a=!0),this.repeatCounter=a?-1:0,this},onUpdateCallback:function(a,b){return this._onUpdateCallback=a,this._onUpdateCallbackContext=b,this},pause:function(){this.isPaused=!0,this._codePaused=!0,this._pausedTime=this.game.time.time},_pause:function(){this._codePaused||(this.isPaused=!0,this._pausedTime=this.game.time.time)},resume:function(){if(this.isPaused){this.isPaused=!1,this._codePaused=!1;for(var a=0;a0?(this.repeatCounter--,this.timeline[this.current].start(),this.onRepeat.dispatch(this.target,this),!0):(this.isRunning=!1,this.onComplete.dispatch(this.target,this),this._hasStarted=!1,this.chainedTween&&this.chainedTween.start(),!1):(this.onChildComplete.dispatch(this.target,this),this.timeline[this.current].start(),!0)}},generateData:function(a,b){if(null===this.game||null===this.target)return null;void 0===a&&(a=60),void 0===b&&(b=[]);for(var c=0;c0?this.isRunning=!1:this.isRunning=!0,this.isFrom)for(var a in this.vStartCache)this.vStart[a]=this.vEndCache[a],this.vEnd[a]=this.vStartCache[a],this.parent.target[a]=this.vStart[a];return this.value=0,this.yoyoCounter=0,this.repeatCounter=this.repeatTotal,this},loadValues:function(){for(var a in this.parent.properties){if(this.vStart[a]=this.parent.properties[a],Array.isArray(this.vEnd[a])){if(0===this.vEnd[a].length)continue;0===this.percent&&(this.vEnd[a]=[this.vStart[a]].concat(this.vEnd[a])); +}"undefined"!=typeof this.vEnd[a]?("string"==typeof this.vEnd[a]&&(this.vEnd[a]=this.vStart[a]+parseFloat(this.vEnd[a],10)),this.parent.properties[a]=this.vEnd[a]):this.vEnd[a]=this.vStart[a],this.vStartCache[a]=this.vStart[a],this.vEndCache[a]=this.vEnd[a]}return this},update:function(a){if(this.isRunning){if(a=this.startTime))return c.TweenData.PENDING;this.isRunning=!0}var b=this.parent.frameBased?this.game.time.physicsElapsedMS:this.game.time.elapsedMS;this.parent.reverse?(this.dt-=b*this.parent.timeScale,this.dt=Math.max(this.dt,0)):(this.dt+=b*this.parent.timeScale,this.dt=Math.min(this.dt,this.duration)),this.percent=this.dt/this.duration,this.value=this.easingFunction(this.percent);for(var d in this.vEnd){var e=this.vStart[d],f=this.vEnd[d];Array.isArray(f)?this.parent.target[d]=this.interpolationFunction.call(this.interpolationContext,f,this.value):this.parent.target[d]=e+(f-e)*this.value}return!this.parent.reverse&&1===this.percent||this.parent.reverse&&0===this.percent?this.repeat():c.TweenData.RUNNING},generateData:function(a){this.parent.reverse?this.dt=this.duration:this.dt=0;var b=[],c=!1,d=1/a*1e3;do{this.parent.reverse?(this.dt-=d,this.dt=Math.max(this.dt,0)):(this.dt+=d,this.dt=Math.min(this.dt,this.duration)),this.percent=this.dt/this.duration,this.value=this.easingFunction(this.percent);var e={};for(var f in this.vEnd){var g=this.vStart[f],h=this.vEnd[f];Array.isArray(h)?e[f]=this.interpolationFunction(h,this.value):e[f]=g+(h-g)*this.value}b.push(e),(!this.parent.reverse&&1===this.percent||this.parent.reverse&&0===this.percent)&&(c=!0)}while(!c);if(this.yoyo){var i=b.slice();i.reverse(),b=b.concat(i)}return b},repeat:function(){if(this.yoyo){if(this.inReverse&&0===this.repeatCounter){for(var a in this.vStartCache)this.vStart[a]=this.vStartCache[a],this.vEnd[a]=this.vEndCache[a];return this.inReverse=!1,c.TweenData.COMPLETE}this.inReverse=!this.inReverse}else if(0===this.repeatCounter)return c.TweenData.COMPLETE;if(this.inReverse)for(var a in this.vStartCache)this.vStart[a]=this.vEndCache[a],this.vEnd[a]=this.vStartCache[a];else{for(var a in this.vStartCache)this.vStart[a]=this.vStartCache[a],this.vEnd[a]=this.vEndCache[a];this.repeatCounter>0&&this.repeatCounter--}return this.startTime=this.game.time.time,this.yoyo&&this.inReverse?this.startTime+=this.yoyoDelay:this.inReverse||(this.startTime+=this.repeatDelay),this.parent.reverse?this.dt=this.duration:this.dt=0,c.TweenData.LOOPED}},c.TweenData.prototype.constructor=c.TweenData,c.Easing={Linear:{None:function(a){return a}},Quadratic:{In:function(a){return a*a},Out:function(a){return a*(2-a)},InOut:function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)}},Cubic:{In:function(a){return a*a*a},Out:function(a){return--a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)}},Quartic:{In:function(a){return a*a*a*a},Out:function(a){return 1- --a*a*a*a},InOut:function(a){return(a*=2)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)}},Quintic:{In:function(a){return a*a*a*a*a},Out:function(a){return--a*a*a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)}},Sinusoidal:{In:function(a){return 0===a?0:1===a?1:1-Math.cos(a*Math.PI/2)},Out:function(a){return 0===a?0:1===a?1:Math.sin(a*Math.PI/2)},InOut:function(a){return 0===a?0:1===a?1:.5*(1-Math.cos(Math.PI*a))}},Exponential:{In:function(a){return 0===a?0:Math.pow(1024,a-1)},Out:function(a){return 1===a?1:1-Math.pow(2,-10*a)},InOut:function(a){return 0===a?0:1===a?1:(a*=2)<1?.5*Math.pow(1024,a-1):.5*(-Math.pow(2,-10*(a-1))+2)}},Circular:{In:function(a){return 1-Math.sqrt(1-a*a)},Out:function(a){return Math.sqrt(1- --a*a)},InOut:function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)}},Elastic:{In:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||c<1?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),-(c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/d)))},Out:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||c<1?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),c*Math.pow(2,-10*a)*Math.sin((a-b)*(2*Math.PI)/d)+1)},InOut:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||c<1?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),(a*=2)<1?-.5*(c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/d)):c*Math.pow(2,-10*(a-=1))*Math.sin((a-b)*(2*Math.PI)/d)*.5+1)}},Back:{In:function(a){var b=1.70158;return a*a*((b+1)*a-b)},Out:function(a){var b=1.70158;return--a*a*((b+1)*a+b)+1},InOut:function(a){var b=2.5949095;return(a*=2)<1?.5*(a*a*((b+1)*a-b)):.5*((a-=2)*a*((b+1)*a+b)+2)}},Bounce:{In:function(a){return 1-c.Easing.Bounce.Out(1-a)},Out:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},InOut:function(a){return a<.5?.5*c.Easing.Bounce.In(2*a):.5*c.Easing.Bounce.Out(2*a-1)+.5}}},c.Easing.Default=c.Easing.Linear.None,c.Easing.Power0=c.Easing.Linear.None,c.Easing.Power1=c.Easing.Quadratic.Out,c.Easing.Power2=c.Easing.Cubic.Out,c.Easing.Power3=c.Easing.Quartic.Out,c.Easing.Power4=c.Easing.Quintic.Out,c.Time=function(a){this.game=a,this.time=0,this.prevTime=0,this.now=0,this.elapsed=0,this.elapsedMS=0,this.physicsElapsed=1/60,this.physicsElapsedMS=1/60*1e3,this.desiredFpsMult=1/60,this._desiredFps=60,this.suggestedFps=this.desiredFps,this.slowMotion=1,this.advancedTiming=!1,this.frames=0,this.fps=0,this.fpsMin=1e3,this.fpsMax=0,this.msMin=1e3,this.msMax=0,this.pauseDuration=0,this.timeToCall=0,this.timeExpected=0,this.events=new c.Timer(this.game,(!1)),this._frameCount=0,this._elapsedAccumulator=0,this._started=0,this._timeLastSecond=0,this._pauseStarted=0,this._justResumed=!1,this._timers=[]},c.Time.prototype={boot:function(){this._started=Date.now(),this.time=Date.now(),this.events.start(),this.timeExpected=this.time},add:function(a){return this._timers.push(a),a},create:function(a){void 0===a&&(a=!0);var b=new c.Timer(this.game,a);return this._timers.push(b),b},removeAll:function(){for(var a=0;a=2*this._desiredFps&&(this.suggestedFps=5*Math.floor(200/(this._elapsedAccumulator/this._frameCount)),this._frameCount=0,this._elapsedAccumulator=0),this.msMin=Math.min(this.msMin,this.elapsed),this.msMax=Math.max(this.msMax,this.elapsed),this.frames++,this.now>this._timeLastSecond+1e3&&(this.fps=Math.round(1e3*this.frames/(this.now-this._timeLastSecond)),this.fpsMin=Math.min(this.fpsMin,this.fps),this.fpsMax=Math.max(this.fpsMax,this.fps),this._timeLastSecond=this.now,this.frames=0)},gamePaused:function(){this._pauseStarted=Date.now(),this.events.pause();for(var a=this._timers.length;a--;)this._timers[a]._pause()},gameResumed:function(){this.time=Date.now(),this.pauseDuration=this.time-this._pauseStarted,this.events.resume();for(var a=this._timers.length;a--;)this._timers[a]._resume()},totalElapsedSeconds:function(){return.001*(this.time-this._started)},elapsedSince:function(a){return this.time-a},elapsedSecondsSince:function(a){return.001*(this.time-a)},reset:function(){this._started=this.time,this.removeAll()}},Object.defineProperty(c.Time.prototype,"desiredFps",{get:function(){return this._desiredFps},set:function(a){this._desiredFps=a,this.physicsElapsed=1/a,this.physicsElapsedMS=1e3*this.physicsElapsed,this.desiredFpsMult=1/a}}),c.Time.prototype.constructor=c.Time,c.Timer=function(a,b){void 0===b&&(b=!0),this.game=a,this.running=!1,this.autoDestroy=b,this.expired=!1,this.elapsed=0,this.events=[],this.onComplete=new c.Signal,this.nextTick=0,this.timeCap=1e3,this.paused=!1,this._codePaused=!1,this._started=0,this._pauseStarted=0,this._pauseTotal=0,this._now=Date.now(),this._len=0,this._marked=0,this._i=0,this._diff=0,this._newTick=0},c.Timer.MINUTE=6e4,c.Timer.SECOND=1e3,c.Timer.HALF=500,c.Timer.QUARTER=250,c.Timer.prototype={create:function(a,b,d,e,f,g){a=Math.round(a);var h=a;h+=0===this._now?this.game.time.time:this._now;var i=new c.TimerEvent(this,a,h,d,b,e,f,g);return this.events.push(i),this.order(),this.expired=!1,i},add:function(a,b,c){return this.create(a,!1,0,b,c,Array.prototype.slice.call(arguments,3))},repeat:function(a,b,c,d){return this.create(a,!1,b,c,d,Array.prototype.slice.call(arguments,4))},loop:function(a,b,c){return this.create(a,!0,0,b,c,Array.prototype.slice.call(arguments,3))},start:function(a){if(!this.running){this._started=this.game.time.time+(a||0),this.running=!0;for(var b=0;b0&&(this.events.sort(this.sortHandler),this.nextTick=this.events[0].tick)},sortHandler:function(a,b){return a.tickb.tick?1:0},clearPendingEvents:function(){for(this._i=this.events.length;this._i--;)this.events[this._i].pendingDelete&&this.events.splice(this._i,1);this._len=this.events.length,this._i=0},update:function(a){if(this.paused)return!0;if(this.elapsed=a-this._now,this._now=a,this.elapsed>this.timeCap&&this.adjustEvents(a-this.elapsed),this._marked=0,this.clearPendingEvents(),this.running&&this._now>=this.nextTick&&this._len>0){for(;this._i=this.events[this._i].tick&&!this.events[this._i].pendingDelete;)this._newTick=this._now+this.events[this._i].delay-(this._now-this.events[this._i].tick),this._newTick<0&&(this._newTick=this._now+this.events[this._i].delay),this.events[this._i].loop===!0?(this.events[this._i].tick=this._newTick,this.events[this._i].callback.apply(this.events[this._i].callbackContext,this.events[this._i].args)):this.events[this._i].repeatCount>0?(this.events[this._i].repeatCount--,this.events[this._i].tick=this._newTick,this.events[this._i].callback.apply(this.events[this._i].callbackContext,this.events[this._i].args)):(this._marked++,this.events[this._i].pendingDelete=!0,this.events[this._i].callback.apply(this.events[this._i].callbackContext,this.events[this._i].args)),this._i++;this.events.length>this._marked?this.order():(this.expired=!0,this.onComplete.dispatch(this))}return!this.expired||!this.autoDestroy},pause:function(){this.running&&(this._codePaused=!0,this.paused||(this._pauseStarted=this.game.time.time,this.paused=!0))},_pause:function(){!this.paused&&this.running&&(this._pauseStarted=this.game.time.time,this.paused=!0)},adjustEvents:function(a){for(var b=0;bthis._now?this.nextTick-this._now:0}}),Object.defineProperty(c.Timer.prototype,"length",{get:function(){return this.events.length}}),Object.defineProperty(c.Timer.prototype,"ms",{get:function(){return this.running?this._now-this._started-this._pauseTotal:0}}),Object.defineProperty(c.Timer.prototype,"seconds",{get:function(){return this.running?.001*this.ms:0}}),c.Timer.prototype.constructor=c.Timer,c.TimerEvent=function(a,b,c,d,e,f,g,h){this.timer=a,this.delay=b,this.tick=c,this.repeatCount=d-1,this.loop=e,this.callback=f,this.callbackContext=g,this.args=h,this.pendingDelete=!1},c.TimerEvent.prototype.constructor=c.TimerEvent,c.AnimationManager=function(a){this.sprite=a,this.game=a.game,this.currentFrame=null,this.currentAnim=null,this.updateIfVisible=!0,this.isLoaded=!1,this._frameData=null,this._anims={},this._outputFrames=[]},c.AnimationManager.prototype={loadFrameData:function(a,b){if(void 0===a)return!1;if(this.isLoaded)for(var c in this._anims)this._anims[c].updateFrameData(a);return this._frameData=a,void 0===b||null===b?this.frame=0:"string"==typeof b?this.frameName=b:this.frame=b,this.isLoaded=!0,!0},copyFrameData:function(a,b){if(this._frameData=a.clone(),this.isLoaded)for(var c in this._anims)this._anims[c].updateFrameData(this._frameData);return void 0===b||null===b?this.frame=0:"string"==typeof b?this.frameName=b:this.frame=b,this.isLoaded=!0,!0},add:function(a,b,d,e,f){return b=b||[],d=d||60,void 0===e&&(e=!1),void 0===f&&(f=!(!b||"number"!=typeof b[0])),this._outputFrames=[],this._frameData.getFrameIndexes(b,f,this._outputFrames),this._anims[a]=new c.Animation(this.game,this.sprite,a,this._frameData,this._outputFrames,d,e),this.currentAnim=this._anims[a],this.sprite.tilingTexture&&(this.sprite.refreshTexture=!0),this._anims[a]},validateFrames:function(a,b){void 0===b&&(b=!0);for(var c=0;cthis._frameData.total)return!1}else if(this._frameData.checkFrameName(a[c])===!1)return!1;return!0},play:function(a,b,c,d){if(this._anims[a])return this.currentAnim===this._anims[a]?this.currentAnim.isPlaying===!1?(this.currentAnim.paused=!1,this.currentAnim.play(b,c,d)):this.currentAnim:(this.currentAnim&&this.currentAnim.isPlaying&&this.currentAnim.stop(),this.currentAnim=this._anims[a],this.currentAnim.paused=!1,this.currentFrame=this.currentAnim.currentFrame,this.currentAnim.play(b,c,d))},stop:function(a,b){void 0===b&&(b=!1),!this.currentAnim||"string"==typeof a&&a!==this.currentAnim.name||this.currentAnim.stop(b)},update:function(){return!(this.updateIfVisible&&!this.sprite.visible)&&(!(!this.currentAnim||!this.currentAnim.update())&&(this.currentFrame=this.currentAnim.currentFrame,!0))},next:function(a){this.currentAnim&&(this.currentAnim.next(a),this.currentFrame=this.currentAnim.currentFrame)},previous:function(a){this.currentAnim&&(this.currentAnim.previous(a),this.currentFrame=this.currentAnim.currentFrame)},getAnimation:function(a){return"string"==typeof a&&this._anims[a]?this._anims[a]:null},refreshFrame:function(){},destroy:function(){var a=null;for(var a in this._anims)this._anims.hasOwnProperty(a)&&this._anims[a].destroy();this._anims={},this._outputFrames=[],this._frameData=null,this.currentAnim=null,this.currentFrame=null,this.sprite=null,this.game=null}},c.AnimationManager.prototype.constructor=c.AnimationManager,Object.defineProperty(c.AnimationManager.prototype,"frameData",{get:function(){return this._frameData}}),Object.defineProperty(c.AnimationManager.prototype,"frameTotal",{get:function(){return this._frameData.total}}),Object.defineProperty(c.AnimationManager.prototype,"paused",{get:function(){return this.currentAnim.isPaused},set:function(a){this.currentAnim.paused=a}}),Object.defineProperty(c.AnimationManager.prototype,"name",{get:function(){if(this.currentAnim)return this.currentAnim.name}}),Object.defineProperty(c.AnimationManager.prototype,"frame",{get:function(){if(this.currentFrame)return this.currentFrame.index},set:function(a){"number"==typeof a&&this._frameData&&null!==this._frameData.getFrame(a)&&(this.currentFrame=this._frameData.getFrame(a),this.currentFrame&&this.sprite.setFrame(this.currentFrame))}}),Object.defineProperty(c.AnimationManager.prototype,"frameName",{get:function(){if(this.currentFrame)return this.currentFrame.name},set:function(a){"string"==typeof a&&this._frameData&&null!==this._frameData.getFrameByName(a)?(this.currentFrame=this._frameData.getFrameByName(a),this.currentFrame&&(this._frameIndex=this.currentFrame.index,this.sprite.setFrame(this.currentFrame))):console.warn("Cannot set frameName: "+a)}}),c.Animation=function(a,b,d,e,f,g,h){void 0===h&&(h=!1),this.game=a,this._parent=b,this._frameData=e,this.name=d,this._frames=[],this._frames=this._frames.concat(f),this.delay=1e3/g,this.loop=h,this.loopCount=0,this.killOnComplete=!1,this.isFinished=!1,this.isPlaying=!1,this.isPaused=!1,this._pauseStartTime=0,this._frameIndex=0,this._frameDiff=0,this._frameSkip=1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.onStart=new c.Signal,this.onUpdate=null,this.onComplete=new c.Signal,this.onLoop=new c.Signal,this.isReversed=!1,this.game.onPause.add(this.onPause,this),this.game.onResume.add(this.onResume,this)},c.Animation.prototype={play:function(a,b,c){return"number"==typeof a&&(this.delay=1e3/a),"boolean"==typeof b&&(this.loop=b),"undefined"!=typeof c&&(this.killOnComplete=c),this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this.loopCount=0,this._timeLastFrame=this.game.time.time,this._timeNextFrame=this.game.time.time+this.delay,this._frameIndex=this.isReversed?this._frames.length-1:0,this.updateCurrentFrame(!1,!0),this._parent.events.onAnimationStart$dispatch(this._parent,this),this.onStart.dispatch(this._parent,this),this._parent.animations.currentAnim=this,this._parent.animations.currentFrame=this.currentFrame,this},restart:function(){this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this.loopCount=0,this._timeLastFrame=this.game.time.time,this._timeNextFrame=this.game.time.time+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this._parent.setFrame(this.currentFrame),this._parent.animations.currentAnim=this,this._parent.animations.currentFrame=this.currentFrame,this.onStart.dispatch(this._parent,this)},reverse:function(){return this.reversed=!this.reversed,this},reverseOnce:function(){return this.onComplete.addOnce(this.reverse,this),this.reverse()},setFrame:function(a,b){var c;if(void 0===b&&(b=!1),"string"==typeof a)for(var d=0;d=this._timeNextFrame)&&(this._frameSkip=1,this._frameDiff=this.game.time.time-this._timeNextFrame,this._timeLastFrame=this.game.time.time,this._frameDiff>this.delay&&(this._frameSkip=Math.floor(this._frameDiff/this.delay),this._frameDiff-=this._frameSkip*this.delay),this._timeNextFrame=this.game.time.time+(this.delay-this._frameDiff),this.isReversed?this._frameIndex-=this._frameSkip:this._frameIndex+=this._frameSkip,!this.isReversed&&this._frameIndex>=this._frames.length||this.isReversed&&this._frameIndex<=-1?this.loop?(this._frameIndex=Math.abs(this._frameIndex)%this._frames.length,this.isReversed&&(this._frameIndex=this._frames.length-1-this._frameIndex),this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setFrame(this.currentFrame),this.loopCount++,this._parent.events.onAnimationLoop$dispatch(this._parent,this),this.onLoop.dispatch(this._parent,this),!this.onUpdate||(this.onUpdate.dispatch(this,this.currentFrame),!!this._frameData)):(this.complete(),!1):this.updateCurrentFrame(!0)))},updateCurrentFrame:function(a,b){if(void 0===b&&(b=!1),!this._frameData)return!1;var c=this.currentFrame.index;return this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&(b||!b&&c!==this.currentFrame.index)&&this._parent.setFrame(this.currentFrame),!this.onUpdate||!a||(this.onUpdate.dispatch(this,this.currentFrame),!!this._frameData)},next:function(a){void 0===a&&(a=1);var b=this._frameIndex+a;b>=this._frames.length&&(this.loop?b%=this._frames.length:b=this._frames.length-1),b!==this._frameIndex&&(this._frameIndex=b,this.updateCurrentFrame(!0))},previous:function(a){void 0===a&&(a=1);var b=this._frameIndex-a;b<0&&(this.loop?b=this._frames.length+b:b++),b!==this._frameIndex&&(this._frameIndex=b,this.updateCurrentFrame(!0))},updateFrameData:function(a){this._frameData=a,this.currentFrame=this._frameData?this._frameData.getFrame(this._frames[this._frameIndex%this._frames.length]):null},destroy:function(){this._frameData&&(this.game.onPause.remove(this.onPause,this),this.game.onResume.remove(this.onResume,this),this.game=null,this._parent=null,this._frames=null,this._frameData=null,this.currentFrame=null,this.isPlaying=!1,this.onStart.dispose(),this.onLoop.dispose(),this.onComplete.dispose(),this.onUpdate&&this.onUpdate.dispose())},complete:function(){this._frameIndex=this._frames.length-1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.isPlaying=!1,this.isFinished=!0,this.paused=!1,this._parent.events.onAnimationComplete$dispatch(this._parent,this),this.onComplete.dispatch(this._parent,this),this.killOnComplete&&this._parent.kill()}},c.Animation.prototype.constructor=c.Animation,Object.defineProperty(c.Animation.prototype,"paused",{get:function(){return this.isPaused},set:function(a){this.isPaused=a,a?this._pauseStartTime=this.game.time.time:this.isPlaying&&(this._timeNextFrame=this.game.time.time+this.delay)}}),Object.defineProperty(c.Animation.prototype,"reversed",{get:function(){return this.isReversed},set:function(a){this.isReversed=a}}),Object.defineProperty(c.Animation.prototype,"frameTotal",{get:function(){return this._frames.length}}),Object.defineProperty(c.Animation.prototype,"frame",{get:function(){return null!==this.currentFrame?this.currentFrame.index:this._frameIndex},set:function(a){this.currentFrame=this._frameData.getFrame(this._frames[a]),null!==this.currentFrame&&(this._frameIndex=a,this._parent.setFrame(this.currentFrame),this.onUpdate&&this.onUpdate.dispatch(this,this.currentFrame))}}),Object.defineProperty(c.Animation.prototype,"speed",{get:function(){return 1e3/this.delay},set:function(a){a>0&&(this.delay=1e3/a)}}),Object.defineProperty(c.Animation.prototype,"enableUpdate",{get:function(){return null!==this.onUpdate},set:function(a){a&&null===this.onUpdate?this.onUpdate=new c.Signal:a||null===this.onUpdate||(this.onUpdate.dispose(),this.onUpdate=null)}}),c.Animation.generateFrameNames=function(a,b,d,e,f){void 0===e&&(e="");var g=[],h="";if(b=d;i--)h="number"==typeof f?c.Utils.pad(i.toString(),f,"0",1):i.toString(),h=a+h+e,g.push(h);return g},c.Frame=function(a,b,d,e,f,g){this.index=a,this.x=b,this.y=d,this.width=e,this.height=f,this.name=g,this.centerX=Math.floor(e/2),this.centerY=Math.floor(f/2),this.distance=c.Math.distance(0,0,e,f),this.rotated=!1,this.rotationDirection="cw",this.trimmed=!1,this.sourceSizeW=e,this.sourceSizeH=f,this.spriteSourceSizeX=0,this.spriteSourceSizeY=0,this.spriteSourceSizeW=0,this.spriteSourceSizeH=0,this.right=this.x+this.width,this.bottom=this.y+this.height},c.Frame.prototype={resize:function(a,b){this.width=a,this.height=b,this.centerX=Math.floor(a/2),this.centerY=Math.floor(b/2),this.distance=c.Math.distance(0,0,a,b),this.sourceSizeW=a,this.sourceSizeH=b,this.right=this.x+a,this.bottom=this.y+b},setTrim:function(a,b,c,d,e,f,g){this.trimmed=a,a&&(this.sourceSizeW=b,this.sourceSizeH=c,this.centerX=Math.floor(b/2),this.centerY=Math.floor(c/2),this.spriteSourceSizeX=d,this.spriteSourceSizeY=e,this.spriteSourceSizeW=f,this.spriteSourceSizeH=g)},clone:function(){var a=new c.Frame(this.index,this.x,this.y,this.width,this.height,this.name);for(var b in this)this.hasOwnProperty(b)&&(a[b]=this[b]);return a},getRect:function(a){return void 0===a?a=new c.Rectangle(this.x,this.y,this.width,this.height):a.setTo(this.x,this.y,this.width,this.height),a}},c.Frame.prototype.constructor=c.Frame,c.FrameData=function(){this._frames=[],this._frameNames=[]},c.FrameData.prototype={addFrame:function(a){return a.index=this._frames.length,this._frames.push(a),""!==a.name&&(this._frameNames[a.name]=a.index),a},getFrame:function(a){return a>=this._frames.length&&(a=0),this._frames[a]},getFrameByName:function(a){return"number"==typeof this._frameNames[a]?this._frames[this._frameNames[a]]:null},checkFrameName:function(a){return null!=this._frameNames[a]},clone:function(){for(var a=new c.FrameData,b=0;bj&&(p=g,q+=e+h);return o},JSONData:function(a,b){if(!b.frames)return console.warn("Phaser.AnimationParser.JSONData: Invalid Texture Atlas JSON given, missing 'frames' array"),void console.log(b);for(var d,e=new c.FrameData,f=b.frames,g=0;g tag");for(var d,e,f,g,h,i,j,k,l,m,n,o=new c.FrameData,p=b.getElementsByTagName("SubTexture"),q=0;q-1},getAssetIndex:function(a,b){for(var c=-1,d=0;d-1&&{index:c,file:this._fileList[c]}},reset:function(a,b){void 0===b&&(b=!1),this.resetLocked||(a&&(this.preloadSprite=null),this.isLoading=!1,this._processingHead=0,this._fileList.length=0,this._flightQueue.length=0,this._fileLoadStarted=!1,this._totalFileCount=0,this._totalPackCount=0,this._loadedPackCount=0,this._loadedFileCount=0,b&&(this.onLoadStart.removeAll(),this.onLoadComplete.removeAll(),this.onPackComplete.removeAll(),this.onFileStart.removeAll(),this.onFileComplete.removeAll(),this.onFileError.removeAll()))},addToFileList:function(a,b,c,d,e,f){if(void 0===e&&(e=!1),void 0===b||""===b)return console.warn("Phaser.Loader: Invalid or no key given of type "+a),this;if(void 0===c||null===c){if(!f)return console.warn("Phaser.Loader: No URL given for file type: "+a+" key: "+b),this;c=b+f}var g={type:a,key:b,path:this.path,url:c,syncPoint:this._withSyncPointDepth>0,data:null,loading:!1,loaded:!1,error:!1};if(d)for(var h in d)g[h]=d[h];var i=this.getAssetIndex(a,b);if(e&&i>-1){var j=this._fileList[i];j.loading||j.loaded?(this._fileList.push(g),this._totalFileCount++):this._fileList[i]=g}else i===-1&&(this._fileList.push(g),this._totalFileCount++);return this},replaceInFileList:function(a,b,c,d){return this.addToFileList(a,b,c,d,!0)},pack:function(a,b,c,d){if(void 0===b&&(b=null),void 0===c&&(c=null),void 0===d&&(d=null),!b&&!c)return console.warn("Phaser.Loader.pack - Both url and data are null. One must be set."),this;var e={type:"packfile",key:a,url:b,path:this.path,syncPoint:!0,data:null,loading:!1,loaded:!1,error:!1,callbackContext:d};c&&("string"==typeof c&&(c=JSON.parse(c)),e.data=c||{},e.loaded=!0);for(var f=0;f=e||d&&this._loadedPackCount===this._totalPackCount)break}if(this.updateProgress(),this._processingHead>=this._fileList.length)this.finishedLoading();else if(!this._flightQueue.length){console.warn("Phaser.Loader - aborting: processing queue empty, loading may have stalled");var f=this;setTimeout(function(){f.finishedLoading(!0)},2e3)}},finishedLoading:function(a){this.hasLoaded||(this.hasLoaded=!0,this.isLoading=!1,a||this._fileLoadStarted||(this._fileLoadStarted=!0,this.onLoadStart.dispatch()),this.onLoadComplete.dispatch(),this.game.state.loadComplete(),this.reset())},asyncComplete:function(a,b){void 0===b&&(b=""),a.loaded=!0,a.error=!!b,b&&(a.errorMessage=b,console.warn("Phaser.Loader - "+a.type+"["+a.key+"]: "+b)),this.processLoadQueue()},processPack:function(a){var b=a.data[a.key];if(!b)return void console.warn("Phaser.Loader - "+a.key+": pack has data, but not for pack key");for(var d=0;d=400&&f.status<=599?e.call(g,a,f):d.call(g,a,f)}catch(b){g.hasLoaded?window.console&&console.error(b):g.asyncComplete(a,b.message||"Exception")}},f.onerror=function(){try{return e.call(g,a,f)}catch(b){g.hasLoaded?window.console&&console.error(b):g.asyncComplete(a,b.message||"Exception")}},a.requestObject=f,a.requestUrl=b,f.send()},xhrLoadWithXDR:function(a,b,c,d,e){this._warnedAboutXDomainRequest||this.game.device.ie&&!(this.game.device.ieVersion>=10)||(this._warnedAboutXDomainRequest=!0,console.warn("Phaser.Loader - using XDomainRequest outside of IE 9"));var f=new window.XDomainRequest;f.open("GET",b,!0),f.responseType=c,f.timeout=3e3,e=e||this.fileError;var g=this;f.onerror=function(){try{return e.call(g,a,f)}catch(b){g.asyncComplete(a,b.message||"Exception")}},f.ontimeout=function(){try{return e.call(g,a,f)}catch(b){g.asyncComplete(a,b.message||"Exception")}},f.onprogress=function(){},f.onload=function(){try{return 4===f.readyState&&f.status>=400&&f.status<=599?e.call(g,a,f):d.call(g,a,f)}catch(b){g.asyncComplete(a,b.message||"Exception")}},a.requestObject=f,a.requestUrl=b,setTimeout(function(){f.send()},0)},getVideoURL:function(a){for(var b=0;b=0&&(d=d.substr(0,d.indexOf("?")));var e=d.substr((Math.max(0,d.lastIndexOf("."))||1/0)+1);if(c=e.toLowerCase(),this.game.device.canPlayVideo(c))return a[b]}}return null},getAudioURL:function(a){if(this.game.sound.noAudio)return null;for(var b=0;b=0&&(d=d.substr(0,d.indexOf("?")));var e=d.substr((Math.max(0,d.lastIndexOf("."))||1/0)+1);if(c=e.toLowerCase(),this.game.device.canPlayAudio(c))return a[b]}}return null},fileError:function(a,b,c){var d=a.requestUrl||this.transformUrl(a.url,a),e="error loading asset from URL "+d;!c&&b&&(c=b.status),c&&(e=e+" ("+c+")"),this.asyncComplete(a,e)},fileComplete:function(a,b){var d=!0;switch(a.type){case"packfile":var e=JSON.parse(b.responseText);a.data=e||{};break;case"image":this.cache.addImage(a.key,a.url,a.data);break;case"spritesheet":this.cache.addSpriteSheet(a.key,a.url,a.data,a.frameWidth,a.frameHeight,a.frameMax,a.margin,a.spacing);break;case"textureatlas":if(null==a.atlasURL)this.cache.addTextureAtlas(a.key,a.url,a.data,a.atlasData,a.format);else if(d=!1,a.format===c.Loader.TEXTURE_ATLAS_JSON_ARRAY||a.format===c.Loader.TEXTURE_ATLAS_JSON_HASH||a.format===c.Loader.TEXTURE_ATLAS_JSON_PYXEL)this.xhrLoad(a,this.transformUrl(a.atlasURL,a),"text",this.jsonLoadComplete);else{if(a.format!==c.Loader.TEXTURE_ATLAS_XML_STARLING)throw new Error("Phaser.Loader. Invalid Texture Atlas format: "+a.format);this.xhrLoad(a,this.transformUrl(a.atlasURL,a),"text",this.xmlLoadComplete)}break;case"bitmapfont":a.atlasURL?(d=!1,this.xhrLoad(a,this.transformUrl(a.atlasURL,a),"text",function(a,b){var c;try{c=JSON.parse(b.responseText)}catch(a){}c?(a.atlasType="json",this.jsonLoadComplete(a,b)):(a.atlasType="xml",this.xmlLoadComplete(a,b))})):this.cache.addBitmapFont(a.key,a.url,a.data,a.atlasData,a.atlasType,a.xSpacing,a.ySpacing);break;case"video":if(a.asBlob)try{a.data=b.response}catch(b){throw new Error("Phaser.Loader. Unable to parse video file as Blob: "+a.key)}this.cache.addVideo(a.key,a.url,a.data,a.asBlob);break;case"audio":this.game.sound.usingWebAudio?(a.data=b.response,this.cache.addSound(a.key,a.url,a.data,!0,!1),a.autoDecode&&this.game.sound.decode(a.key)):this.cache.addSound(a.key,a.url,a.data,!1,!0);break;case"text":a.data=b.responseText,this.cache.addText(a.key,a.url,a.data);break;case"shader":a.data=b.responseText,this.cache.addShader(a.key,a.url,a.data);break;case"physics":var e=JSON.parse(b.responseText);this.cache.addPhysicsData(a.key,a.url,e,a.format);break;case"script":a.data=document.createElement("script"),a.data.language="javascript",a.data.type="text/javascript",a.data.defer=!1,a.data.text=b.responseText,document.head.appendChild(a.data),a.callback&&(a.data=a.callback.call(a.callbackContext,a.key,b.responseText));break;case"binary":a.callback?a.data=a.callback.call(a.callbackContext,a.key,b.response):a.data=b.response,this.cache.addBinary(a.key,a.data)}d&&this.asyncComplete(a)},jsonLoadComplete:function(a,b){var c=JSON.parse(b.responseText);"tilemap"===a.type?this.cache.addTilemap(a.key,a.url,c,a.format):"bitmapfont"===a.type?this.cache.addBitmapFont(a.key,a.url,a.data,c,a.atlasType,a.xSpacing,a.ySpacing):"json"===a.type?this.cache.addJSON(a.key,a.url,c):this.cache.addTextureAtlas(a.key,a.url,a.data,c,a.format),this.asyncComplete(a)},csvLoadComplete:function(a,b){var c=b.responseText;this.cache.addTilemap(a.key,a.url,c,a.format),this.asyncComplete(a)},xmlLoadComplete:function(a,b){var c=b.responseText,d=this.parseXml(c);if(!d){var e=b.responseType||b.contentType;return console.warn("Phaser.Loader - "+a.key+": invalid XML ("+e+")"),void this.asyncComplete(a,"invalid XML")}"bitmapfont"===a.type?this.cache.addBitmapFont(a.key,a.url,a.data,d,a.atlasType,a.xSpacing,a.ySpacing):"textureatlas"===a.type?this.cache.addTextureAtlas(a.key,a.url,a.data,d,a.format):"xml"===a.type&&this.cache.addXML(a.key,a.url,d),this.asyncComplete(a)},parseXml:function(a){var b;try{if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml")}else b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a)}catch(a){b=null}return b&&b.documentElement&&!b.getElementsByTagName("parsererror").length?b:null},updateProgress:function(){this.preloadSprite&&(0===this.preloadSprite.direction?this.preloadSprite.rect.width=Math.floor(this.preloadSprite.width/100*this.progress):this.preloadSprite.rect.height=Math.floor(this.preloadSprite.height/100*this.progress),this.preloadSprite.sprite?this.preloadSprite.sprite.updateCrop():this.preloadSprite=null)},totalLoadedFiles:function(){return this._loadedFileCount},totalQueuedFiles:function(){return this._totalFileCount-this._loadedFileCount},totalLoadedPacks:function(){return this._totalPackCount},totalQueuedPacks:function(){return this._totalPackCount-this._loadedPackCount}},Object.defineProperty(c.Loader.prototype,"progressFloat",{get:function(){var a=this._loadedFileCount/this._totalFileCount*100;return c.Math.clamp(a||0,0,100)}}),Object.defineProperty(c.Loader.prototype,"progress",{get:function(){return Math.round(this.progressFloat)}}),c.Loader.prototype.constructor=c.Loader,c.LoaderParser={bitmapFont:function(a,b,c,d){return this.xmlBitmapFont(a,b,c,d)},xmlBitmapFont:function(a,b,c,d){var e={},f=a.getElementsByTagName("info")[0],g=a.getElementsByTagName("common")[0];e.font=f.getAttribute("face"),e.size=parseInt(f.getAttribute("size"),10),e.lineHeight=parseInt(g.getAttribute("lineHeight"),10)+d,e.chars={};for(var h=a.getElementsByTagName("char"),i=0;i=this.durationMS&&(this.usingWebAudio?this.loop?(this.onLoop.dispatch(this),this.isPlaying=!1,""===this.currentMarker?(this.currentTime=0,this.startTime=this.game.time.time,this.isPlaying=!0):(this.onMarkerComplete.dispatch(this.currentMarker,this),this.play(this.currentMarker,0,this.volume,!0,!0))):""!==this.currentMarker&&this.stop():this.loop?(this.onLoop.dispatch(this),""===this.currentMarker&&(this.currentTime=0,this.startTime=this.game.time.time),this.isPlaying=!1,this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop())))):void this.destroy()},loopFull:function(a){return this.play(null,0,a,!0)},play:function(a,b,c,d,e){if(void 0!==a&&a!==!1&&null!==a||(a=""),void 0===e&&(e=!0),this.isPlaying&&!this.allowMultiple&&!e&&!this.override)return this;if(this._sound&&this.isPlaying&&!this.allowMultiple&&(this.override||e)){if(this.usingWebAudio){if(void 0===this._sound.stop)this._sound.noteOff(0);else try{this._sound.stop(0)}catch(a){}this.externalNode?this._sound.disconnect(this.externalNode):this.gainNode&&this._sound.disconnect(this.gainNode)}else this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0);this.isPlaying=!1}if(""===a&&Object.keys(this.markers).length>0)return this;if(""!==a){if(!this.markers[a])return console.warn("Phaser.Sound.play: audio marker "+a+" doesn't exist"),this;this.currentMarker=a,this.position=this.markers[a].start,this.volume=this.markers[a].volume,this.loop=this.markers[a].loop,this.duration=this.markers[a].duration,this.durationMS=this.markers[a].durationMS,"undefined"!=typeof c&&(this.volume=c),"undefined"!=typeof d&&(this.loop=d),this._tempMarker=a,this._tempPosition=this.position,this._tempVolume=this.volume,this._tempLoop=this.loop}else b=b||0,void 0===c&&(c=this._volume),void 0===d&&(d=this.loop),this.position=Math.max(0,b),this.volume=c,this.loop=d,this.duration=0,this.durationMS=0,this._tempMarker=a,this._tempPosition=b,this._tempVolume=c,this._tempLoop=d;return this.usingWebAudio?this.game.cache.isSoundDecoded(this.key)?(this._sound=this.context.createBufferSource(),this.externalNode?this._sound.connect(this.externalNode):this._sound.connect(this.gainNode),this._buffer=this.game.cache.getSoundData(this.key),this._sound.buffer=this._buffer,this.loop&&""===a&&(this._sound.loop=!0),this.loop||""!==a||(this._sound.onended=this.onEndedHandler.bind(this)),this.totalDuration=this._sound.buffer.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=Math.ceil(1e3*this.totalDuration)),void 0===this._sound.start?this._sound.noteGrainOn(0,this.position,this.duration):this.loop&&""===a?this._sound.start(0,0):this._sound.start(0,this.position,this.duration),this.isPlaying=!0,this.startTime=this.game.time.time,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):(this.pendingPlayback=!0,this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).isDecoding===!1&&this.game.sound.decode(this.key,this)):this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).locked?(this.game.cache.reloadSound(this.key),this.pendingPlayback=!0):this._sound&&(this.game.device.cocoonJS||4===this._sound.readyState)?(this._sound.play(),this.totalDuration=this._sound.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=1e3*this.totalDuration),this._sound.currentTime=this.position,this._sound.muted=this._muted,this._muted||this.game.sound.mute?this._sound.volume=0:this._sound.volume=this._volume,this.isPlaying=!0,this.startTime=this.game.time.time,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):this.pendingPlayback=!0,this},restart:function(a,b,c,d){a=a||"",b=b||0,c=c||1,void 0===d&&(d=!1),this.play(a,b,c,d,!0)},pause:function(){this.isPlaying&&this._sound&&(this.paused=!0,this.pausedPosition=this.currentTime,this.pausedTime=this.game.time.time,this._tempPause=this._sound.currentTime,this.onPause.dispatch(this),this.stop())},resume:function(){if(this.paused&&this._sound){if(this.usingWebAudio){var a=Math.max(0,this.position+this.pausedPosition/1e3);this._sound=this.context.createBufferSource(),this._sound.buffer=this._buffer,this.externalNode?this._sound.connect(this.externalNode):this._sound.connect(this.gainNode),this.loop&&(this._sound.loop=!0),this.loop||""!==this.currentMarker||(this._sound.onended=this.onEndedHandler.bind(this));var b=this.duration-this.pausedPosition/1e3;void 0===this._sound.start?this._sound.noteGrainOn(0,a,b):this.loop&&this.game.device.chrome?42===this.game.device.chromeVersion?this._sound.start(0):this._sound.start(0,a):this._sound.start(0,a,b)}else this._sound.currentTime=this._tempPause,this._sound.play();this.isPlaying=!0,this.paused=!1,this.startTime+=this.game.time.time-this.pausedTime,this.onResume.dispatch(this)}},stop:function(){if(this.isPlaying&&this._sound)if(this.usingWebAudio){if(void 0===this._sound.stop)this._sound.noteOff(0);else try{this._sound.stop(0)}catch(a){}this.externalNode?this._sound.disconnect(this.externalNode):this.gainNode&&this._sound.disconnect(this.gainNode)}else this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0);if(this.pendingPlayback=!1,this.isPlaying=!1,!this.paused){var a=this.currentMarker;""!==this.currentMarker&&this.onMarkerComplete.dispatch(this.currentMarker,this),this.currentMarker="",null!==this.fadeTween&&this.fadeTween.stop(),this.onStop.dispatch(this,a)}},fadeIn:function(a,b,c){void 0===b&&(b=!1),void 0===c&&(c=this.currentMarker),this.paused||(this.play(c,0,0,b),this.fadeTo(a,1))},fadeOut:function(a){this.fadeTo(a,0)},fadeTo:function(a,b){if(this.isPlaying&&!this.paused&&b!==this.volume){if(void 0===a&&(a=1e3),void 0===b)return void console.warn("Phaser.Sound.fadeTo: No Volume Specified.");this.fadeTween=this.game.add.tween(this).to({volume:b},a,c.Easing.Linear.None,!0),this.fadeTween.onComplete.add(this.fadeComplete,this)}},fadeComplete:function(){this.onFadeComplete.dispatch(this,this.volume),0===this.volume&&this.stop()},updateGlobalVolume:function(a){this.usingAudioTag&&this._sound&&(this._sound.volume=a*this._volume)},destroy:function(a){void 0===a&&(a=!0),this.stop(),a?this.game.sound.remove(this):(this.markers={},this.context=null,this._buffer=null,this.externalNode=null,this.onDecoded.dispose(),this.onPlay.dispose(),this.onPause.dispose(),this.onResume.dispose(),this.onLoop.dispose(),this.onStop.dispose(),this.onMute.dispose(),this.onMarkerComplete.dispose())}},c.Sound.prototype.constructor=c.Sound,Object.defineProperty(c.Sound.prototype,"isDecoding",{get:function(){return this.game.cache.getSound(this.key).isDecoding}}),Object.defineProperty(c.Sound.prototype,"isDecoded",{get:function(){return this.game.cache.isSoundDecoded(this.key)}}),Object.defineProperty(c.Sound.prototype,"mute",{get:function(){return this._muted||this.game.sound.mute},set:function(a){a=a||!1,a!==this._muted&&(a?(this._muted=!0,this._muteVolume=this._tempVolume,this.usingWebAudio?this.gainNode.gain.value=0:this.usingAudioTag&&this._sound&&(this._sound.volume=0)):(this._muted=!1,this.usingWebAudio?this.gainNode.gain.value=this._muteVolume:this.usingAudioTag&&this._sound&&(this._sound.volume=this._muteVolume)),this.onMute.dispatch(this))}}),Object.defineProperty(c.Sound.prototype,"volume",{get:function(){return this._volume},set:function(a){return this.game.device.firefox&&this.usingAudioTag&&(a=this.game.math.clamp(a,0,1)),this._muted?void(this._muteVolume=a):(this._tempVolume=a,this._volume=a,void(this.usingWebAudio?this.gainNode.gain.value=a:this.usingAudioTag&&this._sound&&(this._sound.volume=a)))}}),c.SoundManager=function(a){this.game=a,this.onSoundDecode=new c.Signal,this.onVolumeChange=new c.Signal,this.onMute=new c.Signal,this.onUnMute=new c.Signal,this.context=null,this.usingWebAudio=!1,this.usingAudioTag=!1,this.noAudio=!1,this.connectToMaster=!0,this.touchLocked=!1,this.channels=32,this.muteOnPause=!0,this._codeMuted=!1,this._muted=!1,this._unlockSource=null,this._volume=1,this._sounds=[],this._watchList=new c.ArraySet,this._watching=!1,this._watchCallback=null,this._watchContext=null},c.SoundManager.prototype={boot:function(){if(this.game.device.iOS&&this.game.device.webAudio===!1&&(this.channels=1),window.PhaserGlobal){if(window.PhaserGlobal.disableAudio===!0)return this.noAudio=!0,void(this.touchLocked=!1);if(window.PhaserGlobal.disableWebAudio===!0)return this.usingAudioTag=!0,void(this.touchLocked=!1)}if(window.PhaserGlobal&&window.PhaserGlobal.audioContext)this.context=window.PhaserGlobal.audioContext;else if(window.AudioContext)try{this.context=new window.AudioContext}catch(a){this.context=null,this.usingWebAudio=!1,this.touchLocked=!1}else if(window.webkitAudioContext)try{this.context=new window.webkitAudioContext}catch(a){this.context=null,this.usingWebAudio=!1,this.touchLocked=!1}if(null===this.context){if(void 0===window.Audio)return void(this.noAudio=!0);this.usingAudioTag=!0}else this.usingWebAudio=!0,void 0===this.context.createGain?this.masterGain=this.context.createGainNode():this.masterGain=this.context.createGain(),this.masterGain.gain.setTargetAtTime(1, 0, 0.01),this.masterGain.connect(this.context.destination);this.noAudio||(!this.game.device.cocoonJS&&this.game.device.iOS||window.PhaserGlobal&&window.PhaserGlobal.fakeiOSTouchLock)&&this.setTouchLock()},setTouchLock:function(){this.noAudio||window.PhaserGlobal&&window.PhaserGlobal.disableAudio===!0||(this.game.device.iOSVersion>8?this.game.input.touch.addTouchLockCallback(this.unlock,this,!0):this.game.input.touch.addTouchLockCallback(this.unlock,this),this.touchLocked=!0)},unlock:function(){if(this.noAudio||!this.touchLocked||null!==this._unlockSource)return!0;if(this.usingAudioTag)this.touchLocked=!1,this._unlockSource=null;else if(this.usingWebAudio){var a=this.context.createBuffer(1,1,22050);this._unlockSource=this.context.createBufferSource(),this._unlockSource.buffer=a,this._unlockSource.connect(this.context.destination),void 0===this._unlockSource.start?this._unlockSource.noteOn(0):this._unlockSource.start(0)}return!0},stopAll:function(){if(!this.noAudio)for(var a=0;a1&&(a=1),this._volume!==a){if(this._volume=a,this.usingWebAudio)this.masterGain.gain.setTargetAtTime(a, 0, 0.01);else for(var b=0;b=400?0:100,this.dom.getOffset(this.game.canvas,this.offset);var b=this._parentBounds.width,d=this._parentBounds.height,e=this.getParentBounds(this._parentBounds),f=e.width!==b||e.height!==d,g=this.updateOrientationState();(f||g)&&(this.onResize&&this.onResize.call(this.onResizeContext,this,e),this.updateLayout(),this.signalSizeChange());var h=2*this._updateThrottle;this._updateThrottleb;return i=i?d:!d,i?(a.width=Math.floor(e),a.height=Math.floor(f)):(a.width=Math.floor(g),a.height=Math.floor(h)),a},destroy:function(){this.game.onResume.remove(this._gameResumed,this),window.removeEventListener("orientationchange",this._orientationChange,!1),window.removeEventListener("resize",this._windowResize,!1),this.compatibility.supportsFullScreen&&(document.removeEventListener("webkitfullscreenchange",this._fullScreenChange,!1),document.removeEventListener("mozfullscreenchange",this._fullScreenChange,!1),document.removeEventListener("MSFullscreenChange",this._fullScreenChange,!1),document.removeEventListener("fullscreenchange",this._fullScreenChange,!1),document.removeEventListener("webkitfullscreenerror",this._fullScreenError,!1),document.removeEventListener("mozfullscreenerror",this._fullScreenError,!1),document.removeEventListener("MSFullscreenError",this._fullScreenError,!1),document.removeEventListener("fullscreenerror",this._fullScreenError,!1))}},c.ScaleManager.prototype.constructor=c.ScaleManager,Object.defineProperty(c.ScaleManager.prototype,"boundingParent",{get:function(){if(this.parentIsWindow||this.isFullScreen&&this.hasPhaserSetFullScreen&&!this._createdFullScreenTarget)return null;var a=this.game.canvas&&this.game.canvas.parentNode;return a||null}}),Object.defineProperty(c.ScaleManager.prototype,"scaleMode",{get:function(){return this._scaleMode},set:function(a){return a!==this._scaleMode&&(this.isFullScreen||(this.updateDimensions(this._gameSize.width,this._gameSize.height,!0),this.queueUpdate(!0)),this._scaleMode=a),this._scaleMode}}),Object.defineProperty(c.ScaleManager.prototype,"fullScreenScaleMode",{get:function(){return this._fullScreenScaleMode},set:function(a){return a!==this._fullScreenScaleMode&&(this.isFullScreen?(this.prepScreenMode(!1),this._fullScreenScaleMode=a,this.prepScreenMode(!0),this.queueUpdate(!0)):this._fullScreenScaleMode=a),this._fullScreenScaleMode}}),Object.defineProperty(c.ScaleManager.prototype,"currentScaleMode",{get:function(){return this.isFullScreen?this._fullScreenScaleMode:this._scaleMode}}),Object.defineProperty(c.ScaleManager.prototype,"pageAlignHorizontally",{get:function(){return this._pageAlignHorizontally},set:function(a){a!==this._pageAlignHorizontally&&(this._pageAlignHorizontally=a,this.queueUpdate(!0))}}),Object.defineProperty(c.ScaleManager.prototype,"pageAlignVertically",{get:function(){return this._pageAlignVertically},set:function(a){a!==this._pageAlignVertically&&(this._pageAlignVertically=a,this.queueUpdate(!0))}}),Object.defineProperty(c.ScaleManager.prototype,"isFullScreen",{get:function(){return!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)}}),Object.defineProperty(c.ScaleManager.prototype,"isPortrait",{get:function(){return"portrait"===this.classifyOrientation(this.screenOrientation)}}),Object.defineProperty(c.ScaleManager.prototype,"isLandscape",{get:function(){return"landscape"===this.classifyOrientation(this.screenOrientation)}}),Object.defineProperty(c.ScaleManager.prototype,"isGamePortrait",{get:function(){return this.height>this.width}}),Object.defineProperty(c.ScaleManager.prototype,"isGameLandscape",{get:function(){return this.width>this.height}}),c.Utils.Debug=function(a){this.game=a,this.sprite=null,this.bmd=null,this.canvas=null,this.context=null,this.font="14px Courier",this.columnWidth=100,this.lineHeight=16,this.renderShadow=!0,this.currentX=0,this.currentY=0,this.currentAlpha=1,this.dirty=!1},c.Utils.Debug.prototype={boot:function(){this.game.renderType===c.CANVAS?this.context=this.game.context:(this.bmd=new c.BitmapData(this.game,"__DEBUG",this.game.width,this.game.height,(!0)),this.sprite=this.game.make.image(0,0,this.bmd),this.game.stage.addChild(this.sprite),this.game.scale.onSizeChange.add(this.resize,this),this.canvas=PIXI.CanvasPool.create(this,this.game.width,this.game.height),this.context=this.canvas.getContext("2d"))},resize:function(a,b,c){this.bmd.resize(b,c),this.canvas.width=b,this.canvas.height=c},preUpdate:function(){this.dirty&&this.sprite&&(this.bmd.clear(),this.bmd.draw(this.canvas,0,0),this.context.clearRect(0,0,this.game.width,this.game.height),this.dirty=!1)},reset:function(){this.context&&this.context.clearRect(0,0,this.game.width,this.game.height),this.sprite&&this.bmd.clear()},start:function(a,b,c,d){"number"!=typeof a&&(a=0),"number"!=typeof b&&(b=0),c=c||"rgb(255,255,255)",void 0===d&&(d=0),this.currentX=a,this.currentY=b,this.currentColor=c,this.columnWidth=d,this.dirty=!0,this.context.save(),this.context.setTransform(1,0,0,1,0,0),this.context.strokeStyle=c,this.context.fillStyle=c,this.context.font=this.font,this.context.globalAlpha=this.currentAlpha},stop:function(){this.context.restore()},line:function(){for(var a=this.currentX,b=0;b0)for(var b=0;b=0&&c.right>=0&&c.top<=this.layoutBounds.width&&c.left<=this.layoutBounds.height},getScreenOrientation:function(a){var b=window.screen,c=b.orientation||b.mozOrientation||b.msOrientation;if(c&&"string"==typeof c.type)return c.type;if("string"==typeof c)return c;var d="portrait-primary",e="landscape-primary";if("screen"===a)return b.height>b.width?d:e;if("viewport"===a)return this.visualBounds.height>this.visualBounds.width?d:e;if("window.orientation"===a&&"number"==typeof window.orientation)return 0===window.orientation||180===window.orientation?d:e;if(window.matchMedia){if(window.matchMedia("(orientation: portrait)").matches)return d;if(window.matchMedia("(orientation: landscape)").matches)return e}return this.visualBounds.height>this.visualBounds.width?d:e},visualBounds:new c.Rectangle,layoutBounds:new c.Rectangle,documentBounds:new c.Rectangle},c.Device.whenReady(function(a){var b=window&&"pageXOffset"in window?function(){return window.pageXOffset}:function(){return document.documentElement.scrollLeft},d=window&&"pageYOffset"in window?function(){return window.pageYOffset}:function(){return document.documentElement.scrollTop};Object.defineProperty(c.DOM,"scrollX",{get:b}),Object.defineProperty(c.DOM,"scrollY",{get:d}),Object.defineProperty(c.DOM.visualBounds,"x",{get:b}),Object.defineProperty(c.DOM.visualBounds,"y",{get:d}),Object.defineProperty(c.DOM.layoutBounds,"x",{value:0}),Object.defineProperty(c.DOM.layoutBounds,"y",{value:0});var e=a.desktop&&document.documentElement.clientWidth<=window.innerWidth&&document.documentElement.clientHeight<=window.innerHeight;if(e){var f=function(){return Math.max(window.innerWidth,document.documentElement.clientWidth)},g=function(){return Math.max(window.innerHeight,document.documentElement.clientHeight)};Object.defineProperty(c.DOM.visualBounds,"width",{get:f}),Object.defineProperty(c.DOM.visualBounds,"height",{get:g}),Object.defineProperty(c.DOM.layoutBounds,"width",{get:f}),Object.defineProperty(c.DOM.layoutBounds,"height",{get:g})}else Object.defineProperty(c.DOM.visualBounds,"width",{get:function(){return window.innerWidth}}),Object.defineProperty(c.DOM.visualBounds,"height",{get:function(){return window.innerHeight}}),Object.defineProperty(c.DOM.layoutBounds,"width",{get:function(){var a=document.documentElement.clientWidth,b=window.innerWidth;return a-1},reset:function(){this.list.length=0},remove:function(a){var b=this.list.indexOf(a);if(b>-1)return this.list.splice(b,1),a},setAll:function(a,b){for(var c=this.list.length;c--;)this.list[c]&&(this.list[c][a]=b)},callAll:function(a){for(var b=Array.prototype.slice.call(arguments,1),c=this.list.length;c--;)this.list[c]&&this.list[c][a]&&this.list[c][a].apply(this.list[c],b)},removeAll:function(a){void 0===a&&(a=!1);for(var b=this.list.length;b--;)if(this.list[b]){var c=this.remove(this.list[b]);a&&c.destroy()}this.position=0,this.list=[]}},Object.defineProperty(c.ArraySet.prototype,"total",{get:function(){return this.list.length}}),Object.defineProperty(c.ArraySet.prototype,"first",{get:function(){return this.position=0,this.list.length>0?this.list[0]:null}}),Object.defineProperty(c.ArraySet.prototype,"next",{get:function(){return this.position0;b--){var c=Math.floor(Math.random()*(b+1)),d=a[b];a[b]=a[c],a[c]=d}return a},transposeMatrix:function(a){for(var b=a.length,c=a[0].length,d=new Array(c),e=0;e-1;f--)d[e][f]=a[f][e]}return d},rotateMatrix:function(a,b){if("string"!=typeof b&&(b=(b%360+360)%360),90===b||b===-270||"rotateLeft"===b)a=c.ArrayUtils.transposeMatrix(a),a=a.reverse();else if(b===-90||270===b||"rotateRight"===b)a=a.reverse(),a=c.ArrayUtils.transposeMatrix(a);else if(180===Math.abs(b)||"rotate180"===b){for(var d=0;d>>0:(a<<24|b<<16|d<<8|e)>>>0},unpackPixel:function(a,b,d,e){return void 0!==b&&null!==b||(b=c.Color.createColor()),void 0!==d&&null!==d||(d=!1),void 0!==e&&null!==e||(e=!1),c.Device.LITTLE_ENDIAN?(b.a=(4278190080&a)>>>24,b.b=(16711680&a)>>>16,b.g=(65280&a)>>>8,b.r=255&a):(b.r=(4278190080&a)>>>24,b.g=(16711680&a)>>>16,b.b=(65280&a)>>>8,b.a=255&a),b.color=a,b.rgba="rgba("+b.r+","+b.g+","+b.b+","+b.a/255+")",d&&c.Color.RGBtoHSL(b.r,b.g,b.b,b),e&&c.Color.RGBtoHSV(b.r,b.g,b.b,b),b},fromRGBA:function(a,b){return b||(b=c.Color.createColor()),b.r=(4278190080&a)>>>24,b.g=(16711680&a)>>>16,b.b=(65280&a)>>>8,b.a=255&a,b.rgba="rgba("+b.r+","+b.g+","+b.b+","+b.a+")",b},toRGBA:function(a,b,c,d){return a<<24|b<<16|c<<8|d},toABGR:function(a,b,c,d){return(d<<24|c<<16|b<<8|a)>>>0},RGBtoHSL:function(a,b,d,e){e||(e=c.Color.createColor(a,b,d,1)),a/=255,b/=255,d/=255;var f=Math.min(a,b,d),g=Math.max(a,b,d);if(e.h=0,e.s=0,e.l=(g+f)/2,g!==f){var h=g-f;e.s=e.l>.5?h/(2-g-f):h/(g+f),g===a?e.h=(b-d)/h+(b1&&(c-=1),c<1/6?a+6*(b-a)*c:c<.5?b:c<2/3?a+(b-a)*(2/3-c)*6:a},createColor:function(a,b,d,e,f,g,h,i){var j={r:a||0,g:b||0,b:d||0,a:e||1,h:f||0,s:g||0,l:h||0,v:i||0,color:0,color32:0,rgba:""};return c.Color.updateColor(j)},updateColor:function(a){return a.rgba="rgba("+a.r.toString()+","+a.g.toString()+","+a.b.toString()+","+a.a.toString()+")",a.color=c.Color.getColor(a.r,a.g,a.b),a.color32=c.Color.getColor32(255*a.a,a.r,a.g,a.b),a},getColor32:function(a,b,c,d){return a<<24|b<<16|c<<8|d},getColor:function(a,b,c){return a<<16|b<<8|c},RGBtoString:function(a,b,d,e,f){return void 0===e&&(e=255),void 0===f&&(f="#"),"#"===f?"#"+((1<<24)+(a<<16)+(b<<8)+d).toString(16).slice(1):"0x"+c.Color.componentToHex(e)+c.Color.componentToHex(a)+c.Color.componentToHex(b)+c.Color.componentToHex(d)},hexToRGB:function(a){var b=c.Color.hexToColor(a);if(b)return c.Color.getColor32(b.a,b.r,b.g,b.b); +},hexToColor:function(a,b){a=a.replace(/^(?:#|0x)?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,c,d){return b+b+c+c+d+d});var d=/^(?:#|0x)?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);if(d){var e=parseInt(d[1],16),f=parseInt(d[2],16),g=parseInt(d[3],16);b?(b.r=e,b.g=f,b.b=g):b=c.Color.createColor(e,f,g)}return b},webToColor:function(a,b){b||(b=c.Color.createColor());var d=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+(?:\.\d+)?))?\s*\)$/.exec(a);return d&&(b.r=parseInt(d[1],10),b.g=parseInt(d[2],10),b.b=parseInt(d[3],10),b.a=void 0!==d[4]?parseFloat(d[4]):1,c.Color.updateColor(b)),b},valueToColor:function(a,b){if(b||(b=c.Color.createColor()),"string"==typeof a)return 0===a.indexOf("rgb")?c.Color.webToColor(a,b):(b.a=1,c.Color.hexToColor(a,b));if("number"==typeof a){var d=c.Color.getRGB(a);return b.r=d.r,b.g=d.g,b.b=d.b,b.a=d.a/255,b}return b},componentToHex:function(a){var b=a.toString(16);return 1===b.length?"0"+b:b},HSVColorWheel:function(a,b){void 0===a&&(a=1),void 0===b&&(b=1);for(var d=[],e=0;e<=359;e++)d.push(c.Color.HSVtoRGB(e/359,a,b));return d},HSLColorWheel:function(a,b){void 0===a&&(a=.5),void 0===b&&(b=.5);for(var d=[],e=0;e<=359;e++)d.push(c.Color.HSLtoRGB(e/359,a,b));return d},interpolateColor:function(a,b,d,e,f){void 0===f&&(f=255);var g=c.Color.getRGB(a),h=c.Color.getRGB(b),i=(h.red-g.red)*e/d+g.red,j=(h.green-g.green)*e/d+g.green,k=(h.blue-g.blue)*e/d+g.blue;return c.Color.getColor32(f,i,j,k)},interpolateColorWithRGB:function(a,b,d,e,f,g){var h=c.Color.getRGB(a),i=(b-h.red)*g/f+h.red,j=(d-h.green)*g/f+h.green,k=(e-h.blue)*g/f+h.blue;return c.Color.getColor(i,j,k)},interpolateRGB:function(a,b,d,e,f,g,h,i){var j=(e-a)*i/h+a,k=(f-b)*i/h+b,l=(g-d)*i/h+d;return c.Color.getColor(j,k,l)},getRandomColor:function(a,b,d){if(void 0===a&&(a=0),void 0===b&&(b=255),void 0===d&&(d=255),b>255||a>b)return c.Color.getColor(255,255,255);var e=a+Math.round(Math.random()*(b-a)),f=a+Math.round(Math.random()*(b-a)),g=a+Math.round(Math.random()*(b-a));return c.Color.getColor32(d,e,f,g)},getRGB:function(a){return a>16777215?{alpha:a>>>24,red:a>>16&255,green:a>>8&255,blue:255&a,a:a>>>24,r:a>>16&255,g:a>>8&255,b:255&a}:{alpha:255,red:a>>16&255,green:a>>8&255,blue:255&a,a:255,r:a>>16&255,g:a>>8&255,b:255&a}},getWebRGB:function(a){if("object"==typeof a)return"rgba("+a.r.toString()+","+a.g.toString()+","+a.b.toString()+","+(a.a/255).toString()+")";var b=c.Color.getRGB(a);return"rgba("+b.r.toString()+","+b.g.toString()+","+b.b.toString()+","+(b.a/255).toString()+")"},getAlpha:function(a){return a>>>24},getAlphaFloat:function(a){return(a>>>24)/255},getRed:function(a){return a>>16&255},getGreen:function(a){return a>>8&255},getBlue:function(a){return 255&a},blendNormal:function(a){return a},blendLighten:function(a,b){return b>a?b:a},blendDarken:function(a,b){return b>a?a:b},blendMultiply:function(a,b){return a*b/255},blendAverage:function(a,b){return(a+b)/2},blendAdd:function(a,b){return Math.min(255,a+b)},blendSubtract:function(a,b){return Math.max(0,a+b-255)},blendDifference:function(a,b){return Math.abs(a-b)},blendNegation:function(a,b){return 255-Math.abs(255-a-b)},blendScreen:function(a,b){return 255-((255-a)*(255-b)>>8)},blendExclusion:function(a,b){return a+b-2*a*b/255},blendOverlay:function(a,b){return b<128?2*a*b/255:255-2*(255-a)*(255-b)/255},blendSoftLight:function(a,b){return b<128?2*((a>>1)+64)*(b/255):255-2*(255-((a>>1)+64))*(255-b)/255},blendHardLight:function(a,b){return c.Color.blendOverlay(b,a)},blendColorDodge:function(a,b){return 255===b?b:Math.min(255,(a<<8)/(255-b))},blendColorBurn:function(a,b){return 0===b?b:Math.max(0,255-(255-a<<8)/b)},blendLinearDodge:function(a,b){return c.Color.blendAdd(a,b)},blendLinearBurn:function(a,b){return c.Color.blendSubtract(a,b)},blendLinearLight:function(a,b){return b<128?c.Color.blendLinearBurn(a,2*b):c.Color.blendLinearDodge(a,2*(b-128))},blendVividLight:function(a,b){return b<128?c.Color.blendColorBurn(a,2*b):c.Color.blendColorDodge(a,2*(b-128))},blendPinLight:function(a,b){return b<128?c.Color.blendDarken(a,2*b):c.Color.blendLighten(a,2*(b-128))},blendHardMix:function(a,b){return c.Color.blendVividLight(a,b)<128?0:255},blendReflect:function(a,b){return 255===b?b:Math.min(255,a*a/(255-b))},blendGlow:function(a,b){return c.Color.blendReflect(b,a)},blendPhoenix:function(a,b){return Math.min(a,b)-Math.max(a,b)+255}},c.Physics=function(a,b){b=b||{},this.game=a,this.config=b,this.arcade=null,this.p2=null,this.ninja=null,this.box2d=null,this.chipmunk=null,this.matter=null,this.parseConfig()},c.Physics.ARCADE=0,c.Physics.P2JS=1,c.Physics.NINJA=2,c.Physics.BOX2D=3,c.Physics.CHIPMUNK=4,c.Physics.MATTERJS=5,c.Physics.prototype={parseConfig:function(){this.config.hasOwnProperty("arcade")&&this.config.arcade!==!0||!c.Physics.hasOwnProperty("Arcade")||(this.arcade=new c.Physics.Arcade(this.game)),this.config.hasOwnProperty("ninja")&&this.config.ninja===!0&&c.Physics.hasOwnProperty("Ninja")&&(this.ninja=new c.Physics.Ninja(this.game)),this.config.hasOwnProperty("p2")&&this.config.p2===!0&&c.Physics.hasOwnProperty("P2")&&(this.p2=new c.Physics.P2(this.game,this.config)),this.config.hasOwnProperty("box2d")&&this.config.box2d===!0&&c.Physics.hasOwnProperty("BOX2D")&&(this.box2d=new c.Physics.BOX2D(this.game,this.config)),this.config.hasOwnProperty("matter")&&this.config.matter===!0&&c.Physics.hasOwnProperty("Matter")&&(this.matter=new c.Physics.Matter(this.game,this.config))},startSystem:function(a){a===c.Physics.ARCADE?this.arcade=new c.Physics.Arcade(this.game):a===c.Physics.P2JS?null===this.p2?this.p2=new c.Physics.P2(this.game,this.config):this.p2.reset():a===c.Physics.NINJA?this.ninja=new c.Physics.Ninja(this.game):a===c.Physics.BOX2D?null===this.box2d?this.box2d=new c.Physics.Box2D(this.game,this.config):this.box2d.reset():a===c.Physics.MATTERJS&&(null===this.matter?this.matter=new c.Physics.Matter(this.game,this.config):this.matter.reset())},enable:function(a,b,d){void 0===b&&(b=c.Physics.ARCADE),void 0===d&&(d=!1),b===c.Physics.ARCADE?this.arcade.enable(a):b===c.Physics.P2JS&&this.p2?this.p2.enable(a,d):b===c.Physics.NINJA&&this.ninja?this.ninja.enableAABB(a):b===c.Physics.BOX2D&&this.box2d?this.box2d.enable(a):b===c.Physics.MATTERJS&&this.matter?this.matter.enable(a):console.warn(a.key+" is attempting to enable a physics body using an unknown physics system.")},preUpdate:function(){this.p2&&this.p2.preUpdate(),this.box2d&&this.box2d.preUpdate(),this.matter&&this.matter.preUpdate()},update:function(){this.p2&&this.p2.update(),this.box2d&&this.box2d.update(),this.matter&&this.matter.update()},setBoundsToWorld:function(){this.arcade&&this.arcade.setBoundsToWorld(),this.ninja&&this.ninja.setBoundsToWorld(),this.p2&&this.p2.setBoundsToWorld(),this.box2d&&this.box2d.setBoundsToWorld(),this.matter&&this.matter.setBoundsToWorld()},clear:function(){this.p2&&this.p2.clear(),this.box2d&&this.box2d.clear(),this.matter&&this.matter.clear()},reset:function(){this.p2&&this.p2.reset(),this.box2d&&this.box2d.reset(),this.matter&&this.matter.reset()},destroy:function(){this.p2&&this.p2.destroy(),this.box2d&&this.box2d.destroy(),this.matter&&this.matter.destroy(),this.arcade=null,this.ninja=null,this.p2=null,this.box2d=null,this.matter=null}},c.Physics.prototype.constructor=c.Physics,c.Physics.Arcade=function(a){this.game=a,this.gravity=new c.Point,this.bounds=new c.Rectangle(0,0,a.world.width,a.world.height),this.checkCollision={up:!0,down:!0,left:!0,right:!0},this.maxObjects=10,this.maxLevels=4,this.OVERLAP_BIAS=4,this.forceX=!1,this.sortDirection=c.Physics.Arcade.LEFT_RIGHT,this.skipQuadTree=!0,this.isPaused=!1,this.quadTree=new c.QuadTree(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this._total=0,this.setBoundsToWorld()},c.Physics.Arcade.prototype.constructor=c.Physics.Arcade,c.Physics.Arcade.SORT_NONE=0,c.Physics.Arcade.LEFT_RIGHT=1,c.Physics.Arcade.RIGHT_LEFT=2,c.Physics.Arcade.TOP_BOTTOM=3,c.Physics.Arcade.BOTTOM_TOP=4,c.Physics.Arcade.prototype={setBounds:function(a,b,c,d){this.bounds.setTo(a,b,c,d)},setBoundsToWorld:function(){this.bounds.copyFrom(this.game.world.bounds)},enable:function(a,b){void 0===b&&(b=!0);var d=1;if(Array.isArray(a))for(d=a.length;d--;)a[d]instanceof c.Group?this.enable(a[d].children,b):(this.enableBody(a[d]),b&&a[d].hasOwnProperty("children")&&a[d].children.length>0&&this.enable(a[d],!0));else a instanceof c.Group?this.enable(a.children,b):(this.enableBody(a),b&&a.hasOwnProperty("children")&&a.children.length>0&&this.enable(a.children,!0))},enableBody:function(a){a.hasOwnProperty("body")&&null===a.body&&(a.body=new c.Physics.Arcade.Body(a),a.parent&&a.parent instanceof c.Group&&a.parent.addToHash(a))},updateMotion:function(a){var b=this.computeVelocity(0,a,a.angularVelocity,a.angularAcceleration,a.angularDrag,a.maxAngular)-a.angularVelocity;a.angularVelocity+=b,a.rotation+=a.angularVelocity*this.game.time.physicsElapsed,a.velocity.x=this.computeVelocity(1,a,a.velocity.x,a.acceleration.x,a.drag.x,a.maxVelocity.x),a.velocity.y=this.computeVelocity(2,a,a.velocity.y,a.acceleration.y,a.drag.y,a.maxVelocity.y)},computeVelocity:function(a,b,c,d,e,f){return void 0===f&&(f=1e4),1===a&&b.allowGravity?c+=(this.gravity.x+b.gravity.x)*this.game.time.physicsElapsed:2===a&&b.allowGravity&&(c+=(this.gravity.y+b.gravity.y)*this.game.time.physicsElapsed),d?c+=d*this.game.time.physicsElapsed:e&&(e*=this.game.time.physicsElapsed,c-e>0?c-=e:c+e<0?c+=e:c=0),c>f?c=f:c<-f&&(c=-f),c},overlap:function(a,b,c,d,e){if(c=c||null,d=d||null,e=e||c,this._total=0,!Array.isArray(a)&&Array.isArray(b))for(var f=0;f0},collide:function(a,b,c,d,e){if(c=c||null,d=d||null,e=e||c,this._total=0,!Array.isArray(a)&&Array.isArray(b))for(var f=0;f0},sortLeftRight:function(a,b){return a.body&&b.body?a.body.x-b.body.x:0},sortRightLeft:function(a,b){return a.body&&b.body?b.body.x-a.body.x:0},sortTopBottom:function(a,b){return a.body&&b.body?a.body.y-b.body.y:0},sortBottomTop:function(a,b){return a.body&&b.body?b.body.y-a.body.y:0},sort:function(a,b){null!==a.physicsSortDirection?b=a.physicsSortDirection:void 0===b&&(b=this.sortDirection),b===c.Physics.Arcade.LEFT_RIGHT?a.hash.sort(this.sortLeftRight):b===c.Physics.Arcade.RIGHT_LEFT?a.hash.sort(this.sortRightLeft):b===c.Physics.Arcade.TOP_BOTTOM?a.hash.sort(this.sortTopBottom):b===c.Physics.Arcade.BOTTOM_TOP&&a.hash.sort(this.sortBottomTop)},collideHandler:function(a,b,d,e,f,g){return void 0===b&&a.physicsType===c.GROUP?(this.sort(a),void this.collideGroupVsSelf(a,d,e,f,g)):void(a&&b&&a.exists&&b.exists&&(this.sortDirection!==c.Physics.Arcade.SORT_NONE&&(a.physicsType===c.GROUP&&this.sort(a),b.physicsType===c.GROUP&&this.sort(b)),a.physicsType===c.SPRITE?b.physicsType===c.SPRITE?this.collideSpriteVsSprite(a,b,d,e,f,g):b.physicsType===c.GROUP?this.collideSpriteVsGroup(a,b,d,e,f,g):b.physicsType===c.TILEMAPLAYER&&this.collideSpriteVsTilemapLayer(a,b,d,e,f,g):a.physicsType===c.GROUP?b.physicsType===c.SPRITE?this.collideSpriteVsGroup(b,a,d,e,f,g):b.physicsType===c.GROUP?this.collideGroupVsGroup(a,b,d,e,f,g):b.physicsType===c.TILEMAPLAYER&&this.collideGroupVsTilemapLayer(a,b,d,e,f,g):a.physicsType===c.TILEMAPLAYER&&(b.physicsType===c.SPRITE?this.collideSpriteVsTilemapLayer(b,a,d,e,f,g):b.physicsType===c.GROUP&&this.collideGroupVsTilemapLayer(b,a,d,e,f,g))))},collideSpriteVsSprite:function(a,b,c,d,e,f){return!(!a.body||!b.body)&&(this.separate(a.body,b.body,d,e,f)&&(c&&c.call(e,a,b),this._total++),!0)},collideSpriteVsGroup:function(a,b,d,e,f,g){if(0!==b.length&&a.body)if(this.skipQuadTree||a.body.skipQuadTree)for(var h={},i=0;ih.right)break;if(h.x>a.body.right)continue}else if(this.sortDirection===c.Physics.Arcade.TOP_BOTTOM){if(a.body.bottomh.bottom)break;if(h.y>a.body.bottom)continue}this.collideSpriteVsSprite(a,j,d,e,f,g)}}else{this.quadTree.clear(),this.quadTree.reset(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this.quadTree.populate(b);for(var k=this.quadTree.retrieve(a),i=0;ik.right)continue;if(k.x>h.right)break}else if(this.sortDirection===c.Physics.Arcade.TOP_BOTTOM){if(h.bottomk.bottom)continue;if(k.y>i.body.bottom)break}this.collideSpriteVsSprite(i,l,b,d,e,f)}}}}},collideGroupVsGroup:function(a,b,d,e,f,g){if(0!==a.length&&0!==b.length)for(var h=0;hh.bottom)&&(i.xh.right))return this.separateCircle(a,b,e)}var j=!1,k=!1;this.forceX||Math.abs(this.gravity.y+a.gravity.y)=b.right)&&!(a.position.y>=b.bottom))))},circleBodyIntersects:function(a,b){var d=c.Math.clamp(a.center.x,b.left,b.right),e=c.Math.clamp(a.center.y,b.top,b.bottom),f=(a.center.x-d)*(a.center.x-d),g=(a.center.y-e)*(a.center.y-e);return f+g<=a.radius*a.radius},separateCircle:function(a,b,d){this.getOverlapX(a,b),this.getOverlapY(a,b);var e=b.center.x-a.center.x,f=b.center.y-a.center.y,g=Math.atan2(f,e),h=0;if(a.isCircle!==b.isCircle){var i={x:b.isCircle?a.position.x:b.position.x,y:b.isCircle?a.position.y:b.position.y,right:b.isCircle?a.right:b.right,bottom:b.isCircle?a.bottom:b.bottom},j={x:a.isCircle?a.position.x+a.radius:b.position.x+b.radius,y:a.isCircle?a.position.y+a.radius:b.position.y+b.radius,radius:a.isCircle?a.radius:b.radius};j.yi.right&&(h=c.Math.distance(j.x,j.y,i.right,i.y)-j.radius):j.y>i.bottom&&(j.xi.right&&(h=c.Math.distance(j.x,j.y,i.right,i.bottom)-j.radius)),h*=-1}else h=a.radius+b.radius-c.Math.distance(a.center.x,a.center.y,b.center.x,b.center.y);if(d||0===h||a.immovable&&b.immovable||a.customSeparateX||b.customSeparateX)return 0!==h&&(a.onOverlap&&a.onOverlap.dispatch(a.sprite,b.sprite),b.onOverlap&&b.onOverlap.dispatch(b.sprite,a.sprite)),0!==h;var k={x:a.velocity.x*Math.cos(g)+a.velocity.y*Math.sin(g),y:a.velocity.x*Math.sin(g)-a.velocity.y*Math.cos(g)},l={x:b.velocity.x*Math.cos(g)+b.velocity.y*Math.sin(g),y:b.velocity.x*Math.sin(g)-b.velocity.y*Math.cos(g)},m=((a.mass-b.mass)*k.x+2*b.mass*l.x)/(a.mass+b.mass),n=(2*a.mass*k.x+(b.mass-a.mass)*l.x)/(a.mass+b.mass);return a.immovable||(a.velocity.x=(m*Math.cos(g)-k.y*Math.sin(g))*a.bounce.x,a.velocity.y=(k.y*Math.cos(g)+m*Math.sin(g))*a.bounce.y),b.immovable||(b.velocity.x=(n*Math.cos(g)-l.y*Math.sin(g))*b.bounce.x,b.velocity.y=(l.y*Math.cos(g)+n*Math.sin(g))*b.bounce.y),Math.abs(g)0&&!a.immovable&&b.velocity.x>a.velocity.x?a.velocity.x*=-1:b.velocity.x<0&&!b.immovable&&a.velocity.x0&&!a.immovable&&b.velocity.y>a.velocity.y?a.velocity.y*=-1:b.velocity.y<0&&!b.immovable&&a.velocity.yMath.PI/2&&(a.velocity.x<0&&!a.immovable&&b.velocity.x0&&!b.immovable&&a.velocity.x>b.velocity.x?b.velocity.x*=-1:a.velocity.y<0&&!a.immovable&&b.velocity.y0&&!b.immovable&&a.velocity.x>b.velocity.y&&(b.velocity.y*=-1)),a.immovable||(a.x+=a.velocity.x*this.game.time.physicsElapsed-h*Math.cos(g),a.y+=a.velocity.y*this.game.time.physicsElapsed-h*Math.sin(g)),b.immovable||(b.x+=b.velocity.x*this.game.time.physicsElapsed+h*Math.cos(g),b.y+=b.velocity.y*this.game.time.physicsElapsed+h*Math.sin(g)),a.onCollide&&a.onCollide.dispatch(a.sprite,b.sprite),b.onCollide&&b.onCollide.dispatch(b.sprite,a.sprite),!0},getOverlapX:function(a,b,c){var d=0,e=a.deltaAbsX()+b.deltaAbsX()+this.OVERLAP_BIAS;return 0===a.deltaX()&&0===b.deltaX()?(a.embedded=!0,b.embedded=!0):a.deltaX()>b.deltaX()?(d=a.right-b.x,d>e&&!c||a.checkCollision.right===!1||b.checkCollision.left===!1?d=0:(a.touching.none=!1,a.touching.right=!0,b.touching.none=!1,b.touching.left=!0)):a.deltaX()e&&!c||a.checkCollision.left===!1||b.checkCollision.right===!1?d=0:(a.touching.none=!1,a.touching.left=!0,b.touching.none=!1,b.touching.right=!0)),a.overlapX=d,b.overlapX=d,d},getOverlapY:function(a,b,c){var d=0,e=a.deltaAbsY()+b.deltaAbsY()+this.OVERLAP_BIAS;return 0===a.deltaY()&&0===b.deltaY()?(a.embedded=!0,b.embedded=!0):a.deltaY()>b.deltaY()?(d=a.bottom-b.y,d>e&&!c||a.checkCollision.down===!1||b.checkCollision.up===!1?d=0:(a.touching.none=!1,a.touching.down=!0,b.touching.none=!1,b.touching.up=!0)):a.deltaY()e&&!c||a.checkCollision.up===!1||b.checkCollision.down===!1?d=0:(a.touching.none=!1,a.touching.up=!0,b.touching.none=!1,b.touching.down=!0)),a.overlapY=d,b.overlapY=d,d},separateX:function(a,b,c){var d=this.getOverlapX(a,b,c);if(c||0===d||a.immovable&&b.immovable||a.customSeparateX||b.customSeparateX)return 0!==d||a.embedded&&b.embedded;var e=a.velocity.x,f=b.velocity.x;if(a.immovable||b.immovable)a.immovable?(b.x+=d,b.velocity.x=e-f*b.bounce.x,a.moves&&(b.y+=(a.y-a.prev.y)*a.friction.y)):(a.x-=d,a.velocity.x=f-e*a.bounce.x,b.moves&&(a.y+=(b.y-b.prev.y)*b.friction.y));else{d*=.5,a.x-=d,b.x+=d;var g=Math.sqrt(f*f*b.mass/a.mass)*(f>0?1:-1),h=Math.sqrt(e*e*a.mass/b.mass)*(e>0?1:-1),i=.5*(g+h);g-=i,h-=i,a.velocity.x=i+g*a.bounce.x,b.velocity.x=i+h*b.bounce.x}return!0},separateY:function(a,b,c){var d=this.getOverlapY(a,b,c);if(c||0===d||a.immovable&&b.immovable||a.customSeparateY||b.customSeparateY)return 0!==d||a.embedded&&b.embedded;var e=a.velocity.y,f=b.velocity.y;if(a.immovable||b.immovable)a.immovable?(b.y+=d,b.velocity.y=e-f*b.bounce.y,a.moves&&(b.x+=(a.x-a.prev.x)*a.friction.x)):(a.y-=d,a.velocity.y=f-e*a.bounce.y,b.moves&&(a.x+=(b.x-b.prev.x)*b.friction.x));else{d*=.5,a.y-=d,b.y+=d;var g=Math.sqrt(f*f*b.mass/a.mass)*(f>0?1:-1),h=Math.sqrt(e*e*a.mass/b.mass)*(e>0?1:-1),i=.5*(g+h);g-=i,h-=i,a.velocity.y=i+g*a.bounce.y,b.velocity.y=i+h*b.bounce.y}return!0},getObjectsUnderPointer:function(a,b,c,d){if(0!==b.length&&a.exists)return this.getObjectsAtLocation(a.x,a.y,b,c,d,a)},getObjectsAtLocation:function(a,b,d,e,f,g){this.quadTree.clear(),this.quadTree.reset(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this.quadTree.populate(d);for(var h=new c.Rectangle(a,b,1,1),i=[],j=this.quadTree.retrieve(h),k=0;k0&&(c=this.distanceBetween(a,b)/(d/1e3)),a.body.velocity.x=Math.cos(e)*c,a.body.velocity.y=Math.sin(e)*c,e},moveToPointer:function(a,b,c,d){void 0===b&&(b=60),c=c||this.game.input.activePointer,void 0===d&&(d=0);var e=this.angleToPointer(a,c);return d>0&&(b=this.distanceToPointer(a,c)/(d/1e3)),a.body.velocity.x=Math.cos(e)*b,a.body.velocity.y=Math.sin(e)*b,e},moveToXY:function(a,b,c,d,e){void 0===d&&(d=60),void 0===e&&(e=0);var f=Math.atan2(c-a.y,b-a.x);return e>0&&(d=this.distanceToXY(a,b,c)/(e/1e3)),a.body.velocity.x=Math.cos(f)*d,a.body.velocity.y=Math.sin(f)*d,f},velocityFromAngle:function(a,b,d){return void 0===b&&(b=60),d=d||new c.Point,d.setTo(Math.cos(this.game.math.degToRad(a))*b,Math.sin(this.game.math.degToRad(a))*b)},velocityFromRotation:function(a,b,d){return void 0===b&&(b=60),d=d||new c.Point,d.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerationFromRotation:function(a,b,d){return void 0===b&&(b=60),d=d||new c.Point,d.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerateToObject:function(a,b,c,d,e){void 0===c&&(c=60),void 0===d&&(d=1e3),void 0===e&&(e=1e3);var f=this.angleBetween(a,b);return a.body.acceleration.setTo(Math.cos(f)*c,Math.sin(f)*c),a.body.maxVelocity.setTo(d,e),f},accelerateToPointer:function(a,b,c,d,e){void 0===c&&(c=60),void 0===b&&(b=this.game.input.activePointer),void 0===d&&(d=1e3),void 0===e&&(e=1e3);var f=this.angleToPointer(a,b);return a.body.acceleration.setTo(Math.cos(f)*c,Math.sin(f)*c),a.body.maxVelocity.setTo(d,e),f},accelerateToXY:function(a,b,c,d,e,f){void 0===d&&(d=60),void 0===e&&(e=1e3),void 0===f&&(f=1e3);var g=this.angleToXY(a,b,c);return a.body.acceleration.setTo(Math.cos(g)*d,Math.sin(g)*d),a.body.maxVelocity.setTo(e,f),g},distanceBetween:function(a,b,c){void 0===c&&(c=!1);var d=c?a.world.x-b.world.x:a.x-b.x,e=c?a.world.y-b.world.y:a.y-b.y;return Math.sqrt(d*d+e*e)},distanceToXY:function(a,b,c,d){void 0===d&&(d=!1);var e=d?a.world.x-b:a.x-b,f=d?a.world.y-c:a.y-c;return Math.sqrt(e*e+f*f)},distanceToPointer:function(a,b,c){void 0===b&&(b=this.game.input.activePointer),void 0===c&&(c=!1);var d=c?a.world.x-b.worldX:a.x-b.worldX,e=c?a.world.y-b.worldY:a.y-b.worldY;return Math.sqrt(d*d+e*e)},angleBetween:function(a,b,c){return void 0===c&&(c=!1),c?Math.atan2(b.world.y-a.world.y,b.world.x-a.world.x):Math.atan2(b.y-a.y,b.x-a.x)},angleBetweenCenters:function(a,b){var c=b.centerX-a.centerX,d=b.centerY-a.centerY;return Math.atan2(d,c)},angleToXY:function(a,b,c,d){return void 0===d&&(d=!1),d?Math.atan2(c-a.world.y,b-a.world.x):Math.atan2(c-a.y,b-a.x)},angleToPointer:function(a,b,c){return void 0===b&&(b=this.game.input.activePointer),void 0===c&&(c=!1),c?Math.atan2(b.worldY-a.world.y,b.worldX-a.world.x):Math.atan2(b.worldY-a.y,b.worldX-a.x)},worldAngleToPointer:function(a,b){return this.angleToPointer(a,b,!0)}},c.Physics.Arcade.Body=function(a){this.sprite=a,this.game=a.game,this.type=c.Physics.ARCADE,this.enable=!0,this.isCircle=!1,this.radius=0,this.offset=new c.Point,this.position=new c.Point(a.x,a.y),this.prev=new c.Point(this.position.x,this.position.y),this.allowRotation=!0,this.rotation=a.angle,this.preRotation=a.angle,this.width=a.width,this.height=a.height,this.sourceWidth=a.width,this.sourceHeight=a.height,a.texture&&(this.sourceWidth=a.texture.frame.width,this.sourceHeight=a.texture.frame.height),this.halfWidth=Math.abs(a.width/2),this.halfHeight=Math.abs(a.height/2),this.center=new c.Point(a.x+this.halfWidth,a.y+this.halfHeight),this.velocity=new c.Point,this.newVelocity=new c.Point,this.deltaMax=new c.Point,this.acceleration=new c.Point,this.drag=new c.Point,this.allowGravity=!0,this.gravity=new c.Point,this.bounce=new c.Point,this.worldBounce=null,this.onWorldBounds=null,this.onCollide=null,this.onOverlap=null,this.maxVelocity=new c.Point(1e4,1e4),this.friction=new c.Point(1,0),this.angularVelocity=0,this.angularAcceleration=0,this.angularDrag=0,this.maxAngular=1e3,this.mass=1,this.angle=0,this.speed=0,this.facing=c.NONE,this.immovable=!1,this.moves=!0,this.customSeparateX=!1,this.customSeparateY=!1,this.overlapX=0,this.overlapY=0,this.overlapR=0,this.embedded=!1,this.collideWorldBounds=!1,this.checkCollision={none:!1,any:!0,up:!0,down:!0,left:!0,right:!0},this.touching={none:!0,up:!1,down:!1,left:!1,right:!1},this.wasTouching={none:!0,up:!1,down:!1,left:!1,right:!1},this.blocked={up:!1,down:!1,left:!1,right:!1},this.tilePadding=new c.Point,this.dirty=!1,this.skipQuadTree=!1,this.syncBounds=!1,this.isMoving=!1,this.stopVelocityOnCollide=!0,this.moveTimer=0,this.moveDistance=0,this.moveDuration=0,this.moveTarget=null,this.moveEnd=null,this.onMoveComplete=new c.Signal,this.movementCallback=null,this.movementCallbackContext=null,this._reset=!0,this._sx=a.scale.x,this._sy=a.scale.y,this._dx=0,this._dy=0},c.Physics.Arcade.Body.prototype={updateBounds:function(){if(this.syncBounds){var a=this.sprite.getBounds();a.ceilAll(),a.width===this.width&&a.height===this.height||(this.width=a.width,this.height=a.height,this._reset=!0)}else{var b=Math.abs(this.sprite.scale.x),c=Math.abs(this.sprite.scale.y);b===this._sx&&c===this._sy||(this.width=this.sourceWidth*b,this.height=this.sourceHeight*c,this._sx=b,this._sy=c,this._reset=!0)}this._reset&&(this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight))},preUpdate:function(){this.enable&&!this.game.physics.arcade.isPaused&&(this.dirty=!0,this.wasTouching.none=this.touching.none,this.wasTouching.up=this.touching.up,this.wasTouching.down=this.touching.down,this.wasTouching.left=this.touching.left,this.wasTouching.right=this.touching.right,this.touching.none=!0,this.touching.up=!1,this.touching.down=!1,this.touching.left=!1,this.touching.right=!1,this.blocked.up=!1,this.blocked.down=!1,this.blocked.left=!1,this.blocked.right=!1,this.embedded=!1,this.updateBounds(),this.position.x=this.sprite.world.x-this.sprite.anchor.x*this.sprite.width+this.sprite.scale.x*this.offset.x,this.position.x-=this.sprite.scale.x<0?this.width:0,this.position.y=this.sprite.world.y-this.sprite.anchor.y*this.sprite.height+this.sprite.scale.y*this.offset.y,this.position.y-=this.sprite.scale.y<0?this.height:0,this.rotation=this.sprite.angle,this.preRotation=this.rotation,(this._reset||this.sprite.fresh)&&(this.prev.x=this.position.x,this.prev.y=this.position.y),this.moves&&(this.game.physics.arcade.updateMotion(this),this.newVelocity.set(this.velocity.x*this.game.time.physicsElapsed,this.velocity.y*this.game.time.physicsElapsed),this.position.x+=this.newVelocity.x,this.position.y+=this.newVelocity.y,this.position.x===this.prev.x&&this.position.y===this.prev.y||(this.angle=Math.atan2(this.velocity.y,this.velocity.x)),this.speed=Math.sqrt(this.velocity.x*this.velocity.x+this.velocity.y*this.velocity.y),this.collideWorldBounds&&this.checkWorldBounds()&&this.onWorldBounds&&this.onWorldBounds.dispatch(this.sprite,this.blocked.up,this.blocked.down,this.blocked.left,this.blocked.right)),this._dx=this.deltaX(),this._dy=this.deltaY(),this._reset=!1)},updateMovement:function(){var a=0,b=0!==this.overlapX||0!==this.overlapY;if(this.moveDuration>0?(this.moveTimer+=this.game.time.elapsedMS,a=this.moveTimer/this.moveDuration):(this.moveTarget.end.set(this.position.x,this.position.y),a=this.moveTarget.length/this.moveDistance),this.movementCallback)var c=this.movementCallback.call(this.movementCallbackContext,this,this.velocity,a);return!(b||a>=1||void 0!==c&&c!==!0)||(this.stopMovement(a>=1||this.stopVelocityOnCollide&&b),!1)},stopMovement:function(a){this.isMoving&&(this.isMoving=!1,a&&this.velocity.set(0),this.onMoveComplete.dispatch(this.sprite,0!==this.overlapX||0!==this.overlapY))},postUpdate:function(){this.enable&&this.dirty&&(this.isMoving&&this.updateMovement(),this.dirty=!1,this.deltaX()<0?this.facing=c.LEFT:this.deltaX()>0&&(this.facing=c.RIGHT),this.deltaY()<0?this.facing=c.UP:this.deltaY()>0&&(this.facing=c.DOWN),this.moves&&(this._dx=this.deltaX(),this._dy=this.deltaY(),0!==this.deltaMax.x&&0!==this._dx&&(this._dx<0&&this._dx<-this.deltaMax.x?this._dx=-this.deltaMax.x:this._dx>0&&this._dx>this.deltaMax.x&&(this._dx=this.deltaMax.x)),0!==this.deltaMax.y&&0!==this._dy&&(this._dy<0&&this._dy<-this.deltaMax.y?this._dy=-this.deltaMax.y:this._dy>0&&this._dy>this.deltaMax.y&&(this._dy=this.deltaMax.y)),this.sprite.position.x+=this._dx,this.sprite.position.y+=this._dy,this._reset=!0),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight),this.allowRotation&&(this.sprite.angle+=this.deltaZ()),this.prev.x=this.position.x,this.prev.y=this.position.y)},checkWorldBounds:function(){var a=this.position,b=this.game.physics.arcade.bounds,c=this.game.physics.arcade.checkCollision,d=this.worldBounce?-this.worldBounce.x:-this.bounce.x,e=this.worldBounce?-this.worldBounce.y:-this.bounce.y;if(this.isCircle){var f={x:this.center.x-this.radius,y:this.center.y-this.radius,right:this.center.x+this.radius,bottom:this.center.y+this.radius};f.xb.right&&c.right&&(a.x=b.right-this.halfWidth-this.radius,this.velocity.x*=d,this.blocked.right=!0),f.yb.bottom&&c.down&&(a.y=b.bottom-this.halfHeight-this.radius,this.velocity.y*=e,this.blocked.down=!0)}else a.xb.right&&c.right&&(a.x=b.right-this.width,this.velocity.x*=d,this.blocked.right=!0),a.yb.bottom&&c.down&&(a.y=b.bottom-this.height,this.velocity.y*=e,this.blocked.down=!0);return this.blocked.up||this.blocked.down||this.blocked.left||this.blocked.right},moveFrom:function(a,b,c){if(void 0===b&&(b=this.speed),0===b)return!1;var d;return void 0===c?(d=this.angle,c=this.game.math.radToDeg(d)):d=this.game.math.degToRad(c),this.moveTimer=0,this.moveDuration=a,0===c||180===c?this.velocity.set(Math.cos(d)*b,0):90===c||270===c?this.velocity.set(0,Math.sin(d)*b):this.velocity.set(Math.cos(d)*b,Math.sin(d)*b),this.isMoving=!0,!0},moveTo:function(a,b,d){var e=b/(a/1e3);if(0===e)return!1;var f;return void 0===d?(f=this.angle,d=this.game.math.radToDeg(f)):f=this.game.math.degToRad(d),b=Math.abs(b),this.moveDuration=0,this.moveDistance=b,null===this.moveTarget&&(this.moveTarget=new c.Line,this.moveEnd=new c.Point),this.moveTarget.fromAngle(this.x,this.y,f,b),this.moveEnd.set(this.moveTarget.end.x,this.moveTarget.end.y),this.moveTarget.setTo(this.x,this.y,this.x,this.y),0===d||180===d?this.velocity.set(Math.cos(f)*e,0):90===d||270===d?this.velocity.set(0,Math.sin(f)*e):this.velocity.set(Math.cos(f)*e,Math.sin(f)*e), +this.isMoving=!0,!0},setSize:function(a,b,c,d){void 0===c&&(c=this.offset.x),void 0===d&&(d=this.offset.y),this.sourceWidth=a,this.sourceHeight=b,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.offset.setTo(c,d),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight),this.isCircle=!1,this.radius=0},setCircle:function(a,b,c){void 0===b&&(b=this.offset.x),void 0===c&&(c=this.offset.y),a>0?(this.isCircle=!0,this.radius=a,this.sourceWidth=2*a,this.sourceHeight=2*a,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.offset.setTo(b,c),this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight)):this.isCircle=!1},reset:function(a,b){this.velocity.set(0),this.acceleration.set(0),this.speed=0,this.angularVelocity=0,this.angularAcceleration=0,this.position.x=a-this.sprite.anchor.x*this.sprite.width+this.sprite.scale.x*this.offset.x,this.position.x-=this.sprite.scale.x<0?this.width:0,this.position.y=b-this.sprite.anchor.y*this.sprite.height+this.sprite.scale.y*this.offset.y,this.position.y-=this.sprite.scale.y<0?this.height:0,this.prev.x=this.position.x,this.prev.y=this.position.y,this.rotation=this.sprite.angle,this.preRotation=this.rotation,this._sx=this.sprite.scale.x,this._sy=this.sprite.scale.y,this.center.setTo(this.position.x+this.halfWidth,this.position.y+this.halfHeight)},getBounds:function(a){return this.isCircle?(a.x=this.center.x-this.radius,a.y=this.center.y-this.radius,a.right=this.center.x+this.radius,a.bottom=this.center.y+this.radius):(a.x=this.x,a.y=this.y,a.right=this.right,a.bottom=this.bottom),a},hitTest:function(a,b){return this.isCircle?c.Circle.contains(this,a,b):c.Rectangle.contains(this,a,b)},onFloor:function(){return this.blocked.down},onCeiling:function(){return this.blocked.up},onWall:function(){return this.blocked.left||this.blocked.right},deltaAbsX:function(){return this.deltaX()>0?this.deltaX():-this.deltaX()},deltaAbsY:function(){return this.deltaY()>0?this.deltaY():-this.deltaY()},deltaX:function(){return this.position.x-this.prev.x},deltaY:function(){return this.position.y-this.prev.y},deltaZ:function(){return this.rotation-this.preRotation},destroy:function(){this.sprite.parent&&this.sprite.parent instanceof c.Group&&this.sprite.parent.removeFromHash(this.sprite),this.sprite.body=null,this.sprite=null}},Object.defineProperty(c.Physics.Arcade.Body.prototype,"left",{get:function(){return this.position.x}}),Object.defineProperty(c.Physics.Arcade.Body.prototype,"right",{get:function(){return this.position.x+this.width}}),Object.defineProperty(c.Physics.Arcade.Body.prototype,"top",{get:function(){return this.position.y}}),Object.defineProperty(c.Physics.Arcade.Body.prototype,"bottom",{get:function(){return this.position.y+this.height}}),Object.defineProperty(c.Physics.Arcade.Body.prototype,"x",{get:function(){return this.position.x},set:function(a){this.position.x=a}}),Object.defineProperty(c.Physics.Arcade.Body.prototype,"y",{get:function(){return this.position.y},set:function(a){this.position.y=a}}),c.Physics.Arcade.Body.render=function(a,b,c,d){void 0===d&&(d=!0),c=c||"rgba(0,255,0,0.4)",a.fillStyle=c,a.strokeStyle=c,b.isCircle?(a.beginPath(),a.arc(b.center.x-b.game.camera.x,b.center.y-b.game.camera.y,b.radius,0,2*Math.PI),d?a.fill():a.stroke()):d?a.fillRect(b.position.x-b.game.camera.x,b.position.y-b.game.camera.y,b.width,b.height):a.strokeRect(b.position.x-b.game.camera.x,b.position.y-b.game.camera.y,b.width,b.height)},c.Physics.Arcade.Body.renderBodyInfo=function(a,b){a.line("x: "+b.x.toFixed(2),"y: "+b.y.toFixed(2),"width: "+b.width,"height: "+b.height),a.line("velocity x: "+b.velocity.x.toFixed(2),"y: "+b.velocity.y.toFixed(2),"deltaX: "+b._dx.toFixed(2),"deltaY: "+b._dy.toFixed(2)),a.line("acceleration x: "+b.acceleration.x.toFixed(2),"y: "+b.acceleration.y.toFixed(2),"speed: "+b.speed.toFixed(2),"angle: "+b.angle.toFixed(2)),a.line("gravity x: "+b.gravity.x,"y: "+b.gravity.y,"bounce x: "+b.bounce.x.toFixed(2),"y: "+b.bounce.y.toFixed(2)),a.line("touching left: "+b.touching.left,"right: "+b.touching.right,"up: "+b.touching.up,"down: "+b.touching.down),a.line("blocked left: "+b.blocked.left,"right: "+b.blocked.right,"up: "+b.blocked.up,"down: "+b.blocked.down)},c.Physics.Arcade.Body.prototype.constructor=c.Physics.Arcade.Body,c.Physics.Arcade.TilemapCollision=function(){},c.Physics.Arcade.TilemapCollision.prototype={TILE_BIAS:16,collideSpriteVsTilemapLayer:function(a,b,c,d,e,f){if(a.body){var g=b.getTiles(a.body.position.x-a.body.tilePadding.x,a.body.position.y-a.body.tilePadding.y,a.body.width+a.body.tilePadding.x,a.body.height+a.body.tilePadding.y,!1,!1);if(0!==g.length)for(var h=0;hb.deltaAbsY()?j=-1:b.deltaAbsX()0&&!a.blocked.right&&b.collideLeft&&a.checkCollision.right&&b.faceLeft&&a.right-e>b.left&&(d=a.right-e-b.left,d>this.TILE_BIAS&&(d=0)),0!==d&&(a.customSeparateX?a.overlapX=d:this.processTileSeparationX(a,d)),d},tileCheckY:function(a,b,c){var d=0,e=c.fixedToCamera?0:c.position.y;return a.deltaY()<0&&!a.blocked.up&&b.collideDown&&a.checkCollision.up?b.faceBottom&&a.y-e0&&!a.blocked.down&&b.collideUp&&a.checkCollision.down&&b.faceTop&&a.bottom-e>b.top&&(d=a.bottom-e-b.top,d>this.TILE_BIAS&&(d=0)),0!==d&&(a.customSeparateY?a.overlapY=d:this.processTileSeparationY(a,d)),d},processTileSeparationX:function(a,b){b<0?a.blocked.left=!0:b>0&&(a.blocked.right=!0),a.position.x-=b,0===a.bounce.x?a.velocity.x=0:a.velocity.x=-a.velocity.x*a.bounce.x},processTileSeparationY:function(a,b){b<0?a.blocked.up=!0:b>0&&(a.blocked.down=!0),a.position.y-=b,0===a.bounce.y?a.velocity.y=0:a.velocity.y=-a.velocity.y*a.bounce.y}},c.Utils.mixinPrototype(c.Physics.Arcade.prototype,c.Physics.Arcade.TilemapCollision.prototype),p2.Body.prototype.parent=null,p2.Spring.prototype.parent=null,c.Physics.P2=function(a,b){this.game=a,void 0===b?b={gravity:[0,0],broadphase:new p2.SAPBroadphase}:(b.hasOwnProperty("gravity")||(b.gravity=[0,0]),b.hasOwnProperty("broadphase")||(b.broadphase=new p2.SAPBroadphase)),this.config=b,this.world=new p2.World(this.config),this.frameRate=1/60,this.useElapsedTime=!1,this.paused=!1,this.materials=[],this.gravity=new c.Physics.P2.InversePointProxy(this,this.world.gravity),this.walls={left:null,right:null,top:null,bottom:null},this.onBodyAdded=new c.Signal,this.onBodyRemoved=new c.Signal,this.onSpringAdded=new c.Signal,this.onSpringRemoved=new c.Signal,this.onConstraintAdded=new c.Signal,this.onConstraintRemoved=new c.Signal,this.onContactMaterialAdded=new c.Signal,this.onContactMaterialRemoved=new c.Signal,this.postBroadphaseCallback=null,this.callbackContext=null,this.onBeginContact=new c.Signal,this.onEndContact=new c.Signal,b.hasOwnProperty("mpx")&&b.hasOwnProperty("pxm")&&b.hasOwnProperty("mpxi")&&b.hasOwnProperty("pxmi")&&(this.mpx=b.mpx,this.mpxi=b.mpxi,this.pxm=b.pxm,this.pxmi=b.pxmi),this.world.on("beginContact",this.beginContactHandler,this),this.world.on("endContact",this.endContactHandler,this),this.collisionGroups=[],this.nothingCollisionGroup=new c.Physics.P2.CollisionGroup(1),this.boundsCollisionGroup=new c.Physics.P2.CollisionGroup(2),this.everythingCollisionGroup=new c.Physics.P2.CollisionGroup(2147483648),this.boundsCollidesWith=[],this._toRemove=[],this._collisionGroupID=2,this._boundsLeft=!0,this._boundsRight=!0,this._boundsTop=!0,this._boundsBottom=!0,this._boundsOwnGroup=!1,this.setBoundsToWorld(!0,!0,!0,!0,!1)},c.Physics.P2.prototype={removeBodyNextStep:function(a){this._toRemove.push(a)},preUpdate:function(){for(var a=this._toRemove.length;a--;)this.removeBody(this._toRemove[a]);this._toRemove.length=0},enable:function(a,b,d){void 0===b&&(b=!1),void 0===d&&(d=!0);var e=1;if(Array.isArray(a))for(e=a.length;e--;)a[e]instanceof c.Group?this.enable(a[e].children,b,d):(this.enableBody(a[e],b),d&&a[e].hasOwnProperty("children")&&a[e].children.length>0&&this.enable(a[e],b,!0));else a instanceof c.Group?this.enable(a.children,b,d):(this.enableBody(a,b),d&&a.hasOwnProperty("children")&&a.children.length>0&&this.enable(a.children,b,!0))},enableBody:function(a,b){a.hasOwnProperty("body")&&null===a.body&&(a.body=new c.Physics.P2.Body(this.game,a,a.x,a.y,1),a.body.debug=b,"undefined"!=typeof a.anchor&&a.anchor.set(.5))},setImpactEvents:function(a){a?this.world.on("impact",this.impactHandler,this):this.world.off("impact",this.impactHandler,this)},setPostBroadphaseCallback:function(a,b){this.postBroadphaseCallback=a,this.callbackContext=b,null!==a?this.world.on("postBroadphase",this.postBroadphaseHandler,this):this.world.off("postBroadphase",this.postBroadphaseHandler,this)},postBroadphaseHandler:function(a){if(this.postBroadphaseCallback&&0!==a.pairs.length)for(var b=a.pairs.length-2;b>=0;b-=2)a.pairs[b].parent&&a.pairs[b+1].parent&&!this.postBroadphaseCallback.call(this.callbackContext,a.pairs[b].parent,a.pairs[b+1].parent)&&a.pairs.splice(b,2)},impactHandler:function(a){if(a.bodyA.parent&&a.bodyB.parent){var b=a.bodyA.parent,c=a.bodyB.parent;b._bodyCallbacks[a.bodyB.id]&&b._bodyCallbacks[a.bodyB.id].call(b._bodyCallbackContext[a.bodyB.id],b,c,a.shapeA,a.shapeB),c._bodyCallbacks[a.bodyA.id]&&c._bodyCallbacks[a.bodyA.id].call(c._bodyCallbackContext[a.bodyA.id],c,b,a.shapeB,a.shapeA),b._groupCallbacks[a.shapeB.collisionGroup]&&b._groupCallbacks[a.shapeB.collisionGroup].call(b._groupCallbackContext[a.shapeB.collisionGroup],b,c,a.shapeA,a.shapeB),c._groupCallbacks[a.shapeA.collisionGroup]&&c._groupCallbacks[a.shapeA.collisionGroup].call(c._groupCallbackContext[a.shapeA.collisionGroup],c,b,a.shapeB,a.shapeA)}},beginContactHandler:function(a){a.bodyA&&a.bodyB&&(this.onBeginContact.dispatch(a.bodyA,a.bodyB,a.shapeA,a.shapeB,a.contactEquations),a.bodyA.parent&&a.bodyA.parent.onBeginContact.dispatch(a.bodyB.parent,a.bodyB,a.shapeA,a.shapeB,a.contactEquations),a.bodyB.parent&&a.bodyB.parent.onBeginContact.dispatch(a.bodyA.parent,a.bodyA,a.shapeB,a.shapeA,a.contactEquations))},endContactHandler:function(a){a.bodyA&&a.bodyB&&(this.onEndContact.dispatch(a.bodyA,a.bodyB,a.shapeA,a.shapeB),a.bodyA.parent&&a.bodyA.parent.onEndContact.dispatch(a.bodyB.parent,a.bodyB,a.shapeA,a.shapeB),a.bodyB.parent&&a.bodyB.parent.onEndContact.dispatch(a.bodyA.parent,a.bodyA,a.shapeB,a.shapeA))},setBoundsToWorld:function(a,b,c,d,e){this.setBounds(this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,a,b,c,d,e)},setWorldMaterial:function(a,b,c,d,e){void 0===b&&(b=!0),void 0===c&&(c=!0),void 0===d&&(d=!0),void 0===e&&(e=!0),b&&this.walls.left&&(this.walls.left.shapes[0].material=a),c&&this.walls.right&&(this.walls.right.shapes[0].material=a),d&&this.walls.top&&(this.walls.top.shapes[0].material=a),e&&this.walls.bottom&&(this.walls.bottom.shapes[0].material=a)},updateBoundsCollisionGroup:function(a){void 0===a&&(a=!0);var b=a?this.boundsCollisionGroup.mask:this.everythingCollisionGroup.mask;this.walls.left&&(this.walls.left.shapes[0].collisionGroup=b),this.walls.right&&(this.walls.right.shapes[0].collisionGroup=b),this.walls.top&&(this.walls.top.shapes[0].collisionGroup=b),this.walls.bottom&&(this.walls.bottom.shapes[0].collisionGroup=b),this._boundsOwnGroup=a},setBounds:function(a,b,c,d,e,f,g,h,i){void 0===e&&(e=this._boundsLeft),void 0===f&&(f=this._boundsRight),void 0===g&&(g=this._boundsTop),void 0===h&&(h=this._boundsBottom),void 0===i&&(i=this._boundsOwnGroup),this.setupWall(e,"left",a,b,1.5707963267948966,i),this.setupWall(f,"right",a+c,b,-1.5707963267948966,i),this.setupWall(g,"top",a,b,-3.141592653589793,i),this.setupWall(h,"bottom",a,b+d,0,i),this._boundsLeft=e,this._boundsRight=f,this._boundsTop=g,this._boundsBottom=h,this._boundsOwnGroup=i},setupWall:function(a,b,c,d,e,f){a?(this.walls[b]?this.walls[b].position=[this.pxmi(c),this.pxmi(d)]:(this.walls[b]=new p2.Body({mass:0,position:[this.pxmi(c),this.pxmi(d)],angle:e}),this.walls[b].addShape(new p2.Plane),this.world.addBody(this.walls[b])),f&&(this.walls[b].shapes[0].collisionGroup=this.boundsCollisionGroup.mask)):this.walls[b]&&(this.world.removeBody(this.walls[b]),this.walls[b]=null)},pause:function(){this.paused=!0},resume:function(){this.paused=!1},update:function(){this.paused||(this.useElapsedTime?this.world.step(this.game.time.physicsElapsed):this.world.step(this.frameRate))},reset:function(){this.world.on("beginContact",this.beginContactHandler,this),this.world.on("endContact",this.endContactHandler,this),this.nothingCollisionGroup=new c.Physics.P2.CollisionGroup(1),this.boundsCollisionGroup=new c.Physics.P2.CollisionGroup(2),this.everythingCollisionGroup=new c.Physics.P2.CollisionGroup(2147483648),this._collisionGroupID=2,this.setBoundsToWorld(!0,!0,!0,!0,!1)},clear:function(){this.world.time=0,this.world.fixedStepTime=0,this.world.solver&&this.world.solver.equations.length&&this.world.solver.removeAllEquations();for(var a=this.world.constraints,b=a.length-1;b>=0;b--)this.world.removeConstraint(a[b]);for(var c=this.world.bodies,b=c.length-1;b>=0;b--)this.world.removeBody(c[b]);for(var d=this.world.springs,b=d.length-1;b>=0;b--)this.world.removeSpring(d[b]);for(var e=this.world.contactMaterials,b=e.length-1;b>=0;b--)this.world.removeContactMaterial(e[b]);this.world.off("beginContact",this.beginContactHandler,this),this.world.off("endContact",this.endContactHandler,this),this.postBroadphaseCallback=null,this.callbackContext=null,this.impactCallback=null,this.collisionGroups=[],this._toRemove=[],this.boundsCollidesWith=[],this.walls={left:null,right:null,top:null,bottom:null}},destroy:function(){this.clear(),this.game=null},addBody:function(a){return!a.data.world&&(this.world.addBody(a.data),this.onBodyAdded.dispatch(a),!0)},removeBody:function(a){return a.data.world===this.world&&(this.world.removeBody(a.data),this.onBodyRemoved.dispatch(a)),a},addSpring:function(a){return a instanceof c.Physics.P2.Spring||a instanceof c.Physics.P2.RotationalSpring?this.world.addSpring(a.data):this.world.addSpring(a),this.onSpringAdded.dispatch(a),a},removeSpring:function(a){return a instanceof c.Physics.P2.Spring||a instanceof c.Physics.P2.RotationalSpring?this.world.removeSpring(a.data):this.world.removeSpring(a),this.onSpringRemoved.dispatch(a),a},createDistanceConstraint:function(a,b,d,e,f,g){return a=this.getBody(a),b=this.getBody(b),a&&b?this.addConstraint(new c.Physics.P2.DistanceConstraint(this,a,b,d,e,f,g)):void console.warn("Cannot create Constraint, invalid body objects given")},createGearConstraint:function(a,b,d,e){return a=this.getBody(a),b=this.getBody(b),a&&b?this.addConstraint(new c.Physics.P2.GearConstraint(this,a,b,d,e)):void console.warn("Cannot create Constraint, invalid body objects given")},createRevoluteConstraint:function(a,b,d,e,f,g){return a=this.getBody(a),d=this.getBody(d),a&&d?this.addConstraint(new c.Physics.P2.RevoluteConstraint(this,a,b,d,e,f,g)):void console.warn("Cannot create Constraint, invalid body objects given")},createLockConstraint:function(a,b,d,e,f){return a=this.getBody(a),b=this.getBody(b),a&&b?this.addConstraint(new c.Physics.P2.LockConstraint(this,a,b,d,e,f)):void console.warn("Cannot create Constraint, invalid body objects given")},createPrismaticConstraint:function(a,b,d,e,f,g,h){return a=this.getBody(a),b=this.getBody(b),a&&b?this.addConstraint(new c.Physics.P2.PrismaticConstraint(this,a,b,d,e,f,g,h)):void console.warn("Cannot create Constraint, invalid body objects given")},addConstraint:function(a){return this.world.addConstraint(a),this.onConstraintAdded.dispatch(a),a},removeConstraint:function(a){return this.world.removeConstraint(a),this.onConstraintRemoved.dispatch(a),a},addContactMaterial:function(a){return this.world.addContactMaterial(a),this.onContactMaterialAdded.dispatch(a),a},removeContactMaterial:function(a){return this.world.removeContactMaterial(a),this.onContactMaterialRemoved.dispatch(a),a},getContactMaterial:function(a,b){return this.world.getContactMaterial(a,b)},setMaterial:function(a,b){for(var c=b.length;c--;)b[c].setMaterial(a)},createMaterial:function(a,b){a=a||"";var d=new c.Physics.P2.Material(a);return this.materials.push(d),"undefined"!=typeof b&&b.setMaterial(d),d},createContactMaterial:function(a,b,d){void 0===a&&(a=this.createMaterial()),void 0===b&&(b=this.createMaterial());var e=new c.Physics.P2.ContactMaterial(a,b,d);return this.addContactMaterial(e)},getBodies:function(){for(var a=[],b=this.world.bodies.length;b--;)a.push(this.world.bodies[b].parent);return a},getBody:function(a){return a instanceof p2.Body?a:a instanceof c.Physics.P2.Body?a.data:a.body&&a.body.type===c.Physics.P2JS?a.body.data:null},getSprings:function(){for(var a=[],b=this.world.springs.length;b--;)a.push(this.world.springs[b].parent);return a},getConstraints:function(){for(var a=[],b=this.world.constraints.length;b--;)a.push(this.world.constraints[b]);return a},hitTest:function(a,b,d,e){void 0===b&&(b=this.world.bodies),void 0===d&&(d=5),void 0===e&&(e=!1);for(var f=[this.pxmi(a.x),this.pxmi(a.y)],g=[],h=b.length;h--;)b[h]instanceof c.Physics.P2.Body&&(!e||b[h].data.type!==p2.Body.STATIC)?g.push(b[h].data):b[h]instanceof p2.Body&&b[h].parent&&(!e||b[h].type!==p2.Body.STATIC)?g.push(b[h]):b[h]instanceof c.Sprite&&b[h].hasOwnProperty("body")&&(!e||b[h].body.data.type!==p2.Body.STATIC)&&g.push(b[h].body.data);return this.world.hitTest(f,g,d)},toJSON:function(){return this.world.toJSON()},createCollisionGroup:function(a){var b=Math.pow(2,this._collisionGroupID);this.walls.left&&(this.walls.left.shapes[0].collisionMask=this.walls.left.shapes[0].collisionMask|b),this.walls.right&&(this.walls.right.shapes[0].collisionMask=this.walls.right.shapes[0].collisionMask|b),this.walls.top&&(this.walls.top.shapes[0].collisionMask=this.walls.top.shapes[0].collisionMask|b),this.walls.bottom&&(this.walls.bottom.shapes[0].collisionMask=this.walls.bottom.shapes[0].collisionMask|b),this._collisionGroupID++;var d=new c.Physics.P2.CollisionGroup(b);return this.collisionGroups.push(d),a&&this.setCollisionGroup(a,d),d},setCollisionGroup:function(a,b){if(a instanceof c.Group)for(var d=0;d-1&&l.collides)if(d){var m=a.getTileRight(b,j,h);if(0===e&&(f=l.x*l.width,g=l.y*l.height,e=l.width),m&&m.collides)e+=l.width;else{var n=this.createBody(f,g,0,!1);n.addRectangle(e,l.height,e/2,l.height/2,0),c&&this.addBody(n),a.layers[b].bodies.push(n),e=0}}else{var n=this.createBody(l.x*l.width,l.y*l.height,0,!1);n.addRectangle(l.width,l.height,l.width/2,l.height/2,0),c&&this.addBody(n),a.layers[b].bodies.push(n)}}}return a.layers[b].bodies},mpx:function(a){return a*=20},pxm:function(a){return.05*a},mpxi:function(a){return a*=-20},pxmi:function(a){return a*-.05}},Object.defineProperty(c.Physics.P2.prototype,"friction",{get:function(){return this.world.defaultContactMaterial.friction},set:function(a){this.world.defaultContactMaterial.friction=a}}),Object.defineProperty(c.Physics.P2.prototype,"restitution",{get:function(){return this.world.defaultContactMaterial.restitution},set:function(a){this.world.defaultContactMaterial.restitution=a}}),Object.defineProperty(c.Physics.P2.prototype,"contactMaterial",{get:function(){return this.world.defaultContactMaterial},set:function(a){this.world.defaultContactMaterial=a}}),Object.defineProperty(c.Physics.P2.prototype,"applySpringForces",{get:function(){return this.world.applySpringForces},set:function(a){this.world.applySpringForces=a}}),Object.defineProperty(c.Physics.P2.prototype,"applyDamping",{get:function(){return this.world.applyDamping},set:function(a){this.world.applyDamping=a}}),Object.defineProperty(c.Physics.P2.prototype,"applyGravity",{get:function(){return this.world.applyGravity},set:function(a){this.world.applyGravity=a}}),Object.defineProperty(c.Physics.P2.prototype,"solveConstraints",{get:function(){return this.world.solveConstraints},set:function(a){this.world.solveConstraints=a}}),Object.defineProperty(c.Physics.P2.prototype,"time",{get:function(){return this.world.time}}),Object.defineProperty(c.Physics.P2.prototype,"emitImpactEvent",{get:function(){return this.world.emitImpactEvent},set:function(a){this.world.emitImpactEvent=a}}),Object.defineProperty(c.Physics.P2.prototype,"sleepMode",{get:function(){return this.world.sleepMode},set:function(a){this.world.sleepMode=a}}),Object.defineProperty(c.Physics.P2.prototype,"total",{get:function(){return this.world.bodies.length}}),c.Physics.P2.FixtureList=function(a){Array.isArray(a)||(a=[a]),this.rawList=a,this.init(),this.parse(this.rawList)},c.Physics.P2.FixtureList.prototype={init:function(){this.namedFixtures={},this.groupedFixtures=[],this.allFixtures=[]},setCategory:function(a,b){var c=function(b){b.collisionGroup=a};this.getFixtures(b).forEach(c)},setMask:function(a,b){var c=function(b){b.collisionMask=a};this.getFixtures(b).forEach(c)},setSensor:function(a,b){var c=function(b){b.sensor=a};this.getFixtures(b).forEach(c)},setMaterial:function(a,b){var c=function(b){b.material=a};this.getFixtures(b).forEach(c)},getFixtures:function(a){var b=[];if(a){a instanceof Array||(a=[a]);var c=this;return a.forEach(function(a){c.namedFixtures[a]&&b.push(c.namedFixtures[a])}),this.flatten(b)}return this.allFixtures},getFixtureByKey:function(a){return this.namedFixtures[a]},getGroup:function(a){return this.groupedFixtures[a]},parse:function(){var a,b,c,d;c=this.rawList,d=[];for(a in c)b=c[a],isNaN(a-0)?this.namedFixtures[a]=this.flatten(b):(this.groupedFixtures[a]=this.groupedFixtures[a]||[],this.groupedFixtures[a]=this.groupedFixtures[a].concat(b)),d.push(this.allFixtures=this.flatten(this.groupedFixtures))},flatten:function(a){var b,c;return b=[],c=arguments.callee,a.forEach(function(a){return Array.prototype.push.apply(b,Array.isArray(a)?c(a):[a])}),b}},c.Physics.P2.PointProxy=function(a,b){this.world=a,this.destination=b},c.Physics.P2.PointProxy.prototype.constructor=c.Physics.P2.PointProxy,Object.defineProperty(c.Physics.P2.PointProxy.prototype,"x",{get:function(){return this.world.mpx(this.destination[0])},set:function(a){this.destination[0]=this.world.pxm(a)}}),Object.defineProperty(c.Physics.P2.PointProxy.prototype,"y",{get:function(){return this.world.mpx(this.destination[1])},set:function(a){this.destination[1]=this.world.pxm(a)}}),Object.defineProperty(c.Physics.P2.PointProxy.prototype,"mx",{get:function(){return this.destination[0]},set:function(a){this.destination[0]=a}}),Object.defineProperty(c.Physics.P2.PointProxy.prototype,"my",{get:function(){return this.destination[1]},set:function(a){this.destination[1]=a}}),c.Physics.P2.InversePointProxy=function(a,b){this.world=a,this.destination=b},c.Physics.P2.InversePointProxy.prototype.constructor=c.Physics.P2.InversePointProxy,Object.defineProperty(c.Physics.P2.InversePointProxy.prototype,"x",{get:function(){return this.world.mpxi(this.destination[0])},set:function(a){this.destination[0]=this.world.pxmi(a)}}),Object.defineProperty(c.Physics.P2.InversePointProxy.prototype,"y",{get:function(){return this.world.mpxi(this.destination[1])},set:function(a){this.destination[1]=this.world.pxmi(a)}}),Object.defineProperty(c.Physics.P2.InversePointProxy.prototype,"mx",{get:function(){return this.destination[0]},set:function(a){this.destination[0]=-a}}),Object.defineProperty(c.Physics.P2.InversePointProxy.prototype,"my",{get:function(){return this.destination[1]},set:function(a){this.destination[1]=-a}}),c.Physics.P2.Body=function(a,b,d,e,f){b=b||null,d=d||0,e=e||0,void 0===f&&(f=1),this.game=a,this.world=a.physics.p2,this.sprite=b,this.type=c.Physics.P2JS,this.offset=new c.Point,this.data=new p2.Body({position:[this.world.pxmi(d),this.world.pxmi(e)],mass:f}),this.data.parent=this,this.velocity=new c.Physics.P2.InversePointProxy(this.world,this.data.velocity),this.force=new c.Physics.P2.InversePointProxy(this.world,this.data.force),this.gravity=new c.Point,this.onBeginContact=new c.Signal,this.onEndContact=new c.Signal,this.collidesWith=[],this.removeNextStep=!1,this.debugBody=null,this.dirty=!1,this._collideWorldBounds=!0,this._bodyCallbacks={},this._bodyCallbackContext={},this._groupCallbacks={},this._groupCallbackContext={},this._reset=!1,b&&(this.setRectangleFromSprite(b),b.exists&&this.game.physics.p2.addBody(this))},c.Physics.P2.Body.prototype={createBodyCallback:function(a,b,c){var d=-1;a.id?d=a.id:a.body&&(d=a.body.id),d>-1&&(null===b?(delete this._bodyCallbacks[d],delete this._bodyCallbackContext[d]):(this._bodyCallbacks[d]=b,this._bodyCallbackContext[d]=c))},createGroupCallback:function(a,b,c){null===b?(delete this._groupCallbacks[a.mask],delete this._groupCallbackContext[a.mask]):(this._groupCallbacks[a.mask]=b,this._groupCallbackContext[a.mask]=c)},getCollisionMask:function(){var a=0;this._collideWorldBounds&&(a=this.game.physics.p2.boundsCollisionGroup.mask);for(var b=0;b=0;c--)this.data.shapes[c].collisionMask=b;else a.collisionMask=b},setCollisionGroup:function(a,b){var c=this.getCollisionMask();if(void 0===b)for(var d=this.data.shapes.length-1;d>=0;d--)this.data.shapes[d].collisionGroup=a.mask,this.data.shapes[d].collisionMask=c;else b.collisionGroup=a.mask,b.collisionMask=c},clearCollision:function(a,b,c){if(void 0===a&&(a=!0),void 0===b&&(b=!0),void 0===c)for(var d=this.data.shapes.length-1;d>=0;d--)a&&(this.data.shapes[d].collisionGroup=null),b&&(this.data.shapes[d].collisionMask=null);else a&&(c.collisionGroup=null),b&&(c.collisionMask=null);a&&(this.collidesWith.length=0)},removeCollisionGroup:function(a,b,c){void 0===b&&(b=!0);var d;if(Array.isArray(a))for(var e=0;e-1&&(this.collidesWith.splice(d,1),b&&(delete this._groupCallbacks[a.mask],delete this._groupCallbackContext[a.mask]));else d=this.collidesWith.indexOf(a),d>-1&&(this.collidesWith.splice(d,1),b&&(delete this._groupCallbacks[a.mask],delete this._groupCallbackContext[a.mask]));var f=this.getCollisionMask();if(void 0===c)for(var e=this.data.shapes.length-1;e>=0;e--)this.data.shapes[e].collisionMask=f;else c.collisionMask=f},collides:function(a,b,c,d){if(Array.isArray(a))for(var e=0;e=0;e--)this.data.shapes[e].collisionMask=f;else d.collisionMask=f},adjustCenterOfMass:function(){this.data.adjustCenterOfMass(),this.shapeChanged()},getVelocityAtPoint:function(a,b){return this.data.getVelocityAtPoint(a,b)},applyDamping:function(a){this.data.applyDamping(a)},applyImpulse:function(a,b,c){this.data.applyImpulse(a,[this.world.pxmi(b),this.world.pxmi(c)])},applyImpulseLocal:function(a,b,c){this.data.applyImpulseLocal(a,[this.world.pxmi(b),this.world.pxmi(c)])},applyForce:function(a,b,c){this.data.applyForce(a,[this.world.pxmi(b),this.world.pxmi(c)])},setZeroForce:function(){this.data.setZeroForce()},setZeroRotation:function(){this.data.angularVelocity=0},setZeroVelocity:function(){this.data.velocity[0]=0,this.data.velocity[1]=0},setZeroDamping:function(){this.data.damping=0,this.data.angularDamping=0},toLocalFrame:function(a,b){return this.data.toLocalFrame(a,b)},toWorldFrame:function(a,b){return this.data.toWorldFrame(a,b)},rotateLeft:function(a){this.data.angularVelocity=this.world.pxm(-a)},rotateRight:function(a){this.data.angularVelocity=this.world.pxm(a)},moveForward:function(a){var b=this.world.pxmi(-a),c=this.data.angle+Math.PI/2;this.data.velocity[0]=b*Math.cos(c),this.data.velocity[1]=b*Math.sin(c)},moveBackward:function(a){var b=this.world.pxmi(-a),c=this.data.angle+Math.PI/2;this.data.velocity[0]=-(b*Math.cos(c)),this.data.velocity[1]=-(b*Math.sin(c))},thrust:function(a){var b=this.world.pxmi(-a),c=this.data.angle+Math.PI/2;this.data.force[0]+=b*Math.cos(c),this.data.force[1]+=b*Math.sin(c)},thrustLeft:function(a){var b=this.world.pxmi(-a),c=this.data.angle;this.data.force[0]+=b*Math.cos(c),this.data.force[1]+=b*Math.sin(c)},thrustRight:function(a){var b=this.world.pxmi(-a),c=this.data.angle;this.data.force[0]-=b*Math.cos(c),this.data.force[1]-=b*Math.sin(c)},reverse:function(a){var b=this.world.pxmi(-a),c=this.data.angle+Math.PI/2;this.data.force[0]-=b*Math.cos(c),this.data.force[1]-=b*Math.sin(c); +},moveLeft:function(a){this.data.velocity[0]=this.world.pxmi(-a)},moveRight:function(a){this.data.velocity[0]=this.world.pxmi(a)},moveUp:function(a){this.data.velocity[1]=this.world.pxmi(-a)},moveDown:function(a){this.data.velocity[1]=this.world.pxmi(a)},preUpdate:function(){this.dirty=!0,this.removeNextStep&&(this.removeFromWorld(),this.removeNextStep=!1)},postUpdate:function(){this.sprite.x=this.world.mpxi(this.data.position[0])+this.offset.x,this.sprite.y=this.world.mpxi(this.data.position[1])+this.offset.y,this.fixedRotation||(this.sprite.rotation=this.data.angle),this.debugBody&&this.debugBody.updateSpriteTransform(),this.dirty=!1},reset:function(a,b,c,d){void 0===c&&(c=!1),void 0===d&&(d=!1),this.setZeroForce(),this.setZeroVelocity(),this.setZeroRotation(),c&&this.setZeroDamping(),d&&(this.mass=1),this.x=a,this.y=b},addToWorld:function(){if(this.game.physics.p2._toRemove)for(var a=0;a=0;c--)this.data.shapes[c].material=a;else b.material=a},shapeChanged:function(){this.debugBody&&this.debugBody.draw()},addPhaserPolygon:function(a,b){for(var c=this.game.cache.getPhysicsData(a,b),d=[],e=0;eo;e=0<=o?++n:--n)k=b.vertices[e],p2.vec2.rotate(m,k,a),l.push([(m[0]+i[0])*this.ppu,-(m[1]+i[1])*this.ppu]);this.drawConvex(j,l,b.triangles,f,c,g,this.settings.debugPolygons,[i[0]*this.ppu,-i[1]*this.ppu])}d++}}},drawRectangle:function(a,b,c,d,e,f,g,h,i){void 0===i&&(i=1),void 0===g&&(g=0),a.lineStyle(i,g,1),a.beginFill(h),a.drawRect(b-e/2,c-f/2,e,f)},drawCircle:function(a,b,c,d,e,f,g){void 0===g&&(g=1),void 0===f&&(f=16777215),a.lineStyle(g,0,1),a.beginFill(f,1),a.drawCircle(b,c,2*-e),a.endFill(),a.moveTo(b,c),a.lineTo(b+e*Math.cos(-d),c+e*Math.sin(-d))},drawLine:function(a,b,c,d){void 0===d&&(d=1),void 0===c&&(c=0),a.lineStyle(5*d,c,1),a.moveTo(-b/2,0),a.lineTo(b/2,0)},drawConvex:function(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q,r,s;if(void 0===f&&(f=1),void 0===d&&(d=0),g){for(i=[16711680,65280,255],j=0;j!==b.length+1;)l=b[j%b.length],m=b[(j+1)%b.length],o=l[0],r=l[1],p=m[0],s=m[1],a.lineStyle(f,i[j%i.length],1),a.moveTo(o,-r),a.lineTo(p,-s),a.drawCircle(o,-r,2*f),j++;return a.lineStyle(f,0,1),a.drawCircle(h[0],h[1],2*f)}for(a.lineStyle(f,d,1),a.beginFill(e),j=0;j!==b.length;)k=b[j],n=k[0],q=k[1],0===j?a.moveTo(n,-q):a.lineTo(n,-q),j++;if(a.endFill(),b.length>2)return a.moveTo(b[b.length-1][0],-b[b.length-1][1]),a.lineTo(b[0][0],-b[0][1])},drawPath:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r;for(void 0===e&&(e=1),void 0===c&&(c=0),a.lineStyle(e,c,1),"number"==typeof d&&a.beginFill(d),h=null,i=null,g=0;g2&&"number"==typeof d&&(a.moveTo(b[b.length-1][0],b[b.length-1][1]),a.lineTo(b[0][0],b[0][1]))},drawPlane:function(a,b,c,d,e,f,g,h,i,j){var k,l,m;void 0===f&&(f=1),void 0===d&&(d=16777215),a.lineStyle(f,e,11),a.beginFill(d),k=i,a.moveTo(b,-c),l=b+Math.cos(j)*this.game.width,m=c+Math.sin(j)*this.game.height,a.lineTo(l,-m),a.moveTo(b,-c),l=b+Math.cos(j)*-this.game.width,m=c+Math.sin(j)*-this.game.height,a.lineTo(l,-m)},drawCapsule:function(a,b,c,d,e,f,g,h,i){void 0===i&&(i=1),void 0===g&&(g=0),a.lineStyle(i,g,1);var j=Math.cos(d),k=Math.sin(d);a.beginFill(h,1),a.drawCircle(-e/2*j+b,-e/2*k+c,2*-f),a.drawCircle(e/2*j+b,e/2*k+c,2*-f),a.endFill(),a.lineStyle(i,g,0),a.beginFill(h,1),a.moveTo(-e/2*j+f*k+b,-e/2*k+f*j+c),a.lineTo(e/2*j+f*k+b,e/2*k+f*j+c),a.lineTo(e/2*j-f*k+b,e/2*k-f*j+c),a.lineTo(-e/2*j-f*k+b,-e/2*k-f*j+c),a.endFill(),a.lineStyle(i,g,1),a.moveTo(-e/2*j+f*k+b,-e/2*k+f*j+c),a.lineTo(e/2*j+f*k+b,e/2*k+f*j+c),a.moveTo(-e/2*j-f*k+b,-e/2*k-f*j+c),a.lineTo(e/2*j-f*k+b,e/2*k-f*j+c)},randomPastelHex:function(){var a,b,c,d;return c=[255,255,255],d=Math.floor(256*Math.random()),b=Math.floor(256*Math.random()),a=Math.floor(256*Math.random()),d=Math.floor((d+3*c[0])/4),b=Math.floor((b+3*c[1])/4),a=Math.floor((a+3*c[2])/4),this.rgbToHex(d,b,a)},rgbToHex:function(a,b,c){return this.componentToHex(a)+this.componentToHex(b)+this.componentToHex(c)},componentToHex:function(a){var b;return b=a.toString(16),2===b.length?b:b+"0"}}),c.Physics.P2.Spring=function(a,b,c,d,e,f,g,h,i,j){this.game=a.game,this.world=a,void 0===d&&(d=1),void 0===e&&(e=100),void 0===f&&(f=1),d=a.pxm(d);var k={restLength:d,stiffness:e,damping:f};"undefined"!=typeof g&&null!==g&&(k.worldAnchorA=[a.pxm(g[0]),a.pxm(g[1])]),"undefined"!=typeof h&&null!==h&&(k.worldAnchorB=[a.pxm(h[0]),a.pxm(h[1])]),"undefined"!=typeof i&&null!==i&&(k.localAnchorA=[a.pxm(i[0]),a.pxm(i[1])]),"undefined"!=typeof j&&null!==j&&(k.localAnchorB=[a.pxm(j[0]),a.pxm(j[1])]),this.data=new p2.LinearSpring(b,c,k),this.data.parent=this},c.Physics.P2.Spring.prototype.constructor=c.Physics.P2.Spring,c.Physics.P2.RotationalSpring=function(a,b,c,d,e,f){this.game=a.game,this.world=a,void 0===d&&(d=null),void 0===e&&(e=100),void 0===f&&(f=1),d&&(d=a.pxm(d));var g={restAngle:d,stiffness:e,damping:f};this.data=new p2.RotationalSpring(b,c,g),this.data.parent=this},c.Physics.P2.Spring.prototype.constructor=c.Physics.P2.Spring,c.Physics.P2.Material=function(a){this.name=a,p2.Material.call(this)},c.Physics.P2.Material.prototype=Object.create(p2.Material.prototype),c.Physics.P2.Material.prototype.constructor=c.Physics.P2.Material,c.Physics.P2.ContactMaterial=function(a,b,c){p2.ContactMaterial.call(this,a,b,c)},c.Physics.P2.ContactMaterial.prototype=Object.create(p2.ContactMaterial.prototype),c.Physics.P2.ContactMaterial.prototype.constructor=c.Physics.P2.ContactMaterial,c.Physics.P2.CollisionGroup=function(a){this.mask=a},c.Physics.P2.DistanceConstraint=function(a,b,c,d,e,f,g){void 0===d&&(d=100),void 0===e&&(e=[0,0]),void 0===f&&(f=[0,0]),void 0===g&&(g=Number.MAX_VALUE),this.game=a.game,this.world=a,d=a.pxm(d),e=[a.pxmi(e[0]),a.pxmi(e[1])],f=[a.pxmi(f[0]),a.pxmi(f[1])];var h={distance:d,localAnchorA:e,localAnchorB:f,maxForce:g};p2.DistanceConstraint.call(this,b,c,h)},c.Physics.P2.DistanceConstraint.prototype=Object.create(p2.DistanceConstraint.prototype),c.Physics.P2.DistanceConstraint.prototype.constructor=c.Physics.P2.DistanceConstraint,c.Physics.P2.GearConstraint=function(a,b,c,d,e){void 0===d&&(d=0),void 0===e&&(e=1),this.game=a.game,this.world=a;var f={angle:d,ratio:e};p2.GearConstraint.call(this,b,c,f)},c.Physics.P2.GearConstraint.prototype=Object.create(p2.GearConstraint.prototype),c.Physics.P2.GearConstraint.prototype.constructor=c.Physics.P2.GearConstraint,c.Physics.P2.LockConstraint=function(a,b,c,d,e,f){void 0===d&&(d=[0,0]),void 0===e&&(e=0),void 0===f&&(f=Number.MAX_VALUE),this.game=a.game,this.world=a,d=[a.pxm(d[0]),a.pxm(d[1])];var g={localOffsetB:d,localAngleB:e,maxForce:f};p2.LockConstraint.call(this,b,c,g)},c.Physics.P2.LockConstraint.prototype=Object.create(p2.LockConstraint.prototype),c.Physics.P2.LockConstraint.prototype.constructor=c.Physics.P2.LockConstraint,c.Physics.P2.PrismaticConstraint=function(a,b,c,d,e,f,g,h){void 0===d&&(d=!0),void 0===e&&(e=[0,0]),void 0===f&&(f=[0,0]),void 0===g&&(g=[0,0]),void 0===h&&(h=Number.MAX_VALUE),this.game=a.game,this.world=a,e=[a.pxmi(e[0]),a.pxmi(e[1])],f=[a.pxmi(f[0]),a.pxmi(f[1])];var i={localAnchorA:e,localAnchorB:f,localAxisA:g,maxForce:h,disableRotationalLock:!d};p2.PrismaticConstraint.call(this,b,c,i)},c.Physics.P2.PrismaticConstraint.prototype=Object.create(p2.PrismaticConstraint.prototype),c.Physics.P2.PrismaticConstraint.prototype.constructor=c.Physics.P2.PrismaticConstraint,c.Physics.P2.RevoluteConstraint=function(a,b,c,d,e,f,g){void 0===f&&(f=Number.MAX_VALUE),void 0===g&&(g=null),this.game=a.game,this.world=a,c=[a.pxmi(c[0]),a.pxmi(c[1])],e=[a.pxmi(e[0]),a.pxmi(e[1])],g&&(g=[a.pxmi(g[0]),a.pxmi(g[1])]);var h={worldPivot:g,localPivotA:c,localPivotB:e,maxForce:f};p2.RevoluteConstraint.call(this,b,d,h)},c.Physics.P2.RevoluteConstraint.prototype=Object.create(p2.RevoluteConstraint.prototype),c.Physics.P2.RevoluteConstraint.prototype.constructor=c.Physics.P2.RevoluteConstraint,c.ImageCollection=function(a,b,c,d,e,f,g){(void 0===c||c<=0)&&(c=32),(void 0===d||d<=0)&&(d=32),void 0===e&&(e=0),void 0===f&&(f=0),this.name=a,this.firstgid=0|b,this.imageWidth=0|c,this.imageHeight=0|d,this.imageMargin=0|e,this.imageSpacing=0|f,this.properties=g||{},this.images=[],this.total=0},c.ImageCollection.prototype={containsImageIndex:function(a){return a>=this.firstgid&&athis.right||b>this.bottom)},intersects:function(a,b,c,d){return!(c<=this.worldX)&&(!(d<=this.worldY)&&(!(a>=this.worldX+this.width)&&!(b>=this.worldY+this.height)))},setCollisionCallback:function(a,b){this.collisionCallback=a,this.collisionCallbackContext=b},destroy:function(){this.collisionCallback=null,this.collisionCallbackContext=null,this.properties=null},setCollision:function(a,b,c,d){this.collideLeft=a,this.collideRight=b,this.collideUp=c,this.collideDown=d,this.faceLeft=a,this.faceRight=b,this.faceTop=c,this.faceBottom=d},resetCollision:function(){this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1,this.faceTop=!1,this.faceBottom=!1,this.faceLeft=!1,this.faceRight=!1},isInteresting:function(a,b){return a&&b?this.collideLeft||this.collideRight||this.collideUp||this.collideDown||this.faceTop||this.faceBottom||this.faceLeft||this.faceRight||this.collisionCallback:a?this.collideLeft||this.collideRight||this.collideUp||this.collideDown:!!b&&(this.faceTop||this.faceBottom||this.faceLeft||this.faceRight)},copy:function(a){this.index=a.index,this.alpha=a.alpha,this.properties=a.properties,this.collideUp=a.collideUp,this.collideDown=a.collideDown,this.collideLeft=a.collideLeft,this.collideRight=a.collideRight,this.collisionCallback=a.collisionCallback,this.collisionCallbackContext=a.collisionCallbackContext}},c.Tile.prototype.constructor=c.Tile,Object.defineProperty(c.Tile.prototype,"collides",{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown}}),Object.defineProperty(c.Tile.prototype,"canCollide",{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown||this.collisionCallback}}),Object.defineProperty(c.Tile.prototype,"left",{get:function(){return this.worldX}}),Object.defineProperty(c.Tile.prototype,"right",{get:function(){return this.worldX+this.width}}),Object.defineProperty(c.Tile.prototype,"top",{get:function(){return this.worldY}}),Object.defineProperty(c.Tile.prototype,"bottom",{get:function(){return this.worldY+this.height}}),c.Tilemap=function(a,b,d,e,f,g){this.game=a,this.key=b;var h=c.TilemapParser.parse(this.game,b,d,e,f,g);null!==h&&(this.width=h.width,this.height=h.height,this.tileWidth=h.tileWidth,this.tileHeight=h.tileHeight,this.orientation=h.orientation,this.format=h.format,this.version=h.version,this.properties=h.properties,this.widthInPixels=h.widthInPixels,this.heightInPixels=h.heightInPixels,this.layers=h.layers,this.tilesets=h.tilesets,this.imagecollections=h.imagecollections,this.tiles=h.tiles,this.objects=h.objects,this.collideIndexes=[],this.collision=h.collision,this.images=h.images,this.enableDebug=!1,this.currentLayer=0,this.debugMap=[],this._results=[],this._tempA=0,this._tempB=0)},c.Tilemap.CSV=0,c.Tilemap.TILED_JSON=1,c.Tilemap.NORTH=0,c.Tilemap.EAST=1,c.Tilemap.SOUTH=2,c.Tilemap.WEST=3,c.Tilemap.prototype={create:function(a,b,c,d,e,f){return void 0===f&&(f=this.game.world),this.width=b,this.height=c,this.setTileSize(d,e),this.layers.length=0,this.createBlankLayer(a,b,c,d,e,f)},setTileSize:function(a,b){this.tileWidth=a,this.tileHeight=b,this.widthInPixels=this.width*a,this.heightInPixels=this.height*b},addTilesetImage:function(a,b,d,e,f,g,h){if(void 0===a)return null;void 0===d&&(d=this.tileWidth),void 0===e&&(e=this.tileHeight),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),0===d&&(d=32),0===e&&(e=32);var i=null;if(void 0!==b&&null!==b||(b=a),b instanceof c.BitmapData)i=b.canvas;else{if(!this.game.cache.checkImageKey(b))return console.warn('Phaser.Tilemap.addTilesetImage: Invalid image key given: "'+b+'"'),null;i=this.game.cache.getImage(b)}var j=this.getTilesetIndex(a);if(null===j&&this.format===c.Tilemap.TILED_JSON)return console.warn('Phaser.Tilemap.addTilesetImage: No data found in the JSON matching the tileset name: "'+a+'"'),null;if(this.tilesets[j])return this.tilesets[j].setImage(i),this.tilesets[j];var k=new c.Tileset(a,h,d,e,f,g,{});k.setImage(i),this.tilesets.push(k);for(var l=this.tilesets.length-1,m=f,n=f,o=0,p=0,q=0,r=h;r1)for(l=0;lthis.layers.length)return void console.warn("Tilemap.createLayer: Invalid layer ID given: "+f);void 0===b||b<=0?b=Math.min(this.game.width,this.layers[f].widthInPixels):b>this.game.width&&(b=this.game.width),void 0===d||d<=0?d=Math.min(this.game.height,this.layers[f].heightInPixels):d>this.game.height&&(d=this.game.height),this.enableDebug&&(console.group("Tilemap.createLayer"),console.log("Name:",this.layers[f].name),console.log("Size:",b,"x",d),console.log("Tileset:",this.tilesets[0].name,"index:",f));var g=e.add(new c.TilemapLayer(this.game,this,f,b,d));return this.enableDebug&&console.groupEnd(),g},createBlankLayer:function(a,b,d,e,f,g){if(void 0===g&&(g=this.game.world),null!==this.getLayerIndex(a))return void console.warn("Tilemap.createBlankLayer: Layer with matching name already exists: "+a);for(var h,i={name:a,x:0,y:0,width:b,height:d,widthInPixels:b*e,heightInPixels:d*f,alpha:1,visible:!0,properties:{},indexes:[],callbacks:[],bodies:[],data:null},j=[],k=0;kthis.game.width&&(m=this.game.width),n>this.game.height&&(n=this.game.height);var j=new c.TilemapLayer(this.game,this,this.layers.length-1,m,n);return j.name=a,g.add(j)},getIndex:function(a,b){for(var c=0;cb)){for(var f=a;f<=b;f++)this.setCollisionByIndex(f,c,d,!1);e&&this.calculateFaces(d)}},setCollisionByExclusion:function(a,b,c,d){void 0===b&&(b=!0),void 0===d&&(d=!0),c=this.getLayer(c);for(var e=0,f=this.tiles.length;e-1&&this.collideIndexes.splice(e,1)}for(var f=0;f0?this.layers[a].data[c-1][b]:null},getTileBelow:function(a,b,c){return c0?this.layers[a].data[c][b-1]:null},getTileRight:function(a,b,c){return b-1},removeTile:function(a,b,d){if(d=this.getLayer(d),a>=0&&a=0&&b=0&&b=0&&d-1?this.layers[e].data[d][b].setCollision(!0,!0,!0,!0):this.layers[e].data[d][b].resetCollision(),this.layers[e].dirty=!0,this.calculateFaces(e),this.layers[e].data[d][b]}return null},putTileWorldXY:function(a,b,c,d,e,f){return f=this.getLayer(f),b=this.game.math.snapToFloor(b,d)/d,c=this.game.math.snapToFloor(c,e)/e,this.putTile(a,b,c,f)},searchTileIndex:function(a,b,c,d){void 0===b&&(b=0),void 0===c&&(c=!1),d=this.getLayer(d);var e=0;if(c){for(var f=this.layers[d].height-1;f>=0;f--)for(var g=this.layers[d].width-1;g>=0;g--)if(this.layers[d].data[f][g].index===a){if(e===b)return this.layers[d].data[f][g];e++}}else for(var f=0;f=0&&a=0&&bthis.layers[e].width&&(c=this.layers[e].width),d>this.layers[e].height&&(d=this.layers[e].height),this._results.length=0,this._results.push({x:a,y:b,width:c,height:d,layer:e});for(var f=b;f1?this.debugMap[this.layers[this.currentLayer].data[c][d]]?b.push("background: "+this.debugMap[this.layers[this.currentLayer].data[c][d]]):b.push("background: #ffffff"):b.push("background: rgb(0, 0, 0)");a+="\n"}b[0]=a,console.log.apply(console,b)},destroy:function(){this.removeAllLayers(),this.data=[],this.game=null}},c.Tilemap.prototype.constructor=c.Tilemap,Object.defineProperty(c.Tilemap.prototype,"layer",{get:function(){return this.layers[this.currentLayer]},set:function(a){a!==this.currentLayer&&this.setLayer(a)}}),c.TilemapLayer=function(a,b,d,e,f){e|=0,f|=0,c.Sprite.call(this,a,0,0),this.map=b,this.index=d,this.layer=b.layers[d],this.canvas=PIXI.CanvasPool.create(this,e,f),this.context=this.canvas.getContext("2d"),this.setTexture(new PIXI.Texture(new PIXI.BaseTexture(this.canvas))),this.type=c.TILEMAPLAYER,this.physicsType=c.TILEMAPLAYER,this.renderSettings={enableScrollDelta:!1,overdrawRatio:.2,copyCanvas:null},this.debug=!1,this.exists=!0,this.debugSettings={missingImageFill:"rgb(255,255,255)",debuggedTileOverfill:"rgba(0,255,0,0.4)",forceFullRedraw:!0,debugAlpha:.5,facingEdgeStroke:"rgba(0,255,0,1)",collidingTileOverfill:"rgba(0,255,0,0.2)"},this.scrollFactorX=1,this.scrollFactorY=1,this.dirty=!0,this.rayStepRate=4,this._wrap=!1,this._mc={scrollX:0,scrollY:0,renderWidth:0,renderHeight:0,tileWidth:b.tileWidth,tileHeight:b.tileHeight,cw:b.tileWidth,ch:b.tileHeight,tilesets:[]},this._scrollX=0,this._scrollY=0,this._results=[],a.device.canvasBitBltShift||(this.renderSettings.copyCanvas=c.TilemapLayer.ensureSharedCopyCanvas()),this.fixedToCamera=!0},c.TilemapLayer.prototype=Object.create(c.Sprite.prototype),c.TilemapLayer.prototype.constructor=c.TilemapLayer,c.TilemapLayer.prototype.preUpdateCore=c.Component.Core.preUpdate,c.TilemapLayer.sharedCopyCanvas=null,c.TilemapLayer.ensureSharedCopyCanvas=function(){return this.sharedCopyCanvas||(this.sharedCopyCanvas=PIXI.CanvasPool.create(this,2,2)),this.sharedCopyCanvas},c.TilemapLayer.prototype.preUpdate=function(){return this.preUpdateCore()},c.TilemapLayer.prototype.postUpdate=function(){this.fixedToCamera&&(this.position.x=(this.game.camera.view.x+this.cameraOffset.x)/this.game.camera.scale.x,this.position.y=(this.game.camera.view.y+this.cameraOffset.y)/this.game.camera.scale.y),this._scrollX=this.game.camera.view.x*this.scrollFactorX/this.scale.x,this._scrollY=this.game.camera.view.y*this.scrollFactorY/this.scale.y},c.TilemapLayer.prototype._renderCanvas=function(a){this.fixedToCamera&&(this.position.x=(this.game.camera.view.x+this.cameraOffset.x)/this.game.camera.scale.x,this.position.y=(this.game.camera.view.y+this.cameraOffset.y)/this.game.camera.scale.y),this._scrollX=this.game.camera.view.x*this.scrollFactorX/this.scale.x,this._scrollY=this.game.camera.view.y*this.scrollFactorY/this.scale.y,this.render(),PIXI.Sprite.prototype._renderCanvas.call(this,a)},c.TilemapLayer.prototype._renderWebGL=function(a){this.fixedToCamera&&(this.position.x=(this.game.camera.view.x+this.cameraOffset.x)/this.game.camera.scale.x,this.position.y=(this.game.camera.view.y+this.cameraOffset.y)/this.game.camera.scale.y),this._scrollX=this.game.camera.view.x*this.scrollFactorX/this.scale.x,this._scrollY=this.game.camera.view.y*this.scrollFactorY/this.scale.y,this.render(),PIXI.Sprite.prototype._renderWebGL.call(this,a)},c.TilemapLayer.prototype.destroy=function(){PIXI.CanvasPool.remove(this),c.Component.Destroy.prototype.destroy.call(this)},c.TilemapLayer.prototype.resize=function(a,b){this.canvas.width=a,this.canvas.height=b,this.texture.frame.resize(a,b),this.texture.width=a,this.texture.height=b,this.texture.crop.width=a,this.texture.crop.height=b,this.texture.baseTexture.width=a,this.texture.baseTexture.height=b,this.texture.baseTexture.dirty(),this.texture.requiresUpdate=!0,this.texture._updateUvs(),this.dirty=!0},c.TilemapLayer.prototype.resizeWorld=function(){this.game.world.setBounds(0,0,this.layer.widthInPixels*this.scale.x,this.layer.heightInPixels*this.scale.y)},c.TilemapLayer.prototype._fixX=function(a){return 1===this.scrollFactorX||0===this.scrollFactorX&&0===this.position.x?a:0===this.scrollFactorX&&0!==this.position.x?a-this.position.x:this._scrollX+(a-this._scrollX/this.scrollFactorX)},c.TilemapLayer.prototype._unfixX=function(a){return 1===this.scrollFactorX?a:this._scrollX/this.scrollFactorX+(a-this._scrollX)},c.TilemapLayer.prototype._fixY=function(a){return 1===this.scrollFactorY||0===this.scrollFactorY&&0===this.position.y?a:0===this.scrollFactorY&&0!==this.position.y?a-this.position.y:this._scrollY+(a-this._scrollY/this.scrollFactorY)},c.TilemapLayer.prototype._unfixY=function(a){return 1===this.scrollFactorY?a:this._scrollY/this.scrollFactorY+(a-this._scrollY)},c.TilemapLayer.prototype.getTileX=function(a){return Math.floor(this._fixX(a)/this._mc.tileWidth)},c.TilemapLayer.prototype.getTileY=function(a){return Math.floor(this._fixY(a)/this._mc.tileHeight)},c.TilemapLayer.prototype.getTileXY=function(a,b,c){return c.x=this.getTileX(a),c.y=this.getTileY(b),c},c.TilemapLayer.prototype.getRayCastTiles=function(a,b,c,d){b||(b=this.rayStepRate),void 0===c&&(c=!1),void 0===d&&(d=!1);var e=this.getTiles(a.x,a.y,a.width,a.height,c,d);if(0===e.length)return[];for(var f=a.coordinatesOnLine(b),g=[],h=0;h=0;q++,s--,o+=k){q>=i&&(q-=i);var x=this.layer.data[q];for(p=v,r=e-c,n=t;r>=0;p++,r--,n+=j){p>=h&&(p-=h);var y=x[p];if(y&&!(y.index<0)){var z=y.index,A=l[z];void 0===A&&(A=this.resolveTileset(z)),y.alpha===m||this.debug||(g.globalAlpha=y.alpha,m=y.alpha),A?y.rotation||y.flipped?(g.save(),g.translate(n+y.centerX,o+y.centerY),g.rotate(y.rotation),y.flipped&&g.scale(-1,1),A.draw(g,-y.centerX,-y.centerY,z),g.restore()):A.draw(g,n,o,z):this.debugSettings.missingImageFill&&(g.fillStyle=this.debugSettings.missingImageFill,g.fillRect(n,o,j,k)),y.debug&&this.debugSettings.debuggedTileOverfill&&(g.fillStyle=this.debugSettings.debuggedTileOverfill,g.fillRect(n,o,j,k))}}}},c.TilemapLayer.prototype.renderDeltaScroll=function(a,b){var c=this._mc.scrollX,d=this._mc.scrollY,e=this.canvas.width,f=this.canvas.height,g=this._mc.tileWidth,h=this._mc.tileHeight,i=0,j=-g,k=0,l=-h;if(a<0?(i=e+a,j=e-1):a>0&&(j=a),b<0?(k=f+b,l=f-1):b>0&&(l=b),this.shiftCanvas(this.context,a,b),i=Math.floor((i+c)/g),j=Math.floor((j+c)/g),k=Math.floor((k+d)/h),l=Math.floor((l+d)/h),i<=j){this.context.clearRect(i*g-c,0,(j-i+1)*g,f);var m=Math.floor((0+d)/h),n=Math.floor((f-1+d)/h);this.renderRegion(c,d,i,m,j,n)}if(k<=l){this.context.clearRect(0,k*h-d,e,(l-k+1)*h);var o=Math.floor((0+c)/g),p=Math.floor((e-1+c)/g);this.renderRegion(c,d,o,k,p,l)}},c.TilemapLayer.prototype.renderFull=function(){var a=this._mc.scrollX,b=this._mc.scrollY,c=this.canvas.width,d=this.canvas.height,e=this._mc.tileWidth,f=this._mc.tileHeight,g=Math.floor(a/e),h=Math.floor((c-1+a)/e),i=Math.floor(b/f),j=Math.floor((d-1+b)/f);this.context.clearRect(0,0,c,d),this.renderRegion(a,b,g,i,h,j)},c.TilemapLayer.prototype.render=function(){var a=!1;if(this.visible){(this.dirty||this.layer.dirty)&&(this.layer.dirty=!1,a=!0);var b=this.canvas.width,c=this.canvas.height,d=0|this._scrollX,e=0|this._scrollY,f=this._mc,g=f.scrollX-d,h=f.scrollY-e;if(a||0!==g||0!==h||f.renderWidth!==b||f.renderHeight!==c)return this.context.save(),f.scrollX=d,f.scrollY=e,f.renderWidth===b&&f.renderHeight===c||(f.renderWidth=b,f.renderHeight=c),this.debug&&(this.context.globalAlpha=this.debugSettings.debugAlpha,this.debugSettings.forceFullRedraw&&(a=!0)),!a&&this.renderSettings.enableScrollDelta&&Math.abs(g)+Math.abs(h)=0;d++,f--,b+=o){d>=m&&(d-=m);var x=this.layer.data[d];for(c=v,e=q-p,a=t;e>=0;c++,e--,a+=n){c>=l&&(c-=l);var y=x[c];!y||y.index<0||!y.collides||(this.debugSettings.collidingTileOverfill&&(i.fillStyle=this.debugSettings.collidingTileOverfill,i.fillRect(a,b,this._mc.cw,this._mc.ch)),this.debugSettings.facingEdgeStroke&&(i.beginPath(),y.faceTop&&(i.moveTo(a,b),i.lineTo(a+this._mc.cw,b)),y.faceBottom&&(i.moveTo(a,b+this._mc.ch),i.lineTo(a+this._mc.cw,b+this._mc.ch)),y.faceLeft&&(i.moveTo(a,b),i.lineTo(a,b+this._mc.ch)),y.faceRight&&(i.moveTo(a+this._mc.cw,b),i.lineTo(a+this._mc.cw,b+this._mc.ch)),i.closePath(),i.stroke()))}}},Object.defineProperty(c.TilemapLayer.prototype,"wrap",{get:function(){return this._wrap},set:function(a){this._wrap=a,this.dirty=!0}}),Object.defineProperty(c.TilemapLayer.prototype,"scrollX",{get:function(){return this._scrollX},set:function(a){this._scrollX=a}}),Object.defineProperty(c.TilemapLayer.prototype,"scrollY",{get:function(){return this._scrollY},set:function(a){this._scrollY=a}}),Object.defineProperty(c.TilemapLayer.prototype,"collisionWidth",{get:function(){return this._mc.cw},set:function(a){this._mc.cw=0|a,this.dirty=!0}}),Object.defineProperty(c.TilemapLayer.prototype,"collisionHeight",{get:function(){return this._mc.ch},set:function(a){this._mc.ch=0|a,this.dirty=!0}}),c.TilemapParser={INSERT_NULL:!1,parse:function(a,b,d,e,f,g){if(void 0===d&&(d=32),void 0===e&&(e=32),void 0===f&&(f=10),void 0===g&&(g=10),void 0===b)return this.getEmptyData();if(null===b)return this.getEmptyData(d,e,f,g);var h=a.cache.getTilemapData(b);if(h){if(h.format===c.Tilemap.CSV)return this.parseCSV(b,h.data,d,e);if(!h.format||h.format===c.Tilemap.TILED_JSON)return this.parseTiledJSON(h.data)}else console.warn("Phaser.TilemapParser.parse - No map data found for key "+b)},parseCSV:function(a,b,d,e){var f=this.getEmptyData();b=b.trim();for(var g=[],h=b.split("\n"),i=h.length,j=0,k=0;k>>0;g.data=j,delete g.encoding}else if(g.compression){console.warn("TilemapParser.parseTiledJSON - Layer compression is unsupported, skipping layer '"+g.name+"'");continue}var l={name:g.name,x:g.x,y:g.y,width:g.width,height:g.height,widthInPixels:g.width*a.tilewidth,heightInPixels:g.height*a.tileheight,alpha:g.opacity,visible:g.visible,properties:{},indexes:[],callbacks:[],bodies:[]};g.properties&&(l.properties=g.properties);for(var m,n,o,p,q=0,r=[],s=[],t=0,i=g.data.length;t536870912)switch(p>2147483648&&(p-=2147483648,o+=4),p>1073741824&&(p-=1073741824,o+=2),p>536870912&&(p-=536870912,o+=1),o){case 5:m=Math.PI/2;break;case 6:m=Math.PI;break;case 3:m=3*Math.PI/2;break;case 4:m=0,n=!0;break;case 7:m=Math.PI/2,n=!0;break;case 2:m=Math.PI,n=!0;break;case 1:m=3*Math.PI/2,n=!0}if(p>0){var u=new c.Tile(l,p,q,s.length,a.tilewidth,a.tileheight);u.rotation=m,u.flipped=n,0!==o&&(u.flippedVal=o),r.push(u)}else c.TilemapParser.INSERT_NULL?r.push(null):r.push(new c.Tile(l,(-1),q,s.length,a.tilewidth,a.tileheight));q++,q===g.width&&(s.push(r),q=0,r=[])}l.data=s,e.push(l)}d.layers=e;for(var v=[],f=0;f=0&&e+1=this.firstgid&&a=this._timer)if(this._timer=this.game.time.time+this.frequency*this.game.time.slowMotion,0!==this._flowTotal)if(this._flowQuantity>0){for(var a=0;a=this._flowTotal)){this.on=!1;break}}else this.emitParticle()&&(this._counter++,this._flowTotal!==-1&&this._counter>=this._flowTotal&&(this.on=!1));else this.emitParticle()&&(this._counter++,this._quantity>0&&this._counter>=this._quantity&&(this.on=!1));for(var a=this.children.length;a--;)this.children[a].exists&&this.children[a].update()},c.Particles.Arcade.Emitter.prototype.makeParticles=function(a,b,c,d,e){void 0===b&&(b=0),void 0===c&&(c=this.maxParticles),void 0===d&&(d=!1),void 0===e&&(e=!1);var f,g=0,h=a,i=b;for(this._frames=b,c>this.maxParticles&&(this.maxParticles=c);gthis.maxParticles&&(c=this.maxParticles),this._counter=0,this._flowQuantity=c,this._flowTotal=d,e?(this.start(!0,a,b,c),this._counter+=c,this.on=!0,this._timer=this.game.time.time+b*this.game.time.slowMotion):this.start(!1,a,b,c),this},c.Particles.Arcade.Emitter.prototype.start=function(a,b,c,d,e){if(void 0===a&&(a=!0),void 0===b&&(b=0),void 0!==c&&null!==c||(c=250),void 0===d&&(d=0),void 0===e&&(e=!1),d>this.maxParticles&&(d=this.maxParticles),this.revive(),this.visible=!0,this.lifespan=b,this.frequency=c,a||e)for(var f=0;f1&&(g=f.between(this.left,this.right)),null!==b?h=b:this.height>1&&(h=f.between(this.top,this.bottom)),e.reset(g,h),e.angle=0,e.lifespan=this.lifespan,this.particleBringToTop?this.bringToTop(e):this.particleSendToBack&&this.sendToBack(e),this.autoScale?e.setScaleData(this.scaleData):1!==this.minParticleScale||1!==this.maxParticleScale?e.scale.set(f.realInRange(this.minParticleScale,this.maxParticleScale)):this._minParticleScale.x===this._maxParticleScale.x&&this._minParticleScale.y===this._maxParticleScale.y||e.scale.set(f.realInRange(this._minParticleScale.x,this._maxParticleScale.x),f.realInRange(this._minParticleScale.y,this._maxParticleScale.y)),void 0===d&&(Array.isArray(this._frames)?e.frame=this.game.rnd.pick(this._frames):e.frame=this._frames),this.autoAlpha?e.setAlphaData(this.alphaData):e.alpha=f.realInRange(this.minParticleAlpha,this.maxParticleAlpha),e.blendMode=this.blendMode;var i=e.body;return i.updateBounds(),i.bounce.copyFrom(this.bounce),i.drag.copyFrom(this.particleDrag),i.velocity.x=f.between(this.minParticleSpeed.x,this.maxParticleSpeed.x),i.velocity.y=f.between(this.minParticleSpeed.y,this.maxParticleSpeed.y),i.angularVelocity=f.between(this.minRotation,this.maxRotation),i.gravity.y=this.gravity,i.angularDrag=this.angularDrag,e.onEmit(),!0},c.Particles.Arcade.Emitter.prototype.destroy=function(){this.game.particles.remove(this),c.Group.prototype.destroy.call(this,!0,!1)},c.Particles.Arcade.Emitter.prototype.setSize=function(a,b){return this.area.width=a,this.area.height=b,this},c.Particles.Arcade.Emitter.prototype.setXSpeed=function(a,b){return a=a||0,b=b||0,this.minParticleSpeed.x=a,this.maxParticleSpeed.x=b,this},c.Particles.Arcade.Emitter.prototype.setYSpeed=function(a,b){return a=a||0,b=b||0,this.minParticleSpeed.y=a,this.maxParticleSpeed.y=b,this},c.Particles.Arcade.Emitter.prototype.setRotation=function(a,b){return a=a||0,b=b||0,this.minRotation=a,this.maxRotation=b,this},c.Particles.Arcade.Emitter.prototype.setAlpha=function(a,b,d,e,f){if(void 0===a&&(a=1),void 0===b&&(b=1),void 0===d&&(d=0),void 0===e&&(e=c.Easing.Linear.None),void 0===f&&(f=!1),this.minParticleAlpha=a,this.maxParticleAlpha=b,this.autoAlpha=!1,d>0&&a!==b){var g={v:a},h=this.game.make.tween(g).to({v:b},d,e);h.yoyo(f),this.alphaData=h.generateData(60),this.alphaData.reverse(),this.autoAlpha=!0}return this},c.Particles.Arcade.Emitter.prototype.setScale=function(a,b,d,e,f,g,h){if(void 0===a&&(a=1),void 0===b&&(b=1),void 0===d&&(d=1),void 0===e&&(e=1),void 0===f&&(f=0),void 0===g&&(g=c.Easing.Linear.None),void 0===h&&(h=!1),this.minParticleScale=1,this.maxParticleScale=1,this._minParticleScale.set(a,d),this._maxParticleScale.set(b,e),this.autoScale=!1,f>0&&(a!==b||d!==e)){var i={x:a,y:d},j=this.game.make.tween(i).to({x:b,y:e},f,g);j.yoyo(h),this.scaleData=j.generateData(60),this.scaleData.reverse(),this.autoScale=!0}return this},c.Particles.Arcade.Emitter.prototype.at=function(a){return a.center?(this.emitX=a.center.x,this.emitY=a.center.y):(this.emitX=a.world.x+a.anchor.x*a.width,this.emitY=a.world.y+a.anchor.y*a.height),this},Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"width",{get:function(){return this.area.width},set:function(a){this.area.width=a}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"height",{get:function(){return this.area.height},set:function(a){this.area.height=a}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"x",{get:function(){return this.emitX},set:function(a){this.emitX=a}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"y",{get:function(){return this.emitY},set:function(a){this.emitY=a}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"left",{get:function(){return Math.floor(this.x-this.area.width/2)}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"right",{get:function(){return Math.floor(this.x+this.area.width/2)}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"top",{get:function(){return Math.floor(this.y-this.area.height/2)}}),Object.defineProperty(c.Particles.Arcade.Emitter.prototype,"bottom",{get:function(){return Math.floor(this.y+this.area.height/2); +}}),c.Weapon=function(a,b){c.Plugin.call(this,a,b),this.bullets=null,this.autoExpandBulletsGroup=!1,this.autofire=!1,this.shots=0,this.fireLimit=0,this.fireRate=100,this.fireRateVariance=0,this.fireFrom=new c.Rectangle(0,0,1,1),this.fireAngle=c.ANGLE_UP,this.bulletInheritSpriteSpeed=!1,this.bulletAnimation="",this.bulletFrameRandom=!1,this.bulletFrameCycle=!1,this.bulletWorldWrap=!1,this.bulletWorldWrapPadding=0,this.bulletAngleOffset=0,this.bulletAngleVariance=0,this.bulletSpeed=200,this.bulletSpeedVariance=0,this.bulletLifespan=0,this.bulletKillDistance=0,this.bulletGravity=new c.Point(0,0),this.bulletRotateToVelocity=!1,this.bulletKey="",this.bulletFrame="",this._bulletClass=c.Bullet,this._bulletCollideWorldBounds=!1,this._bulletKillType=c.Weapon.KILL_WORLD_BOUNDS,this._data={customBody:!1,width:0,height:0,offsetX:0,offsetY:0},this.bounds=new c.Rectangle,this.bulletBounds=a.world.bounds,this.bulletFrames=[],this.bulletFrameIndex=0,this.anims={},this.onFire=new c.Signal,this.onKill=new c.Signal,this.onFireLimit=new c.Signal,this.trackedSprite=null,this.trackedPointer=null,this.trackRotation=!1,this.trackOffset=new c.Point,this._nextFire=0,this._rotatedPoint=new c.Point},c.Weapon.prototype=Object.create(c.Plugin.prototype),c.Weapon.prototype.constructor=c.Weapon,c.Weapon.KILL_NEVER=0,c.Weapon.KILL_LIFESPAN=1,c.Weapon.KILL_DISTANCE=2,c.Weapon.KILL_WEAPON_BOUNDS=3,c.Weapon.KILL_CAMERA_BOUNDS=4,c.Weapon.KILL_WORLD_BOUNDS=5,c.Weapon.KILL_STATIC_BOUNDS=6,c.Weapon.prototype.createBullets=function(a,b,d,e){return void 0===a&&(a=1),void 0===e&&(e=this.game.world),this.bullets||(this.bullets=this.game.add.physicsGroup(c.Physics.ARCADE,e),this.bullets.classType=this._bulletClass),0!==a&&(a===-1&&(this.autoExpandBulletsGroup=!0,a=1),this.bullets.createMultiple(a,b,d),this.bullets.setAll("data.bulletManager",this),this.bulletKey=b,this.bulletFrame=d),this},c.Weapon.prototype.forEach=function(a,b){return this.bullets.forEachExists(a,b,arguments),this},c.Weapon.prototype.pauseAll=function(){return this.bullets.setAll("body.enable",!1),this},c.Weapon.prototype.resumeAll=function(){return this.bullets.setAll("body.enable",!0),this},c.Weapon.prototype.killAll=function(){return this.bullets.callAllExists("kill",!0),this.bullets.setAll("body.enable",!0),this},c.Weapon.prototype.resetShots=function(a){return this.shots=0,void 0!==a&&(this.fireLimit=a),this},c.Weapon.prototype.destroy=function(){this.parent.remove(this,!1),this.bullets.destroy(),this.game=null,this.parent=null,this.active=!1,this.visible=!1},c.Weapon.prototype.update=function(){this._bulletKillType===c.Weapon.KILL_WEAPON_BOUNDS&&(this.trackedSprite?(this.trackedSprite.updateTransform(),this.bounds.centerOn(this.trackedSprite.worldPosition.x,this.trackedSprite.worldPosition.y)):this.trackedPointer&&this.bounds.centerOn(this.trackedPointer.worldX,this.trackedPointer.worldY)),this.autofire&&this.fire()},c.Weapon.prototype.trackSprite=function(a,b,c,d){return void 0===b&&(b=0),void 0===c&&(c=0),void 0===d&&(d=!1),this.trackedPointer=null,this.trackedSprite=a,this.trackRotation=d,this.trackOffset.set(b,c),this},c.Weapon.prototype.trackPointer=function(a,b,c){return void 0===a&&(a=this.game.input.activePointer),void 0===b&&(b=0),void 0===c&&(c=0),this.trackedPointer=a,this.trackedSprite=null,this.trackRotation=!1,this.trackOffset.set(b,c),this},c.Weapon.prototype.fire=function(a,b,d){if(this.game.time.now0&&this.shots===this.fireLimit)return!1;var e=this.bulletSpeed;0!==this.bulletSpeedVariance&&(e+=c.Math.between(-this.bulletSpeedVariance,this.bulletSpeedVariance)),a?this.fireFrom.width>1?this.fireFrom.centerOn(a.x,a.y):(this.fireFrom.x=a.x,this.fireFrom.y=a.y):this.trackedSprite?(this.trackRotation?(this._rotatedPoint.set(this.trackedSprite.world.x+this.trackOffset.x,this.trackedSprite.world.y+this.trackOffset.y),this._rotatedPoint.rotate(this.trackedSprite.world.x,this.trackedSprite.world.y,this.trackedSprite.rotation),this.fireFrom.width>1?this.fireFrom.centerOn(this._rotatedPoint.x,this._rotatedPoint.y):(this.fireFrom.x=this._rotatedPoint.x,this.fireFrom.y=this._rotatedPoint.y)):this.fireFrom.width>1?this.fireFrom.centerOn(this.trackedSprite.world.x+this.trackOffset.x,this.trackedSprite.world.y+this.trackOffset.y):(this.fireFrom.x=this.trackedSprite.world.x+this.trackOffset.x,this.fireFrom.y=this.trackedSprite.world.y+this.trackOffset.y),this.bulletInheritSpriteSpeed&&(e+=this.trackedSprite.body.speed)):this.trackedPointer&&(this.fireFrom.width>1?this.fireFrom.centerOn(this.trackedPointer.world.x+this.trackOffset.x,this.trackedPointer.world.y+this.trackOffset.y):(this.fireFrom.x=this.trackedPointer.world.x+this.trackOffset.x,this.fireFrom.y=this.trackedPointer.world.y+this.trackOffset.y));var f=this.fireFrom.width>1?this.fireFrom.randomX:this.fireFrom.x,g=this.fireFrom.height>1?this.fireFrom.randomY:this.fireFrom.y,h=this.trackRotation?this.trackedSprite.angle:this.fireAngle;void 0!==b&&void 0!==d&&(h=this.game.math.radToDeg(Math.atan2(d-g,b-f))),0!==this.bulletAngleVariance&&(h+=c.Math.between(-this.bulletAngleVariance,this.bulletAngleVariance));var i=0,j=0;0===h||180===h?i=Math.cos(this.game.math.degToRad(h))*e:90===h||270===h?j=Math.sin(this.game.math.degToRad(h))*e:(i=Math.cos(this.game.math.degToRad(h))*e,j=Math.sin(this.game.math.degToRad(h))*e);var k=null;if(this.autoExpandBulletsGroup?(k=this.bullets.getFirstExists(!1,!0,f,g,this.bulletKey,this.bulletFrame),k.data.bulletManager=this):k=this.bullets.getFirstExists(!1),k){if(k.reset(f,g),k.data.fromX=f,k.data.fromY=g,k.data.killType=this.bulletKillType,k.data.killDistance=this.bulletKillDistance,k.data.rotateToVelocity=this.bulletRotateToVelocity,this.bulletKillType===c.Weapon.KILL_LIFESPAN&&(k.lifespan=this.bulletLifespan),k.angle=h+this.bulletAngleOffset,""!==this.bulletAnimation){if(null===k.animations.getAnimation(this.bulletAnimation)){var l=this.anims[this.bulletAnimation];k.animations.add(l.name,l.frames,l.frameRate,l.loop,l.useNumericIndex)}k.animations.play(this.bulletAnimation)}else this.bulletFrameCycle?(k.frame=this.bulletFrames[this.bulletFrameIndex],this.bulletFrameIndex++,this.bulletFrameIndex>=this.bulletFrames.length&&(this.bulletFrameIndex=0)):this.bulletFrameRandom&&(k.frame=this.bulletFrames[Math.floor(Math.random()*this.bulletFrames.length)]);if(k.data.bodyDirty&&(this._data.customBody&&k.body.setSize(this._data.width,this._data.height,this._data.offsetX,this._data.offsetY),k.body.collideWorldBounds=this.bulletCollideWorldBounds,k.data.bodyDirty=!1),k.body.velocity.set(i,j),k.body.gravity.set(this.bulletGravity.x,this.bulletGravity.y),0!==this.bulletSpeedVariance){var m=this.fireRate;m+=c.Math.between(-this.fireRateVariance,this.fireRateVariance),m<0&&(m=0),this._nextFire=this.game.time.now+m}else this._nextFire=this.game.time.now+this.fireRate;this.shots++,this.onFire.dispatch(k,this,e),this.fireLimit>0&&this.shots===this.fireLimit&&this.onFireLimit.dispatch(this,this.fireLimit)}return k},c.Weapon.prototype.fireAtPointer=function(a){return void 0===a&&(a=this.game.input.activePointer),this.fire(null,a.worldX,a.worldY)},c.Weapon.prototype.fireAtSprite=function(a){return this.fire(null,a.world.x,a.world.y)},c.Weapon.prototype.fireAtXY=function(a,b){return this.fire(null,a,b)},c.Weapon.prototype.setBulletBodyOffset=function(a,b,c,d){return void 0===c&&(c=0),void 0===d&&(d=0),this._data.customBody=!0,this._data.width=a,this._data.height=b,this._data.offsetX=c,this._data.offsetY=d,this.bullets.callAll("body.setSize","body",a,b,c,d),this.bullets.setAll("data.bodyDirty",!1),this},c.Weapon.prototype.setBulletFrames=function(a,b,d,e){return void 0===d&&(d=!0),void 0===e&&(e=!1),this.bulletFrames=c.ArrayUtils.numberArray(a,b),this.bulletFrameIndex=0,this.bulletFrameCycle=d,this.bulletFrameRandom=e,this},c.Weapon.prototype.addBulletAnimation=function(a,b,c,d,e){return this.anims[a]={name:a,frames:b,frameRate:c,loop:d,useNumericIndex:e},this.bullets.callAll("animations.add","animations",a,b,c,d,e),this.bulletAnimation=a,this},c.Weapon.prototype.debug=function(a,b,c){void 0===a&&(a=16),void 0===b&&(b=32),void 0===c&&(c=!1),this.game.debug.text("Weapon Plugin",a,b),this.game.debug.text("Bullets Alive: "+this.bullets.total+" - Total: "+this.bullets.length,a,b+24),c&&this.bullets.forEachExists(this.game.debug.body,this.game.debug,"rgba(255, 0, 255, 0.8)")},Object.defineProperty(c.Weapon.prototype,"bulletClass",{get:function(){return this._bulletClass},set:function(a){this._bulletClass=a,this.bullets.classType=this._bulletClass}}),Object.defineProperty(c.Weapon.prototype,"bulletKillType",{get:function(){return this._bulletKillType},set:function(a){switch(a){case c.Weapon.KILL_STATIC_BOUNDS:case c.Weapon.KILL_WEAPON_BOUNDS:this.bulletBounds=this.bounds;break;case c.Weapon.KILL_CAMERA_BOUNDS:this.bulletBounds=this.game.camera.view;break;case c.Weapon.KILL_WORLD_BOUNDS:this.bulletBounds=this.game.world.bounds}this._bulletKillType=a}}),Object.defineProperty(c.Weapon.prototype,"bulletCollideWorldBounds",{get:function(){return this._bulletCollideWorldBounds},set:function(a){this._bulletCollideWorldBounds=a,this.bullets.setAll("body.collideWorldBounds",a),this.bullets.setAll("data.bodyDirty",!1)}}),Object.defineProperty(c.Weapon.prototype,"x",{get:function(){return this.fireFrom.x},set:function(a){this.fireFrom.x=a}}),Object.defineProperty(c.Weapon.prototype,"y",{get:function(){return this.fireFrom.y},set:function(a){this.fireFrom.y=a}}),c.Bullet=function(a,b,d,e,f){c.Sprite.call(this,a,b,d,e,f),this.anchor.set(.5),this.data={bulletManager:null,fromX:0,fromY:0,bodyDirty:!0,rotateToVelocity:!1,killType:0,killDistance:0}},c.Bullet.prototype=Object.create(c.Sprite.prototype),c.Bullet.prototype.constructor=c.Bullet,c.Bullet.prototype.kill=function(){return this.alive=!1,this.exists=!1,this.visible=!1,this.data.bulletManager.onKill.dispatch(this),this},c.Bullet.prototype.update=function(){this.exists&&(this.data.killType>c.Weapon.KILL_LIFESPAN&&(this.data.killType===c.Weapon.KILL_DISTANCE?this.game.physics.arcade.distanceToXY(this,this.data.fromX,this.data.fromY,!0)>this.data.killDistance&&this.kill():this.data.bulletManager.bulletBounds.intersects(this)||this.kill()),this.data.rotateToVelocity&&(this.rotation=Math.atan2(this.body.velocity.y,this.body.velocity.x)),this.data.bulletManager.bulletWorldWrap&&this.game.world.wrap(this,this.data.bulletManager.bulletWorldWrapPadding))},c.Video=function(a,b,d){if(void 0===b&&(b=null),void 0===d&&(d=null),this.game=a,this.key=b,this.width=0,this.height=0,this.type=c.VIDEO,this.disableTextureUpload=!1,this.touchLocked=!1,this.onPlay=new c.Signal,this.onChangeSource=new c.Signal,this.onComplete=new c.Signal,this.onAccess=new c.Signal,this.onError=new c.Signal,this.onTimeout=new c.Signal,this.timeout=15e3,this._timeOutID=null,this.video=null,this.videoStream=null,this.isStreaming=!1,this.retryLimit=20,this.retry=0,this.retryInterval=500,this._retryID=null,this._codeMuted=!1,this._muted=!1,this._codePaused=!1,this._paused=!1,this._pending=!1,this._autoplay=!1,this._endCallback=null,this._playCallback=null,b&&this.game.cache.checkVideoKey(b)){var e=this.game.cache.getVideo(b);e.isBlob?this.createVideoFromBlob(e.data):this.video=e.data,this.width=this.video.videoWidth,this.height=this.video.videoHeight}else d&&this.createVideoFromURL(d,!1);this.video&&!d?(this.baseTexture=new PIXI.BaseTexture(this.video),this.baseTexture.forceLoaded(this.width,this.height)):(this.baseTexture=new PIXI.BaseTexture(c.Cache.DEFAULT.baseTexture.source),this.baseTexture.forceLoaded(this.width,this.height)),this.texture=new PIXI.Texture(this.baseTexture),this.textureFrame=new c.Frame(0,0,0,this.width,this.height,"video"),this.texture.setFrame(this.textureFrame),this.texture.valid=!1,null!==b&&this.video&&(this.texture.valid=this.video.canplay),this.snapshot=null,c.BitmapData&&(this.snapshot=new c.BitmapData(this.game,"",this.width,this.height)),!this.game.device.cocoonJS&&(this.game.device.iOS||this.game.device.android)||window.PhaserGlobal&&window.PhaserGlobal.fakeiOSTouchLock?this.setTouchLock():e&&(e.locked=!1)},c.Video.prototype={connectToMediaStream:function(a,b){return a&&b&&(this.video=a,this.videoStream=b,this.isStreaming=!0,this.baseTexture.source=this.video,this.updateTexture(null,this.video.videoWidth,this.video.videoHeight),this.onAccess.dispatch(this)),this},startMediaStream:function(a,b,c){if(void 0===a&&(a=!1),void 0===b&&(b=null),void 0===c&&(c=null),!this.game.device.getUserMedia)return this.onError.dispatch(this,"No getUserMedia"),!1;null!==this.videoStream&&(this.videoStream.active?this.videoStream.active=!1:this.videoStream.stop()),this.removeVideoElement(),this.video=document.createElement("video"),this.video.setAttribute("autoplay","autoplay"),null!==b&&(this.video.width=b),null!==c&&(this.video.height=c),this._timeOutID=window.setTimeout(this.getUserMediaTimeout.bind(this),this.timeout);try{navigator.getUserMedia({audio:a,video:!0},this.getUserMediaSuccess.bind(this),this.getUserMediaError.bind(this))}catch(a){this.getUserMediaError(a)}return this},getUserMediaTimeout:function(){clearTimeout(this._timeOutID),this.onTimeout.dispatch(this)},getUserMediaError:function(a){clearTimeout(this._timeOutID),this.onError.dispatch(this,a)},getUserMediaSuccess:function(a){clearTimeout(this._timeOutID),this.videoStream=a,void 0!==this.video.mozSrcObject?this.video.mozSrcObject=a:this.video.src=window.URL&&window.URL.createObjectURL(a)||a;var b=this;this.video.onloadeddata=function(){function a(){if(c>0)if(b.video.videoWidth>0){var d=b.video.videoWidth,e=b.video.videoHeight;isNaN(b.video.videoHeight)&&(e=d/(4/3)),b.video.play(),b.isStreaming=!0,b.baseTexture.source=b.video,b.updateTexture(null,d,e),b.onAccess.dispatch(b)}else window.setTimeout(a,500);else console.warn("Unable to connect to video stream. Webcam error?");c--}var c=10;a()}},createVideoFromBlob:function(a){var b=this;return this.video=document.createElement("video"),this.video.controls=!1,this.video.setAttribute("autoplay","autoplay"),this.video.addEventListener("loadeddata",function(a){b.updateTexture(a)},!0),this.video.src=window.URL.createObjectURL(a),this.video.canplay=!0,this},createVideoFromURL:function(a,b){return void 0===b&&(b=!1),this.texture&&(this.texture.valid=!1),this.video=document.createElement("video"),this.video.controls=!1,b&&this.video.setAttribute("autoplay","autoplay"),this.video.src=a,this.video.canplay=!0,this.video.load(),this.retry=this.retryLimit,this._retryID=window.setTimeout(this.checkVideoProgress.bind(this),this.retryInterval),this.key=a,this},updateTexture:function(a,b,c){var d=!1;void 0!==b&&null!==b||(b=this.video.videoWidth,d=!0),void 0!==c&&null!==c||(c=this.video.videoHeight),this.width=b,this.height=c,this.baseTexture.source!==this.video&&(this.baseTexture.source=this.video),this.baseTexture.forceLoaded(b,c),this.texture.frame.resize(b,c),this.texture.width=b,this.texture.height=c,this.texture.valid=!0,this.snapshot&&this.snapshot.resize(b,c),d&&null!==this.key&&(this.onChangeSource.dispatch(this,b,c),this._autoplay&&(this.video.play(),this.onPlay.dispatch(this,this.loop,this.playbackRate)))},complete:function(){this.onComplete.dispatch(this)},play:function(a,b){return void 0===a&&(a=!1),void 0===b&&(b=1),this.game.sound.onMute&&(this.game.sound.onMute.add(this.setMute,this),this.game.sound.onUnMute.add(this.unsetMute,this),this.game.sound.mute&&this.setMute()),this.game.onPause.add(this.setPause,this),this.game.onResume.add(this.setResume,this),this._endCallback=this.complete.bind(this),this.video.addEventListener("ended",this._endCallback,!0),this.video.addEventListener("webkitendfullscreen",this._endCallback,!0),a?this.video.loop="loop":this.video.loop="",this.video.playbackRate=b,this.touchLocked?this._pending=!0:(this._pending=!1,null!==this.key&&(4!==this.video.readyState?(this.retry=this.retryLimit,this._retryID=window.setTimeout(this.checkVideoProgress.bind(this),this.retryInterval)):(this._playCallback=this.playHandler.bind(this),this.video.addEventListener("playing",this._playCallback,!0))),this.video.play(),this.onPlay.dispatch(this,a,b)),this},playHandler:function(){this.video.removeEventListener("playing",this._playCallback,!0),this.updateTexture()},stop:function(){return this.game.sound.onMute&&(this.game.sound.onMute.remove(this.setMute,this),this.game.sound.onUnMute.remove(this.unsetMute,this)),this.game.onPause.remove(this.setPause,this),this.game.onResume.remove(this.setResume,this),this.isStreaming?(this.video.mozSrcObject?(this.video.mozSrcObject.stop(),this.video.src=null):(this.video.src="",this.videoStream.active?this.videoStream.active=!1:this.videoStream.getTracks?this.videoStream.getTracks().forEach(function(a){a.stop()}):this.videoStream.stop()),this.videoStream=null,this.isStreaming=!1):(this.video.removeEventListener("ended",this._endCallback,!0),this.video.removeEventListener("webkitendfullscreen",this._endCallback,!0),this.video.removeEventListener("playing",this._playCallback,!0),this.touchLocked?this._pending=!1:this.video.pause()),this},add:function(a){if(Array.isArray(a))for(var b=0;b0?this._retryID=window.setTimeout(this.checkVideoProgress.bind(this),this.retryInterval):console.warn("Phaser.Video: Unable to start downloading video in time",this.isStreaming))},setTouchLock:function(){this.game.input.touch.addTouchLockCallback(this.unlock,this),this.touchLocked=!0},unlock:function(){if(this.touchLocked=!1,this.video.play(),this.onPlay.dispatch(this,this.loop,this.playbackRate),this.key){var a=this.game.cache.getVideo(this.key);a&&!a.isBlob&&(a.locked=!1)}return!0},grab:function(a,b,c){return void 0===a&&(a=!1),void 0===b&&(b=1),void 0===c&&(c=null),null===this.snapshot?void console.warn("Video.grab cannot run because Phaser.BitmapData is unavailable"):(a&&this.snapshot.cls(),this.snapshot.copy(this.video,0,0,this.width,this.height,0,0,this.width,this.height,0,0,0,1,1,b,c),this.snapshot)},removeVideoElement:function(){if(this.video){for(this.video.parentNode&&this.video.parentNode.removeChild(this.video);this.video.hasChildNodes();)this.video.removeChild(this.video.firstChild);this.video.removeAttribute("autoplay"),this.video.removeAttribute("src"),this.video=null}},destroy:function(){this.stop(),this.removeVideoElement(),this.touchLocked&&this.game.input.touch.removeTouchLockCallback(this.unlock,this),this._retryID&&window.clearTimeout(this._retryID)}},Object.defineProperty(c.Video.prototype,"currentTime",{get:function(){return this.video?this.video.currentTime:0},set:function(a){this.video.currentTime=a}}),Object.defineProperty(c.Video.prototype,"duration",{get:function(){return this.video?this.video.duration:0}}),Object.defineProperty(c.Video.prototype,"progress",{get:function(){return this.video?this.video.currentTime/this.video.duration:0}}),Object.defineProperty(c.Video.prototype,"mute",{get:function(){return this._muted},set:function(a){if(a=a||null){if(this._muted)return;this._codeMuted=!0,this.setMute()}else{if(!this._muted)return;this._codeMuted=!1,this.unsetMute()}}}),Object.defineProperty(c.Video.prototype,"paused",{get:function(){return this._paused},set:function(a){if(a=a||null,!this.touchLocked)if(a){if(this._paused)return;this._codePaused=!0,this.setPause()}else{if(!this._paused)return;this._codePaused=!1,this.setResume()}}}),Object.defineProperty(c.Video.prototype,"volume",{get:function(){return this.video?this.video.volume:1},set:function(a){a<0?a=0:a>1&&(a=1),this.video&&(this.video.volume=a)}}),Object.defineProperty(c.Video.prototype,"playbackRate",{get:function(){return this.video?this.video.playbackRate:1},set:function(a){this.video&&(this.video.playbackRate=a)}}),Object.defineProperty(c.Video.prototype,"loop",{get:function(){return!!this.video&&this.video.loop},set:function(a){a&&this.video?this.video.loop="loop":this.video&&(this.video.loop="")}}),Object.defineProperty(c.Video.prototype,"playing",{get:function(){return!(this.video.paused&&this.video.ended)}}),c.Video.prototype.constructor=c.Video,void 0===PIXI.blendModes&&(PIXI.blendModes=c.blendModes),void 0===PIXI.scaleModes&&(PIXI.scaleModes=c.scaleModes),void 0===PIXI.Texture.emptyTexture&&(PIXI.Texture.emptyTexture=new PIXI.Texture(new PIXI.BaseTexture)),void 0===PIXI.DisplayObject._tempMatrix&&(PIXI.DisplayObject._tempMatrix=new PIXI.Matrix),void 0===PIXI.RenderTexture.tempMatrix&&(PIXI.RenderTexture.tempMatrix=new PIXI.Matrix),PIXI.Graphics&&void 0===PIXI.Graphics.POLY&&(PIXI.Graphics.POLY=c.POLYGON,PIXI.Graphics.RECT=c.RECTANGLE,PIXI.Graphics.CIRC=c.CIRCLE,PIXI.Graphics.ELIP=c.ELLIPSE,PIXI.Graphics.RREC=c.ROUNDEDRECTANGLE),PIXI.TextureSilentFail=!0,"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=c),exports.Phaser=c):"undefined"!=typeof define&&define.amd?define("Phaser",function(){return b.Phaser=c}()):b.Phaser=c,c}.call(this); diff --git a/games/RaftWars2/js/plugin-api-poki.js b/games/RaftWars2/js/plugin-api-poki.js new file mode 100644 index 00000000..df16bb27 --- /dev/null +++ b/games/RaftWars2/js/plugin-api-poki.js @@ -0,0 +1,97 @@ +Phaser.Plugin.API_POKI = function(game, parent) { + Phaser.Plugin.call(this, game, parent); + + this.game = game; + this.api_GamePause = null; + this.api_GameContinue = null; + this.api_isAdblock = false; + + this.bannerContainer = document.getElementById('banner'); + this.isBannerAdded = false; +}; + +Phaser.Plugin.API_POKI.prototype = Object.create(Phaser.Plugin.prototype); +Phaser.Plugin.API_POKI.prototype.constructor = Phaser.Plugin.StateTransition; + +Phaser.Plugin.API_POKI.prototype.initAPI = function(api_GamePause, api_GameContinue) { + PokiSDK.init().then( + () => { + // successfully initialized + console.log("PokiSDK initialized"); + // continue to game + } + ).catch( + () => { + this.api_isAdblock = true; + // initialized but the user has an adblock + console.log("Adblock enabled"); + // feel free to kindly ask the user to disable AdBlock, like forcing weird usernames or showing a sad face; be creative! + // continue to the game + } + ); + + this.api_GamePause = api_GamePause; + this.api_GameContinue = api_GameContinue; + + // PokiSDK.setDebug(true); +}; + +Phaser.Plugin.API_POKI.prototype.gameLoadingStart = function() { + PokiSDK.gameLoadingStart(); +}; + +Phaser.Plugin.API_POKI.prototype.gameLoadingFinished = function() { + PokiSDK.gameLoadingFinished(); +}; + +Phaser.Plugin.API_POKI.prototype.gameLoadingProgress = function(data) { + PokiSDK.gameLoadingProgress(data); +}; + +Phaser.Plugin.API_POKI.prototype.gameplayStart = function() { + PokiSDK.gameplayStart(); +}; + +Phaser.Plugin.API_POKI.prototype.gameplayStop = function() { + PokiSDK.gameplayStop(); +}; + +Phaser.Plugin.API_POKI.prototype.happyTime = function(value) { + PokiSDK.happyTime(value); +}; + +Phaser.Plugin.API_POKI.prototype.commercialBreak = function() { + this.api_GamePause(); + + PokiSDK.commercialBreak().then( + () => { + console.log("Commercial Break finished"); + this.api_GameContinue(); + } + ); +}; + +Phaser.Plugin.API_POKI.prototype.rewardedBreak = function() { + this.api_GamePause(); + + PokiSDK.rewardedBreak().then( + (withReward) => { + console.log(`Should the user get a reward? ${withReward}`); + MainGame.getReward(withReward); + this.api_GameContinue(); + } + ); +}; + +Phaser.Plugin.API_POKI.prototype.displayAd = function() { + if(this.isBannerAdded) return; + PokiSDK.displayAd(this.bannerContainer, '320x50'); + // PokiSDK.displayAd(this.bannerContainer, '728x90'); + this.isBannerAdded = true; +} + +Phaser.Plugin.API_POKI.prototype.destroyAd = function() { + if(!this.isBannerAdded) return; + PokiSDK.destroyAd(this.bannerContainer); + this.isBannerAdded = false; +} diff --git a/games/RaftWars2/poki-sdk-core-v2.263.0.js b/games/RaftWars2/poki-sdk-core-v2.263.0.js new file mode 100644 index 00000000..9534a65c --- /dev/null +++ b/games/RaftWars2/poki-sdk-core-v2.263.0.js @@ -0,0 +1,4916 @@ +(() => { + var e = { + 564: (e, t, i) => { + var n, r, o; + ! function(i, a) { + if (i) { + var s = {}, + d = i.TraceKit, + A = [].slice, + c = "?", + l = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/; + s.noConflict = function() { + return i.TraceKit = d, s + }, s.wrap = function(e) { + return function() { + try { + return e.apply(this, arguments) + } catch (e) { + throw s.report(e), e + } + } + }, s.report = function() { + var e, t, n, r, o = [], + a = null, + d = null; + + function A(e, t, i) { + var n = null; + if (!t || s.collectWindowErrors) { + for (var r in o) + if (u(o, r)) try { + o[r](e, t, i) + } catch (e) { + n = e + } + if (n) throw n + } + } + + function c(t, i, n, r, o) { + if (d) s.computeStackTrace.augmentStackTraceWithInitialElement(d, i, n, t), h(); + else if (o) A(s.computeStackTrace(o), !0, o); + else { + var a, c = { + url: i, + line: n, + column: r + }, + u = t; + if ("[object String]" === {}.toString.call(t)) { + var p = t.match(l); + p && (a = p[1], u = p[2]) + } + c.func = s.computeStackTrace.guessFunctionName(c.url, c.line), c.context = s.computeStackTrace.gatherContext(c.url, c.line), A({ + name: a, + message: u, + mode: "onerror", + stack: [c] + }, !0, null) + } + return !!e && e.apply(this, arguments) + } + + function p(e) { + A(s.computeStackTrace(e.reason), !0, e.reason) + } + + function h() { + var e = d, + t = a; + d = null, a = null, A(e, !1, t) + } + + function m(e) { + if (d) { + if (a === e) return; + h() + } + var t = s.computeStackTrace(e); + throw d = t, a = e, setTimeout((function() { + a === e && h() + }), t.incomplete ? 2e3 : 0), e + } + return m.subscribe = function(a) { + ! function() { + if (!0 === t) return; + e = i.onerror, i.onerror = c, t = !0 + }(), + function() { + if (!0 === r) return; + n = i.onunhandledrejection, i.onunhandledrejection = p, r = !0 + }(), o.push(a) + }, m.unsubscribe = function(a) { + for (var s = o.length - 1; s >= 0; --s) o[s] === a && o.splice(s, 1); + 0 === o.length && (t && (i.onerror = e, t = !1), r && (i.onunhandledrejection = n, r = !1)) + }, m + }(), s.computeStackTrace = function() { + var e = !1, + t = {}; + + function n(e) { + if ("string" != typeof e) return []; + if (!u(t, e)) { + var n = "", + r = ""; + try { + r = i.document.domain + } catch (e) {} + var o = /(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(e); + o && o[2] === r && (n = function(e) { + if (!s.remoteFetching) return ""; + try { + var t = function() { + try { + return new i.XMLHttpRequest + } catch (e) { + return new i.ActiveXObject("Microsoft.XMLHTTP") + } + }(); + return t.open("GET", e, !1), t.send(""), t.responseText + } catch (e) { + return "" + } + }(e)), t[e] = n ? n.split("\n") : [] + } + return t[e] + } + + function r(e, t) { + var i, r = /function ([^(]*)\(([^)]*)\)/, + o = /['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/, + a = "", + s = n(e); + if (!s.length) return c; + for (var d = 0; d < 10; ++d) + if (!p(a = s[t - d] + a)) { + if (i = o.exec(a)) return i[1]; + if (i = r.exec(a)) return i[1] + } return c + } + + function o(e, t) { + var i = n(e); + if (!i.length) return null; + var r = [], + o = Math.floor(s.linesOfContext / 2), + a = o + s.linesOfContext % 2, + d = Math.max(0, t - o - 1), + A = Math.min(i.length, t + a - 1); + t -= 1; + for (var c = d; c < A; ++c) p(i[c]) || r.push(i[c]); + return r.length > 0 ? r : null + } + + function a(e) { + return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&") + } + + function d(e) { + return a(e).replace("<", "(?:<|<)").replace(">", "(?:>|>)").replace("&", "(?:&|&)").replace('"', '(?:"|")').replace(/\s+/g, "\\s+") + } + + function A(e, t) { + for (var i, r, o = 0, a = t.length; o < a; ++o) + if ((i = n(t[o])).length && (i = i.join("\n"), r = e.exec(i))) return { + url: t[o], + line: i.substring(0, r.index).split("\n").length, + column: r.index - i.lastIndexOf("\n", r.index) - 1 + }; + return null + } + + function l(e, t, i) { + var r, o = n(t), + s = new RegExp("\\b" + a(e) + "\\b"); + return i -= 1, o && o.length > i && (r = s.exec(o[i])) ? r.index : null + } + + function h(e) { + if (!p(i && i.document)) { + for (var t, n, r, o, s = [i.location.href], c = i.document.getElementsByTagName("script"), l = "" + e, u = 0; u < c.length; ++u) { + var h = c[u]; + h.src && s.push(h.src) + } + if (r = /^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)) { + var m = r[1] ? "\\s+" + r[1] : "", + g = r[2].split(",").join("\\s*,\\s*"); + t = a(r[3]).replace(/;$/, ";?"), n = new RegExp("function" + m + "\\s*\\(\\s*" + g + "\\s*\\)\\s*{\\s*" + t + "\\s*}") + } else n = new RegExp(a(l).replace(/\s+/g, "\\s+")); + if (o = A(n, s)) return o; + if (r = /^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/.exec(l)) { + var f = r[1]; + if (t = d(r[2]), o = A(n = new RegExp("on" + f + "=[\\'\"]\\s*" + t + "\\s*[\\'\"]", "i"), s[0])) return o; + if (o = A(n = new RegExp(t), s)) return o + } + return null + } + } + + function m(e) { + if (!e.stack) return null; + for (var t, i, n, a = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, s = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i, d = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i, A = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, u = /\((\S*)(?::(\d+))(?::(\d+))\)/, h = e.stack.split("\n"), m = [], g = /^(.*) is undefined$/.exec(e.message), f = 0, v = h.length; f < v; ++f) { + if (i = a.exec(h[f])) { + var b = i[2] && 0 === i[2].indexOf("native"); + i[2] && 0 === i[2].indexOf("eval") && (t = u.exec(i[2])) && (i[2] = t[1], i[3] = t[2], i[4] = t[3]), n = { + url: b ? null : i[2], + func: i[1] || c, + args: b ? [i[2]] : [], + line: i[3] ? +i[3] : null, + column: i[4] ? +i[4] : null + } + } else if (i = d.exec(h[f])) n = { + url: i[2], + func: i[1] || c, + args: [], + line: +i[3], + column: i[4] ? +i[4] : null + }; + else { + if (!(i = s.exec(h[f]))) continue; + i[3] && i[3].indexOf(" > eval") > -1 && (t = A.exec(i[3])) ? (i[3] = t[1], i[4] = t[2], i[5] = null) : 0 !== f || i[5] || p(e.columnNumber) || (m[0].column = e.columnNumber + 1), n = { + url: i[3], + func: i[1] || c, + args: i[2] ? i[2].split(",") : [], + line: i[4] ? +i[4] : null, + column: i[5] ? +i[5] : null + } + }!n.func && n.line && (n.func = r(n.url, n.line)), n.context = n.line ? o(n.url, n.line) : null, m.push(n) + } + return m.length ? (m[0] && m[0].line && !m[0].column && g && (m[0].column = l(g[1], m[0].url, m[0].line)), { + mode: "stack", + name: e.name, + message: e.message, + stack: m + }) : null + } + + function g(e, t, i, n) { + var a = { + url: t, + line: i + }; + if (a.url && a.line) { + e.incomplete = !1, a.func || (a.func = r(a.url, a.line)), a.context || (a.context = o(a.url, a.line)); + var s = / '([^']+)' /.exec(n); + if (s && (a.column = l(s[1], a.url, a.line)), e.stack.length > 0 && e.stack[0].url === a.url) { + if (e.stack[0].line === a.line) return !1; + if (!e.stack[0].line && e.stack[0].func === a.func) return e.stack[0].line = a.line, e.stack[0].context = a.context, !1 + } + return e.stack.unshift(a), e.partial = !0, !0 + } + return e.incomplete = !0, !1 + } + + function f(e, t) { + for (var i, n, o, a = /function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i, d = [], A = {}, u = !1, p = f.caller; p && !u; p = p.caller) + if (p !== v && p !== s.report) { + if (n = { + url: null, + func: c, + args: [], + line: null, + column: null + }, p.name ? n.func = p.name : (i = a.exec(p.toString())) && (n.func = i[1]), void 0 === n.func) try { + n.func = i.input.substring(0, i.input.indexOf("{")) + } catch (e) {} + if (o = h(p)) { + n.url = o.url, n.line = o.line, n.func === c && (n.func = r(n.url, n.line)); + var m = / '([^']+)' /.exec(e.message || e.description); + m && (n.column = l(m[1], o.url, o.line)) + } + A["" + p] ? u = !0 : A["" + p] = !0, d.push(n) + } t && d.splice(0, t); + var b = { + mode: "callers", + name: e.name, + message: e.message, + stack: d + }; + return g(b, e.sourceURL || e.fileName, e.line || e.lineNumber, e.message || e.description), b + } + + function v(t, a) { + var s = null; + a = null == a ? 0 : +a; + try { + if (s = function(e) { + var t = e.stacktrace; + if (t) { + for (var i, n = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i, a = / line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i, s = t.split("\n"), d = [], A = 0; A < s.length; A += 2) { + var c = null; + if ((i = n.exec(s[A])) ? c = { + url: i[2], + line: +i[1], + column: null, + func: i[3], + args: [] + } : (i = a.exec(s[A])) && (c = { + url: i[6], + line: +i[1], + column: +i[2], + func: i[3] || i[4], + args: i[5] ? i[5].split(",") : [] + }), c) { + if (!c.func && c.line && (c.func = r(c.url, c.line)), c.line) try { + c.context = o(c.url, c.line) + } catch (e) {} + c.context || (c.context = [s[A + 1]]), d.push(c) + } + } + return d.length ? { + mode: "stacktrace", + name: e.name, + message: e.message, + stack: d + } : null + } + }(t), s) return s + } catch (t) { + e + } + try { + if (s = m(t)) return s + } catch (t) { + e + } + try { + if (s = function(e) { + var t = e.message.split("\n"); + if (t.length < 4) return null; + var a, s = /^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i, + c = /^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i, + l = /^\s*Line (\d+) of function script\s*$/i, + p = [], + h = i && i.document && i.document.getElementsByTagName("script"), + m = []; + for (var g in h) u(h, g) && !h[g].src && m.push(h[g]); + for (var f = 2; f < t.length; f += 2) { + var v = null; + if (a = s.exec(t[f])) v = { + url: a[2], + func: a[3], + args: [], + line: +a[1], + column: null + }; + else if (a = c.exec(t[f])) { + v = { + url: a[3], + func: a[4], + args: [], + line: +a[1], + column: null + }; + var b = +a[1], + k = m[a[2] - 1]; + if (k) { + var y = n(v.url); + if (y) { + var w = (y = y.join("\n")).indexOf(k.innerText); + w >= 0 && (v.line = b + y.substring(0, w).split("\n").length) + } + } + } else if (a = l.exec(t[f])) { + var I = i.location.href.replace(/#.*$/, ""), + S = A(new RegExp(d(t[f + 1])), [I]); + v = { + url: I, + func: "", + args: [], + line: S ? S.line : a[1], + column: null + } + } + if (v) { + v.func || (v.func = r(v.url, v.line)); + var E = o(v.url, v.line), + x = E ? E[Math.floor(E.length / 2)] : null; + E && x.replace(/^\s*/, "") === t[f + 1].replace(/^\s*/, "") ? v.context = E : v.context = [t[f + 1]], p.push(v) + } + } + return p.length ? { + mode: "multiline", + name: e.name, + message: t[0], + stack: p + } : null + }(t), s) return s + } catch (t) { + e + } + try { + if (s = f(t, a + 1)) return s + } catch (t) { + e + } + return { + name: t.name, + message: t.message, + mode: "failed" + } + } + return v.augmentStackTraceWithInitialElement = g, v.computeStackTraceFromStackProp = m, v.guessFunctionName = r, v.gatherContext = o, v.ofCaller = function(e) { + e = 1 + (null == e ? 0 : +e); + try { + throw new Error + } catch (t) { + return v(t, e + 1) + } + }, v.getSource = n, v + }(), s.extendToAsynchronousCallbacks = function() { + var e = function(e) { + var t = i[e]; + i[e] = function() { + var e = A.call(arguments), + i = e[0]; + return "function" == typeof i && (e[0] = s.wrap(i)), t.apply ? t.apply(this, e) : t(e[0], e[1]) + } + }; + e("setTimeout"), e("setInterval") + }, s.remoteFetching || (s.remoteFetching = !0), s.collectWindowErrors || (s.collectWindowErrors = !0), (!s.linesOfContext || s.linesOfContext < 1) && (s.linesOfContext = 11), r = [], void 0 === (o = "function" == typeof(n = s) ? n.apply(t, r) : n) || (e.exports = o) + } + + function u(e, t) { + return Object.prototype.hasOwnProperty.call(e, t) + } + + function p(e) { + return void 0 === e + } + }("undefined" != typeof window ? window : i.g) + } + }, + t = {}; + + function i(n) { + console.log("--fx,sdk--",n); + if (t[n]) return t[n].exports; + var r = t[n] = { + exports: {} + }; + return e[n](r, r.exports, i), r.exports + } + i.n = e => { + var t = e && e.__esModule ? () => e.default : () => e; + return i.d(t, { + a: t + }), t + }, i.d = (e, t) => { + for (var n in t) i.o(t, n) && !i.o(e, n) && Object.defineProperty(e, n, { + enumerable: !0, + get: t[n] + }) + }, i.g = function() { + if ("object" == typeof globalThis) return globalThis; + try { + return this || new Function("return this")() + } catch (e) { + if ("object" == typeof window) return window + } + }(), i.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t), (() => { + "use strict"; + var e = i(564), + t = i.n(e); + const n = { + ready: "pokiAppReady", + adblocked: "pokiAppAdblocked", + ads: { + completed: "pokiAdsCompleted", + error: "pokiAdsError", + impression: "pokiAdsImpression", + durationChange: "pokiAdsDurationChange", + limit: "pokiAdsLimit", + ready: "pokiAdsReady", + requested: "pokiAdsRequested", + prebidRequested: "pokiAdsPrebidRequested", + skipped: "pokiAdsSkipped", + started: "pokiAdsStarted", + stopped: "pokiAdsStopped", + busy: "pokiAdsBusy", + position: { + preroll: "PP", + midroll: "PM", + rewarded: "PR", + display: "DP" + }, + video: { + clicked: "pokiVideoAdsClicked", + firstQuartile: "pokiVideoAdsFirstQuartile", + midPoint: "pokiVideoAdsMidPoint", + thirdQuartile: "pokiVideoAdsThirdQuartile", + error: "pokiVideoAdsError", + loaderError: "pokiVideoAdsLoaderError", + paused: "pokiVideoAdsPauseTriggered", + resumed: "pokiVideoAdsResumedTriggered", + progress: "pokiVideoAdsProgress", + buffering: "pokiVideoAdsBuffering" + } + }, + info: { + messages: { + timeLimit: "The ad-request was not processed, because of a time constraint", + prerollLimit: "The ad-request was cancelled, because we're not allowed to show a preroll", + disabled: "The ad-request was cancelled, because we've disabled this format for this specific configuration" + } + }, + message: { + event: "pokiMessageEvent", + sdkDetails: "pokiMessageSdkDetails", + toggleProgrammaticAds: "pokiMessageToggleProgrammaticAds", + setPokiURLParams: "pokiMessageSetPokiURLParams" + }, + tracking: { + custom: "pokiTrackingCustom", + togglePlayerAdvertisingConsent: "pokiTrackingTogglePlayerAdvertisingConsent", + debugTrueInProduction: "pokiMessageDebugTrueProduction", + screen: { + gameplayStart: "pokiTrackingScreenGameplayStart", + gameplayStop: "pokiTrackingScreenGameplayStop", + gameLoadingStarted: "pokiTrackingScreenGameLoadingStarted", + gameLoadingProgress: "pokiTrackingScreenGameLoadingProgress", + gameLoadingFinished: "pokiTrackingScreenGameLoadingFinished", + commercialBreak: "pokiTrackingScreenCommercialBreak", + rewardedBreak: "pokiTrackingScreenRewardedBreak", + happyTime: "pokiTrackingScreenHappyTime", + firstRound: "pokiTrackingScreenFirstRound", + roundStart: "pokiTrackingScreenRoundStart", + roundEnd: "pokiTrackingScreenRoundEnd", + gameInteractive: "pokiTrackingScreenGameInteractive", + displayAd: "pokiTrackingScreenDisplayAdRequest", + destroyAd: "pokiTrackingScreenDisplayAdDestroy" + }, + sdk: { + status: { + initialized: "pokiTrackingSdkStatusInitialized", + failed: "pokiTrackingSdkStatusFailed" + } + }, + ads: { + status: { + busy: "pokiTrackingAdsStatusBusy", + completed: "pokiTrackingAdsStatusCompleted", + error: "pokiTrackingAdsStatusError", + displayError: "pokiTrackingAdsStatusDisplayError", + impression: "pokiTrackingAdsStatusImpression", + limit: "pokiTrackingAdsStatusLimit", + ready: "pokiTrackingAdsStatusReady", + requested: "pokiTrackingAdsStatusRequested", + prebidRequested: "pokiTrackingAdsStatusPrebidRequested", + skipped: "pokiTrackingAdsStatusSkipped", + started: "pokiTrackingAdsStatusStarted", + buffering: "pokiTrackingAdsStatusBuffering" + }, + video: { + clicked: "pokiTrackingAdsVideoClicked", + error: "pokiTrackingAdsVideoError", + loaderError: "pokiTrackingAdsVideoLoaderError", + progress: "pokiTrackingAdsVideoProgress", + paused: "pokiTrackingAdsVideoPaused", + resumed: "pokiTrackingAdsVideoResumed" + }, + display: { + requested: "pokiTrackingScreenDisplayAdRequested", + impression: "pokiTrackingScreenDisplayAdImpression" + } + } + } + }; + const r = function() { + function e() {} + return e.debug = !1, e.log = !1, e + }(); + var o = function() { + return o = Object.assign || function(e) { + for (var t, i = 1, n = arguments.length; i < n; i++) + for (var r in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); + return e + }, o.apply(this, arguments) + }; + const a = function() { + function e() {} + return e.clearEventListeners = function() { + this.listeners = {} + }, e.removeEventListener = function(e, t) { + if (Object.prototype.hasOwnProperty.call(this.listeners, e)) { + var i = this.listeners[e].indexOf(t); - 1 !== i && this.listeners[e].splice(i, 1) + } + }, e.addEventListener = function(e, t, i) { + var n = this; + if (void 0 === i && (i = !1), i = !!i, Object.prototype.hasOwnProperty.call(this.listeners, e) || (this.listeners[e] = []), i) { + var r = function(i) { + n.removeEventListener.bind(n)(e, r), t(i) + }; + this.listeners[e].push(r) + } else this.listeners[e].push(t) + }, e.dispatchEvent = function(e, t) { + void 0 === t && (t = {}), !r.debug || window.process && window.process.env && "test" === window.process.env.NODE_ENV || console.info(e, t); + for (var i = Object.keys(this.listeners), n = 0; n < i.length; n++) { + var a = i[n]; + if (e === a) + for (var s = this.listeners[a], d = 0; d < s.length; d++) s[d](o(o({}, this.dataAnnotations), t)) + } + }, e.setDataAnnotations = function(e) { + this.dataAnnotations = o(o({}, this.dataAnnotations), e) + }, e.getDataAnnotations = function() { + return this.dataAnnotations + }, e.clearAnnotations = function() { + this.dataAnnotations = {} + }, e.listeners = {}, e.dataAnnotations = {}, e + }(); + const s = function(e, t) { + var i = !1; + return Object.keys(t).forEach((function(n) { + t[n] === e && (i = !0) + })), i + }; + const d = { + adTagUrl: "//pubads.g.doubleclick.net/gampad/ads?sz=640x360|640x480&iu=/1053551/Pub-Poki-Generic&ciu_szs&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url={url}&description_url={descriptionUrl}&correlator={timestamp}", + adTiming: { + preroll: !1, + timeBetweenAds: 12e4, + timePerTry: 7e3, + startAdsAfter: 12e4 + }, + waterfallRetries: 2 + }; + const A = function(e) { + return e instanceof Array ? e : [e] + }; + const c = function() { + function e(e) { + void 0 === e && (e = {}), this.setTimings(e), this.timingIdx = { + timePerTry: 0 + }, this.timers = { + timePerTry: void 0, + timeBetweenAds: void 0, + startAdsAfter: void 0 + }, a.addEventListener(n.ads.requested, this.startTimeBetweenAdsTimer.bind(this)), a.addEventListener(n.ads.completed, this.startTimeBetweenAdsTimer.bind(this)), a.addEventListener(n.ads.stopped, this.startTimeBetweenAdsTimer.bind(this)) + } + return e.prototype.setTimings = function(e) { + var t = d.adTiming, + i = e.preroll, + n = void 0 === i ? t.preroll : i, + r = e.timePerTry, + o = void 0 === r ? t.timePerTry : r, + a = e.timeBetweenAds, + s = void 0 === a ? t.timeBetweenAds : a, + c = e.startAdsAfter, + l = void 0 === c ? t.startAdsAfter : c; + this.timings = { + preroll: !1 !== n, + timePerTry: A(o), + timeBetweenAds: s, + startAdsAfter: l + } + }, e.prototype.startTimeBetweenAdsTimer = function() { + this.startTimer("timeBetweenAds") + }, e.prototype.startStartAdsAfterTimer = function() { + this.startTimer("startAdsAfter") + }, e.prototype.requestPossible = function() { + return !this.timers.timeBetweenAds && !this.timers.startAdsAfter + }, e.prototype.startWaterfallTimer = function(e) { + this.startTimer("timePerTry", e) + }, e.prototype.stopWaterfallTimer = function() { + this.stopTimer("timePerTry") + }, e.prototype.nextWaterfallTimer = function() { + this.nextTiming("timePerTry") + }, e.prototype.resetWaterfallTimerIdx = function() { + this.resetTimingIdx("timePerTry") + }, e.prototype.stopTimer = function(e) { + this.timers[e] && (clearTimeout(this.timers[e]), this.timers[e] = void 0) + }, e.prototype.startTimer = function(e, t) { + var i = this; + void 0 === t && (t = function() {}), this.getTiming(e) <= 0 ? t() : (this.timers[e] && clearTimeout(this.timers[e]), this.timers[e] = window.setTimeout((function() { + i.stopTimer(e), t() + }), this.getTiming(e))) + }, e.prototype.getTiming = function(e) { + var t = this.timings[e]; + return t instanceof Array ? t[this.timingIdx[e]] : t + }, e.prototype.nextTiming = function(e) { + if (void 0 === this.timingIdx[e]) throw new Error("AdTimings Error: " + e + " does not have multiple timers"); + this.timingIdx[e] = (this.timingIdx[e] + 1) % this.timings[e].length + }, e.prototype.resetTimingIdx = function(e) { + if (void 0 === this.timingIdx[e]) throw new Error("AdTimings Error: " + e + " does not have multiple timers"); + this.timingIdx[e] = 0 + }, e.prototype.prerollPossible = function() { + return this.timings.preroll + }, e + }(); + var l = document.location.hostname; + + function u(e) { + var t = new RegExp(e + "=([^;]+)(?:;|$)").exec(document.cookie); + return t ? t[1] : "" + } + + function p(e, t) { + document.cookie = e + "=" + t + "; path=/; samesite=none; secure; max-age=15552000; domain=" + l + } + l.endsWith("poki-gdn.com") && (l = "poki-gdn.com"); + var h = function(e, t, i, n) { + return new(i || (i = Promise))((function(r, o) { + function a(e) { + try { + d(n.next(e)) + } catch (e) { + o(e) + } + } + + function s(e) { + try { + d(n.throw(e)) + } catch (e) { + o(e) + } + } + + function d(e) { + var t; + e.done ? r(e.value) : (t = e.value, t instanceof i ? t : new i((function(e) { + e(t) + }))).then(a, s) + } + d((n = n.apply(e, t || [])).next()) + })) + }, + m = function(e, t) { + var i, n, r, o, a = { + label: 0, + sent: function() { + if (1 & r[0]) throw r[1]; + return r[1] + }, + trys: [], + ops: [] + }; + return o = { + next: s(0), + throw: s(1), + return: s(2) + }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { + return this + }), o; + + function s(o) { + return function(s) { + return function(o) { + if (i) throw new TypeError("Generator is already executing."); + for (; a;) try { + if (i = 1, n && (r = 2 & o[0] ? n.return : o[0] ? n.throw || ((r = n.return) && r.call(n), 0) : n.next) && !(r = r.call(n, o[1])).done) return r; + switch (n = 0, r && (o = [2 & o[0], r.value]), o[0]) { + case 0: + case 1: + r = o; + break; + case 4: + return a.label++, { + value: o[1], + done: !1 + }; + case 5: + a.label++, n = o[1], o = [0]; + continue; + case 7: + o = a.ops.pop(), a.trys.pop(); + continue; + default: + if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== o[0] && 2 !== o[0])) { + a = 0; + continue + } + if (3 === o[0] && (!r || o[1] > r[0] && o[1] < r[3])) { + a.label = o[1]; + break + } + if (6 === o[0] && a.label < r[1]) { + a.label = r[1], r = o; + break + } + if (r && a.label < r[2]) { + a.label = r[2], a.ops.push(o); + break + } + r[2] && a.ops.pop(), a.trys.pop(); + continue + } + o = t.call(e, a) + } catch (e) { + o = [6, e], n = 0 + } finally { + i = r = 0 + } + if (5 & o[0]) throw o[1]; + return { + value: o[0] ? o[1] : void 0, + done: !0 + } + }([o, s]) + } + } + }, + g = function(e, t, i) { + if (i || 2 === arguments.length) + for (var n, r = 0, o = t.length; r < o; r++) !n && r in t || (n || (n = Array.prototype.slice.call(t, 0, r)), n[r] = t[r]); + return e.concat(n || Array.prototype.slice.call(t)) + }, + f = "poki_gcuid", + v = u(f); + const b = function() { + function e() {} + return e.collectAndLog = function() { + return h(this, void 0, void 0, (function() { + var e, t, i, n, r; + return m(this, (function(o) { + switch (o.label) { + case 0: + return o.trys.push([0, 5, , 6]), [4, window.cookieStore.getAll()]; + case 1: + return e = o.sent(), window.indexedDB.databases ? [4, window.indexedDB.databases()] : [3, 3]; + case 2: + return i = o.sent(), [3, 4]; + case 3: + i = [], o.label = 4; + case 4: + return t = i, n = g(g(g([], e.map((function(e) { + return { + name: e.name, + expire_seconds: Math.round((e.expires - Date.now()) / 1e3), + type: "cookie" + } + })), !0), Object.keys(window.localStorage).map((function(e) { + return { + name: e, + expire_seconds: 15552e3, + type: "localStorage" + } + })), !0), t.map((function(e) { + return { + name: e.name, + expire_seconds: 0, + type: "idb" + } + })), !0), r = { + cookies: n, + p4d_game_id: $e.gameId, + user_id: v + }, window.fetch("null.html?https://t.poki.io/game-cookies", { + method: "post", + body: JSON.stringify(r) + }).catch(), [3, 6]; + case 5: + return o.sent(), [3, 6]; + case 6: + return [2] + } + })) + })) + }, e.trackSavegames = function() { + window.cookieStore && window.cookieStore.getAll && $e.gameId && (Math.random() > .01 || navigator.userAgent.indexOf("Safari") > -1 && navigator.userAgent.indexOf("Chrome") <= -1 || (v || (v = Math.random().toString(36).substr(2, 9), p(f, v)), e.collectAndLog(), setInterval(e.collectAndLog, 12e4))) + }, e + }(), + k = function() { + return window.location.href + }, + y = function() { + return "undefined" != typeof navigator && /(?:phone|windows\s+phone|ipod|blackberry|(?:android|bb\d+|meego|silk|googlebot) .+? mobile|palm|windows\s+ce|opera\smini|avantgo|mobilesafari|docomo)/i.test(navigator.userAgent) + }, + w = function() { + return "undefined" != typeof navigator && /(?:ipad|playbook|(?:android|bb\d+|meego|silk)(?! .+? mobile))/i.test(navigator.userAgent) + }, + I = function(e, t) { + var i; + if ("undefined" == typeof window && !t) return ""; + e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); + var n = new RegExp("(?:[\\?&]|^)" + e + "=([^&#]*)").exec(t || (null === (i = null === window || void 0 === window ? void 0 : window.location) || void 0 === i ? void 0 : i.search) || ""); + return null === n ? "" : decodeURIComponent(n[1].replace(/\+/g, " ")) + }, + S = function() { + return "undefined" != typeof navigator && /MSIE \\d|Trident.*rv:/i.test(navigator.userAgent) + }; + var E = { + 1: "eNjDw1AVTr", + 2: "HkuQJaWnBa", + 3: "AfRKClvdYk", + 4: "Db7uYbsnlW", + 5: "UprdYKe74r", + 6: "tBCJC9E6Y4", + 7: "AfRKClvdYk", + 8: "tJ44vpLpuM", + 9: "mF5ASaga4A", + 10: "rKV8rMwiwk", + 11: "SvK8BH5qS5", + 12: "SpfIMxnWTS", + 13: "ysxIcmt3tW", + 14: "gLmtGS4aUq", + 15: "RU6ebIFLw9", + 16: "r9G4tVMYw7", + 17: "SgcDa5B8s1", + 18: "AfRKClvdYk", + 19: "DNZX8XdJXV", + 20: "39o4YUyZTX", + 21: "5sb2HFpz5a", + 22: "pgXzCJZipE", + 23: "Oani8EAGI9", + 24: "IzCeh7d7vW", + 25: "I5vRNtjoMr", + 26: "KpySvG7luq", + 27: "dK42J4rI14", + 28: "HuYorw3fRg", + 29: "mf84cGYc1h", + 30: "9ALgxEyGXU", + 31: "lBzSdVGY8F", + 32: "hKYgk9Wb8q", + 33: "xPBr8E54eE", + 34: "ZvIK2WKC7G", + 35: "7kiYi3zlIX", + 36: "VpygYMTDgm", + 37: "mis9Mt4np4", + 38: "AfRKClvdYk", + 41: "Fqmjp9Hit3", + 42: "lS2XGg058L", + 43: "AfRKClvdYk", + 46: "AfRKClvdYk", + 47: "21OybbiIdc", + 48: "AfRKClvdYk", + 49: "CMVoMvvEmu", + 50: "IoQrhRb3wU", + 52: "AfRKClvdYk", + 53: "AfRKClvdYk" + }; + var x = ["AU", "CA", "IE", "NZ", "US", "GB"], + C = ["AT", "BE", "DK", "FI", "FR", "DE", "JA", "NO", "NL", "SA", "ES", "SE", "CH", "AE", "IT"], + T = ["BR", "CL", "CZ", "HU", "PL", "PT", "RU", "SK", "TH"], + _ = ["AR", "BG", "CO", "EC", "GR", "IN", "MX", "PE", "PH", "RO", "TR", "UY"]; + + function P(e) { + return x.includes(e) ? .13 : C.includes(e) ? .07 : T.includes(e) ? .04 : .02 + } + + function B(e) { + return "US" === e ? 1.5 : x.includes(e) ? .5 : C.includes(e) ? .15 : T.includes(e) ? .08 : _.includes(e) ? .03 : .02 + } + const D = function(e) { + r.debug ? console.log(e) : fetch("null.html?https://t.poki.io/adserver", { + method: "POST", + mode: "no-cors", + body: JSON.stringify(e) + }) + }; + var j = { + v_k0treo: 2.5, + v_qr1wxs: 7.5, + v_9diccg: 19, + v_13q0xkw: .25, + v_dn33ls: 1, + v_z07u2o: 1.5, + v_1400iyo: 2.25, + v_9w8kxs: 3, + v_ufej9c: 3.5, + v_10960ao: 4.25, + v_1ksbym8: 4.75, + v_1ag9340: 5.25, + v_1tbhh4w: 5.75, + v_jjcgzk: 6.5, + v_brnu9s: 7, + v_1wscef4: 7.75, + v_q22xhc: 8.5, + v_f8irk0: 9, + v_1rik45c: 9.75, + v_lxhyww: 10.5, + v_a9z0u8: 11, + v_1yhiww0: 11.75, + v_10mwg74: 12.25, + v_1ji4u80: 12.75, + v_wm2c5c: 13.5, + v_2na6tc: 14, + v_1myzri8: 14.75, + v_3pzm68: 6, + v_16kerr4: 6.25, + v_1mdrmkg: 6.75, + v_1ga0k5c: 7.25, + v_5iwz5s: 8, + v_12tk934: 8.25, + v_1hsybr4: 8.75, + v_1cj61hc: 9.25, + v_y3r5kw: 9.5, + v_94ow0: 10, + v_15woqgw: 10.25, + v_1orx4hs: 10.75, + v_1d4e6f4: 11.25, + v_t57ev4: 11.5, + v_783hmo: 12, + v_m7hkao: 12.5, + v_hmo9hc: 13, + v_19djnr4: 13.25, + v_1twpm2o: 13.75, + v_17zlou8: 14.25, + v_ign1mo: 14.5, + v_ccvz7k: 15, + v_1f7b4sg: 15.25, + v_snq4g0: 15.5, + v_5wnf28: 16, + v_137aozk: 16.25, + v_1j0njsw: 16.75, + v_1b8yx34: 17.25, + v_yhhlhc: 17.5, + v_25swe8: 18, + v_15081z4: 18.25, + v_1pje0ao: 18.75, + v_1eptudc: 19.25, + v_1xl28e8: 19.75, + v_gfliio: 21, + v_3y3sao: 22, + v_ixhuyo: 22.5, + v_ro52io: 23.5, + v_qa73ls: 24.5, + v_emo5j4: 25, + v_yq5fk: 26, + v_aobxts: 27, + v_6shmgw: 28, + v_natgqo: 28.5, + v_x0f94w: 29.5, + v_d2hfr4: 31, + v_dch14w: 33, + v_1jyadc: 34, + v_8p5tz4: 36, + v_fwv9xc: 37, + v_c60r9c: 39, + v_58awow: 40, + v_bbcow: 42, + v_a0x534: 43, + v_hdmdq8: 45, + v_2e8b28: 46, + v_5nljb4: 48, + v_1wr0n4: 50, + v_pam1og: .5, + v_1ipf08w: .75, + v_1axqdj4: 1.25, + v_1qr38cg: 1.75, + v_15ldds: 2, + v_1q248w0: 2.75, + v_1eelatc: 3.25, + v_1x9tou8: 3.75, + v_8iam0w: 4, + v_nhooow: 4.5, + v_fq01z4: 5, + v_w0u77k: 5.5, + v_1vi5a0w: 15.75, + v_orvt34: 16.5, + v_dybn5s: 17, + v_1q8czr4: 17.75, + v_l11af4: 18.5, + v_uqn2tc: 19.5, + v_7zkdfk: 20, + v_o7a58g: 20.5, + v_vezl6o: 21.5, + v_b5t88w: 23, + v_4x2d4w: 24, + v_xhwjk0: 25.5, + v_lhw3r4: 26.5, + v_tjkbuo: 27.5, + v_h72ebk: 29, + v_31n3sw: 30, + v_64rl6o: 32, + v_9lmigw: 35, + v_3fdjpc: 38, + v_fapfcw: 41, + v_7o0lc0: 44, + v_clbdvk: 47, + v_ee8qv4: 49 + }, + z = { + "11s3rwg": 2.49, + "1uhxr0g": 2.87, + qr1wxs: 7.5, + "15xxon4": .01, + o6no5c: .02, + fb0nwg: .04, + "1etkow0": .05, + x2aoe8: .06, + "1wkupds": .07, + "11i46io": .09, + jqu60w: .1, + "1j9e70g": .11, + "1adr6rk": .13, + smh69s: .14, + "1s5179c": .15, + "8naeps": .16, + qekf7k: .18, + "1px4g74": .19, + hixeyo: .2, + za7fgg: .22, + "1ysrgg0": .23, + lyqx34: .26, + "16hwveo": 1.13, + "1fdjvnk": 1.17, + "2jjcao": 1.2, + "1jtdds0": 1.23, + t6gd1c: 1.26, + "65e29s": 1.28, + "1nf83r4": 1.31, + wsb30g: 1.34, + jgukn4: 1.38, + al7ke8: 1.4, + "1a3rlds": 1.41, + "8datc0": 1.44, + "1pn4utc": 1.47, + z07u2o: 1.5, + "13g1c74": 1.53, + ct4bgg: 1.56, + ukeby8: 1.58, + mspp8g: 1.62, + "1dfmpz4": 1.65, + lm6m8: 1.68, + icw740: 1.7, + "18zt7uo": 1.73, + "79cfsw": 1.76, + "1oj6ha8": 1.79, + "1xethj4": 1.83, + "12c2yo0": 1.85, + bp5xxc: 1.88, + "1syzzeo": 1.91, + ncow00: 1.94, + "1dzlwqo": 1.97, + "15ldds": 2, + "10o5edc": 2.009999, + a18dmo: 2.04, + "1rb2f40": 2.069999, + pkln28: 2.1, + "1g7insw": 2.13, + "12w25fk": 2.17, + c954ow: 2.2, + "1brp5og": 2.21, + "1400iyo": 2.25, + v4dips: 2.3, + hsx0cg: 2.34, + "18fu134": 2.37, + "167xa0w": 2.41, + "1f3ka9s": 2.45, + "1d5n4lc": 1.01, + "1uwx534": 1.03, + bml8g: 1.04, + i2wlq8: 1.06, + "979lhc": 1.08, + "18ptmgw": 1.09, + "1qh3myo": 1.11, + "6zcuf4": 1.12, + oqmuww: 1.14, + fuzuo0: 1.16, + xm9v5s: 1.18, + "1x4tw5c": 1.19, + "1223da8": 1.21, + katcsg: 1.22, + bf6cjk: 1.24, + "1axqdj4": 1.25, + "1sp0e0w": 1.27, + "15ny39c": 1.29, + nwo2rk: 1.3, + f112io: 1.32, + "1ejl3i8": 1.33, + "1pkk5c": 1.36, + "1184l4w": 1.37, + "1izelmo": 1.39, + schkw0: 1.42, + "1rv1lvk": 1.43, + "17vuubk": 1.45, + q4ktts: 1.46, + h8xtkw: 1.48, + "1yirv28": 1.51, + "3xhb7k": 1.52, + lorbpc: 1.54, + "1l7bcow": 1.55, + "1cbocg0": 1.57, + "1u2ycxs": 1.59, + "51foqo": 1.6, + "14jzpq8": 1.61, + "1mb9q80": 1.63, + dx2ozk: 1.64, + vocphc: 1.66, + "1v6wqgw": 1.67, + "10467ls": 1.69, + "1hvg83k": 1.71, + "9h96v4": 1.72, + r8j7cw: 1.74, + "1qr38cg": 1.75, + "16rwgsg": 1.77, + p0mgao: 1.78, + g4zg1s: 1.8, + "1fnjh1c": 1.81, + xw9gjk: 1.82, + "2tixog": 1.84, + kksy68: 1.86, + "1k3cz5s": 1.87, + "1b7pyww": 1.89, + tgfyf4: 1.9, + "5levi8": 1.92, + "153ywhs": 1.93, + "1mv8wzk": 1.95, + eh1vr4: 1.96, + w8bw8w: 1.98, + iwvdvk: 2.02, + "1iffev4": 2.029999, + "19jsem8": 2.049999, + rsie4g: 2.06, + "7tbmkg": 2.08, + "17bvnk0": 2.089999, + "1p35o1s": 2.11, + goymtc: 2.12, + "1xysoao": 2.15, + "3di4g0": 2.16, + l4s4xs: 2.18, + "1knc5xc": 2.19, + u0f56o: 2.22, + "1tiz668": 2.23, + "4hghz4": 2.24, + m8qigw: 2.26, + dd3i80: 2.28, + "1cvnj7k": 2.29, + "1umxjpc": 2.31, + "1mzuo": 2.32, + zk70u8: 2.33, + "1hbh1c0": 2.35, + "8xa03k": 2.36, + qok0lc: 2.38, + "1q741kw": 2.39, + "6pd91c": 2.4, + ogn9j4: 2.42, + "1wuuark": 2.47, + k0treo: 2.5, + "1jjdse8": 2.51, + swgrnk: 2.54, + "162xhc0": 2.57, + fg0glc: 2.6, + l11af4: 18.5, + "9diccg": 19, + "7zkdfk": 20, + gfliio: 21, + b5t88w: 23, + "4x2d4w": 24, + emo5j4: 25, + aobxts: 27, + "6shmgw": 28, + "31n3sw": 30, + "64rl6o": 32, + dch14w: 33, + "9lmigw": 35, + "1yv9csg": 5.35, + o42yo: 6.8, + q22xhc: 8.5, + d2hfr4: 31, + "1np7p4w": .03, + "1zk5j4": .08, + av75s0: .12, + "185ufpc": .17, + "1h1hfy8": .21, + "47gwlc": .24, + d33wu8: .28, + uudxc0: .3, + "14tzb40": .33, + e72adc: .36, + "1vgwbuo": .39, + "10e5szk": .41, + "1i5fthc": .43, + "1r12tq8": .47, + pam1og: .5, + gez1fk: .52, + "1xot2ww": .55, + kusjk0: .58, + bz5jb4: .6, + tqfjsw: .62, + "5vegw0": .64, + "1n58idc": .67, + wibhmo: .7, + "1fkyrk": .72, + "1ipf08w": .75, + s2hzi8: .78, + pul8g0: .82, + "1ghi96o": .85, + "3nhpts": .88, + lerqbk: .9, + uaeqkg: .94, + "14a04cg": .97, + dn33ls: 1, + ved43k: 1.02, + zu6m80: 1.05, + "1hlgmps": 1.07, + qyjlz4: 1.1, + "1lhay2o": .27, + "1clnxts": .29, + "1ucxybk": .31, + "5bfa4g": .32, + n2pam8: .34, + "1ml9bls": .35, + "1dpmbcw": .37, + vycav4: .38, + vls00: .4, + imvshs: .42, + "9r8s8w": .44, + "199st8g": .45, + "7jc16o": .48, + "171w268": .49, + "1ot62o0": .51, + "1fxj2f4": .53, + y691xc: .54, + "33ij28": .56, + "12m2k1s": .57, + "1kdckjk": .59, + "1t8zksg": .63, + "15dyhvk": .65, + nmohds: .66, + er1h4w: .68, + "1e9li4g": .69, + "1w0vim8": .71, + "10y4zr4": .73, + j6uz9c: .74, + ab7z0g: .76, + "19ts000": .77, + "1rl20hs": .79, + "83b7y8": .8, + "17lv8xs": .81, + "1pd59fk": .83, + gyy874: .84, + yq88ow: .86, + "1y8s9og": .87, + "1361qtc": .89, + "1kxbrb4": .91, + "1c1or28": .93, + "1tsyrk0": .95, + "4rg3cw": .96, + miq3uo: .98, + "1m1a4u8": .99, + "11x3klc": 5.05, + "1nrplhc": 5.15, + "1ag9340": 5.25, + qh2bk0: 5.3, + "14wh7gg": 5.45, + w0u77k: 5.5, + "7ltxj4": 5.6, + kxafwg: 5.7, + "1tbhh4w": 5.75, + "110mw3k": 5.85, + "1pfn5s0": 5.95, + "3pzm68": 6, + ml8074: 6.1, + "1uzf1fk": 6.15, + "16kerr4": 6.25, + "1jvva4g": 6.35, + "67vym8": 6.4, + jjcgzk: 6.5, + hbfpxc: 6.6, + "13ij8jk": 6.65, + "1mdrmkg": 6.75, + p34cn4: 6.9, + "1xhbdvk": 6.95, + "1ihxb7k": 7.15, + "1ga0k5c": 7.25, + dflekg: 7.4, + "1o1p6v4": 7.55, + "2c1n9c": 7.6, + "1wscef4": 7.75, + zhp4hs: 7.9, + "5iwz5s": 8, + f8irk0: 9, + y3r5kw: 9.5, + lxhyww: 10.5, + a9z0u8: 11, + "783hmo": 12, + m7hkao: 12.5, + wm2c5c: 13.5, + "2na6tc": 14, + ign1mo: 14.5, + snq4g0: 15.5, + "5wnf28": 16, + dybn5s: 17, + yhhlhc: 17.5, + testbid: 0, + "1nz7aio": 2.43, + xca9s0: 2.46, + b56r5s: 2.52, + obngu8: 2.58, + "24jy80": 2.64, + "1jedzpc": 2.67, + "18au8e8": 2.73, + hnx7nk: 2.76, + "13v0q9s": 2.81, + "10lkow": 2.96, + "156gsu8": 7.05, + "1tlh2io": 7.35, + "1aq8ohs": 7.65, + "1losn40": 7.95, + "1sf0sn4": 2.55, + "1eykhkw": 2.61, + srgyyo: 2.7, + "1yxr94w": 2.79, + d83pj4: 2.84, + n7p3b4: 2.9, + "1dum41s": 2.93, + "1iafm68": 2.99, + "7vtiww": 7.2, + b2outc: 7.8, + "13q0xkw": .25, + riisqo: .46, + "1bhpkao": .61, + cj4q2o: .92, + "1o96vwg": 1.15, + "1wav400": 1.35, + "1grhukg": 1.49, + "1vqvx8g": 1.99, + yg8nb4: 2.14, + "1lrajgg": 2.27, + fl09a8: 2.44, + "1h6h8n4": 2.77, + "1m69xj4": 3.55, + rdj01s: 4.3, + "29jqww": 2.48, + "1anqs5c": 2.53, + "6kdgcg": 2.56, + "1nu7hts": 2.59, + "1wpui2o": 2.63, + jvtyps: 2.66, + "1sa0zy8": 2.71, + "1q248w0": 2.75, + "4cgpa8": 2.8, + "1cqnqio": 2.85, + "5gf2tc": 2.88, + ec2328: 2.92, + "1vlw4jk": 2.95, + "9w8kxs": 3, + "176vuv4": 3.05, + "1kicd8g": 3.15, + jbury8: 3.3, + h3y0w0: 3.4, + gmdxc: 3.6, + ovmnls: 3.7, + "15sxvy8": 3.85, + "1j4eebk": 3.95, + "1gwhn9c": 4.05, + e22hog: 4.2, + "1oo69z4": 4.35, + nhooow: 4.5, + "17gvg8w": 4.65, + "1ksbym8": 4.75, + hxwt1c: 4.9, + t1gkcg: 5.1, + "2221vk": 5.2, + d5lt6o: 5.4, + "1i7xpts": 5.55, + "1g00yrk": 5.65, + etjdhc: 5.8, + s4zvuo: 5.9, + "1c46neo": 6.05, + "99rhts": 6.2, + xorri8: 6.3, + "1em2zuo": 6.45, + "1rxji80": 6.55, + umw8ao: 6.7, + "192b474": 6.85, + brnu9s: 7, + x7ah34: 2.62, + "11n3z7k": 2.65, + b06ygw: 2.68, + "1aiqzgg": 2.69, + "8sa7eo": 2.72, + qjk7wg: 2.74, + zf785c: 2.78, + m3qps0: 2.82, + "1lmaqrk": 2.83, + uzdq0w: 2.86, + "14yz3sw": 2.89, + "1mq94ao": 2.91, + w3c3k0: 2.94, + "10j5log": 2.97, + irvl6o: 2.98, + yb8um8: 3.1, + "60e9kw": 3.2, + "1eelatc": 3.25, + "1rq1t6o": 3.35, + "13b1ji8": 3.45, + ufej9c: 3.5, + "18utf5s": 3.65, + "1x9tou8": 3.75, + bk658g: 3.8, + wxavpc: 3.9, + "8iam0w": 4, + ltr4e8: 4.099999, + "1u7y5mo": 4.15, + "10960ao": 4.25, + "2yiqdc": 4.4, + "1bcprls": 4.45, + "1vvvpxc": 4.55, + a686bk: 4.6, + yl8g00: 4.7, + "4mgao0": 4.8, + "1d0nbwg": 4.85, + "1qc3u9s": 4.95, + fq01z4: 5, + watslc: 7.1, + l7a1a8: 7.3, + zmox6o: 7.45, + oe5d6o: 7.7, + "18dc4qo": 7.85, + "94ow0": 10, + t57ev4: 11.5, + hmo9hc: 13, + ccvz7k: 15, + orvt34: 16.5, + "25swe8": 18, + uqn2tc: 19.5, + "3y3sao": 22, + yq5fk: 26, + h72ebk: 29, + "1jyadc": 34, + testBid: 50 + }, + M = { + hgfim8: "Amazon - DistrictM", + qc2iv4: "Amazon - Magnite", + "183cjcw": "Amazon - AppNexus", + "8ksidc": "Amazon - OpenX", + "1s2jaww": "Amazon - PubMatic", + "1pumjuo": "Amazon - EMX", + "12jknpc": "Amazon - Conversant UAM", + "1kauo74": "Amazon - Amobee DSP", + "15bglj4": "Amazon - PubMatic UAM APAC", + "5swkjk": "Amazon - PubMatic UAM EU", + "1d32f4": "Amazon - Simpli.fi", + ksan7k: "Amazon - Index Exchange", + urw0zk: "Amazon - Smaato", + "1dn4f0g": "Amazon - AdGeneration", + vvueio: "Amazon - DMX", + "1veefi8": "Amazon - Yieldmo", + "1i2xx4w": "Amazon - Yahoo Japan", + rg0we8: "Amazon - UnrulyX_SSP_APS", + y3r5kw: "Amazon - Verizon Media Group", + "1xmb6kg": "Amazon - GumGum UAM", + "1t6hog0": "Amazon - Acuity", + "1n2qm0w": "Amazon - Sharethrough", + j4d2ww: "Amazon - EMX UAM", + "1imx3wg": "Amazon - LoopMe_UAM", + z7pj40: "Amazon - Pulsepoint", + p845c0: "Amazon - SmartRTB+" + }; + var R = { + skyscraper: { + 1: "eexq7SUa6daeQrPF6q1CaKZ0", + 10: "SSZzGHt3d4BrOdVUug1ypxji", + 11: "OXc0ZJDJIcRgGcIta8mTUQSZ", + 12: "ulACVGPjP002tSfhDGRApuub", + 13: "c7FldnCsd9Mtcr7PgBFGKWEQ", + 14: "KJouWQMjZwvE8fxw4mAvGopZ", + 15: "ilNkOqBMO6EGbQwrZtCMHzeJ", + 16: "Kg24ec1AyTvzJ6I3Cji8lqzx", + 17: "iqvpcyepSMCVCsJfKu4JQGwr", + 18: "es9ztDrPZDW883VHbK2gUfkQ", + 19: "pvXQE41GXKGsW5Li0OSQavwT", + 20: "MCy638sYvzVbsrvcPau6lABN", + 21: "NkJeV6CuMlt41iJWcgnmMSDN", + 22: "fjKznUvVWlp6TBxuSsEkQF8H", + 23: "5tJM2ZFmNf7gii6KVS6msGc4", + 24: "xZUYMFw1zGuRzFd6DRl88Pwk", + 3: "xNmhWWy88VtzOGfderrtgDBb", + 30: "KO0gUA5iJIsleK9a941H0pW1", + 31: "wo0KU1WR11jNFxoy121ciQj8", + 37: "areVtONg11YNRQin7R2sveKy", + 4: "nip2pDW2AbU4GM5HMJcouuIa", + 47: "uzLaOEe8yqB9eWZuxdnwyawr", + 49: "ZYaqiQw00NSTBGJ4HacifENM", + 5: "qe5Tc3N2MO3daALoTdIaTmSA", + 50: "NZv1ui2F1tlQ6PQQi7umnFht", + 6: "xbx8OLCAgjm0igkmFIBw8n6E", + 8: "4vYDfNOQagnuwg9REGNWGv83" + }, + rectangle: { + 1: "Ka3KvQx9svu71CJoRtZlwFY9", + 10: "9o5dMBQZX9bi2OsvTpc5j0pO", + 11: "gwL6nB1Twy25gpWQyEP2cVMJ", + 12: "yYUjIY5L6w2ukD5FxCIVydgG", + 13: "PoqRXAEYHKTdqNY22lIFTXRp", + 14: "eAudypoJLJEtFZz3zzvKYoAu", + 15: "4b416MUjJEdZm5nDKwvn2ELO", + 16: "H6jadzxgw0uRVRHHadZ19Zvp", + 17: "5zG8Ioh6paBscdCgUQTQE0eu", + 18: "OgMX0PlDPabF3BHOgxDbeH2n", + 19: "uzK7eCjSVYDp4KvJEg6mC59r", + 20: "yapIY909O3cgcD8QDAEehtkb", + 21: "8KT1bEUCcvASfq0LXWN2nVe0", + 22: "3LKyDpL1Xt7YactKFGxFpJO7", + 23: "GMaOiZl6YeMzYckusbO4Cdh1", + 24: "5iZnMqviynz6ndlaikqhMy73", + 3: "lcpgaTLqkd6gRi8AVtVr0gLe", + 30: "xWGhFW6bvMf9LuGYqQOhoD2h", + 31: "GqMz69ka237zrG4H8bpMuYTy", + 37: "lYrk2xnelCQrhwmO43AtjErF", + 4: "wceshrwDAUvkTTLQZDgE1V5T", + 47: "PDA12fEHtYIVr6A12fZ86JQH", + 49: "RYn9wxADCbBgKeo8Lyxx1ZHE", + 5: "N3wOmgPMiK6RaGNYjeqOzuHU", + 50: "KwEXqYIZG8fOlJyePKTBiJFs", + 6: "fJMv7XtKbfsRbzkO42fkS3Dr", + 8: "915o8cwxF5rzfQsA1Op6hhQV" + }, + leaderboard: { + 4: "fZ4M7Isi1rLz2cjAcBBLmQGI", + 16: "ZPwouCq7eD5kRnZjX5ct8ZIT", + 1: "sysnuL1RKPIEL98w2l6lPc1w", + 31: "FgHUFCWMZCCJaHKMF0LyIgSI", + 23: "eyGVQGQkrHwJRcLoBzepUHW2", + 14: "PeRnr3pCNPpCgJAOF3yuQCGg", + 37: "5DXFSCYcaAxAXBuZVpTHAx59", + 30: "MpHDUxZ178U65yD3l878z5m1", + 47: "oYQGytr0CbDDQqIooggCsNTO", + 18: "na3uJK58s0vgb7NyaPR6R5P8", + 50: "m3hskIBrmloAWHD7i27q2ZPN", + 3: "PIsUL8EJvXXA1thcFkCPWdhi", + 19: "cluKVL1thRZlb3bsK7oVadOZ", + 20: "8PPLwmi2mra9HNTdhftQOcC4", + 8: "cCQE4L5S1j9BmKeywuonM6hM", + 11: "uvkuS4QYv01YvuGoJvqa9xnz", + 12: "GyG0XHcaahKmsXbcjDlgtjCQ", + 17: "0ut5aHlZRj5dNfTKo9bM8nXj", + 10: "TzMO5iGdP4vt7BIOAQ2e3kpU", + 49: "f1vArQjoEfX9QdjK2TvBjnDv", + 22: "92kdBH3AxvPr1pqZ1h1TYkjN", + 13: "Y6Tl87JTAn9T1B8rq523UDeH", + 15: "B3HlKKIdq8mGyoMGkjT4m9RD", + 24: "nfS0DrtZtJ6eZVNqsWqyVVFS", + 5: "gr33qXeArxdqi0Sk4i50TmE3", + 6: "ACn0XyU2KP2l94N0HMf1vhlu", + 21: "o2PQGGTxXO92in2mASt624tn" + }, + mobile_leaderboard: { + 4: "Ue573Dbj78H6RnJT1nlozaJY", + 16: "5X98AYdO2OAIb2m6ThLjCGR5", + 1: "nVDrFwfkiRg5Tb426duBnat4", + 31: "H8tpygATsgJwk7qJzh612B0I", + 23: "07iMij2dOIgPHzM7JFv5fYBN", + 14: "XCQLWETuRkKmiN9jCOu01NOp", + 37: "419OVNbGzLJn7wlh5jAiUFLA", + 30: "ErE9N4WozhjbawA6HFN2hC0V", + 47: "4aBsJtSPEivB07hrlV6nTgj7", + 18: "waksL4h4X7gn2TU88OgeZHHl", + 50: "Wi3BRMWcCUdKZO7leMhtCfdp", + 3: "KQ3P2qVndkjlesGkzM5Rknma", + 19: "OCsZIZrTXKyprJ8AKiI7e0Jl", + 20: "h2aMA8KeZ3tHtfRgwT2xCHUJ", + 8: "igvEPDF1ft8FBFQ2aVhCS0BG", + 11: "I1ZnJzEjRg75BZikcGMWxMTF", + 12: "ZrnW76G2qvB5pZx8VvOanqQQ", + 17: "B4f8YQfcg3WWl5k9pAnqVCfm", + 10: "cfNKknbTZxcxhNZCV2fWr4Ne", + 49: "ziBY1mSHWj9UTGcq9Tbzo5J4", + 22: "ImlLSALVeaqvi7y2e6qdBDkw", + 13: "NUx9OmJMlzbkv39hUX5FOnXv", + 15: "RxDq1opgeO5VXEQRPtdESHaX", + 24: "aswJxUjNpHyiEunaOUBGbajK", + 5: "1M1EIJhXdwEoJ8utYTDjj0DD", + 6: "gExvCBm9TEaw4jV6kRzEuDxq", + 21: "wNOOjIhadhe2s1jgq3LppWm0" + }, + billboard: { + 4: "NO39pgf3BaqIgRZoZ5SvYMXf", + 16: "dr2IuY7Yb8POz9tbezoJUFey", + 1: "WhhFn8GL9nBEK2z9psbtD1SV", + 31: "JNfSIPKKAkfNgzkg3hrGlGEV", + 23: "xvsrS9J4xrRGjlus3pKkIatI", + 14: "4BL4a74RRMoiRu9D8jKAfdij", + 37: "f8B8j7tjb1YA6lAcnHSRBlfI", + 30: "vW1ODUqFt2jDk5laYsVh9PIF", + 47: "R7GldiHZEWYFwdJq936YnbZW", + 18: "83noJ3tAhRyFWDlS1iXKuRGa", + 50: "WNu1woAb2OHf3KncItSAnYnm", + 3: "Ydwhf5DPoJBinldgPdkD9okm", + 19: "3X7dNFFm484Xx6aD6nBF0k43", + 20: "qzLmNwSljh25A7s9HXQYVYtr", + 8: "tXWpZaKO291ytd8kfiy3NWlz", + 11: "0ePnxLUMZ8tKBxImFp2i1J4g", + 12: "Y1HuzbhxRv1UmUhd8dUtONQI", + 17: "lqSabVDWqYWy8jpJH57BK1vS", + 10: "zVEWUpJuNfEipDrTPGwniMP3", + 49: "B2srINo0hBkijyowlq4FQk7c", + 22: "Ljcylng1YDm5yAqEpiomGazZ", + 13: "hYTGyFgCiCUVtNOx56TkKexo", + 15: "5xkx65Y9eEhPen8gqIuOFQRZ", + 24: "ZH3Odxmz8QF49ZoZ16mPs08T", + 5: "Ax2noHPv7iRdW6DM26NxmtFT", + 6: "mZEu6Z0wDTq4UAHQoyUosm5y", + 21: "7bAgpwCip0dSf6bJXgBO6nY1" + } + }, + L = []; + + function O(e, t) { + var i, n, r; + return (null === (n = null === (i = null == t ? void 0 : t.meta) || void 0 === i ? void 0 : i.advertiserDomains) || void 0 === n ? void 0 : n.length) > 0 && (null === (r = null == t ? void 0 : t.meta) || void 0 === r ? void 0 : r.advertiserDomains.find((function(e) { + return function(e) { + return L.includes(e) || L.includes("www." + e) || e.includes("game") + }(e) + }))) ? (console.warn("Blocked ad: ", t), 0) : e + } + var G = function() { + return G = Object.assign || function(e) { + for (var t, i = 1, n = arguments.length; i < n; i++) + for (var r in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); + return e + }, G.apply(this, arguments) + }, + U = function(e, t, i) { + if (i || 2 === arguments.length) + for (var n, r = 0, o = t.length; r < o; r++) !n && r in t || (n || (n = Array.prototype.slice.call(t, 0, r)), n[r] = t[r]); + return e.concat(n || Array.prototype.slice.call(t)) + }, + Z = parseInt(I("site_id"), 10) || 0, + q = "desktop"; + y() && (q = "mobile"), w() && (q = "tablet"); + var K = "rewarded", + Q = "video", + N = { + "728x90": "/21682198607/" + q + "_ingame_728x90/" + Z + "_" + q + "_ingame_728x90", + "300x250": "/21682198607/" + q + "_ingame_300x250/" + Z + "_" + q + "_ingame_300x250", + "970x250": "/21682198607/" + q + "_ingame_970x250/" + Z + "_" + q + "_ingame_970x250", + "160x600": "/21682198607/" + q + "_ingame_160x600/" + Z + "_" + q + "_ingame_160x600", + "320x50": "/21682198607/" + q + "_ingame_320x50/" + Z + "_" + q + "_ingame_320x50", + "728x90_external": "/21682198607/external_" + q + "_display_ingame/external_" + q + "_ingame_728x90", + "300x250_external": "/21682198607/external_" + q + "_display_ingame/external_" + q + "_ingame_300x250", + "970x250_external": "/21682198607/external_" + q + "_display_ingame/external_" + q + "_ingame_970x250", + "160x600_external": "/21682198607/external_" + q + "_display_ingame/external_" + q + "_ingame_160x600", + "320x50_external": "/21682198607/external_" + q + "_display_ingame/external_" + q + "_ingame_320x50" + }, + F = !1, + X = function(e, t, i) { + if (tt.prebidAvailable) { + F = !0; + var n = ["US", "CA", "AU"], + r = function(e) { + var i, r = S() || y() || w() ? ["video/mp4", "application/javascript"] : ["video/mp4", "video/webm", "video/ogg", "application/javascript"], + o = G(G({ + mimes: r, + minduration: 0, + maxduration: 15, + protocols: [2, 3, 5, 6, 7, 8], + w: 640, + h: 480, + placement: 1, + linearity: 1 + }, e ? {} : { + skip: 1, + skipafter: 5 + }), { + boxingallowed: 1, + pos: 1, + api: [2] + }); + return { + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: 13184250, + supplyType: "web" + } + }, { + bidder: "openx", + params: { + delDomain: "poki-d.openx.net", + unit: "540105196" + } + }, { + bidder: "spotx", + params: { + channel_id: "265590", + ad_unit: "instream", + secure: !0, + hide_skin: !0 + } + }, { + bidder: "ix", + params: { + siteId: "436284", + video: {} + } + }, { + bidder: "richaudience", + params: { + pid: (i = Z, E[i] || "MP_gIE1VDieUi"), + supplyType: "site" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "266914", + zoneId: "1322034", + position: "atf", + video: { + size_id: 204 + } + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3607869@640x360" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "instream" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: "vRjLnZDA86biUVrjIKVGxq3x" + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_Instream_Prebid", + video: G({}, o) + } + }], !1), + mediaTypes: { + video: G({ + context: "instream", + playerSize: [640, 480] + }, o) + } + } + }, + o = r(!0), + a = r(!1), + s = [{ + code: Q, + mediaTypes: a.mediaTypes, + bids: U([], a.bids, !0) + }, { + code: K, + mediaTypes: o.mediaTypes, + bids: U([], o.bids, !0) + }, { + code: N["728x90"], + mediaTypes: { + banner: { + sizes: [ + [728, 90] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "12940427" + } + }, { + bidder: "openx", + params: { + unit: "539859872", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "268177", + size: [728, 90] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "1374895@728x90" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "204596", + zoneId: "1008080" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "1V6a2fgLvX", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.leaderboard[Z] || R.leaderboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }, { + code: N["300x250"], + mediaTypes: { + banner: { + sizes: [ + [300, 250] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "12935252" + } + }, { + bidder: "openx", + params: { + unit: "539859873", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "268178", + size: [300, 250] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "1374896@300x250" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "204596", + zoneId: "1008080" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "pKqNt5LyvF", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.skyscraper[Z] || R.skyscraper[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_300x250_Prebid" + } + }], !1) + }, { + code: N["970x250"], + mediaTypes: { + banner: { + sizes: [ + [970, 250] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20595278" + } + }, { + bidder: "openx", + params: { + unit: "543540497", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "597527", + size: [970, 250] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3344351@970x250" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "yYyae7vnIh", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.rectangle[Z] || R.rectangle[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_970x250_Prebid" + } + }], !1) + }, { + code: N["160x600"], + mediaTypes: { + banner: { + sizes: [ + [160, 600] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "12940425" + } + }, { + bidder: "openx", + params: { + unit: "539859871", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "268175", + size: [160, 600] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "1374893@160x600" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "204596", + zoneId: "1008080" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "rAEnPimPzC", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.billboard[Z] || R.billboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }, { + code: N["320x50"], + mediaTypes: { + banner: { + sizes: [ + [320, 50] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20595224" + } + }, { + bidder: "openx", + params: { + unit: "543540495", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "597529", + size: [320, 50] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3344350@320x50" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "204596", + zoneId: "1008080" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "1DP5EtcOip", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.skyscraper[Z] || R.skyscraper[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }, { + code: N["728x90_external"], + mediaTypes: { + banner: { + sizes: [ + [728, 90] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20973406" + } + }, { + bidder: "openx", + params: { + unit: "543885656", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "268177", + placementId: "625562", + size: [728, 90] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3457872" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "362566", + zoneId: "1962680-2" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "MP_gIE1VDieUi", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.billboard[Z] || R.billboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }, { + code: N["300x250_external"], + mediaTypes: { + banner: { + sizes: [ + [300, 250] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20973408" + } + }, { + bidder: "openx", + params: { + unit: "543885657", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "625564", + size: [300, 250] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3457874" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "362566", + zoneId: "1962680-15" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "MP_gIE1VDieUi", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.mobile_leaderboard[Z] || R.mobile_leaderboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_300x250_Prebid" + } + }], !1) + }, { + code: N["970x250_external"], + mediaTypes: { + banner: { + sizes: [ + [970, 250] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20973415" + } + }, { + bidder: "openx", + params: { + unit: "543885650", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "625560", + size: [970, 250] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3457879" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "362566", + zoneId: "1962680-57" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "MP_gIE1VDieUi", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.leaderboard[Z] || R.leaderboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_970x250_Prebid" + } + }], !1) + }, { + code: N["160x600_external"], + mediaTypes: { + banner: { + sizes: [ + [160, 600] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20973407" + } + }, { + bidder: "openx", + params: { + unit: "543885653", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "625563", + size: [160, 600] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3457877" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "362566", + zoneId: "1962680-9" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "MP_gIE1VDieUi", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.rectangle[Z] || R.rectangle[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }, { + code: N["320x50_external"], + mediaTypes: { + banner: { + sizes: [ + [320, 50] + ] + } + }, + bids: U(U([{ + bidder: "appnexus", + params: { + placementId: "20973413" + } + }, { + bidder: "openx", + params: { + unit: "543885649", + delDomain: "poki-d.openx.net" + } + }, { + bidder: "ix", + params: { + siteId: "625559", + size: [320, 50] + } + }, { + bidder: "pubmatic", + params: { + publisherId: "156838", + adSlot: "3457875" + } + }, { + bidder: "rubicon", + params: { + accountId: "18608", + siteId: "362566", + zoneId: "1962680-43" + } + }, { + bidder: "onetag", + params: { + pubId: "6da09f566a9dc06" + } + }, { + bidder: "richaudience", + params: { + pid: "MP_gIE1VDieUi", + supplyType: "site" + } + }], n.includes(t) ? [{ + bidder: "33across", + params: { + siteId: "aRJKVCig8r7ikZaKj0P0Le", + productId: "siab" + } + }] : [], !0), [{ + bidder: "sharethrough", + params: { + pkey: R.mobile_leaderboard[Z] || R.mobile_leaderboard[3] + } + }, { + bidder: "triplelift", + params: { + inventoryCode: "Poki_HDX_Prebid" + } + }], !1) + }], + d = { + debug: !1, + enableSendAllBids: !0, + usePrebidCache: !0, + bidderTimeout: 1500, + priceGranularity: { + buckets: [{ + precision: 2, + min: .01, + max: 3, + increment: .01 + }, { + precision: 2, + min: 3, + max: 8, + increment: .05 + }, { + precision: 2, + min: 8, + max: 20, + increment: .5 + }, { + precision: 2, + min: 20, + max: 45, + increment: 1 + }] + }, + currency: { + adServerCurrency: "EUR", + defaultRates: { + EUR: { + EUR: 1, + GBP: .86408, + USD: 1.2212 + }, + GBP: { + EUR: 1.157300249976854, + GBP: 1, + USD: 1.4132950652717342 + }, + USD: { + EUR: .8188666885031116, + GBP: .7075663282017687, + USD: 1 + } + } + }, + cache: { + url: "null.html?https://prebid.adnxs.com/pbc/v1/cache" + }, + targetingControls: { + allowTargetingKeys: ["BIDDER", "AD_ID", "PRICE_BUCKET", "SIZE", "DEAL", "SOURCE", "FORMAT", "UUID", "CACHE_ID", "CACHE_HOST", "ADOMAIN"], + allowSendAllBidsTargetingKeys: ["BIDDER", "AD_ID", "PRICE_BUCKET", "SIZE", "DEAL", "SOURCE", "FORMAT", "UUID", "CACHE_ID", "CACHE_HOST", "ADOMAIN"] + }, + userSync: { + filterSettings: { + all: { + bidders: "*", + filter: "include" + } + }, + syncsPerBidder: 1e3, + syncDelay: 100, + userIds: [{ + name: "pubCommonId", + storage: { + type: "cookie", + name: "poki_pubcid", + expires: 180 + } + }] + } + }; + window.pbjs.que.push((function() { + var n = G(G({ + floors: { + data: { + currency: "EUR", + schema: { + fields: ["mediaType"] + }, + values: { + banner: P(t), + video: B(t) + } + } + } + }, d), e.config); + window.pbjs.addAdUnits(function(e, t, i) { + var n, r; + i = i.toUpperCase(); + var o = null == t ? void 0 : t[i]; + if (!o) return e; + for (var a = 0; a <= e.length; a++) + for (var s = e[a], d = o[(null === (n = null == s ? void 0 : s.mediaTypes) || void 0 === n ? void 0 : n.video) ? "video" : "display"] || {}, A = (null === (r = null == s ? void 0 : s.bids) || void 0 === r ? void 0 : r.length) - 1; A >= 0; A--) { + var c = s.bids[A], + l = Math.random(); + d[c.bidder] && l > d[c.bidder] && e[a].bids.splice(A, 1) + } + return e + }(e.adUnits || s, i, t)), window.pbjs.setConfig(n), window.pbjs.bidderSettings = { + appnexus: { + bidCpmAdjustment: O + }, + openx: { + bidCpmAdjustment: O + }, + spotx: { + bidCpmAdjustment: O + }, + ix: { + bidCpmAdjustment: O + }, + richaudience: { + bidCpmAdjustment: O + }, + onetag: { + bidCpmAdjustment: O + }, + rubicon: { + bidCpmAdjustment: O + }, + pubmatic: { + bidCpmAdjustment: O + }, + "33across": { + bidCpmAdjustment: O + }, + sharethrough: { + bidCpmAdjustment: O + }, + triplelift: { + bidCpmAdjustment: O + } + } + })) + } + }, + H = !1, + V = function(e, t, i, n) { + window.apstag && window.apstag.init(e.settings || G({ + pubID: "e32f1423-28bc-43ed-8ab0-5ae6b4449cf8", + adServer: "googletag", + videoAdServer: "GAM" + }, i ? { + gdpr: { + cmpTimeout: 1e4 + } + } : {}), (function() { + H = ! function(e, t) { + var i, n; + t = t.toUpperCase(); + var r = null === (n = null === (i = null == e ? void 0 : e[t]) || void 0 === i ? void 0 : i.video) || void 0 === n ? void 0 : n.amazon; + return !!r && Math.random() > r + }(n, t), e.callback && e.callback() + })) + }, + W = function() { + ! function() { + if (!window.__tcfapi) { + var e = window.top, + t = {}; + window.__tcfapi = function(i, n, r, o) { + var a = "" + Math.random(), + s = { + __tcfapiCall: { + command: i, + parameter: o, + version: n, + callId: a + } + }; + t[a] = r, e.postMessage(s, "*") + }, window.addEventListener("message", (function(e) { + var i = {}; + try { + i = "string" == typeof e.data ? JSON.parse(e.data) : e.data + } catch (e) {} + var n = i.__tcfapiReturn; + n && "function" == typeof t[n.callId] && (t[n.callId](n.returnValue, n.success), t[n.callId] = null) + }), !1) + } + }(), window.pbjs.que.push((function() { + window.pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: "iab", + timeout: 8e3, + defaultGdprScope: !0 + } + } + }) + })) + }, + J = function() { + ! function() { + if (!window.__uspapi) { + var e = window.top, + t = {}; + window.__uspapi = function(i, n, r) { + var o = "" + Math.random(), + a = { + __uspapiCall: { + command: i, + version: n, + callId: o + } + }; + t[o] = r, e.postMessage(a, "*") + }, window.addEventListener("message", (function(e) { + var i = e && e.data && e.data.__uspapiReturn; + i && i.callId && "function" == typeof t[i.callId] && (t[i.callId](i.returnValue, i.success), t[i.callId] = null) + }), !1) + } + }(), window.pbjs.que.push((function() { + window.pbjs.setConfig({ + consentManagement: { + usp: { + cmpApi: "iab", + timeout: 8e3 + } + } + }) + })) + }; + + function Y(e, t, i, r, o, s, d) { + var A = s ? "nope" : t; + if (window.pbjs && window.pbjs.que && window.pbjs.getConfig) { + var c, l = k().split("?"), + u = encodeURIComponent(l[0]), + p = r ? K : Q, + h = a.getDataAnnotations(), + m = 0, + g = function() { + var r, l, g; + if (!(--m > 0)) try { + a.dispatchEvent(n.ads.prebidRequested); + var f = window.pbjs.adUnits.filter((function(e) { + return e.code === p + }))[0]; + if ("undefined" === f) return console.error("Video-ad-unit not found, did you give it the adunit.code='video' value?"), void e.requestAd(A); + var v = window.pbjs.adServers.dfp.buildVideoUrl({ + adUnit: f, + params: { + iu: I("iu", t), + sz: "640x360|640x480", + output: "vast", + cust_params: i, + description_url: u + } + }), + b = window.pbjs.getHighestCpmBids(p), + k = void 0; + b.length > 0 && (k = b[0]), window.pbjs.markWinningBidAsUsed({ + adUnitCode: p + }), c && (v = v.replace("cust_params=", "cust_params=" + c + "%26")), k && (null === (l = null === (r = null == k ? void 0 : k.meta) || void 0 === r ? void 0 : r.advertiserDomains) || void 0 === l ? void 0 : l.length) > 0 && a.setDataAnnotations({ + adDomain: k.meta.advertiserDomains.join(",") + }); + var y = !1; + if (s) { + if (c) { + var w = function(e) { + var t = decodeURIComponent(e), + i = I("amznbid", t); + if (!i) return null; + var n = j[i]; + return n ? { + bid: n, + vast: "null.html?https://aax.amazon-adsystem.com/e/dtb/vast?b=" + I("amzniid", t) + "&rnd=" + Math.round(1e10 * Math.random()) + "&pp=" + i + } : null + }(c); + w && (!k || !k.videoCacheKey || k.cpm < w.bid) && (k = { + cpm: w.bid, + vast: w.vast, + bidder: "amazon", + videoCacheKey: "amazon" + }) + } + if (1 !== d && (!k || !k.videoCacheKey || k.cpm < B(o))) { + var S = 5; + "ninja.io" === (null === (g = null === window || void 0 === window ? void 0 : window.location) || void 0 === g ? void 0 : g.hostname) && (S = function(e) { + return "US" === e ? 6.1 : x.includes(e) ? .5 : C.includes(e) ? .15 : T.includes(e) ? .08 : _.includes(e) ? .03 : .02 + }(o)), k = { + cpm: S, + vast: "null.html?https://api.poki.com/ads/houseads/video/vast" + ("" === $e.gameId ? "" : "?game_id=" + $e.gameId), + bidder: "poki", + videoCacheKey: "poki" + } + } + if (!k || !k.videoCacheKey) return void a.dispatchEvent(1 === d ? n.ads.video.error : n.ads.completed); + switch (k.bidder) { + case "onetag": + v = "null.html?https://onetag-sys.com/invocation/?key=" + k.videoCacheKey; + break; + case "rubicon": + v = "null.html?https://prebid-server.rubiconproject.com/cache?uuid=" + k.videoCacheKey; + break; + case "spotx": + v = "null.html?https://search.spotxchange.com/ad/vast.html?key=" + k.videoCacheKey; + break; + case "amazon": + case "poki": + v = k.vast; + break; + default: + v = "null.html?https://prebid.adnxs.com/pbc/v1/cache?uuid=" + k.videoCacheKey + } + D({ + event: "video-ready", + size: "640x360v", + opportunityId: null == h ? void 0 : h.opportunityId, + adUnitPath: null == h ? void 0 : h.adUnitPath, + p4d_game_id: $e.gameId, + p4d_version_id: $e.versionId, + bidder: null == k ? void 0 : k.bidder, + bid: null == k ? void 0 : k.cpm + }), y = !0, a.setDataAnnotations({ + p4d_game_id: $e.gameId, + p4d_version_id: $e.versionId, + bidder: null == k ? void 0 : k.bidder, + bid: null == k ? void 0 : k.cpm + }) + } + a.setDataAnnotations({ + vhbOnlyMode: y, + adTagUrl: v + }), k ? a.setDataAnnotations({ + prebidBidder: null == k ? void 0 : k.bidder, + prebidBid: null == k ? void 0 : k.cpm + }) : a.setDataAnnotations({ + prebidBidder: void 0, + prebidBid: void 0 + }), e.requestAd(v) + } catch (t) { + e.requestAd(A) + } + }; + H && m++, F && m++, H && window.apstag.fetchBids({ + slots: [{ + slotID: r ? "Rewarded" : "Midroll", + mediaType: "video" + }], + timeout: 1500 + }, (function(e) { + e.length > 0 && (c = e[0].encodedQsParams), g() + })), s && D({ + event: "video-request", + size: "640x360v", + opportunityId: null == h ? void 0 : h.opportunityId, + adUnitPath: null == h ? void 0 : h.adUnitPath, + p4d_game_id: $e.gameId, + p4d_version_id: $e.versionId + }), F && window.pbjs.que.push((function() { + window.pbjs.requestBids({ + adUnitCodes: [p], + bidsBackHandler: function() { + g() + } + }) + })) + } else e.requestAd(A) + } + + function $() { + var e, t = (null === (e = null === window || void 0 === window ? void 0 : window.location) || void 0 === e ? void 0 : e.hostname) || ""; + return "yes" === I("poki-ad-server") ? (console.log("DEBUG: Only running Poki-ad-server"), !0) : "localhost" !== t && "game-cdn.poki.com" !== t && !t.endsWith(".poki-gdn.com") && ("ninja.io" === t ? Math.random() <= .5 : "venge.io" === t ? Math.random() <= .05 : "makeitmeme.com" === t) + } + var ee = function() { + function e(e, t) { + void 0 === t && (t = {}), this.retries = 0, this.running = !1, this.ima = e, this.siteID = t.siteID || 3, this.country = t.country || "ZZ", this.usePokiAdserver = $(), this.totalRetries = t.totalRetries || d.waterfallRetries || 1, this.timing = t.timing || new c(d.adTiming), a.addEventListener(n.ads.video.error, this.moveThroughWaterfall.bind(this)), a.addEventListener(n.ads.video.loaderError, this.moveThroughWaterfall.bind(this)), a.addEventListener(n.ads.ready, this.timing.stopWaterfallTimer.bind(this.timing)), a.addEventListener(n.ads.started, this.stopWaterfall.bind(this)) + } + return e.prototype.moveThroughWaterfall = function() { + if (!1 !== this.running) { + var e = this.totalRetries; + if (this.timing.stopWaterfallTimer(), this.retries < e) return this.timing.nextWaterfallTimer(), void this.requestAd(); + this.running = !1, this.timing.resetWaterfallTimerIdx(), a.dispatchEvent(n.ads.error, { + message: "No ads", + rewardAllowed: !0 + }) + } + }, e.prototype.cutOffWaterfall = function() { + this.ima.tearDown(), this.moveThroughWaterfall() + }, e.prototype.buildAdUnitPaths = function(e) { + if (r.debug) { + var t = "/21682198607/debug-video/"; + return e === n.ads.position.rewarded ? [t + "debug-video-rewarded"] : e === n.ads.position.preroll ? [t + "debug-video-preroll"] : [t + "debug-video-midroll"] + } + var i = "desktop", + o = "midroll"; + y() ? i = "mobile" : w() && (i = "tablet"), e === n.ads.position.rewarded && (o = "rewarded"); + var a = "/21682198607/"; + return tt.GetIsPokiIFrame() ? ["" + a + i + "_ingame_" + o + "_1/" + this.siteID + "_" + i + "_ingame_" + o + "_1", "" + a + i + "_ingame_" + o + "_2/" + this.siteID + "_" + i + "_ingame_" + o + "_2"] : [a + "external_" + i + "_video_1/external_" + i + "_ingame_" + o + "_1", a + "external_" + i + "_video_2/external_" + i + "_ingame_" + o + "_2"] + }, e.prototype.start = function(e, t) { + void 0 === e && (e = {}), this.running = !0, this.retries = 0, this.criteria = e, this.timing.resetWaterfallTimerIdx(), this.rewarded = t === n.ads.position.rewarded, this.adUnitPaths = this.buildAdUnitPaths(t), this.requestAd() + }, e.prototype.requestAd = function() { + this.timing.startWaterfallTimer(this.cutOffWaterfall.bind(this)), this.retries++, this.criteria.waterfall = this.retries; + var e = (this.retries - 1) % this.adUnitPaths.length, + t = this.adUnitPaths[e], + i = "https://securepubads.g.doubleclick.net/gampad/ads?sz=640x360|640x480&iu=" + t + "&ciu_szs&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&url={url}&description_url={descriptionUrl}&correlator={timestamp}"; + tt.consentString && tt.consentString.length > 0 && (this.criteria.consent_string = tt.consentString); + var r = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0) > 970; + this.criteria.billboards_fit = r ? "yes" : "no"; + var o, s, d = function(e) { + var t = k().split("?"), + i = encodeURIComponent(t[0]); + return (e = e.split("{descriptionUrl}").join(i)).split("{timestamp}").join((new Date).getTime().toString()) + }(i) + (o = this.criteria, s = "", Object.keys(o).forEach((function(e) { + if (Object.prototype.hasOwnProperty.call(o, e)) { + var t = o[e]; + Array.isArray(t) && (t = t.join()), s += e + "=" + t + "&" + } + })), "&cust_params=" + (s = encodeURIComponent(s)) + "&"); + tt.childDirected && (d += "&tfcd=1"), tt.nonPersonalized && (d += "&npa=1"), a.setDataAnnotations({ + adUnitPath: t, + adTagUrl: d, + waterfall: this.retries + }), a.dispatchEvent(n.ads.requested), this.usePokiAdserver ? (console.debug("adRequest started with Prebid Video enabled (" + this.retries + "/" + this.totalRetries + ")"), Y(this.ima, d, this.criteria, this.rewarded, this.country, !0, this.retries)) : 1 === this.retries ? (console.debug("adRequest started with Prebid Video enabled (" + this.retries + "/" + this.totalRetries + ")"), Y(this.ima, d, this.criteria, this.rewarded, this.country, !1, this.retries)) : (console.debug("adRequest started in plain mode (" + this.retries + "/" + this.totalRetries + ")"), this.ima.requestAd(d)) + }, e.prototype.isRunning = function() { + return true; + //return this.running + }, e.prototype.stopWaterfall = function() { + this.running = !1, this.timing.stopWaterfallTimer(), this.timing.resetWaterfallTimerIdx() + }, e + }(); + const te = ee; + var ie = "pokiSdkContainer", + ne = "pokiSdkFixed", + re = "pokiSdkOverlay", + oe = "pokiSdkHidden", + ae = "pokiSdkInsideContainer", + se = "pokiSdkPauseButton", + de = "pokiSdkPauseButtonBG", + Ae = "pokiSdkStartAdButton", + ce = "pokiSdkProgressBar", + le = "pokiSdkProgressContainer", + ue = "pokiSdkSpinnerContainer", + pe = "pokiSdkVideoContainer", + he = "pokiSdkVisible", + me = "pokiSDKAdContainer"; + var ge = function(e, t, i) { + if (i || 2 === arguments.length) + for (var n, r = 0, o = t.length; r < o; r++) !n && r in t || (n || (n = Array.prototype.slice.call(t, 0, r)), n[r] = t[r]); + return e.concat(n || Array.prototype.slice.call(t)) + }; + const fe = function() { + function e(e) { + var t = this; + if (this.hideElement = function(e) { + e.classList.add(oe), e.classList.remove(he) + }, this.showElement = function(e) { + e.classList.add(he), e.classList.remove(oe) + }, this.progressFaker = new ve((function(e) { + return t.updateProgressBar(e) + })), this.progressFaker.queueFakeProgress(10, 1e3, n.ads.prebidRequested), this.progressFaker.queueFakeProgress(20, 2e3, n.ads.started), this.createElements(e.wrapper), "undefined" != typeof window && document) { + var i = document.createElement("style"); + i.innerHTML = "\n.pokiSdkContainer {\n\toverflow: hidden;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 1000;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n.pokiSdkContainer.pokiSdkFixed {\n\tposition: fixed;\n}\n\n.pokiSdkContainer.pokiSdkVisible {\n\tdisplay: block;\n}\n\n.pokiSdkContainer.pokiSdkHidden,\n.pokiSdkSpinnerContainer.pokiSdkHidden {\n\tdisplay: none;\n}\n\n.pokiSdkContainer.pokiSdkHidden,\n.pokiSdkSpinnerContainer {\n\tpointer-events: none;\n}\n\n.pokiSdkSpinnerContainer {\n\tz-index: 10;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbackground: url('https://a.poki.com/images/thumb_anim_2x.gif') 50% 50% no-repeat;\n\tuser-select: none;\n}\n\n.pokiSdkInsideContainer {\n\tbackground: #000;\n\tposition: relative;\n\tz-index: 1;\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\topacity: 0;\n\t-webkit-transition: opacity 0.5s ease-in-out;\n\t-moz-transition: opacity 0.5s ease-in-out;\n\t-ms-transition: opacity 0.5s ease-in-out;\n\t-o-transition: opacity 0.5s ease-in-out;\n\ttransition: opacity 0.5s ease-in-out;\n}\n\n.pokiSdkContainer.pokiSdkVisible .pokiSdkInsideContainer {\n\topacity: 1;\n}\n\n.pokiSDKAdContainer, .pokiSdkVideoContainer {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.pokiSdkStartAdButton {\n\tposition: absolute;\n\tz-index: 9999;\n\ttop: 0;\n\n\tpadding-top: 10%;\n\twidth: 100%;\n\theight: 100%;\n\ttext-align: center;\n\tcolor: #FFF;\n\n\tfont: 700 15pt 'Arial', sans-serif;\n\tfont-weight: bold;\n\tletter-spacing: 1px;\n\ttransition: 0.1s ease-in-out;\n\tline-height: 1em;\n}\n\n.pokiSdkPauseButton {\n\tcursor:pointer;\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 1;\n}\n\n.pokiSdkPauseButton:before {\n\tcontent: '';\n\tposition: absolute;\n\twidth: 100px;\n\theight: 100px;\n\tdisplay: block;\n\tborder: 2px solid #fff;\n\tborder-radius: 50%;\n\tuser-select: none;\n\tbackground-color: rgba(0, 0, 0, 0.6);\n\ttransition: background-color 0.5s ease;\n\tanimation: 1s linear infinite pulse;\n}\n\n.pokiSdkPauseButton:after {\n\tcontent: '';\n\tposition: absolute;\n\tdisplay: block;\n\tbox-sizing: border-box;\n\tborder-color: transparent transparent transparent #fff;\n\tborder-style: solid;\n\tborder-width: 26px 0 26px 40px;\n\tpointer-events: none;\n\tanimation: 1s linear infinite pulse;\n\tleft: 6px;\n}\n.pokiSdkPauseButtonBG {\n position: fixed;\n top: 0;\n left: 0;\n display: block;\n content: '';\n background: rgba(0, 43, 80, 0.5);\n width: 100%;\n height: 100%;\n}\n\n.pokiSdkPauseButtonBG:hover{\n\tbackground: rgba(0, 43, 80, 0.7);\n}\n\n@keyframes pulse {\n\t0% {\n\t\ttransform: translate(-50%, -50%) scale(0.95);\n\t}\n\t70% {\n\t\ttransform: translate(-50%, -50%) scale(1.1);\n\t}\n\t100% {\n\t\ttransform: translate(-50%, -50%) scale(0.95);\n\t}\n}\n\n.pokiSdkProgressContainer {\n\tbackground: #B8C7DD;\n\twidth: 100%;\n\theight: 5px;\n\tposition: absolute;\n\tbottom: 0;\n\tz-index: 9999;\n}\n\n.pokiSdkProgressBar {\n\tposition:relative;\n\tbottom:0px;\n\tbackground: #FFDC00;\n\theight: 100%;\n\twidth: 0%;\n\ttransition: width 0.5s;\n\ttransition-timing-function: linear;\n}\n\n.pokiSdkProgressBar.pokiSdkVisible, .pokiSdkPauseButton.pokiSdkVisible, .pokiSdkStartAdButton.pokiSdkVisible {\n\tdisplay: block;\n\tpointer-events: auto;\n}\n\n.pokiSdkProgressBar.pokiSdkHidden, .pokiSdkPauseButton.pokiSdkHidden, .pokiSdkStartAdButton.pokiSdkHidden {\n\tdisplay: none;\n\tpointer-events: none;\n}\n", document.head.appendChild(i) + } + } + return e.prototype.updateProgressBar = function(e) { + this.progressBar.style.width = e + "%" + }, e.prototype.setupEvents = function(e) { + this.internalSDK = e + }, e.prototype.hide = function() { + this.hideElement(this.containerDiv), this.hideElement(this.progressContainer), this.hidePauseButton(), this.hideElement(this.startAdButton), this.containerDiv.classList.remove(re), this.progressBar.style.width = "0%", this.progressFaker.reset() + }, e.prototype.hideSpinner = function() { + this.hideElement(this.spinnerContainer) + }, e.prototype.show = function() { + this.containerDiv.classList.add(re), this.showElement(this.containerDiv), this.showElement(this.spinnerContainer), this.showElement(this.progressContainer), this.progressFaker.start() + }, e.prototype.getVideoBounds = function() { + return this.adContainer.getBoundingClientRect() + }, e.prototype.getAdContainer = function() { + return this.adContainer + }, e.prototype.getVideoContainer = function() { + return this.videoContainer + }, e.prototype.showPauseButton = function() { + this.showElement(this.pauseButton), this.internalSDK && this.pauseButton.addEventListener("click", this.internalSDK.resumeAd.bind(this.internalSDK)) + }, e.prototype.hidePauseButton = function() { + this.hideElement(this.pauseButton), this.internalSDK && this.pauseButton.removeEventListener("click", this.internalSDK.resumeAd.bind(this.internalSDK)) + }, e.prototype.showStartAdButton = function() { + this.showElement(this.startAdButton), this.internalSDK && this.startAdButton.addEventListener("click", this.internalSDK.startAdClicked.bind(this.internalSDK)) + }, e.prototype.hideStartAdButton = function() { + this.hideElement(this.startAdButton), this.internalSDK && this.startAdButton.removeEventListener("click", this.internalSDK.startAdClicked.bind(this.internalSDK)) + }, e.prototype.createElements = function(e) { + var t = this; + this.containerDiv = document.createElement("div"), this.insideContainer = document.createElement("div"), this.pauseButton = document.createElement("div"), this.pauseButtonBG = document.createElement("div"), this.startAdButton = document.createElement("div"), this.progressBar = document.createElement("div"), this.progressContainer = document.createElement("div"), this.spinnerContainer = document.createElement("div"), this.adContainer = document.createElement("div"), this.videoContainer = document.createElement("video"), this.adContainer.id = "pokiSDKAdContainer", this.videoContainer.id = "pokiSDKVideoContainer", this.containerDiv.className = ie, this.insideContainer.className = ae, this.pauseButton.className = se, this.pauseButtonBG.className = de, this.pauseButton.appendChild(this.pauseButtonBG), this.startAdButton.className = Ae, this.startAdButton.innerHTML = "Tap anywhere to play ad", this.progressBar.className = ce, this.progressContainer.className = le, this.spinnerContainer.className = ue, this.adContainer.className = me, this.videoContainer.className = pe, this.hide(), this.videoContainer.setAttribute("playsinline", "playsinline"), this.videoContainer.setAttribute("muted", "muted"), this.containerDiv.appendChild(this.insideContainer), this.containerDiv.appendChild(this.spinnerContainer), this.insideContainer.appendChild(this.progressContainer), this.insideContainer.appendChild(this.videoContainer), this.insideContainer.appendChild(this.adContainer), this.containerDiv.appendChild(this.pauseButton), this.containerDiv.appendChild(this.startAdButton), this.progressContainer.appendChild(this.progressBar); + var i = e || null, + n = function() { + if (i || (i = document.body), i) + if (i.appendChild(t.containerDiv), i === document.body) t.containerDiv.classList.add(ne); + else { + var e = window.getComputedStyle(i).position; + e && -1 !== ["absolute", "fixed", "relative"].indexOf(e) || (i.style.position = "relative") + } + else window.requestAnimationFrame(n) + }; + !i || i instanceof HTMLElement || (i = null, console.error("POKI-SDK: wrapper is not a HTMLElement, falling back to document.body")), n() + }, e + }(); + var ve = function() { + function e(e) { + var t = this; + this.storedQueue = [], this.progressCallback = e, this.reset(), a.addEventListener(n.ads.video.progress, (function(e) { + var i = 100 - t.currentProgress, + n = e.currentTime / e.duration * i; + n < i && t.progressCallback(t.currentProgress + n) + })), this.initializeNoProgressFix() + } + return e.prototype.queueFakeProgress = function(e, t, i) { + var n = this; + this.storedQueue.push({ + progressToFake: e, + duration: t, + stopEvent: i + }), a.addEventListener(i, (function() { + n.eventWatcher[i] = !0, n.currentProgress = n.startProgress + e, n.startProgress = n.currentProgress, n.progressCallback(n.currentProgress), n.activeQueue.shift(), n.activeQueue.length > 0 ? n.continue() : n.pause() + })) + }, e.prototype.fakeProgress = function(e, t, i) { + this.activeQueue.push({ + progressToFake: e, + duration: t, + stopEvent: i + }), this.fakeProgressEvents = !0, this.continue() + }, e.prototype.start = function() { + this.activeQueue.length > 0 || (this.activeQueue = ge([], this.storedQueue, !0), this.active = !0, this.continue()) + }, e.prototype.continue = function() { + if (this.activeQueue.length > 0 && !this.tickInterval) { + this.startTime = Date.now(); + this.tickInterval = window.setInterval(this.tick.bind(this), 50), this.active = !0 + } + }, e.prototype.pause = function() { + this.clearInterval() + }, e.prototype.tick = function() { + var e = this.activeQueue[0], + t = Date.now() - this.startTime, + i = Math.min(t / e.duration, 1); + this.currentProgress = this.startProgress + e.progressToFake * i, this.fakeProgressEvents && a.dispatchEvent(n.ads.video.progress, { + duration: e.duration / 1e3, + currentTime: t / 1e3 + }), this.progressCallback(this.currentProgress), (this.eventWatcher[e.stopEvent] || 1 === i) && this.pause() + }, e.prototype.clearInterval = function() { + this.tickInterval && (clearInterval(this.tickInterval), this.tickInterval = 0) + }, e.prototype.initializeNoProgressFix = function() { + var e = this; + a.addEventListener(n.ads.started, (function(t) { + e.progressWatcherTimeout = window.setTimeout((function() { + if (e.active) { + var i = 100 - e.currentProgress, + r = 1e3 * t.duration - 1e3; + e.fakeProgress(i, r, n.ads.completed) + } + }), 1e3) + })), a.addEventListener(n.ads.video.progress, (function() { + e.progressWatcherTimeout && (clearTimeout(e.progressWatcherTimeout), e.progressWatcherTimeout = 0) + })) + }, e.prototype.reset = function() { + this.eventWatcher = {}, this.startProgress = 0, this.startTime = 0, this.currentProgress = 0, this.activeQueue = [], this.active = !1, this.fakeProgressEvents = !1, this.clearInterval() + }, e + }(), + be = !0, + ke = {}; + + function ye() { + if (document.body && document.body.appendChild) { + var e = document.createElement("iframe"); + if (e.style.display = "none", document.body.appendChild(e), e.contentWindow && (window.pokiKeysChanged = new Map, e.contentWindow.document.open(), e.contentWindow.document.write("